Add e500 version of fetestexceptflag.
[glibc.git] / ChangeLog
blobaf5fe63d247fe448cbcb8f92c1fc07a37001fac4
1 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4         file.
6         * sysdeps/sparc/fpu/fegetmode.c: New file.
7         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
12         * sysdeps/s390/fpu/fegetmode.c: New file.
13         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15         * sysdeps/powerpc/fpu/fegetmode.c: New file.
16         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
18         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
19         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
20         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
22         * sysdeps/mips/fpu/fegetmode.c: New file.
23         * sysdeps/mips/fpu/fesetmode.c: Likewise.
25         * sysdeps/m68k/fpu/fegetmode.c: New file.
26         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
28         * sysdeps/ia64/fpu/fegetmode.c: New file.
29         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
31         * sysdeps/hppa/fpu/fegetmode.c: New file.
32         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
34         * sysdeps/arm/fegetmode.c: New file.
35         * sysdeps/arm/fesetmode.c: Likewise.
37         * sysdeps/alpha/fpu/fegetmode.c: New file.
38         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
40         * sysdeps/aarch64/fpu/fegetmode.c: New file.
41         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
43         * math/fegetmode.c: New file.
44         * math/fesetmode.c: Likewise.
45         * sysdeps/i386/fpu/fegetmode.c: Likewise.
46         * sysdeps/i386/fpu/fesetmode.c: Likewise.
47         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
48         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
49         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
50         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
51         declaration.
52         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
53         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
54         typedef.
55         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
56         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
57         (femode_t): New typedef.
58         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
59         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
60         (femode_t): New typedef.
61         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
62         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
63         (femode_t): New typedef.
64         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
65         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
66         (femode_t): New typedef.
67         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
68         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
69         (femode_t): New typedef.
70         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
71         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
72         (femode_t): New typedef.
73         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
74         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
75         (femode_t): New typedef.
76         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
77         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
78         (femode_t): New typedef.
79         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
80         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
81         (femode_t): New typedef.
82         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
83         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
84         (femode_t): New typedef.
85         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
86         declaration.
87         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
88         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
89         (femode_t): New typedef.
90         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
91         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
92         (femode_t): New typedef.
93         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
94         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
95         (femode_t): New typedef.
96         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
97         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
98         (femode_t): New typedef.
99         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
100         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
101         (femode_t): New typedef.
102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
103         * manual/arith.texi (FE_DFL_MODE): Document macro.
104         (fegetmode): Document function.
105         (fesetmode): Likewise.
106         * math/Versions (fegetmode): New libm symbol at version
107         GLIBC_2.25.
108         (fesetmode): Likewise.
109         * math/Makefile (libm-support): Add fegetmode and fesetmode.
110         (tests): Add test-femode and test-femode-traps.
111         * math/test-femode-traps.c: New file.
112         * math/test-femode.c: Likewise.
113         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
114         alias for __fe_dfl_env.
115         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
116         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
117         (__fe_dfl_mode): Likewise.
118         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
119         version GLIBC_2.25.
120         * sysdeps/nacl/libm.abilist: Update.
121         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
122         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
123         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
124         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
125         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
126         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
127         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
128         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
129         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
130         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
131         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
132         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
134         Likewise.
135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
136         Likewise.
137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
138         Likewise.
139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
140         Likewise.
141         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
142         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
143         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
144         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
145         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
147         Likewise.
148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
149         Likewise.
150         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
151         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
152         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
154 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
156         [BZ #20495]
157         [BZ #20508]
158         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
159         processors, set Use_dl_runtime_resolve_slow and set
160         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
161         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
162         New.
163         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
164         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
165         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
166         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
167         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
168         if Use_dl_runtime_resolve_opt is set.  Use
169         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
170         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
171         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
172         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
173         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
174         New.
175         (_dl_runtime_resolve_opt): Likewise.
176         (_dl_runtime_profile): Define only if _dl_runtime_profile is
177         defined.
179 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
181         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
182         __libc_memalign with "+ RELA R_390_GLOB_DAT".
184 2016-09-06  Florian Weimer  <fweimer@redhat.com>
186         Convert malloc to __libc_lock.  Automated part, using this Perl
187         s/// command:
188           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
189             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
190         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
191         conversion.
193 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
195         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
196         (linknamespace-symlists-tests): Likewise.
197         (linknamespace-header-tests): Likewise.
199 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
201         [BZ #19810]
202         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
203         * elf/tst-noload.c: New test case.
204         * elf/Makefile (tests): Add tst-noload.
206 2016-09-02  Roland McGrath  <roland@hack.frob.com>
208         * sysdeps/nacl/dup.c: Add libc_hidden_def.
210         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
211         not any more.
213         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
215 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
217         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
218         (do_cos_slow): Likewise.
219         (do_sin): Likewise.
220         (do_sin_slow): Likewise.
221         (slow): Likewise.
222         (slow1): Likewise.
223         (slow2): Likewise.
224         (sloww): Likewise.
225         (sloww1): Likewise.
226         (sloww2): Likewise.
227         (bsloww): Likewise.
228         (bsloww1): Likewise.
229         (bsloww2): Likewise.
230         (cslow2): Likewise.
232         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
234         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
235         arguments.  Consolidate input partitioning from callers here.
236         (do_cos_slow): Likewise.
237         (do_sin): Likewise.
238         (do_sin_slow): Likewise.
239         (do_sincos_1): Remove the no longer necessary input partitioning.
240         (do_sincos_2): Likewise.
241         (__sin): Likewise.
242         (__cos): Likewise.
243         (slow1): Likewise.
244         (slow2): Likewise.
245         (sloww1): Likewise.
246         (sloww2): Likewise.
247         (bsloww1): Likewise.
248         (bsloww2): Likewise.
249         (cslow2): Likewise.
251 2016-09-02  Florian Weimer  <fweimer@redhat.com>
253         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
254         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
255         outside of allocated array.
257 2016-09-02  Florian Weimer  <fweimer@redhat.com>
259         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
260         instead of MB_CUR_MAX to avoid variable-length array.
262 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
264         * math/Makefile (libm-calls): Remove k_rem_pio2F.
265         (type-double-routines): Add k_rem_pio2.
266         (type-float-routines): Add k_rem_pio2f.
268         * sysdeps/generic/math_private.h:
269         (__kernel_rem_pio2l): Removed.
271         * math/k_rem_pio2l.c: Removed.
272         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
273         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
274         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
275         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
277 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
279         * math/Makefile (gen-libm-calls): Add s_fmin
280         (libm-calls): Remove above.
282         * math/s_fmin.c: Refactor into ...
283         * math/s_fmin_template.c: New file.
285         * math/s_fminf.c: Removed.
286         * math/s_fminl.c: Removed.
287         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
288         (LDOUBLE_fmin_libm_version): New macro.
290         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
291         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
293 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
295         * math/Makefile: (gen-libm-calls): Add s_fmax.
296         (libm-calls): Remove above.
298         * math/s_fmax.c: Refactor into ...
299         * math/s_fmax_template.c: New file.
300         * math/s_fmaxf.c: Removed.
301         * math/s_fmaxl.c: Removed.
303         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
304         (LDOUBLE_fmaxl_libm_version): New macro.
306         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
307         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
309         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
310         s_fmin.c to pick the aarch64 version of the file.
311         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
312         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
314 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
316         * math/Makefile: (gen-libm-calls): Add s_nextdown.
317         (libm-calls): Remove above.
319         * math/s_nextdown.c: Refactor into ...
320         * math/s_nextdown_template.c: New file.
321         * math/s_nextdownf.c: Removed.
322         * math/s_nextdownl.c: Removed.
324         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
326 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
328         * math/Makefile (gen-libm-calls): Add s_fdim.
329         (libm-calls): Move to above.
331         * math/s_fdim.c: Renamed and refactored into to ...
332         * math/s_fdim_template.c: New file.
333         * math/s_fdiml.c: Removed.
334         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
335         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
337         * sysdeps/generic/math-type-macros-double.h:
338         (declare_mgen_alias): Don't declare if already declared.
339         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
340         Likewise.
342         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
343         (declare_mgen_alias): Don't declare if already declared.
344         (M_LIBM_NEED_COMPAT): Likewise.
345         (declare_mgen_libm_compat): Likewise.
346         (LDOUBLE_fdiml_libm_version): New macro.
348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
349         Include math/s_fdim.c now that ldbl-opt version is not needed.
350         (declare_mgen_alias): New macro to disable aliasing.
352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
353         (declare_mgen_alias): Likewise.
354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
355         (declare_mgen_alias): Likewise.
356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
357         (declare_mgen_alias): Likewise.
358         (M_LIBM_NEED_COMPAT): Likewise.
360 2016-09-01  Florian Weimer  <fweimer@redhat.com>
362         [BZ #20525]
363         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
364         Include <linux/quota.h>.
365         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
366         and btodb.
367         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
368         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
369         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
370         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
371         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
372         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
373         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
374         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
375         types.
376         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
377         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
379 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
381         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
382         (gammal_positive): Fix spacing.
383         (__ieee754_gammal_r): Likewise.
385 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
387         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
388         (_Float128): Define as long double, always.
389         (L): Apply long double type suffix, always.
391         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
392         _Float128, excepting comments.
394         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
395         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
396         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
397         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
398         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
399         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
400         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
401         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
402         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
403         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
404         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
405         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
406         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
407         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
408         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
409         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
410         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
411         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
412         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
413         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
414         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
415         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
416         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
417         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
418         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
419         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
420         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
421         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
422         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
423         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
424         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
425         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
426         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
427         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
428         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
429         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
430         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
431         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
432         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
433         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
434         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
435         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
436         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
437         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
438         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
439         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
440         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
441         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
442         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
443         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
444         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
445         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
446         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
447         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
448         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
449         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
450         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
451         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
452         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
453         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
454         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
455         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
456         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
457         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
458         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
459         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
460         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
461         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
463         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
464         _Float128, and include math_private.h.
465         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
467         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
468         long double semantics.
469         (_Float128): Likewise.
470         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
471         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
472         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
473         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
475 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
477         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
478         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
479         * sysdeps/s390/configure: Regenerated.
480         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
481         instruction for raising over-/underflow if z196 zarch is supported
482         by default.
483         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
485 2016-08-30  Svante Signell  <svante.signell@gmail.com>
487         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
488         it point to a dumb buffer for RPC to fill it.
490 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
492         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
493         instead of if/else.
494         (do_sin_slow): Likewise.
495         (do_sincos_1): Use fabs instead of if/else.
496         (do_sincos_2): Likewise.
497         (__sin): Likewise.
498         (__cos): Likewise.
499         (slow2): Likewise.
500         (sloww): Likewise.
501         (sloww1): Likewise.  Drop argument M.
502         (sloww2): Use fabs instead of if/else.
503         (bsloww): Likewise.
504         (bsloww1): Likewise.
505         (bsloww2): Likewise.
507         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
508         fall through comment.
509         (do_sincos_1): Likewise.
511         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
512         Consolidate switch cases 0 and 2.
514 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
516         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
517         (libm-calls): Remove the above.
519         * math/s_cexp_template.c: Update using type-generic macros.
520         * math/s_clog10_template.c: Likewise.
521         * math/s_cpow_template.c: Likewise.
522         * math/s_clog_template.c: Likewise.
523         * math/s_cproj_template.c: Likewise.
524         * math/s_csqrt_template.c: Likewise.
526         * math/s_cexp.c: Removed.
527         * math/s_cexpf.c: Removed.
528         * math/s_cexpl.c: Removed.
529         * math/s_clog10.c: Removed.
530         * math/s_clog10f.c: Removed.
531         * math/s_clog10l.c: Removed.
532         * math/s_cpow.c: Removed.
533         * math/s_cpowf.c: Removed.
534         * math/s_cpowl.c: Removed.
535         * math/s_clog.c: Removed.
536         * math/s_clogf.c: Removed.
537         * math/s_clogl.c: Removed.
538         * math/s_cproj.c: Removed.
539         * math/s_cprojf.c: Removed.
540         * math/s_cprojl.c: Removed.
541         * math/s_csqrt.c: Removed.
542         * math/s_csqrtf.c: Removed.
543         * math/s_csqrtl.c: Removed.
545         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
546         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
547         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
548         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
549         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
550         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
552         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
553         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
554         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
555         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
556         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
557         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
558         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
559         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
560         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
561         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
562         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
564         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
565         version.
567         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
568         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
569         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
570         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
572 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
574         * s_cexp_template.c: Copy of s_cexp.c.
575         * s_clog_template.c: Copy of s_clog.c.
576         * s_clog10_template.c: Copy of s_clog10.c.
577         * s_cpow_template.c: Copy of s_cpow.c.
578         * s_cproj_template.c: Copy of s_cproj.c.
579         * s_csqrt_template.c: Copy of s_csqrt.c.
581 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
583         [BZ #20517]
584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
585         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
586         exported.
588 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
590         * math/fetestexceptflag.c: New file.
591         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
592         Stefan Liebler.
593         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
594         (fetestexceptflag): New function declaration.
595         * manual/arith.texi (fetestexceptflag): Document function.
596         * math/Versions (fetestexceptflag): New libm symbol at version
597         GLIBC_2.25.
598         * math/Makefile (libm-support): Add fetestexceptflag.
599         (tests): Add test-fetestexceptflag.
600         * math/test-fetestexceptflag.c: New file.
601         * sysdeps/nacl/libm.abilist: Update.
602         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
603         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
604         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
605         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
606         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
607         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
609         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
610         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
611         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
612         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
613         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
615         Likewise.
616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
617         Likewise.
618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
619         Likewise.
620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
621         Likewise.
622         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
623         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
624         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
625         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
626         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
628         Likewise.
629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
630         Likewise.
631         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
635 2016-08-26  Florian Weimer  <fweimer@redhat.com>
637         [BZ #20432]
638         Avoid strong references to malloc-internal symbols when linking
639         statically, to support statically interposed mallocs.
640         * include/libc-symbols.h (call_function_static_weak): New macro.
641         * malloc/Makefile (tests): Add tst-interpose-nothread,
642         tst-interpose-thread, tst-interpose-static-nothread,
643         tst-interpose-static-thread.
644         (tests-static): Add tst-interpose-static-nothread,
645         tst-interpose-static-thread.
646         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
647         tst-interpose-aux-thread.o.
648         (test-extras): Add tst-interpose-aux-nothread,
649         tst-interpose-aux-thread.
650         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
651         tst-interpose-aux-nothread.o.
652         (tst-interpose-thread, tst-interpose-static-thread): Link with
653         tst-interpose-aux-thread.o and libthread.
654         * malloc/tst-interpose-aux-nothread.c: New file.
655         * malloc/tst-interpose-aux-thread.c: Likewise.
656         * malloc/tst-interpose-aux.c: Likewise.
657         * malloc/tst-interpose-aux.h: Likewise.
658         * malloc/tst-interpose-nothread.c: Likewise.
659         * malloc/tst-interpose-skeleton.c: Likewise.
660         * malloc/tst-interpose-static-nothread.c: Likewise.
661         * malloc/tst-interpose-static-thread.c: Likewise.
662         * malloc/tst-interpose-thread.c: Likewise.
663         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
664         * sysdeps/mach/hurd/fork.c (__fork): Only call
665         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
666         __malloc_fork_unlock_child if defined.
667         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
669 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
671         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
672         timespec C99 designated initialization.
674 2016-08-26  Florian Weimer  <fweimer@redhat.com>
676         [BZ #19946]
677         Avoid expected SIGALRM signals.
678         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
679         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
680         (xpthread_create, xpthread_detach, xpthread_join)
681         (delayed_exit_thread, delayed_exit): New functions.
682         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
683         (tf): Use xpthread_cond_wait.
684         (do_test): Likewise.  Replace alarm with delayed_exit.
685         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
686         (do_test): Call delayed_exit.  Report failure.
687         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
688         (do_test): Call delayed_exit.
689         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
690         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
691         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
692         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
693         error.
694         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
695         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
696         error.
697         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
698         (do_test): Call delayed_exit.
699         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
700         (do_test): Call delayed_exit.
701         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
702         (do_test): Call delayed_exit instead of alarm.  Use
703         xpthread_mutex_lock.
704         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
705         (do_test): Call delayed_exit instead of alarm.  Use
706         xpthread_mutex_lock.
707         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
708         (do_test): Call delayed_exit instead of alarm.
709         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
710         (do_test): Call delayed_exit instead of alarm.  Use
711         xpthread_spin_lock.
712         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
713         (do_test): Call delayed_exit instead of alarm.  Use
714         xpthread_join.
716 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
718         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
719         adjust CFA when allocating register save area on re-aligned
720         stack.
722 2016-08-26  Florian Weimer  <fweimer@redhat.com>
724         * string/tst-cmp.c: New test.
725         * string/Makefile (tests): Add it.
727 2016-08-25  Mark Wielaard  <mark@klomp.org>
729         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
730         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
731         (check_tree_recurse): Use newly defined accessors.
732         (check_tree): Likewise.
733         (maybe_split_for_insert): Likewise.
734         (__tfind): Likewise.
735         (__tdelete): Likewise.
736         (trecurse): Likewise.
737         (tdestroy_recurse): Likewise.
738         (__tsearch): Likewise. And add asserts for malloc alignment.
739         (__twalk): Cast root to node in case CHECK_TREE is defined.
741 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
743         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
745 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
747         * math/Makefile (libm-gen-calls): Add
748         catan, catanh, ctan, ctanh.
749         (libm-calls): Remove the above.
751         * math/s_catan_template.c: Update using type-generic macros.
752         * math/s_catanh_template.c: Likewise.
753         * math/s_ctan_template.c: Likewise.
754         * math/s_ctanh_template.c: Likewise.
756         * math/s_catanf.c: Removed.
757         * math/s_catan.c: Removed.
758         * math/s_catanl.c: Removed.
759         * math/s_catanhf.c: Removed.
760         * math/s_catanh.c: Removed.
761         * math/s_catanhl.c: Removed.
762         * math/s_ctanf.c: Removed.
763         * math/s_ctan.c: Removed.
764         * math/s_ctanl.c: Removed.
765         * math/s_ctanhf.c: Removed.
766         * math/s_ctanh.c: Removed.
767         * math/s_ctanhl.c: Removed.
769         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
770         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
771         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
772         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
773         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
774         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
776         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
777         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
778         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
779         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
781 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
783         * s_catan_template.c: Copy of s_catan.c.
784         * s_catanh_template.c: Copy of s_catanh.c.
785         * s_ctan_template.c: Copy of s_ctan.c.
786         * s_ctanh_template.c: Copy of s_ctanh.c.
788 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
790         * math/Makefile (gen-libm-calls): Move
791         casin, casinh, csin, csinh here.
792         (libm-calls): Remove the above.
794         * math/s_casin_template.c: Update using type-generic macros.
795         * math/s_casinh_template.c: Likewise.
796         * math/s_csin_template.c: Likewise.
797         * math/s_csinh_template.c: Likewise.
798         * math/k_casinh_template.c: Likewise.
800         * math/s_casinf.c: Removed.
801         * math/s_casin.c: Removed.
802         * math/s_casinl.c: Removed.
803         * math/s_casinh.c: Removed.
804         * math/s_casinhf.c: Removed.
805         * math/s_casinhl.c: Removed.
806         * math/s_csin.c: Removed.
807         * math/s_csinf.c: Removed.
808         * math/s_csinl.c: Removed.
809         * math/s_csinh.c: Removed.
810         * math/s_csinhf.c: Removed.
811         * math/s_csinhl.c: Removed.
812         * math/k_casinh.c: Removed.
813         * math/k_casinhf.c: Removed.
814         * math/k_casinhl.c: Removed.
816         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
817         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
818         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
819         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
821         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
822         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
823         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
824         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
825         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
826         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
827         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
828         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
830         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
831         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
832         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
833         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
835         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
836         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
837         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
838         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
840 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
842         * s_casin_template.c: Copy of s_casin.c.
843         * s_casinh_template.c: Copy of s_casinh.c.
844         * s_csin_template.c: Copy of s_csin.c.
845         * s_csinh_template.c: Copy of s_csinh.c.
846         * k_casinh_template.c: Copy of k_casinh.c.
848 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
850         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
852 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
854         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
855         (mul_split) Remove, rename as mul_splitl, remove
856         redundant float.h include, and include via mul_splitl.h
858         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
859         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
860         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
861         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
862         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
864         * math/mul_splitl.h: New file.
866         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
867         Move into mul_split.h, and remove redundant float.h include.
869         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
870         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
871         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
872         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
874         * math/mul_split.h: New file.
876 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
878         * math/Makefile (libm-gen-calls): Move
879         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
880         (libm-calls): Remove above.
882         * math/s_cacos_template.c: Update using type-generic macros.
883         * math/s_cacosh_template.c: Likewise.
884         * math/s_ccos_template.c: Likewise.
885         * math/s_ccosh_template.c: Likwise.
887         * math/s_cacosf.c: Removed.
888         * math/s_cacos.c: Removed.
889         * math/s_cacosl.c: Removed.
890         * math/s_cacoshf.c: Removed.
891         * math/s_cacosh.c: Removed.
892         * math/s_cacoshl.c: Removed.
893         * math/s_ccosf.c: Removed.
894         * math/s_ccos.c: Removed.
895         * math/s_ccosl.c: Removed.
896         * math/s_ccoshf.c: Removed.
897         * math/s_ccosh.c: Removed.
898         * math/s_ccoshl.c: Removed.
900         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
901         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
902         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
903         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
904         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
905         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
907         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
908         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
909         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
910         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
912         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
913         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
914         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
915         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
917 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
919         * s_cacos_template.c: Copy of s_cacos.c.
920         * s_cacosh_template.c: Copy of s_cacosh.c.
921         * s_ccos_template.c: Copy of s_ccos.c.
922         * s_ccosh_template.c: Copy of s_ccosh.c.
924 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
926         * stdlib/tst-strtod-round-skeleton.c:
927         Refactored from tst-strtod-round.c.
929         (L_): New macro to apply literal modifier.
930         (FNPFX): New macro to select str or wcs prefix.
931         (CHAR): New macro to choose wchar_t or char.
932         (STRM): New macro to choose printf for tested character type.
934         (STRTO): New macro to choose appropriate string -> real function.
935         (FNPFXS): Stringitized version of FNPFX.
936         (STR): Support for above macro.
937         (STRX): Likewise.
939         (TEST): Update with above macros.
940         (test): Likewise.
941         (GEN_ONE_TEST): Likewise.
942         (test_in_one_mode): Likewise.
944         * stdlib/tst-strtod-round.c: New file.
945         * wcsmbs/tst-wcstod-round.c: New file.
947         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
948         (tst-wcstod-round): Add libm depencency for fesetround.
950 2016-08-19  Zack Weinberg  <zackw@panix.com>
952         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
954 2016-08-18  Torvald Riegel  <triegel@redhat.com>
956         [BZ #20477]
957         * resolv/res_hconf.c (do_init): Use atomic access.
958         * resolv/res_hconf.h: Add comments.
959         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
960         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
963 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
965         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
966         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
967         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
968         Likewise.
970 2016-08-18  Florian Weimer  <fweimer@redhat.com>
972         [BZ #16907]
973         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
974         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
975         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
976         (__attribute__): Remove definition.
978 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
980         * sysdeps/ieee754/ldbl-128/e_asinl.c:
981         Remove unused sqrtl declaration.
983 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
985         * math/Makefile: (gen-libm-templates.stmp): New rule.
986         (libm-calls): Move carg conj cimag and cabs into ...
987         (gen-libm-calls): New variable.
988         (generated): Inform Make objects from gen-libm-calls
989         may be generated.
991         * sysdeps/generic/math-type-macros.h: New file.
992         * sysdeps/generic/math-type-macros-float.h: Likewise.
993         * sysdeps/generic/math-type-macros-double.h: Likewise.
994         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
995         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
996         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
998         * math/cabs.c: Refactor into
999         * math/cabs_template.c: new file.
1000         * math/cabsf.c: Removed.
1001         * math/cabsl.c: Removed.
1002         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1003         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1005         * math/carg.c: Refactor into
1006         * math/carg_template.c: new file.
1007         * math/cargf.c: Removed.
1008         * math/cargl.c: Removed.
1009         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1010         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1012         * math/conj.c: Refactor into
1013         * math/conj_template.c: new file.
1014         * math/conjf.c: Removed.
1015         * math/conjl.c: Removed.
1016         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1017         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1019         * math/cimag.c: Refactor into
1020         * math/cimag_template.c: new file.
1021         * math/cimagf.c: Removed.
1022         * math/cimagl.c: Removed.
1023         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1024         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1026         * math/cimag.c: Refactor into
1027         * math/cimag_template.c: new file.
1028         * math/cimagf.c: Removed.
1029         * math/cimagl.c: Removed.
1030         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1031         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1033 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1035         Reduce time to expected nptl/tst-once5 failure.
1036         * nptl/tst-once5.cc (TIMEOUT): Define.
1038 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1040         [BZ #20452]
1041         Avoid additional copies of objects in libc.a in static libraries.
1042         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1043         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1044         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1045         rt-sysdep.
1046         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1047         Add nptl-sysdep.
1048         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1049         Add ptw-sysdep.
1050         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1051         rt-sysdep.
1052         * sysdeps/unix/sysv/linux/alpha/Makefile
1053         (libpthread-shared-only-routines): Add ptw-sysdep,
1054         ptw-sigprocmask, ptw-rt_sigaction.
1055         * sysdeps/unix/sysv/linux/ia64/Makefile
1056         (librt-shared-only-routines): Add rt-sysdep.
1057         * sysdeps/unix/sysv/linux/i386/Makefile
1058         (libpthread-shared-only-routines): Add libc-do-syscall.
1059         * sysdeps/unix/sysv/linux/microblaze/Makefile
1060         (libpthread-shared-only-routines): Add sysdep.
1061         * sysdeps/unix/sysv/linux/powerpc/Makefile
1062         (librt-shared-only-routines): Add rt-sysdep.
1063         (libpthread-shared-only-routines): Add sysdep.
1064         * sysdeps/unix/sysv/linux/s390/Makefile
1065         (librt-shared-only-routines): Add rt-sysdep.
1066         * sysdeps/unix/sysv/linux/sparc/Makefile
1067         (librt-shared-only-routines): Add rt-sysdep.
1068         (libpthread-shared-only-routines): Add sysdep.
1069         * sysdeps/unix/sysv/linux/tile/Makefile
1070         (libpthread-shared-only-routines): Likewise.
1072 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1074         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1075         Mask implicit bit out of unpacked value.
1076         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1078         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1080         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1082         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1084         * sysdeps/s390/fpu/fesetexcept.c: New file.
1086         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1087         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1088         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1090         * sysdeps/mips/fpu/fesetexcept.c: New file.
1092         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1094         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1096         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1098         * sysdeps/arm/fesetexcept.c: New file.
1100         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1102         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1104         * math/fesetexcept.c: New file.
1105         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1106         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1107         * math/fenv.h: Define
1108         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1109         <bits/libc-header-start.h> instead of including <features.h>.
1110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1111         declaration.
1112         * manual/arith.texi (fesetexcept): Document function.
1113         * math/Versions (fesetexcept): New libm symbol at version
1114         GLIBC_2.25.
1115         * math/Makefile (libm-support): Add fesetexcept.
1116         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1117         * math/test-fesetexcept.c: New file.
1118         * math/test-fesetexcept-traps.c: Likewise.
1119         * sysdeps/nacl/libm.abilist: Update.
1120         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1121         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1122         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1123         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1124         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1125         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1126         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1127         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1128         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1129         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1130         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1131         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1133         Likewise.
1134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1135         Likewise.
1136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1137         Likewise.
1138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1139         Likewise.
1140         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1141         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1142         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1143         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1144         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1146         Likewise.
1147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1148         Likewise.
1149         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1150         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1151         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1153 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1155         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1156         New.
1157         (do_test): Apply default_stack_size_in_mb if not set.
1158         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1160 2016-08-15  Andreas Schwab  <schwab@suse.de>
1162         [BZ #20435]
1163         CVE-2016-6323
1164         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1165         as .cantunwind.
1167 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1169         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1170         comment from fraiseexcpt.c.
1172         * math/test-fexcept.c (feraiseexcept_exact): New function.
1173         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1174         (test_except): Likewise.
1176 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1178         [BZ #20455]
1179         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1180         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1181         to be restored.
1183         * math/test-fexcept-traps.c: New file.
1184         * math/test-fexcept.c: Likewise.
1185         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1186         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1187         macro.
1188         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1189         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1191 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1193         * include/atomic.h (atomic_fetch_and_relaxed,
1194         atomic_fetch_and_release, atomic_fetch_or_release,
1195         atomic_fetch_xor_release): New.
1197 2016-08-06  Christian Seiler  <christian@iwakd.de>
1199         [BZ #20444]
1200         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1201         MACH_PORT_NULL.
1203 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1205         * math/s_fdim.c: Avoid alias renamed.
1206         * math/s_fdimf.c: Likewise.
1207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1208         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1209         Add s_fdimf-vis3, s_fdim-vis3.
1210         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1211         (CFLAGS-s_fdim-vis3.c): Likewise.
1212         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1213         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1215 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1218         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1219         Remove s_fdimf-vis3, s_fdim-vis3.
1220         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1221         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1228         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1229         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1231 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1233         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1234         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1235         -Wa,-Av9a -mvis.
1237 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1239         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1240         LIT() to individual constants in simple expressions
1241         after splitting on spaces.
1242         (_apply_lit): Rename replaced version, and use it to
1243         apply to what appears to be a token.
1245         * math/libm-test.inc: Fix many, many issues with
1246         spacing.
1248 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1250         * math/math.h: Move comment about <bits/mathdef.h> definitions
1251         above inclusion of <bits/mathdef.h>.  Do not mention
1252         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1254 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1256         * include/atomic.h (atomic_exchange_relaxed): New.
1258 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1260         * math/e_scalb.c: Do not include <fenv.h>.
1261         (invalid_fn): Do calculation resulting in NaN instead of raising
1262         FE_INVALID and returning a NaN explicitly.
1263         * math/e_scalbf.c: Do not include <fenv.h>.
1264         (invalid_fn): Do calculation resulting in NaN instead of raising
1265         FE_INVALID and returning a NaN explicitly.
1266         * math/e_scalbl.c: Do not include <fenv.h>.
1267         (invalid_fn): Do calculation resulting in NaN instead of raising
1268         FE_INVALID and returning a NaN explicitly.
1270 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1272         * po/de.po: Updated from Translation Project.
1273         * po/fi.po: Likewise.
1274         * po/sv.po: Likewise.
1276 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1278         [BZ #20452]
1279         Use sysdep.o from libc.a in static libraries.
1280         * sysdeps/unix/sysv/linux/i386/Makefile
1281         (libpthread-shared-only-routines): Add sysdep.
1282         (librt-shared-only-routines): Likewise.
1284 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1286         * math/tgmath.h (nextdown): Define if
1287         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1288         (nextup): Likewise.
1290         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1291         macro.
1292         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1293         Document.
1294         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1295         Document macro.
1296         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1297         (exp10f): Likewise.
1298         (exp10l): Likewise.
1299         * math/bits/mathcalls.h (exp10): Declare if
1300         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1302         * manual/arith.texi (nextup): Fix typo in last change.
1304 2016-08-03  Zack Weinberg  <zackw@panix.com>
1306         [BZ #19239]
1307         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1308         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1309         define major, minor, and makedev to issue deprecation warnings on use.
1310         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1311         previously-activated deprecation warnings for these macros and prevent
1312         subsequent inclusions of this header from having any effect.
1313         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1314         including <sys/sysmacros.h>, and undefine it again afterward.
1316 2016-08-03  Zack Weinberg  <zackw@panix.com>
1318         * sysdeps/generic/sys/sysmacros.h: Delete file.
1319         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1320         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1321         * bits/sysmacros.h: ... here; this encoding is now the generic
1322         encoding.  Now defines only the following macros:
1323         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1324         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1325         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1327         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1328         bits/sysmacros.h and the above new macros to generate the
1329         public implementations of major, minor, and makedev.
1330         * misc/tst-makedev.c: New test.
1331         * include/sys/sysmacros.h: New wrapper.
1333         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1334         (routines): Add makedev.
1335         (tests): Add tst-makedev.
1336         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1337         gnu_dev_makedev.
1338         * posix/Makefile (headers): Remove sys/sysmacros.h.
1339         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1341         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1342         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1343         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1344         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1345         * sysdeps/unix/sysv/linux/arm/libc.abilist
1346         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1347         * sysdeps/unix/sysv/linux/i386/libc.abilist
1348         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1349         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1350         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1351         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1352         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1353         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1354         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1355         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1356         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1361         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1362         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1363         * sysdeps/unix/sysv/linux/sh/libc.abilist
1364         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1365         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1368         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1369         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1370         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1371         Add GLIBC_2.25.
1373         * include/features.h (__glibc_clang_prereq): New macro.
1374         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1375         (__attribute_deprecated_msg__): New macros.
1377 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1379         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1380         macro.
1381         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1382         * manual/arith.texi (issignaling): Document as ISO from TS
1383         18661-1:2014.
1384         (nextup): Likewise.
1385         (nextupf): Likewise.
1386         (nextupl): Likewise.
1387         (nextdown): Likewise.
1388         (nextdownf): Likewise.
1389         (nextdownl): Likewise.
1390         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1391         macro.
1392         * math/math.h: Define
1393         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1394         <bits/libc-header-start.h> instead of including <features.h>.
1395         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1396         [__USE_GNU].
1397         * math/bits/mathcalls.h (nextdown): Declare if
1398         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1399         (nextup): Likewise.
1400         (__issignaling): Likewise.
1402 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1404         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1405         check, and remove __glibc_likely hint
1406         from FP_INFINITE check.
1407         * s_csinhf.c (__csinhf): Likewise.
1409         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1410         hint from FP_INFINITE check.
1411         * s_csinhl.c (__csinhl): Likewise.
1413 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1415         * math/Makefile (libm-calls): Insert F placeholder into
1416         object names.  Move w_lgamma_compat* routines into
1417         (libm-compat-calls): New variable.
1418         (libm-compat-calls-ldouble-yes): New variable.
1419         (calls): Insert F placeholder.
1420         (generated): Redefine using new type-foreach macro call.
1421         (routines): Likewise.
1423         (types): New variable to hold a list of symbolic names
1424         for each type supported by the target machine.
1425         (libm-routines): Redefine using new types variable.
1426         (type-foreach): macro to replace fooF with the
1427         appropriately suffixed foo for each types.
1429         (type-ldouble-suffix): New variable.
1430         (type-ldouble-routines): Likewise.
1431         (type-ldouble-yes): Likewise.
1432         (type-double-suffix): Likewise.
1433         (type-double-routines): Likewise.
1434         (type-float-suffix): Likewise.
1435         (type-float-routines): Likewise.
1437         (dbl-only-routines): Remove.
1438         (long-c-yes): Likewise.
1439         (long-m-routines): Likewise.
1440         (long-m-support): Likewise.
1441         (long-m-yes): Likewise.
1442         (test-longdouble-yes): Likewise.
1444         (test-float.o): Simplify by increasing the scope of the
1445         recipe which adds libm-test.stmp to the vector types.
1446         (test-ifloat.o): Likewise.
1447         (test-float-finite.o): Likewise.
1448         (test-double.o): Likewise
1449         (test-idouble.o): Likewise.
1450         (test-double-finite.o): Likewise.
1451         (test-ldouble.o): Likewise
1452         (test-ildoubl.o): Likewise.
1453         (test-ldouble-finite.o): Likewise.
1455         (libm-tests): Redefine type tests using foreach and the
1456         list of types in types.
1458         (CPPFLAGS-test-ildoubl.c): Rename to
1459         (CPPFLAGS-test-ildouble.c): New variable
1461         * math/test-ildoubl.c: Rename to
1462         * math/test-ildouble.c: New file.
1464 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1466         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1467         Use fabsl instead of fabs.
1468         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1469         Likewise.
1470         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1471         Add long double suffix to constant to ensure proper
1472         promotion to long double.
1474 2016-08-03  Tom Tromey  <tom@tromey.com>
1476         [BZ #20311]
1477         * nptl_db/Makefile (headers): Add proc_service.h.
1478         * nptl_db/proc_service.h: Add include guard.  Use
1479         __BEGIN/__END_DECLS.
1480         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1481         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1482         arguments.
1485 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1487         [BZ #17730]
1488         Avoid using memalign for TCB allocations.
1489         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1490         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1491         Avoid alignment gap in the TLS_DTV_AT_TP case.
1492         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1493         determine the pointer to free.
1494         * nptl/tst-tls3-malloc.c: New test.
1495         * nptl/Makefile (tests): Add it.
1496         (tst-tls3-malloc): Link with libdl, libpthread.
1497         (LDFLAGS-tst-tls3-malloc): Set.
1498         (tst-tls3-malloc.out): Depend on DSO used in test.
1500 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1502         [BZ #17730]
1503         Avoid using memalign for TLS allocations.
1504         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1505         is_static member with to_free member.
1506         (union dtv): Use struct dtv_pointer.
1507         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1508         dtv_pointer instead of is_static.
1509         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1510         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1511         instead of val.
1512         (allocate_dtv_entry): New function.
1513         (allocate_and_init): Return struct dtv_pointer.  Call
1514         allocate_dtv_entry instead of __libc_memalign.
1515         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1516         instead of val.
1517         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1518         instead of is_static.  Adjust call to allocate_and_init.
1519         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1520         struct dtv_pointer instead of val.
1522 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1524         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1525         (MALLOC_ALIGN_MASK): Move ...
1526         * malloc/malloc-internal.h: ... to here.
1527         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1529 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1531         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1532         (UDP_ENCAP_GTP1U): Likewise.
1534         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1535         (PF_MAX): Update value.
1536         (AF_QIPCRTR): New macro.
1538 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1540         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1541         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1542         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1543         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1544         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1545         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1546         s_truncf-vis3, s_trunc-vis3.
1547         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1548         (CFLAGS-s_ceil-vis3.c): Likewise.
1549         (CFLAGS-s_floorf-vis3.c): Likewise.
1550         (CFLAGS-s_floor-vis3.c): Likewise.
1551         (CFLAGS-s_truncf-vis3.c): Likewise.
1552         (CFLAGS-s_trunc-vis3.c): Likewise.
1553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1556         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1561         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1562         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1563         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1564         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1566 2016-08-02  David S. Miller  <davem@davemloft.net>
1568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1569         (__nearbyint_vis3): Don't check for sNaN before float register is
1570         loaded with the incoming argument.
1571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1572         (__nearbyintf_vis3): Likewise.
1573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1574         Likewise.
1575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1576         Likewise.
1578         * string/test-strncmp.c (do_test_limit): Make sure the test data
1579         stream is aligned as required for the type "CHAR".
1580         (do_test): Likewise.
1582 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1584         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1585         by beq instructions jumping to the end of the function.
1586         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1587         clobber list. Use "i" constraint instead of "X".
1588         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1589         of "X".
1591 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1593         * bits/libc-header-start.h: New file.
1594         * Makefile (headers): Add bits/libc-header-start.h.
1595         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1596         (__GLIBC_USE): New macro.
1597         * libio/stdio.h: Define
1598         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1599         <bits/libc-header-start.h> instead of including <features.h>.
1600         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1601         (open_memstream): Likewise.
1602         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1603         (__asprintf): Likewise.
1604         (asprintf): Likewise.
1605         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1606         (getdelim): Likewise.
1607         (getline): Likewise.
1608         * string/string.h: Define
1609         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1610         <bits/libc-header-start.h> instead of including <features.h>.
1611         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1612         (strndup): Likewise.
1613         * wcsmbs/wchar.h: Define
1614         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1615         <bits/libc-header-start.h> instead of including <features.h>.
1616         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1617         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1619 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1621         Support linking against compatibility symbols, for use in tests.
1622         * include/libc-symbols.h (symbol_version_reference): New macro.
1623         (symbol_version): Use it.
1624         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1625         (compat_symbol): Use compat_symbol_reference.
1626         (compat_symbol_1, compat_symbol_2): Remove.
1627         (compat_symbol_reference, compat_symbol_reference_1)
1628         (compat_symbol_reference_2): New macro.  Use
1629         symbol_version_reference.
1631 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1633         [BZ #19469]
1634         * malloc/Makefile (CPPFLAGS): Compile tests with
1635         -DTEST_NO_MALLOPT.
1636         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1638 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1640         [BZ #20033]
1641         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1642         finite version.
1643         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1644         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1645         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1646         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1647         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1648         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1649         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1650         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1651         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1652         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1653         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1654         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1655         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1656         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1657         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1658         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1659         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1660         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1661         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1662         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1663         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1664         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1665         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1666         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1667         in zero power.
1669 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1671         [BZ #20370]
1672         * malloc/arena.c (get_free_list): Update comment.  Assert that
1673         arenas on the free list have no attached threads.
1674         (remove_from_free_list): New function.
1675         (reused_arena): Call it.
1677 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1679         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1680         when it is a NaN.
1681         [_IEEE_FP_INEXACT] Remove.
1682         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1683         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1684         when it is a NaN.
1685         [_IEEE_FP_INEXACT] Remove.
1686         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1687         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1688         when it is a NaN.
1689         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1690         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1691         when its absolute value is greater than 0x1.0p52.
1692         [_IEEE_FP_INEXACT] Remove.
1693         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1694         when its absolute value is greater than 0x1.0p23.
1695         [_IEEE_FP_INEXACT] Remove.
1697 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1699         * version.h (RELEASE): Set to "development"
1700         (VERSION): Set to 2.24.90.
1701         * NEWS: Add 2.25 section.
1703         * version.h (RELEASE): Set to "stable"
1704         (VERSION): Set to 2.24.
1705         * include/features.h (__GLIBC_MINOR__): Set to 24.
1707         * NEWS: Add 2.24 fixed bugs.
1708         * po/libc.pot: Regenerate.
1710 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1713         [$(subdir) = math] (libm-sysdep_routines): Remove.
1714         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1715         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1716         s_truncf-vis3, s_trunc-vis3.
1717         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1719         file.
1720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1751         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1752         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1753         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1754         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1755         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1756         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1757         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1758         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1759         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1760         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1761         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1762         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1764 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1766         [BZ #20384]
1767         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1768         test-double-libmvec-sincos-avx-main.o,
1769         test-double-libmvec-sincos-avx2-main.o,
1770         test-double-libmvec-sincos-main.o,
1771         test-float-libmvec-sincosf-avx-main.o,
1772         test-float-libmvec-sincosf-avx2-main.o and
1773         test-float-libmvec-sincosf-main.o.
1774         test-float-libmvec-sincosf-avx512-main.o.
1775         ($(objpfx)test-double-libmvec-sincos): Also link with
1776         $(objpfx)test-double-libmvec-sincos-main.o.
1777         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1778         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1779         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1780         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1781         ($(objpfx)test-float-libmvec-sincosf): Also link with
1782         $(objpfx)test-float-libmvec-sincosf-main.o.
1783         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1784         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1785         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1786         test-double-libmvec-sincos-avx512-main.o and
1787         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1788         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1789         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1790         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1791         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1792         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1793         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1794         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1795         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1796         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1797         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1798         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1799         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1800         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1801         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1802         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1803         -DREQUIRE_AVX2.
1804         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1805         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1806         -DREQUIRE_AVX512F.
1807         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1808         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1809         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1810         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1811         file.
1812         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1813         Likewise.
1814         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1815         Likewise.
1816         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1817         Likewise.
1818         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1819         Likewise.
1820         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1821         Likewise.
1822         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1823         Likewise.
1824         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1825         Likewise.
1827 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1829         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1831 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1833         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1834         and typo in a comment about AT_HWCAP entry.
1836 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1838         * sysdeps/aarch64/libm-test-ulps: Updated.
1840 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1842         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1843         of r13 as it is not restored in mvcle case.
1845 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1847         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1848         Rename "ret" to "__ret".
1849         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1850         inline_syscall5, inline_syscall6): Likewise.
1852 2016-07-19   Will Newton  <will.newton@gmail.com>
1854         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1855         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1856         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1857         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1858         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1860 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1862         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1863         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1864         -mfpmath=387 with $(rtld-CFLAGS).
1865         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1866         $(rtld-CFLAGS).
1868 2016-07-18   Ross Burton  <ross.burton@intel.com>
1869              Khem Raj  <raj.khem@gmail.com>
1871         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1872         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1873         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1874         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1875         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1876         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1877         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1878         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1879         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1880         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1881         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1882         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1883         R_METAG_TLS_DTPOFF): New.
1885 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1886             Matt Clay  <mclay@lycos.com>
1888         [BZ #20357]
1889         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1890         to call __mpsin/__mpcos and to negate values.
1891         * math/auto-libm-test-in: Add test.
1892         * math/auto-libm-test-out: Regenerate.
1894 2016-07-18  Zack Weinberg  <zackw@panix.com>
1896         * grp/Makefile: Don't install the internal header grp-merge.h.
1898 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1900         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1902 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1904         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1906 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1908         [BZ #15368]
1909         * sysdeps/unix/sysv/linux/nptl-signals.h
1910         (__nptl_clear_internal_signals): New function.
1911         (__libc_signal_block_all): Likewise.
1912         (__libc_signal_block_app): Likewise.
1913         (__libc_signal_restore_set): Likewise.
1914         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1915         implementation.
1916         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1917         the cached pid/tid value in pthread structure.
1919 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1921         [BZ #20347]
1922         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1924 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1926         [BZ #20348]
1927         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1928         preadv64, pwrite64 and pwritev64.
1930 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1932         [BZ #20350]
1933         * posix/tst-preadwrite.c: Renamed to ...
1934         * posix/tst-preadwrite-common.c: This.
1935         (PREAD): Removed.
1936         (PWRITE): Likewise.
1937         (STRINGIFY): Likewise.
1938         (STRINGIFY2): Likewise.
1939         (do_prepare): Make it static and remove function arguments.
1940         (do_test): Likewise.
1941         (PREPARE): Updated.
1942         (TEST_FUNCTION): New.
1943         (name): Make it static.
1944         (fd): Likewise.
1945         (do_prepare): Use create_temp_file.
1946         (do_test): Renamed to ...
1947         (do_test_with_offset): This.  Make it static and accept offset.
1948         Properly check return value of PWRITE and PREAD.  Return bytes
1949         read.  Don't close fd nor unlink name.
1950         * posix/tst-preadwrite.c: Rewrite.
1951         * posix/tst-preadwrite64.c: Likewise.
1953 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1955         [BZ #20309]
1956         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1957         -mtls-dialect=gnu2 works.
1958         * configure: Regenerated.
1959         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1960         (tests): Add tst-gnu2-tls1.
1961         (modules-names): Add tst-gnu2-tls1mod.
1962         ($(objpfx)tst-gnu2-tls1): New.
1963         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1964         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1965         * elf/tst-gnu2-tls1.c: New file.
1966         * elf/tst-gnu2-tls1mod.c: Likewise.
1967         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1968         bytes for push in the PLT entry to align the stack.
1970 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1972         [BZ #20349]
1973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1975 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1977         [BZ #18707]
1978         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1979         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1981 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1983         * sysdeps/unix/sysv/linux/sysdep.h
1984         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1985         guards.
1986         * misc/tst-preadvwritev-common.c: New file.
1987         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1988         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1989         a check for files larger than 2GB.
1991         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1992         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1993         * sysdeps/unix/sysv/linux/pread.c
1994         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1995         __OFF_T_MATCHES_OFF64_T.
1996         * sysdeps/unix/sysv/linux/pread64.c
1997         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1998         * sysdeps/unix/sysv/linux/preadv.c
1999         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2000         * sysdeps/unix/sysv/linux/preadv64.c
2001         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2002         * sysdeps/unix/sysv/linux/pwrite.c
2003         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2004         * sysdeps/unix/sysv/linux/pwrite64.c
2005         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2006         * sysdeps/unix/sysv/linux/pwritev.c
2007         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2008         * sysdeps/unix/sysv/linux/pwritev64.c
2009         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2011 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2013         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2014         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2016 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2018         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2020 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2022         [BZ #20240]
2023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2024         (CFLAGS-s_modf-ppc32.c): New variable.
2025         (CFLAGS-s_modff-ppc32.c): Likewise.
2026         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2027         (CFLAGS-s_modf-ppc64.c): Likewise.
2028         (CFLAGS-s_modff-ppc64.c): Likewise.
2030 2016-07-07  Andreas Schwab  <schwab@suse.de>
2032         [BZ #20263]
2033         * nptl/tst-robust10.c: New test.
2034         * nptl/Makefile (tests): Add tst-robust10.
2036 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2038         [BZ #20263]
2039         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2041 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2043         * sysdeps/s390/linkmap.h (struct link_map_machine):
2044         Remove member gotplt and add member jmprel.
2045         * sysdeps/s390/s390-32/dl-machine.h
2046         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2047         instead of gotplt with &got[3].
2048         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2049         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2051 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2053         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2055 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2057         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2058         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2059         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2060         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2061         * libio/vtables.c (_IO_vtable_check)
2062         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2063         * libio/libioP.h (IO_set_accept_foreign_vtables)
2064         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2066 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2068         [BZ #20314]
2069         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2070         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2071         $(common-objpfx)cmath.
2072         ($(common-objpfx)cstdlib): New target.
2073         ($(common-objpfx)cmath): Likewise.
2075 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2077         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2079 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2081         [BZ #20327]
2082         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2083         are not part of the string.
2085 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2087         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2088         * nptl/tst-cancel4-common.h (fifoname): New variable.
2089         (fifofd): Likewise.
2090         (cl_fifo): New function.
2091         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2092         SIGINT.
2093         (tf_open): Add early cancel test.
2095 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2097         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2099 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2101         * sysdeps/generic/ldsodefs.h
2102         (dl_symbol_visibility_binds_local_p): New inline function.
2103         * elf/dl-addr.c (determine_info): Treat hidden and internal
2104         symbols as local.
2105         * elf/dl-lookup.c (do_lookup_x): Likewise.
2106         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2108 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2110         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2111         invalid exception for a sNaN input.
2112         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2113         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2114         (__nearbyint_vis3): Likewise
2115         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2116         (__nearbyintf_vis3): Likewise
2117         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2118         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2119         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2120         Likewise.
2121         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2122         Likewise.
2124 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2126         [BZ #20139]
2127         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2128         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2129         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2130         2.24 or above.
2131         (HAVE_AVX512_ASM_SUPPORT): Removed.
2132         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2133         * sysdeps/x86_64/configure: Regenerated.
2134         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2135         check unconditional.
2136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2137         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2138         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2139         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2140         Likewise.
2141         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2142         Likewise.
2143         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2144         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2145         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2146         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2147         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2148         Likewise.
2149         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2150         Likewise.
2151         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2152         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2153         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2154         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2155         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2156         Likewise.
2157         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2158         Likewise.
2159         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2160         Likewise.
2161         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2162         Likewise.
2163         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2164         Likewise.
2165         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2166         Likewise.
2167         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2168         Likewise.
2169         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2170         Likewise.
2171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2172         Likewise.
2173         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2174         Likewise.
2175         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2176         Likewise.
2178 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2180         [BZ #20024]
2181         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2182         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2183         of this implementation of vector function.
2184         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2185         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2187         Likewise.
2188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2190         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2191         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2192         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2193         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2194         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2195         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2196         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2197         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2198         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2199         for testing vector sincos with fixed ABI.
2200         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2201         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2202         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2203         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2204         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2205         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2206         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2207         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2208         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2209         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2210         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2211         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2212         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2213         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2214         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2215         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2217 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2219         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2221 2016-06-30  Anton Blanchard  <anton@samba.org>
2223         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2224         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2225         s_sinf-ppc64.
2226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2229         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2231 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2235         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2236         e_expf-ppc64.
2237         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2238         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2239         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2240         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2242 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2244         [BZ #20277]
2245         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2246         when SHARED is defined.
2248 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2250         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2251         (index_arch_Prefer_ERMS): Likewise.
2252         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2253         __memcpy_erms for Prefer_ERMS.
2254         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2255         (__memmove_erms): Enabled for libc.a.
2256         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2257         __memmove_erms or Prefer_ERMS.
2258         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2259         __mempcpy_erms for Prefer_ERMS.
2260         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2261         __memset_erms for Prefer_ERMS.
2263 2016-06-30  Andreas Schwab  <schwab@suse.de>
2265         [BZ #20262]
2266         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2267         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2268         of memory.
2270 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2272         [BZ #18645]
2273         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2274         (test-extras): Add tst-cleanupx4aux.
2275         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2276         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2277         tst-cleanupx4aux.o.
2278         * nptl/tst-cleanupx4aux.c: New file.
2280 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2282         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2284 2016-06-29  Andreas Schwab  <schwab@suse.de>
2286         [BZ #20260]
2287         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2288         address before the beginning of the string as an integer to avoid
2289         array-bounds warning.
2291 2016-06-28  Richard Henderson  <rth@redhat.com>
2293         * elf/elf.h (EM_BPF): New.
2294         (EM_NUM): Update.
2295         (R_BPF_NONE, R_BPF_MAP_FD): New.
2297         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2298         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2299         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2300         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2301         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2302         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2303         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2304         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2305         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2306         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2307         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2308         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2309         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2310         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2311         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2312         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2313         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2314         (EM_NUM): Update.
2316 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2318         [BZ #18960]
2319         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2320         Set _nl_current_LC_CATEGORY_used to two instead of one.
2322 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2324         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2325         (do_test): ... this.
2326         (TEST_FUNCTION): New macro.
2327          Include test-skeleton.c.
2328         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2329         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2331 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2333         [BZ #15479]
2334         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2335         floating-point environment rather than just control word.
2336         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2337         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2338         floating-point environment, with "invalid" exceptions merged in,
2339         rather than just control word.
2340         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2341         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2342         "inexact" exceptions.
2344         [BZ #15479]
2345         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2346         floating-point environment rather than just control word.
2347         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2348         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2349         floating-point environment, with "invalid" exceptions merged in,
2350         rather than just control word.
2351         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2352         * math/libm-test.inc (floor_test_data): Do not allow spurious
2353         "inexact" exceptions.
2355         [BZ #15479]
2356         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2357         floating-point environment rather than just control word.
2358         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2359         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2360         floating-point environment, with "invalid" exceptions merged in,
2361         rather than just control word.
2362         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2363         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2364         "inexact" exceptions.
2366 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2368         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2369         __libc_vfork.
2370         (__vfork) [IS_IN (libc)]: Remove alias.
2371         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2372         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2373         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2375 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2377         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2378         of atomic_compare_and_exchange_bool_rel.
2379         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2380         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2381         catomic_compare_and_exchange_bool_rel): Remove.
2382         * sysdeps/aarch64/atomic-machine.h
2383         (atomic_compare_and_exchange_bool_rel): Likewise.
2384         * sysdeps/alpha/atomic-machine.h
2385         (atomic_compare_and_exchange_bool_rel): Likewise.
2386         * sysdeps/arm/atomic-machine.h
2387         (atomic_compare_and_exchange_bool_rel): Likewise.
2388         * sysdeps/mips/atomic-machine.h
2389         (atomic_compare_and_exchange_bool_rel): Likewise.
2390         * sysdeps/microblaze/atomic-machine.h
2391         ( __arch_compare_and_exchange_bool_8_rel,
2392         __arch_compare_and_exchange_bool_16_rel): Likewise.
2393         * sysdeps/powerpc/atomic-machine.h
2394         ( __arch_compare_and_exchange_bool_8_rel,
2395         __arch_compare_and_exchange_bool_16_rel): Likewise.
2396         * sysdeps/powerpc/powerpc32/atomic-machine.h
2397         ( __arch_compare_and_exchange_bool_32_rel,
2398         __arch_compare_and_exchange_bool_64_rel): Likewise.
2399         * sysdeps/powerpc/powerpc64/atomic-machine.h
2400         ( __arch_compare_and_exchange_bool_32_rel,
2401         __arch_compare_and_exchange_bool_64_rel): Likewise.
2402         * sysdeps/tile/atomic-machine.h
2403         (atomic_compare_and_exchange_bool_rel): Likewise.
2405 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2407         [BZ #20296]
2408         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2409         when either argument is a NaN.
2410         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2411         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2413         * math/libm-test.inc (snan_value_ld): New macro.
2414         (isgreater_test_data): Add sNaN tests.
2415         (isgreaterequal_test_data): Likewise.
2416         (isless_test_data): Likewise.
2417         (islessequal_test_data): Likewise.
2418         (islessgreater_test_data): Likewise.
2419         (isunordered_test_data): Likewise.
2420         (nextafter_test_data): Likewise.
2421         (nexttoward_test_data): Likewise.
2422         (remainder_test_data): Likewise.
2423         (remquo_test_data): Likewise.
2424         (significand_test_data): Likewise.
2425         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2427 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2429         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2430         environment macros are defined.
2431         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2433 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2435         [BZ #20191]
2436         Implement vtable verification in libio.
2437         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2438         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2439         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2440         _IO_new_file_init_internal instead of _IO_file_init.
2441         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2442         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2443         * libio/Makefile (routines): Add vtables.
2444         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2445         (_IO_init): Remove, not for internal use.
2446         (_IO_init_internal): Declare, internal replacement for _IO_init.
2447         (_IO_file_init): Remove, not for internal use.
2448         (_IO_new_file_init): Remove, not for internal use.
2449         (_IO_new_file_init_internal): Declare, internal replacement for
2450         _IO_new_file_init.
2451         (_IO_old_file_init): Remove, not for internal use.
2452         (_IO_old_file_init_internal): Declare, internal replacement for
2453         _IO_old_file_init.
2454         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2455         internal use.
2456         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2457         Declare.
2458         (libio_vtable): New macro.
2459         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2460         functions.
2461         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2462         _IO_new_file_init.
2463         (_IO_new_file_init): New externally visible wrapper which disables
2464         vtable verification.
2465         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2466         Define as vtables.
2467         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2468         (_IO_init): New externally visible wrapper which disables
2469         vtable verification.
2470         * libio/iofdopen.c (_IO_new_fdopen): Call
2471         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2472         comment.
2473         * libio/iofopen.c (__fopen_internal): Call
2474         _IO_new_file_init_internal instead of _IO_file_init.
2475         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2476         Define as vtables.
2477         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2478         _IO_new_file_init_internal instead of _IO_file_init.
2479         * libio/iopopen.c (_IO_new_popen): Likewise.
2480         (_IO_proc_jumps): Define as vtable.
2481         * libio/iovdprintf.c (_IO_vdprintf): Call
2482         _IO_new_file_init_internal instead of _IO_file_init.
2483         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2484         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2485         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2486         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2487         _IO_old_file_init.
2488         (_IO_old_file_init): New externally visible wrapper which disables
2489         vtable verification.
2490         (_IO_old_file_jumps): Define as vtable.
2491         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2492         _IO_old_file_init_internal instead of _IO_old_file_init.
2493         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2494         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2495         (_IO_old_proc_jumps): Define as vtable.
2496         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2497         Define as vtables.
2498         * libio/vtables.c: New file.
2499         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2500         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2501         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2502         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2503         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2504         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2505         instead of _IO_init.
2507 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2509         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2511 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2513         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2514         potentially unused.
2516 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2518         * test-skeleton.c (write_message): New function.
2519         * malloc/tst-mallocfork2.c (write_message): Remove.
2520         * debug/tst-longjmp_chk2.c (write_indented): New function.
2521         (write_message): Remove.
2522         (stackoverflow_handler): Call write_indented.
2524 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2526         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2527         "inexact" exceptions after fnstenv.
2528         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2529         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2530         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2532 2015-06-22  Zack Weinberg  <zackw@panix.com>
2534         * sysdeps/generic/bits/hwcap.h: Moved to ...
2535         * bits/hwcap.h: Here.
2537 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2539         * sysdeps/aarch64/memcpy.S (memcpy):
2540         Further tuning for performance.
2542 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2544         [BZ #20284]
2545         * malloc/arena.c (reused_arena): Do not return NULL if we start
2546         out with a non-corrupted arena.
2548 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2550         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2551         * misc/tst-preadvwritev.c: New file.
2552         * misc/tst-preadvwritev64.c: Likewise.
2553         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2554         usage.
2555         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2556         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2557         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2558         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2560 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2562         [BZ #19654]
2563         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2564         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2565         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2566         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2567         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2568         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2569         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2570         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2571         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2572         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2573         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2574         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2575         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2576         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2577         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2578         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2579         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2580         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2581         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2582         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2583         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2584         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2585         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2586         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2587         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2588         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2590 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2592         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2593         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2595 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2597         * sysdeps/aarch64/memcpy.S (memcpy):
2598         Rewrite of optimized memcpy and memmove.
2599         * sysdeps/aarch64/memmove.S (memmove): Remove
2600         memmove code (merged into memcpy.S).
2602 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2604         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2605         * sysdeps/generic/dl-dtv.h: New file.
2606         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2607         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2608         (dtv_t): Remove.
2609         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2610         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2611         (dtv_t): Remove.
2612         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2613         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2614         (dtv_t): Remove.
2615         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2616         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2617         (dtv_t): Remove.
2618         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2619         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2620         (dtv_t): Remove.
2621         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2622         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2623         (dtv_t): Remove.
2624         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2625         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2626         (dtv_t): Remove.
2627         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2628         (dtv_t): Remove.
2629         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2630         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2631         (dtv_t): Remove.
2632         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2633         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2634         (dtv_t): Remove.
2635         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2636         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2637         (dtv_t): Remove.
2638         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2639         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2640         (dtv_t): Remove.
2641         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2642         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2643         (dtv_t): Remove.
2644         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2645         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2646         (dtv_t): Remove.
2647         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2648         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2649         (dtv_t): Remove.
2650         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2651         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2652         (dtv_t): Remove.
2654 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2656         Revert symbol poisoning of  __malloc_initialize_hook.
2657         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2658         poisoning.
2659         * malloc/Makefile: Remove un-poisoning.
2660         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2661         instead of old__malloc_initialize_hook.
2662         * malloc/malloc-hooks.h: Likewise.
2663         * malloc/malloc.c: Likewise.
2664         * malloc/mcheck-init.c: Likewise.
2666 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2668         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2670 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2672         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2673         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2674         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2675         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2677 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2679         * NEWS: Mention addition of nextup and nextdown.
2680         * manual/arith.texi: Document nextup and nextdown.
2681         * manual/libm-err-tab.pl: Add nextup and nextdown.
2682         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2683         * math/Versions (libm): Add GLIBC_2.24.
2684         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2685         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2686         Add new test.
2687         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2688         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2689         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2690         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2691         (nextup_test_data): Likewise.
2692         (nextdown_test_data): Likewise.
2693         * math/s_nextdown.c: New file.
2694         * math/s_nextdownf.c: Likewise.
2695         * math/s_nextdownl.c: Likewise.
2696         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2697         F(nextup): New function.
2698         F(nextdown): Likewise.
2699         * math/tgmath.h: Add nextup and nextdown.
2700         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2701         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2702         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2703         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2704         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2705         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2706         Add nextup and nextdown.
2707         (CFLAGS-nldbl-nextup.c): New variable.
2708         (CFLAGS-nldbl-nextdown.c): Likewise.
2709         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2710         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2711         * sysdeps/nacl/libm.abilist: Update.
2712         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2713         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2714         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2715         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2726         Likewise.
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2731         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2732         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2733         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2736         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2737         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2738         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2739         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2741 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2743         * manual/pattern.texi: Fix typos & grammar errors.
2745 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2747         * manual/search.texi: Fix typos & grammar errors.
2749 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2751         * manual/message.texi: Fix typos & grammar errors.
2753 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2755         * manual/contrib.texi: Fix spelling typos.
2756         * manual/crypt.texi: Likewise.
2757         * manual/filesys.texi: Likewise.
2758         * manual/locale.texi: Likewise.
2759         * manual/message.texi: Likewise.
2760         * manual/nss.texi: Likewise.
2761         * manual/string.texi: Likewise.
2763 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2765         * manual/locale.texi: Fix typos & grammar errors.
2767 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2769         * manual/charset.texi: Fix typos & grammar errors.
2771 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2773         * manual/string.texi: Fix typos.
2775 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2777         * manual/ctype.texi: Fix typos.
2779 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2781         * manual/memory.texi: Fix various typos & grammar errors.
2783 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2785         [BZ #20255]
2786         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2787         * math/libm-test.inc (fdim_test_data): Add another test.
2789         [BZ #6796]
2790         [BZ #20255]
2791         [BZ #20256]
2792         * math/s_fdim.c: Include <math_private.h>.
2793         (__fdim): Use math_narrow_eval on result.
2794         * math/s_fdimf.c: Include <math_private.h>.
2795         (__fdimf): Use math_narrow_eval on result.
2796         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2797         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2798         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2799         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2800         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2801         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2802         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2803         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2804         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2805         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2806         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2807         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2808         overflow.  Add sNaN tests.
2810         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2811         fpclassify.
2812         * math/s_fdimf.c (__fdimf): Likewise.
2813         * math/s_fdiml.c (__fdiml): Likewise.
2815 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2817         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2818         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2820         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2821         ifunc'ed strcasecmp/strncasecmp.
2822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2823         [EALIGN]: Removed.
2824         [END]: Likewise.
2825         [__strcasecmp]: Define instead of the above to control symbol name.
2826         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2827         for __strcasecmp_power8.
2828         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2829         for __strncasecmp_power8.
2830         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2831         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2832         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2833         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2834         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2835         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2837 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2839         [BZ #20252]
2840         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2841         arguments when second argument is a NaN.
2842         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2843         qNaN tests.
2845         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2846         (conj_test_data): Likewise.
2847         (copysign_test_data): Likewise.
2848         (creal_test_data): Likewise.
2849         (fma_test_data): Likewise.
2850         (fmod_test_data): Likewise.
2852         [BZ #20250]
2853         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2854         itself.
2855         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2856         zero input to itself.
2857         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2858         Likewise.
2859         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2860         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2861         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2862         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2863         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2865 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2867         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2868         * nptl/tst-cancel4-common.c: New file.
2869         * nptl/tst-cancel4-common.h: Likewise.
2870         * nptl/tst-cancel4.c: Move common definitions to
2871         tst-cancel4-common.{c,h} file.
2872         * nptl/tst-cancel4_1.c: New test.
2873         * nptl/tst-cancel4_2.c: New test.
2875 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2877         [BZ #20248]
2878         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2879         (write_message): New function.
2880         (stackoverflow_handler): Call it instead of printf, to avoid
2881         excessive stack usage by printf.
2882         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2884 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2886         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2887         (prio_inherit_missing): Remove define.
2888         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2889         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2891         Likewise.
2892         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2893         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2894         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2895         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2896         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2897         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2899 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2901         [BZ #19670]
2902         [BZ #19672]
2904         * io/test-lfs.c (do_prepare): Use xmalloc.
2905         * io/tst-fcntl.c (do_prepare): Likewise.
2906         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2907         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2908         * login/tst-utmp.c (do_prepare): Likewise.
2909         * posix/tst-exec.c (do_prepare): Likewise.
2910         * posix/tst-pathconf.c (prepare): Likewise.
2911         * posix/tst-spawn.c (do_prepare): Likewise.
2912         * posix/tst-truncate.c (do_prepare): Likewise.
2913         * rt/tst-aio.c (do_prepare): Likewise.
2914         * rt/tst-aio64.c (do_prepare): Likewise.
2916 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2918         [BZ #20237]
2919         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2920         (get*ent): Set entidx to NULL during initialization.  If entidx is
2921         NULL, start iteration from the beginning.
2923 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2925         * malloc/malloc.c (musable): Return correct size for dumped fake
2926         mmapped chunk.
2928 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2930         [BZ #20222]
2931         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2932         (_IO_cookie_write): Likewise.
2933         (_IO_cookie_seek): Likewise.
2934         (_IO_cookie_close): Likewise.
2935         (_IO_old_cookie_seek): Likewise.
2936         (set_callbacks): New function.
2937         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2939 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2941         * locale/programs/localedef.c (oldstyle_tables): Remove.
2942         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2944 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2946         [BZ #20240]
2947         * math/Makefile (CFLAGS-s_modf.c): New variable.
2948         (CFLAGS-s_modff.c): Likewise.
2949         (CFLAGS-s_modfl.c): Likewise.
2950         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2952 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2954         [BZ #20215]
2955         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2956         [!__GNUC_PREREQ (3,2)]: Likewise.
2958 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2960         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2961         (msghdr.msg_controllen): Likewise.
2962         (cmsghdr.cmsg_len): Likewise.
2963         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2964         ptw-oldsendmsg.
2965         (CFLAGS-oldrecvmsg.c): Remove rule.
2966         (CFLAGS-oldsendmsg.c): Likewise.
2967         (CFLAGS-recvmsg.c): Add rule.
2968         (CFLAGS-sendmsg.c): Likewise.
2969         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2970         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2971         (CFLAGS-recvmsg.c): Remove rule.
2972         (CFLAGS-sendmsg.c): Likewise.
2973         (CFLAGS-oldrecvmsg.c): Likewise.
2974         (CFLAGS-oldsendmsg.c): Likewise.
2975         (CFLAGS-recvmmsg.c): Likewise.
2976         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2977         to kernel defined interfaces.
2978         (msghdr.msg_controllen): Likewise.
2979         (cmsghdr.cmsg_len): Likewise.
2980         (msghdr.__glibc_reserved1): Remove member.
2981         (msghdr.__glibc_reserved2): Likewise.
2982         (cmsghdr.__glibc_reserved1): Likewise.
2983         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2984         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2985         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2986         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2987         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2988         version.
2989         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2990         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2991         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2992         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2993         Remove recvmsg and sendmsg.
2994         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2995         Likewise.
2996         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2997         Likewise.
2998         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2999         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3000         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3001         Likewise.
3002         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3003         Likewise.
3004         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3005         [libc] (GLIBC_2.24): Likewise.
3006         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3007         Likewise.
3008         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3009         Likewise.
3010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3011         [libc] (GLIBC_2.24): Likewise.
3012         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3013         Likewise.
3014         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3017         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3018         Likewise.
3019         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3020         Likewise.
3021         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3022         Likewise.
3023         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3024         Likewise.
3025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3026         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3027         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3028         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3029         version for {recv,send,recm,sendm}msg.
3030         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3032         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3033         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3034         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3043         Likewise.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3045         Likewise.
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3052         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3053         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3056         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3057         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3058         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3060 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3062         [BZ #19564]
3063         Remove __malloc_initialize_hook from the API.
3064         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3065         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3066         #pragma GCC poison.
3067         * malloc/malloc-hooks.h: New file.
3068         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3069         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3070         (old__malloc_initialize_hook): Rename from
3071         __malloc_initialize_hook to evade poisoning.  Turn into compat
3072         symbol.
3073         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3074         __malloc_initialize_hook.
3075         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3076         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3077         * manual/memory.texi (Hooks for Malloc): Remove
3078         __malloc_initialize_hook.  Adjust hook example.
3080 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3082         [BZ #20235]
3083         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3084         itself.
3085         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3086         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3088         [BZ #20234]
3089         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3090         infinity or NaN input to itself.
3092         [BZ #20233]
3093         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3094         to itself.
3096         [BZ #20232]
3097         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3098         itself.
3100 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3102         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3103         __libc_start_main via GOT.
3105 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3107         * sysdeps/x86_64/memcopy.h: New file.
3108         * sysdeps/x86_64/wordcopy.c: Likewise.
3110 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3112         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3113         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3114         <cstdlib>.
3115         (optimization_barrier): New.
3116         (do_test): Use it.  Call quick_exit in the global namespace.
3117         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3118         instead of <cstdlib>, <thread>.
3119         (optimization_barrier): New.
3120         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3121         Call quick_exit in the global namespace.
3122         (do_test): Call optimization_barrier.  Use pthread_create,
3123         pthread_join instead of std::thread.
3125 2016-06-09  Andreas Schwab  <schwab@suse.de>
3127         [BZ #19755]
3128         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3129         new entries in auto-propagate mode.
3130         * nscd/grpcache.c (cache_addgr): Likewise.
3132 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3134         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3135         New functions.
3136         (add_temp_file): Use them.
3138 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3140         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3142 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3144         [BZ #20229]
3145         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3146         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3147         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3149         [BZ #20228]
3150         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3151         itself.
3152         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3153         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3155         [BZ #20227]
3156         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3157         itself.
3158         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3159         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3160         * math/libm-test.inc (log_test_data): Add sNaN tests.
3162         [BZ #20226]
3163         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3164         itself.
3165         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3166         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3167         (exp10_test_data): Likewise.
3168         (expm1_test_data): Likewise.
3170         [BZ #20225]
3171         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3172         itself.
3173         * math/s_ldexpf.c (__ldexpf): Likewise.
3174         * math/s_ldexpl.c (__ldexpl): Likewise.
3175         * math/w_scalbln.c (__w_scalbln): Likewise.
3176         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3177         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3178         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3179         (scalbln_test_data): Likewise.
3181         [BZ #20224]
3182         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3183         argument to itself.
3184         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3186 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3188         [BZ #19776]
3189         * sysdeps/x86_64/memcpy.S: Make it dummy.
3190         * sysdeps/x86_64/mempcpy.S: Likewise.
3191         * sysdeps/x86_64/memmove.S: New file.
3192         * sysdeps/x86_64/memmove_chk.S: Likewise.
3193         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3194         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3195         * sysdeps/x86_64/memmove.c: Removed.
3196         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3197         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3198         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3199         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3200         Likewise.
3201         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3202         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3204         memcpy-sse2-unaligned, memmove-avx-unaligned,
3205         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3206         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3207         (__libc_ifunc_impl_list): Replace
3208         __memmove_chk_avx512_unaligned_2 with
3209         __memmove_chk_avx512_unaligned.  Remove
3210         __memmove_chk_avx_unaligned_2.  Replace
3211         __memmove_chk_sse2_unaligned_2 with
3212         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3213         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3214         with __memmove_avx512_unaligned.  Replace
3215         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3216         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3217         with __memcpy_chk_avx512_unaligned.  Remove
3218         __memcpy_chk_avx_unaligned_2.  Replace
3219         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3220         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3221         Replace __memcpy_avx512_unaligned_2 with
3222         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3223         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3224         with __mempcpy_chk_avx512_unaligned.  Remove
3225         __mempcpy_chk_avx_unaligned_2.  Replace
3226         __mempcpy_chk_sse2_unaligned_2 with
3227         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3228         Replace __mempcpy_avx512_unaligned_2 with
3229         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3230         Replace __mempcpy_sse2_unaligned_2 with
3231         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3232         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3233         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3234         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3235         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3236         (ENTRY): Removed.
3237         (END): Likewise.
3238         (ENTRY_CHK): Likewise.
3239         (libc_hidden_builtin_def): Likewise.
3240         Don't include ../memcpy.S.
3241         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3242         __memcpy_chk_avx512_unaligned_erms and
3243         __memcpy_chk_avx512_unaligned.  Use
3244         __memcpy_chk_avx_unaligned_erms and
3245         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3246         Default to __memcpy_chk_sse2_unaligned.
3247         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3248         Change function suffix from unaligned_2 to unaligned.
3249         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3250         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3251         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3252         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3253         (ENTRY): Removed.
3254         (END): Likewise.
3255         (ENTRY_CHK): Likewise.
3256         (libc_hidden_builtin_def): Likewise.
3257         Don't include ../mempcpy.S.
3258         (mempcpy): New.  Add a weak alias.
3259         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3260         __mempcpy_chk_avx512_unaligned_erms and
3261         __mempcpy_chk_avx512_unaligned.  Use
3262         __mempcpy_chk_avx_unaligned_erms and
3263         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3264         Default to __mempcpy_chk_sse2_unaligned.
3266 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3268         [BZ #19881]
3269         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3270         into ...
3271         * sysdeps/x86_64/memset.S: This.
3272         (__bzero): Removed.
3273         (__memset_tail): Likewise.
3274         (__memset_chk): Likewise.
3275         (memset): Likewise.
3276         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3277         defined.
3278         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3279         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3280         (__memset_zero_constant_len_parameter): Check SHARED instead of
3281         PIC.
3282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3283         memset-avx2 and memset-sse2-unaligned-erms.
3284         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3285         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3286         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3287         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3288         (__bzero): Enabled.
3289         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3290         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3291         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3292         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3293         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3294         (memset): Removed.
3295         (__memset_chk): Likewise.
3296         (MEMSET_SYMBOL): New.
3297         (libc_hidden_builtin_def): Replace __memset_sse2 with
3298         __memset_sse2_unaligned.
3299         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3300         __memset_chk_sse2 and __memset_chk_avx2 with
3301         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3302         Use __memset_chk_sse2_unaligned_erms or
3303         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3304         __memset_chk_avx512_unaligned_erms and
3305         __memset_chk_avx512_unaligned.
3307 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3309         * math/gen-auto-libm-test.c (fp_format_desc): remove
3310         suffix member.
3311         (output_generic_value): Remove usage of suffix member,
3312         and the resulting unuse of the fp_format argument.
3313         (output_for_one_input_case): Remove unused fp_format
3314         parameter.
3316         * math/auto-libm-test-out: Regenerate.
3318         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3319         usage with TEST_COND_ibm128.
3320         (TEST_COND_flt_32): Remove.
3321         (TEST_COND_dbl_64): Remove.
3322         (TEST_COND_ldbl_96_intel): Remove.
3323         (TEST_COND_ldbl_96_m68k): Remove.
3324         (TEST_COND_ldbl_128): Remove.
3326 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3328         * auto-libm-test-in:
3329         Replace flt-32 usage with binary32.
3330         Replace dbl-64 usage with binary64.
3331         Replace ldbl-intel-96 usage with intel96.
3332         Replace ldbl-m68k-96 usage with m68k96.
3333         Replace ldbl-128ibm usage with ibm128.
3334         Replace ldbl-128 usage with binary128.
3336         * auto-libm-test-out: Regenerate.
3338 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3340         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3341         (parse_ulps): Dynamically generate type name matching
3342         string from all_floats.
3343         (get_ulps): Generate the ulps as an array instead.
3344         (output_ulps): Dynamically compose the type based
3345         on the number of supported formats, and print
3346         the indices as type specific helper macros.
3348         * math/libm-test.inc: Remove comment about CHOOSE.
3349         (ulp_data): Generate the type in libm-test-ulps.h.
3350         (ULP_IDX): New macro.
3351         (find_ulps): Update usage of max_ulp.
3353         * math/test-double-vlen2.h (CHOOSE): Remove.
3354         * math/test-double-vlen4.h (CHOOSE): Likewise.
3355         * math/test-double-vlen8.h (CHOOSE): Likewise.
3356         * math/test-float.c (CHOOSE): Likewise.
3357         * math/test-float-finite.c (CHOOSE): Likewise.
3358         * math/test-double.c (CHOOSE): Likewise.
3359         * math/test-double-finite.c (CHOOSE): Likewise.
3360         * math/test-idouble.c (CHOOSE): Likewise.
3361         * math/test-ifloat.c (CHOOSE): Likewise.
3362         * math/test-ildoubl.c (CHOOSE): Likewise.
3363         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3364         * math/test-ldouble.c (CHOOSE): Likewise.
3366         * math/test-float.h (TEST_FLOAT): Remove.
3367         * math/test-double.h (TEST_DOUBLE): Likewise.
3368         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3370 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3372         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3373         (parse_args): Strip C suffix from floating point literals
3374         typed with 'f' and wrap them with LIT().
3376         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3377         (test_ff_f_data_nexttoward): Rename to
3378         (test_fj_f_data): New struct.
3379         (nexttoward_test_data): Relabel tests as
3380         TEST_fj_f instead of TEST_ff_f.
3382 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3384         Emacs bug 23726.
3385         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3386         (__libc_realloc): Correct size computation for dumped fake mmapped
3387         chunks.
3389 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3391         [BZ #20219]
3392         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3393         to itself.
3394         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3396         [BZ #20218]
3397         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3398         to itself.
3399         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3401 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3403         [BZ #20195]
3404         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3405         check to ...
3406         (init_cpu_features): Here.
3408 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3410         [BZ #20214]
3411         * sysdeps/unix/sysv/linux/bits/in.h
3412         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3413          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3414         Define to 1.
3415         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3416          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3417         Define to 0.
3418         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3419         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3421 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3423         [BZ #20198]
3424         * stdlib/Makefile (tests): Add tst-quick_exit, and
3425         tst-thread-quick_exit.
3426         [ifeq ($(have-cxx-thread_local),yes)]
3427         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3428         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3429         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3430         (LDLIBS-tst-thread-quick_exit): Likewise.
3431         [ifneq ($(have-cxx-thread_local),yes)]
3432         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3433         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3434         If run_dtors is true call __call_tls_dtors.
3435         (exit): Call __run_exit_handlers with run_dtors set to true.
3436         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3437         definition.
3438         * stdlib/quick_exit.c (quick_exit): Remove function.
3439         (__new_quick_exit): New function.
3440         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3441         function.
3442         * stdlib/tst-quick_exit.cc: New file.
3443         * stdlib/tst-thread-quick_exit.cc: New file.
3444         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3445         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3446         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3447         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3448         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3449         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3450         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3451         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3452         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3453         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3454         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3455         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3456         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3457         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3458         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3459         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3464         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3465         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3466         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3467         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3468         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3471         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3472         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3473         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3475 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3477         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3478         a typo in comments.
3480 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3482         [BZ #20213]
3483         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3484         argument to itself.
3485         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3487 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3489         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3490         required flags.
3491         (CFLAGS-pwritev64.c): Likewise.
3492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3493         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3494         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3495         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3496         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3497         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3498         syscall from auto-generation.
3499         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3500         [WORDSIZE == 64] (pwritev64): Remove macro.
3501         [!PWRITEV] (PWRITEV): Likewise.
3502         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3503         [!PWRITEV] (PWRITE): Likewise.
3504         [!PWRITEV] (OFF_T): Likewise.
3505         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3506         (LO_HI_LONG): Remove macro.
3507         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3508         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3509         (PWRITEV): Remove macro.
3510         (PWRITEV_REPLACEMENTE): Likewise.
3511         (PWRITE): Likewise.
3512         (OFF_T): Likewise.
3513         (pwritev64): New function.
3514         * nptl/tst-cancel4.c (tf_writev): Add test.
3516         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3517         required flags.
3518         (CFLAGS-preadv64.c): Likewise.
3519         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3520         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3521         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3522         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3523         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3524         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3525         syscall from auto-generation.
3526         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3527         [WORDSIZE == 64] (preadv64): Remove macro.
3528         [!PREADV] (PREADV): Likewise.
3529         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3530         [!PREADV] (PREAD): Likewise.
3531         [!PREADV] (OFF_T): Likewise.
3532         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3533         (LO_HI_LONG): Remove macro.
3534         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3535         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3536         (PREADV): Remove macro.
3537         (PREADV_REPLACEMENTE): Likewise.
3538         (PREAD): Likewise.
3539         (OFF_T): Likewise.
3540         (preadv64): New function.
3541         * nptl/tst-cancel4.c (tf_preadv): Add test.
3543 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3545         [BZ #20212]
3546         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3547         argument to itself.
3548         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3550 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3552         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3553         New symbol defined as libc_hidden_def.
3554         (strcasestr): Became a weak alias to __strcasestr.
3555         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3556         according to multi-arch support.  Move __stpncpy hidden
3557         definition from here to...
3558         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3559         symbol stpncpy.
3560         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3561         libc_hidden_builtin_def.
3562         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3563         memset symbol to use when multi-arch support is available.
3565 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3567         * dlfcn/tst-rec-dlopen.c: Include string.h.
3569 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3571         * manual/install.texi: Remove mention of --without-tls
3572         * INSTALL: Regenerate.
3574 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3576         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3577         Remove.
3578         (call_function, interposed_malloc_called): New variables.
3579         (malloc): New function.
3580         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3581         and clear call_function as needed.
3583 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3585         * include/wchar.h (__wmemset): Use __typeof.
3587 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3589         * include/wchar.h (__wmemset): Declare function without typeof.
3591 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3593         [BZ #20205]
3594         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3595         exponent when incrementing negative subnormal with low mantissa
3596         word zero.
3597         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3598         Add another test.
3600 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3602         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3603         __wmemset instead of wmemset.
3605 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3607         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3608         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3609         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3610         __USE_KERNEL_IPV6_DEFS to 0.
3611         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3612         Update comment.
3614 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3616         [BZ #19861]
3617         Do not use IFUNC resolver with potentially unrelocated symbol.
3618         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3619         (DEFINE_FORK): Remove macro and inline definition.
3620         (fork_alias): Renamed from fork_ifunc.
3621         (__fork_alias): Renamed from __fork_ifunc.
3623 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3625         [BZ 19653]
3626         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3627         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3629 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3631         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3632         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3633         i386-linux-gnu).
3634         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3635         Set to no.
3636         * sysdeps/mach/hurd/configure: Refresh.
3638 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3640         [BZ #20178]
3641         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3642         on failure instead of exit.
3644 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3646         [BZ #3629]
3647         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3648         of POSIX.1-2008.
3650 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3652         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3653           Use PLT entry for calling _hurd_self_sigstate.
3655 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3657         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3658         available logical processors with SMT level type sharing L2
3659         cache for Intel processors.
3661 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3663         [BZ #20160]
3664         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3665         argument to itself before returning the result.
3666         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3667         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3668         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3669         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3670         Likewise.
3671         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3672         Likewise.
3673         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3674         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3675         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3676         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3677         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3678         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3680         [BZ #20160]
3681         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3682         argument to itself before returning the result.
3683         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3684         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3685         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3687         Likewise.
3688         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3689         Likewise.
3690         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3691         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3692         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3693         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3694         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3695         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3697 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3699         * libm-test.inc: Replace usage of M_El with
3700         (lit_e): New macro.
3702 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3704         * libm-test.inc: Replace usage of M_PI_4l with
3705         (lit_pi_4_d): New macro.
3707 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3709         * libm-test.inc: Replace usage of M_PIl with
3710         (lit_pi): New macro.
3712 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3714         * libm-test.inc: Replace usage of M_PI2l with
3715         (lit_pi_2_d): New macro.
3717         * math/test-double.h (LITM): New macro.
3718         * math/test-float.h (LITM): Likewise.
3719         * math/test-ldouble.h (LITM): Likewise.
3721 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3723         * libm-test.inc (M_PI_34l): Rename to
3724         (lit_pi_3_m_4_d): New Macro.
3725         (M_PI_34_LOG10El): Rename to
3726         (lit_pi_3_m_4_ln10_m_d): New Macro.
3727         (M_PI2_LOG10El): Rename to
3728         (lit_pi_2_ln10_m_d):  New Macro.
3729         (M_PI4_LOG10El): Rename to
3730         (lit_pi_4_ln10_m_d):  New Macro.
3731         (M_PI_LOG10El): Rename to
3732         (lit_pi_ln10_d):  New Macro.
3734 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3736         [BZ #20157]
3737         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3738         determine whether to negate low half if [_ARCH_PPCGR], and integer
3739         comparison otherwise.
3740         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3741         determine whether to negate low half.
3743         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3744         (NO_TEST_INLINE_DOUBLE): Likewise.
3745         (TEST_COND_x86_64): Likewise.
3746         (TEST_COND_x86): Likewise.
3747         (M_PI_6l): Likewise.
3749 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3751         * math/libm-test.inc:
3752         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3753         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3754         (TEST_LDOUBLE): Update usage to evaluate as true if
3755         the guarded tests match the property being tested.
3756         (LDBL_MAX_EXP): Change to MAX_EXP.
3757         (LDBL_MIN_EXP): Change to MIN_EXP.
3758         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3759         nexttoward tests.
3761 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3763         * math/libm-test.inc:
3764         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3765         (TYPE_MIN): Likewise.
3766         (TYPE_TRUE_MIN): Likewise.
3767         (TYPE_MAX): Likewise.
3768         (MIN_EXP): Likewise.
3769         (MAX_EXP): Likewise.
3770         (MANT_DIG): Likewise.
3772         (FSTR_MAX): New macro.
3773         (__CONCATX): Likewise.
3774         (QTYPE_STR): Likewise.
3775         (TEST_COND_binary32): Likewise.
3776         (TEST_COND_binary64): Likewise.
3777         (TEST_COND_binary128): Likewise.
3778         (TEST_COND_ibm128): Likewise.
3779         (TEST_COND_intel96): Likewise.
3780         (TEST_COND_m68k96): Likewise.
3782         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3783         (TEST_COND_dbl_64): Likewise.
3784         (TEST_COND_ldbl_96_intel): Likewise.
3785         (TEST_COND_ldbl_96_m68k): Likewise.
3786         (TEST_COND_ldbl_128): Likewise.
3787         (TEST_COND_ldbl_128ibm): Likewise.
3789         (plus_zero): Redefine using LIT macro.
3790         (minus_zero): Likewise.
3791         (plus_infty): Redefine as (INF).
3792         (minux_infty): Redefine as (-INF).
3793         (max_value): Redefine as TYPE_MAX.
3794         (min_value): Redefine as TYPE_MIN.
3795         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3797         (print_float): Refactor to use snprintf to convert FLOAT values
3798         to string. This brings it closer to dropin replacement of strtof
3799         for the TS 18661 defined types.
3800         (update_stats): Likewise.
3801         (print_complex_function_ulps): Likewise.
3802         (print_max_error): Likewise.
3803         (print_complex_max_error): Likewise.
3804         (check_float_internal): Likewise.
3806         * math/test-float.h (PREFIX): New macro.
3807         (LIT): Likewise.
3808         (TYPE_STR): Likewise.
3809         (FTOSTR): Likewise.
3811         * math/test-double.h (PREFIX): New macro.
3812         (LIT): Likewise.
3813         (TYPE_STR): Likewise.
3814         (FTOSTR): Likewise.
3816         * math/test-ldouble.h (PREFIX): New macro.
3817         (LIT): Likewise.
3818         (TYPE_STR): Likewise.
3819         (FTOSTR): Likewise.
3821 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3823         [BZ #20156]
3824         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3825         to itself when zero or not finite.
3826         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3827         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3828         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3829         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3831 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3833         [BZ #20153]
3834         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3835         x * x + x for infinities and NaNs.
3837         [BZ #20151]
3838         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3839         argument to itself before returning result.
3840         (__ieee754_y0l): Likewise.
3841         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3842         (__ieee754_y1l).
3844         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3845         (atan_test_data): Likewise.
3846         (ceil_test_data): Likewise.
3847         (cos_test_data): Likewise.
3848         (cosh_test_data): Likewise.
3849         (erf_test_data): Likewise.
3850         (exp2_test_data): Likewise.
3851         (fabs_test_data): Likewise.
3852         (floor_test_data): Likewise.
3853         (ilogb_test_data): Likewise.
3854         (j0_test_data): Likewise.
3855         (j1_test_data): Likewise.
3856         (jn_test_data): Likewise.
3857         (lgamma_test_data): Likewise.
3858         (lrint_test_data): Likewise.
3859         (llrint_test_data): Likewise.
3860         (logb_test_data): Likewise.
3861         (lround_test_data): Likewise.
3862         (llround_test_data): Likewise.
3863         (nearbyint_test_data): Likewise.
3864         (rint_test_data): Likewise.
3865         (round_test_data): Likewise.
3866         (sin_test_data): Likewise.
3867         (sincos_test_data): Likewise.
3868         (sinh_test_data): Likewise.
3869         (sqrt_test_data): Likewise.
3870         (tan_test_data): Likewise.
3871         (tanh_test_data): Likewise.
3872         (tgamma_test_data): Likewise.
3873         (trunc_test_data): Likewise.
3874         (y0_test_data): Likewise.
3875         (y1_test_data): Likewise.
3876         (yn_test_data): Likewise.
3878         * math/libm-test.inc: Update comment about NaN testing.
3879         (TEST_SNAN): New macro.
3880         (snan_value): Likewise.
3881         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3882         (fpclassify_test_data): Add sNaN tests.
3883         (isfinite_test_data): Likewise.
3884         (isinf_test_data): Likewise.
3885         (isnan_test_data): Likewise.
3886         (isnormal_test_data): Likewise.
3887         (issignaling_test_data): Likewise.
3888         (signbit_test_data): Likewise.
3889         * math/gen-libm-test.pl (%beautify): Add snan_value.
3890         (show_exceptions): Add argument $test_snan.
3891         (parse_args): Handle snan_value as non-finite.  Update call to
3892         show_exceptions.
3893         * math/Makefile (libm-test-no-inline-cflags): Add
3894         -fsignaling-nans.
3896 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3898         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3899         (CFLAGS-oldsendmsg.c): Add rule.
3900         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3901         Correct recvmsg symbol name.
3902         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3903         Likewise.
3905 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3907         * sysdeps/unix/sysv/linux/Makefile
3908         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3909         oldsendmmsg.
3910         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3911         sendmmsg.
3912         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3915         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3917         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3920         Likewise.
3921         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3922         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3923         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3924         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3925         iovlen and controllen fields to adjust to POSIX specification.
3926         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3928         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3929         and change to correct expected type.
3930         (msghdr.msg_controllen): Likewise.
3931         (cmsghdr.cmsg_len): Likewise.
3932         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3933         expected POSIX assumption about the size.
3934         (msghdr.msg_controllen): Likewise.
3935         (msghdr.__glibc_reserved1): Likewise.
3936         (msghdr.__glibc_reserved2): Likewise.
3937         (cmsghdr.cmsg_len): Likewise.
3938         (cmsghdr.__glibc_reserved1): Likewise.
3939         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3940         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3941         (CFLAGS-sendmsg.c): Remove rule.
3942         (CFLAGS-recvmsg.c): Likewise.
3943         (CFLAGS-oldsendmsg.c): Add rule.
3944         (CFLAGS-oldrecvmsg.c): Likewise.
3945         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3946         recvmsg and sendmsg.
3947         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3948         Likewise.
3949         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3950         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3951         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3952         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3953         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3954         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3955         Likewise.
3956         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3957         Likewise.
3958         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3959         Likewise.
3960         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3961         Likewise.
3962         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3963         Likewise.
3964         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3965         Likewise.
3966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3967         (GLIBC_2.24): Likewise.
3968         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3969         Likewise.
3970         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3971         Likewise.
3972         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3973         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3974         Likewise.
3975         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3976         Likewise.
3977         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3978         Likewise.
3979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3980         (GLIBC_2.24): Likewise.
3981         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3982         Likewise.
3983         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3984         Likewise.
3985         * sysdeps/unix/sysv/linux/Makefile
3986         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3987         (CFLAGS-sendmsg.c): Add rule.
3988         (CFLAGS-recvmsg.c): Likewise.
3989         (CFLAGS-oldsendmsg.c): Likewise.
3990         (CFLAGS-oldrecvmsg.c): Likewise.
3991         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3992         initialization.
3993         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3994         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3995         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3996         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3997         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3998         iovlen and controllen fields to adjust to POSIX specification.
3999         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4000         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4001         added recvmsg and sendmsg.
4002         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4003         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4004         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4005         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4006         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4007         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4008         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4009         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4010         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4011         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4012         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4013         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4015         Likewise.
4016         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4018         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4019         Likewise.
4020         Likewise.
4021         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4022         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4023         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4024         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4025         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4026         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4028         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4030         Likewise.
4031         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4032         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4034         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4035         from auto-generation.
4036         (sendmsg): Likewise.
4037         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4038         (sendmsg): Likewise.
4039         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4040         (sendmsg): Likewise.
4041         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4042         (sendmsg): Likewise.
4043         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4044         (sendmsg): Likewise.
4045         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4046         (sendmsg): Likewise.
4047         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4048         Likewise.
4049         (sendmsg): Likewise.
4050         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4051         (sendmsg): Likewise.
4052         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4053         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4054         Remove.
4055         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4056         Likewise.
4057         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4058         Undefine.
4059         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4060         Likewise.
4061         * sysdeps/unix/sysv/linux/kernel-features.h
4062         (__ASSUME_SENDMSG_SYSCALL): Define.
4063         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4064         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4065         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4066         Remove.
4067         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4068         Likewise.
4069         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4070         Undefine.
4071         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4072         Likewise.
4073         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4074         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4075         Remove.
4076         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4077         Likewise.
4078         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4079         Undefine.
4080         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4081         Likewise.
4082         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4083         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4084         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4085         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4086         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4087         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4088         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4089         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4090         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4092 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4094         * stdlib/gen-tst-strtod-round.c: Add backslash to
4095         compile command in comment.
4096         (printfp): Remove the literal suffix, and define an infinite
4097         value as INF to avoid expansion clash with INFINITY.
4098         (round_str): Remove the literal suffix.
4099         (round_for_all): Likewise, remove the now duplicate ldbl-64
4100         entry, and remove some magic constants.
4102         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4103         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4104         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4105         (_CONCAT): New macro.
4106         (CONCAT): Likewise.
4107         (CHOOSE_ld): Likewise.
4108         (CHOOSE_f): Likewise.
4109         (CHOOSE_d): Likewise.
4110         (FTYPE_MEMBER): Likewise.
4111         (BOOL_MEMBER): Likewise.
4112         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4113         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4114         (_XNTRY): Likewise.
4115         (XNTRY): Likewise.
4116         (_ENTRY): Likewise.
4117         (ENTRY): Likewise.
4118         (test_exactness): Generate members via macro.
4119         (test_results): Likewise.
4120         (test): Update members.
4121         (TEST): Redefine using new macros.
4122         (INF): New macro.
4123         (fetestmodes): New structure.
4124         (do_test): Refactor to be type generic.
4125         (test_in_one_mode): Refactor duplicate code into
4126         (GEN_ONE_TEST): New macro.
4128         * stdlib/tst-strtod-round-data.h: Regenerate.
4130         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4131         Extend to pass additional arbitrary parameters to
4132         generators.
4134 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4136         [BZ #15479]
4137         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4138         floating-point state after first floating-point operation on
4139         input.  Restore full floating-point state instead of just rounding
4140         mode.
4141         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4142         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4143         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4144         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4145         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4147         [BZ #15479]
4148         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4149         floating-point state after first floating-point operation on
4150         input.  Restore full floating-point state instead of just rounding
4151         mode.
4152         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4153         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4154         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4155         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4156         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4158 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4160         [BZ #19727]
4161         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4162         valid high surrogate.
4163         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4164         of an utf16 surrogate.
4165         * iconv/gconv_simple.c (BODY): Likewise.
4166         * iconvdata/bug-iconv12.c: New file.
4167         * iconvdata/Makefile (tests): Add bug-iconv12.
4169 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4171         [BZ #19726]
4172         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4173         outptrp in case of an illegal input.
4174         * iconv/tst-iconv6.c: New file.
4175         * iconv/Makefile (tests): Add tst-iconv6.
4177 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4179         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4180         an error in case of a value in range of an utf16 low surrogate.
4182 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4184         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4185         an error in case of a value in range of an utf16 low surrogate.
4187 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4189         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4190         Move to ...
4191         * sysdeps/s390/Makefile: ... here.
4192         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4193         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4194         (BRANCH_ON_COUNT): New define.
4195         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4196         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4197         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4198         run on s390-32, too.
4199         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4200         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4201         run on s390-32, too.
4202         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4203         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4204         run on s390-32, too.
4206 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4208         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4209         etf3eh or new vector loop-variant.
4211 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4213         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4214         etf3eh or new vector loop-variant.
4216 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4218         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4219         or new vector loop-variant.
4221 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4223         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4224         Rename to TR_LOOP and usage of tr instead of troo instruction.
4226 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4228         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4231 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4233         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4234         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4235         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4236         New override define.
4237         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4239 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4241         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4242         * sysdeps/s390/configure.ac: Add test for S390 vector register
4243         support in gcc.
4244         * sysdeps/s390/configure: Regenerated.
4246 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4248         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4249         Install file from $(objpfx)gconv-modules.
4250         ($(objpfx)gconv-modules): Concatenate architecture specific file
4251         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4252         * sysdeps/s390/gconv-modules: New file.
4253         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4254         Deleted.
4255         ($(objpfx)gconv-modules-s390): Deleted.
4256         (sysdeps-gconv-modules): New variable.
4258 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4260         [BZ #15479]
4261         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4262         of immediate operand to rounding instruction.
4263         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4264         Likewise.
4265         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4266         Likewise.
4267         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4268         Likewise.
4270 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4272         * math/libm-test.inc (MIN_EXP): Directly define as
4273         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4275 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4277         * math/libm-test.inc (MANT_DIG): Directly define as
4278         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4280 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4282         * stdlib/gen-tst-strtod-round.c (main):
4283           Change usage to more closely match the generated
4284           output.  Add usage and compilation instructions.
4285           (string_to_fp): Add and use FILE* parameter as
4286           output target.
4287           (print_fp): Likewise.
4288           (round_str): Likewise.
4289           (round_for_all): Likewise.
4290         * stdlib/tst-strtod-round.c (tests): Move into
4291         * stdlib/tst-strtod-round-data.h: New file.
4293 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4295         [BZ #15479]
4296         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4297         (__round): Do not force "inexact" exception.
4298         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4299         variable.
4300         (__round): Do not force "inexact" exception.
4301         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4302         (__roundf): Do not force "inexact" exception.
4303         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4304         (__roundl): Do not force "inexact" exception.
4305         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4306         (__roundl): Do not force "inexact" exception.
4307         * math/libm-test.inc (round_test_data): Do not allow spurious
4308         "inexact" exceptions.
4310         [BZ #15479]
4311         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4312         exception in comment.
4313         (huge): Remove variable.
4314         (__floor): Do not force "inexact" exception.
4315         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4316         "inexact" exception in comment.
4317         (huge): Remove variable.
4318         (__floor): Do not force "inexact" exception.
4319         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4320         exception in comment.
4321         (huge): Remove variable.
4322         (__floorf): Do not force "inexact" exception.
4323         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4324         exception in comment.
4325         (huge): Remove variable.
4326         (__floorl): Do not force "inexact" exception.
4328         [BZ #15479]
4329         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4330         exception in comment.
4331         (huge): Remove variable.
4332         (__ceil): Do not force "inexact" exception.
4333         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4334         "inexact" exception in comment.
4335         (huge): Remove variable.
4336         (__ceil): Do not force "inexact" exception.
4337         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4338         (__ceilf): Do not force "inexact" exception.
4339         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4340         exception in comment.
4341         (huge): Remove variable.
4342         (__ceill): Do not force "inexact" exception.
4344 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4346         * config.h.in (BIND_NOW): New.
4347         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4348         * configure: Regenerated.
4349         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4350         indirect branch via the GOT slot.
4352 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4354         [BZ #19765]
4355         * sysdeps/s390/mempcpy.S: New File.
4356         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4357         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4358         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4359         Add mempcpy variants.
4360         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4361         (memcpy): Adjust to be usable from mempcpy entry point.
4362         (__memcpy_mvcle): Likewise.
4363         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4364         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4365         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4366         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4367         (__memcpy_z10): Likewise.
4368         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4370 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4372         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4373         Remove __GI_ symbol.
4374         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4375         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4376         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4377         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4378         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4379         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4381 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4383         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4384         Use cghi instead of chi to compare 64bit value.
4386 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4388         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4389         Jump to 1MB check before executing mvc-loop.
4391 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4393         [BZ #6527]
4394         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4395         unconditionally.
4396         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4398 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4400         * stdlib/tst-strtod6.c (do_test): Use new type generic
4401         invocation of the test function.
4402         (test): Refactor into ...
4403         (TEST_STRTOD): New macro base function.
4405 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4407         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4408         (TEST_STRTOD): New macro.
4409         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4411 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4413         * stdlib/tst-strtod6.c (do_test): Use new type generic
4414         invocation of the test function.
4415         (test): Refactor into ...
4416         (TEST_STRTOD): New macro base function.
4418 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4420         CVE-2016-4429
4421         [BZ #20112]
4422         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4423         payload.
4425 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4427         [BZ #20111]
4428         * bits/sockaddr.h (_SS_SIZE): Define.
4429         * bits/socket.h (_SS_SIZE): Remove.
4430         (_SS_PADSIZE): Adjust to account for all padding.
4431         (struct sockaddr_storage): Update comment.  Avoid implicit
4432         padding.
4433         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4434         (_SS_PADSIZE): Adjust to account for all padding.
4435         (struct sockaddr_storage): Update comment.  Avoid implicit
4436         padding.
4437         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4438         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4439         (_SS_PADSIZE): Adjust to account for all padding.
4440         (struct sockaddr_storage): Update comment.  Avoid implicit
4441         padding.
4442         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4443         __SS_SIZE is 126 in this version.
4444         * inet/tst-sockaddr.c: New file.
4445         * inet/Makefile (tests): Add tst-sockaddr.c
4446         (tst-sockaddr.c): Compile with non-strict aliasing.
4448 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4450         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4451         [XPG3 || XPG4].
4452         (NL_ARGMAX): Also expect for [XPG3].
4453         (NL_LANGMAX): Likewise.
4454         (NL_MSGMAX): Likewise.
4455         (NL_NMAX): Likewise.
4456         (NL_SETMAX): Likewise.
4457         (NL_TEXTMAX): Likewise.
4458         (NZERO): Likewise.
4459         (TMP_MAX): Likewise.
4460         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4461         variable.
4463         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4464         (PF_MAX): Update value.
4465         (AF_KCM): New macro.
4466         (SOL_NETBEUI): Likewise.
4467         (SOL_LLC): Likewise.
4468         (SOL_DCCP): Likewise.
4469         (SOL_NETLINK): Likewise.
4470         (SOL_TIPC): Likewise.
4471         (SOL_RXRPC): Likewise.
4472         (SOL_PPPOL2TP): Likewise.
4473         (SOL_BLUETOOTH): Likewise.
4474         (SOL_PNPIPE): Likewise.
4475         (SOL_RDS): Likewise.
4476         (SOL_IUCV): Likewise.
4477         (SOL_CAIF): Likewise.
4478         (SOL_ALG): Likewise.
4479         (SOL_NFC): Likewise.
4480         (SOL_KCM): Likewise.
4481         (MSG_BATCH): New enum value and macro.
4483 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4485         [BZ #18185]
4486         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4487         sharing L2 cache to 2 for Knights Landing.
4489 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4491         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4492         (FTW_DP): Do not expect for [XPG3 || XPG4].
4493         (FTW_SL): Do not expect for [XPG3].
4494         (FTW_SLN): Likewise.
4495         (FTW_PHYS): Likewise.
4496         (FTW_MOUNT): Likewise.
4497         (FTW_DEPTH): Likewise.
4498         (FTW_CHDIR): Likewise.
4499         (nftw): Likewise.
4500         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4501         variable.
4503 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4505         * manual/errno.texi: Fix various typos & grammar errors.
4507 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4509         * manual/intro.texi: Fix duplicated typo.
4511 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4513         [BZ #13304]
4514         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4515         <float.h>, <math_private.h> and <stdlib.h>.
4516         (add_split): New function.
4517         (mul_split): Likewise.
4518         (ext_val): New typedef.
4519         (store_ext_val): New function.
4520         (mul_ext_val): New function.
4521         (compare): New function.
4522         (add_split_ext): New function.
4523         (__fmal): After checking for Inf, NaN and zero, compute result as
4524         an exact sum of scaled double values in round-to-nearest before
4525         adding those up and adjusting for other rounding modes.
4526         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4527         tests of fma.
4528         * math/auto-libm-test-out: Regenerated.
4530 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4532         [BZ #20119]
4533         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4534         processor level type mask for CPUID with EAX == 11.
4536 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4538         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4539         logical threads if the HTT bit is 0.
4540         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4541         (index_cpu_HTT): Likewise.
4542         (reg_HTT): Likewise.
4544 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4546         [BZ #20115]
4547         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4548         Remove alignments on jump targets.
4550 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4552         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4553         (getpwent): Likewise.
4554         (setpwent): Likewise.
4555         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4556         variable.
4558         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4559         (remque): Likewise.
4560         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4561         variable.
4563 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4565         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4566         not being tested.
4568 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4571         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4572         call.
4573         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4574         (__condvar_cleanup1): Likewise.
4576 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4578         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4579         New
4580         (__pthread_unwind): Renamed to ...
4581         (PTHREAD_UNWIND): This.
4582         (__pthread_enable_asynccancel): Replace
4583         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4585 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4587         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4588         (CLONE_NEWCGROUP): New macro.
4590         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4591         (Q_GETNEXTQUOTA): New macro.
4593 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4595         [BZ #19907]
4596         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4597         buffer updated by the previous run.
4598         * string/test-memcpy.c (do_one_test): Likewise.
4599         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4600         * string/test-memmove.c (do_one_test): Likewise.
4602 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4604         [BZ #20094]
4605         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4606         not [__USE_XOPEN].
4607         (unlockpt): Likewise.
4608         (ptsname): Likewise.
4609         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4610         variable.
4612         [BZ #20076]
4613         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4614         instead of [__USE_UNIX98].
4615         (S_ISSOCK): Likewise.
4616         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4617         variable.
4619         [BZ #20074]
4620         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4621         [__USE_POSIX].
4622         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4623         variable.
4625         [BZ #20051]
4626         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4627         (ttyslot): Do not declare.
4628         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4629         (ttyslot): New prototype.
4630         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4631         variable.
4632         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4634 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4636         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4638 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4640         Fix race condition in tst-mallocfork2, use fewer resources.
4641         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4642         to current process group.
4643         (signal_sender): Yield in the non-sleeping case.
4645 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4647         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4648         (ecvt): Likewise.
4649         (fcvt): Likewise.
4650         (gcvt): Likewise.
4651         (getsubopt): Likewise.
4652         (grantpt): Likewise.
4653         (initstate): Likewise.
4654         (l64a): Likewise.
4655         (mktemp): Likewise.
4656         (mkstemp): Likewise.
4657         (ptsname): Likewise.
4658         (random): Likewise.
4659         (realpath): Likewise.
4660         (setstate): Likewise.
4661         (srandom): Likewise.
4662         (ttyslot): Likewise.
4663         (unlockpt): Likewise.
4664         (valloc): Likewise.
4666         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4667         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4668         variable.
4670 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4672         [BZ #20072]
4673         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4674         init_cpu_features only if SHARED is defined.
4675         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4677 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4679         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4680         non-inclusive caches on Intel processors.
4682 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4684         * malloc/malloc.c (dumped_main_arena_start)
4685         (dumped_main_arena_end): New variables.
4686         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4687         (do_check_chunk): Skip dumped fake mmapped chunks.
4688         (munmap_chunk): Likewise.
4689         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4690         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4691         mmapped chunks.
4692         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4693         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4694         and dumped_main_arena_end to cover the dumped heap.
4696 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4698         * conform/data/time.h-data (getdate_err): Do not expect for
4699         [XPG3].
4700         (getdate): Likewise.
4701         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4702         variable.
4704         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4705         (F_ULOCK): Likewise.
4706         (F_TEST): Likewise.
4707         (F_TLOCK): Likewise.
4708         (useconds_t): Likewise.
4709         (intptr_t): Do not expect for [XPG3] or [XPG4].
4710         (brk): Do not expect for [XPG3]
4711         (fchown): Likewise.
4712         (fchdir): Likewise.
4713         (ftruncate): Likewise.
4714         (getdtablesize): Likewise.
4715         (gethostid): Likewise.
4716         (getpagesize): Likewise.
4717         (getpgid): Likewise.
4718         (getsid): Likewise.
4719         (getwd): Likewise.
4720         (lchown): Likewise.
4721         (lockf): Likewise.
4722         (readlink): Likewise.
4723         (sbrk): Likewise.
4724         (setpgrp): Likewise.
4725         (setregid): Likewise.
4726         (setreuid): Likewise.
4727         (symlink): Likewise.
4728         (sync): Likewise.
4729         (truncate): Likewise.
4730         (ualarm): Likewise.
4731         (usleep): Likewise.
4732         (vfork): Likewise.
4733         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4734         variable.
4736         [BZ #20054]
4737         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4738         not [__USE_UNIX98].
4739         * conform/data/unistd.h-data (gethostname): Do not expect for
4740         [XPG3].
4742         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4743         [!POSIX] (S_IFBLK): Likewise.
4744         [!POSIX] (S_IFCHR): Likewise.
4745         [!POSIX] (S_IFIFO): Likewise.
4746         [!POSIX] (S_IFREG): Likewise.
4747         [!POSIX] (S_IFDIR): Likewise.
4748         [!POSIX] (S_IFLNK): Likewise.
4749         [!POSIX] (S_IFSOCK): Likewise.
4750         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4751         variable.
4752         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4754 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4756         * sysdeps/aarch64/memset.S (__memset):
4757         Rewrite of optimized memset.
4759 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4761         [BZ #19703]
4762         Partially async-signal-safe fork for single-threaded processes.
4763         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4764         variable.  Do not acquire and reset/release malloc and libio locks
4765         in single-threaded processes.
4766         * malloc/tst-mallocfork2.c: New file.
4767         * malloc/Makefile (tests): Add it.
4769 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4771         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4772         argument.  Use scratch buffer instead of extend_alloca.
4773         (gethosts): Use scratch buffer instead of extend_alloca.
4774         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4775         extend_alloca.
4776         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4778 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4780         [BZ #20055]
4781         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4782         instead of [__USE_UNIX98].
4783         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4784         [__USE_UNIX98].
4785         * conform/data/termios.h-data (tcgetsid): Do not expect for
4786         [XPG3].
4787         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4788         variable.
4789         (test-xfail-XPG4/termios.h/conform): Likewise.
4791 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4793         Do not use mcheck in localedef.
4794         * locale/programs/localedef.c (turn_on_mcheck)
4795         (__malloc_initialize_hook): Remove.
4797 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4799         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4800         * sysdeps/s390/s390-64/Makefile: Likewise.
4802 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4804         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4805         Remove ifunc-defines.sym.
4806         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4807         Likewise.
4808         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4809         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4810         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4811         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4812         rtld-global-offsets.sym.
4813         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4814         * sysdeps/x86/cpu-features-offsets.sym: This.
4815         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4816         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4818 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4820         [BZ #20073]
4821         * io/sys/stat.h (fchmod): Declare for
4822         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4823         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4824         variable.
4826         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4827         [XPG3] (S_IFSOCK): Likewise.
4828         [XPG3] (S_ISVTX): Likewise.
4829         [XPG3] (S_ISLNK): Likewise.
4830         [XPG3] (S_ISSOCK): Likewise.
4831         [XPG3] (fchmod): Likewise.
4832         [XPG3] (lstat): Likewise.
4833         [XPG3] (mknod): Likewise.
4835         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4836         [XPG3].  Expect type long and XFAIL for [XPG4].
4837         (st_blocks): Likewise.
4839         [BZ #20044]
4840         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4841         (pthread_atfork): New prototype.
4842         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4843         variable.
4845         [BZ #20043]
4846         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4847         prototype.
4849 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4851         [BZ #20017]
4852         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4853         gmtime.
4855 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4857         [BZ #19994]
4858         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4859         flag in _res.options.
4861 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4863         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4864         [XPG3 || XPG4].
4865         (blksize_t): Likewise.
4866         (clockid_t): Likewise.
4867         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4868         variable.
4869         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4871 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4873         * sysdeps/unix/sysv/linux/s390/init-first.c:
4874         Add VDSO_SYMBOL(getcpu).
4875         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4876         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4877         Add VDSO_SYMBOL(getcpu).
4878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4879         New define HAVE_GETCPU_VSYSCALL.
4880         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4882 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4884         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4885         instead of <sysdeps/x86_64/cacheinfo.c>.
4886         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4887         * sysdeps/x86/cacheinfo.c: Here.
4889 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4891         * malloc/malloc-internal.h: Adjust header file guard.
4893 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4895         [BZ #19787]
4896         * inet/getnameinfo.c (check_sprintf_result): New function.
4897         (CHECKED_SNPRINTF): New macro.
4898         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4899         to the host buffer.
4900         (gni_host_local): Use checked_copy to copy the host name.
4901         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4902         (gni_serv_local): Use checked_copy to copy the service name.
4903         (getnameinfo): Remove unnecessary truncation of result buffers.
4905 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4907         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4908         in case of inet_ntop failure.
4910 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4912         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4913         avoid long lines.
4914         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4915         variables.
4916         (gni_host_inet, gni_host_local): Add comment.
4917         (gni_host): Add comment.  Use temporary to avoid long lines.
4919 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4921         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4922         registers specifiers where general purpose registers specifiers should
4923         have been used.
4925 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4927         [BZ #19779]
4928         CVE-2016-1234
4929         Avoid copying names of directory entries.
4930         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4931         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4932         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4933         (struct readdir_result): New type.
4934         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4935         (GL_READDIR): New macros.
4936         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4937         (convert_dirent, convert_dirent64): New functions.
4938         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4939         convert_dirent64.  Adjust references to the readdir result.
4940         * sysdeps/unix/sysv/linux/i386/glob64.c:
4941         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4942         * posix/bug-glob2.c (LONG_NAME): Define.
4943         (filesystem): Add LONG_NAME.
4944         (my_DIR): Increase the size of room_for_dirent.
4946 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4948         [BZ #20041]
4949         * misc/sys/select.h (__need_timespec): Only define if
4950         [__USE_XOPEN2K].
4951         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4952         variable.
4953         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4954         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4955         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4957 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4958             Segher Boessenkool  <segher@gcc.gnu.org>
4960         [BZ #20004]
4961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4962         (__novec_swapcontext): Add missing load.
4964 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4966         [BZ #20023]
4967         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4968         <time.h>.
4969         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4970         variable.
4971         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4973 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4976         flags CLONE_VM compare.
4978 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4980         [BZ #20031]
4981         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4982         completely empty.
4984 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4986         [BZ #19573]
4987         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4988         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4989         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4990         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4991         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4992         (hesiod_free_list): Mark as hidden.
4993         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4994         res_set, res_get.
4995         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4996         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4997         (hesiod_init): Remove obsolete res_ninit call.
4998         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4999         (hesiod_bind): Do not call init.
5000         (get_txt_records): Use res_mkquery, res_send instead of
5001         res_nmkquery, res_nsend.
5002         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5003         instead of _nss_hesiod_init.
5004         (_nss_hesiod_initgroups_dyn): Likewise.
5005         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5006         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5007         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5009 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5011         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5012         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5014 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5016         * hesiod/hesiod.h: Remove RCS keyword.
5017         * hesiod/hesiod_p.h: Likewise.
5019         * hesiod/hesiod.c: Likewise.
5021 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5023         [BZ #12450]
5024         * locale/iso-639.def: Add Samogitian/sgs.
5026 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5028         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5030         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5032 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5033             Carlos O'Donell  <carlos@redhat.com>
5035         [BZ #19072]
5036         * grp/Makefile (headers): Add grp-merge.h
5037         (routines): Add grp-merge.
5038         * grp/getgrgid_r.c: Include grp-merge.h.
5039         (DEEPCOPY_FN): Define.
5040         (MERGE_FN): Define.
5041         * grp/getgrname_r.c: Include grp-merge.h.
5042         (DEEPCOPY_FN): Define.
5043         (MERGE_FN): Define.
5044         * grp/grp-merge.c: New file.
5045         * grp/grp-merge.h: New file.
5046         * include/grp-merge.h: New file.
5047         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5048         __copy_grp@GLIBC_PRIVATE.
5049         * manual/nss.texi (Actions in the NSS configuration): Describe
5050         return, continue, and merge.
5051         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5052         (DEEPCOPY_FN): Define.
5053         (MERGE_FN): Define.
5054         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5055         (DEEPCOPY_FN): Define.
5056         (MERGE_FN): Define.
5057         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5058         [!MERGE_FN]: Define __merge_einval.
5059         (CHECK_MERGE): Define.
5060         (REENTRANT_NAME): Process merge if do_merge is true.
5061         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5062         (__nss_getent_r): Likewise.
5063         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5064         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5066 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5068         [BZ #20012]
5069         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5070         length to calculate the buffer to read.
5071         (fmemopen_write): Set the buffer position based on bytes written.
5072         (fmemopen_seek): Return EINVAL for invalid whence modes.
5074         [BZ #19957]
5075         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5076         tst-getpid2.
5077         (test): Add tst-clone2.
5078         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5079         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5080         pid/tid fields for CLONE_VM.
5081         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5082         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5083         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5084         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5085         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5086         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5087         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5088         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5090         Likewise.
5091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5092         Likewise.
5093         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5094         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5095         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5096         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5097         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5098         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5099         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5100         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5102 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5104         [BZ #19642]
5105         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5106         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5107         (gni_serv_local, gni_serv): New functions extracted from
5108         getnameinfo.
5109         (getnameinfo): Call gni_host and gni_serv to perform the
5110         processing.  Always free scratch buffer.
5112 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5114         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5115         remaining bytes in the dest string, with zeros.
5117 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5119         [BZ #20010]
5120         CVE-2016-3706
5121         * sysdeps/posix/getaddrinfo.c
5122         (convert_hostent_to_gaih_addrtuple): New function.
5123         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5124         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5125         AF_INET data.
5127 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5129         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5130         callback function gl_readdir.
5131         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5132         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5133         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5134         memcpy to copy the name.
5135         * manual/pattern.texi (Calling Glob): Document requirements for
5136         implementations of the gl_readdir callback function.
5137         * manual/examples/mkdirent.c: New example.
5138         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5139         per the manual guidance.
5140         * posix/tst-gnuglob.c (my_readdir): Likewise.
5142 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5144         [BZ #20014]
5145         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5146         not [__USE_POSIX].
5147         (getchar_unlocked): Likewise.
5148         (putc_unlocked): Likewise.
5149         (putchar_unlocked): Likewise.
5150         (flockfile): Likewise.
5151         (ftrylockfile): Likewise.
5152         (funlockfile): Likewise.
5153         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5154         variable.
5155         (test-xfail-XPG4/stdio.h/conform): Likewise.
5157         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5158         Expect constant.
5159         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5160         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5161         variable.
5162         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5163         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5165         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5166         [__USE_LARGEFILE64] (off64_t): Likewise.
5167         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5168         variable.
5170 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5172         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5174 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5176         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5177         * resolv/res_init.c: Likewise.
5178         * resolv/res_mkquery.c: Likewise.
5180 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5182         * resolv/res_init.c (isascii): Do not define.  Use definition in
5183         <ctype.h>.
5184         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5185         (LOG_AUTH): Remove.
5186         (SPRINTF): Remove, adjust caller.
5187         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5189 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5191         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5192         SUNSECURITY conditional.
5193         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5195 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5197         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5198         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5199         Remove BSD-related preprocessor conditionals.
5200         * conf/portability.h: Remove.
5202 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5204         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5205         * resolv/res_data.c: Likewise.
5207 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5209         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5210         * resolv/res_data.c: Remove code conditional on ultrix.
5212 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5214         * resolv/res_init.c (RFC1535): Do not define.  Remove
5215         RFC1535 preprocessor conditionals.
5216         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5217         because there configuration options which make the resolver
5218         behavior different.
5220 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5222         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5223         RESOLVSORT preprocessor conditionals.
5224         * resolv/nss_dns/dns-host.c: Likewise.
5225         * resolv/res_init.c: Likewise.
5227 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5229         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5230         is never defined.
5232 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5234         * inet/inet_lnaof.c: Remove SCSS keyword.
5235         * inet/inet_mkadr.c: Likewise.
5236         * inet/inet_net.c: Likewise.
5237         * inet/inet_netof.c: Likewise.
5238         * inet/rcmd.c: Likewise.
5239         * inet/rexec.c: Likewise.
5240         * inet/ruserpass.c: Likewise.
5242 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5244         * resolv/inet_addr.c: Remove _LIBC conditionals.
5245         * resolv/res_data.c: Likewise.
5246         * resolv/res_init.c: Likewise.
5247         * resolv/res_mkquery.c: Likewise.
5248         * resolv/res_libc.c: Update comment.
5249         * resolv/README: Update.
5251 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5253         * resolv/gethnamaddr.c: Remove SCSS keyword.
5254         * resolv/herror.c: Likewise.
5255         * resolv/inet_addr.c: Likewise.
5256         * resolv/inet_net_ntop.c: Likewise.
5257         * resolv/inet_net_pton.c: Likewise.
5258         * resolv/inet_neta.c: Likewise.
5259         * resolv/inet_ntop.c: Likewise.
5260         * resolv/inet_pton.c: Likewise.
5261         * resolv/ns_date.c: Remove RCS keyword.
5262         * resolv/ns_name.c: Likewise.
5263         * resolv/ns_netint.c: Likewise.
5264         * resolv/ns_parse.c: Likewise.
5265         * resolv/ns_print.c: Likewise.
5266         * resolv/ns_samedomain.c: Likewise.
5267         * resolv/ns_ttl.c: Likewise.
5268         * resolv/nsap_addr.c: Likewise.
5269         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5270         * resolv/res_data.c: Remove RCS keyword.
5271         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5272         * resolv/res_init.c: Likewise.
5273         * resolv/res_mkquery.c: Likewise.
5274         * resolv/res_query.c: Likewise.
5275         * resolv/res_send.c: Likewise.
5277 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5279         * conform/data/stdio.h-data (fdopen): Expect also for
5280         [XPG3 || XPG4].
5282         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5283         (fseeko): Likewise.
5284         (ftello): Likewise.
5285         (ftrylockfile): Likewise.
5286         (funlockfile): Likewise.
5287         (getc_unlocked): Likewise.
5288         (getchar_unlocked): Likewise.
5289         (putc_unlocked): Likewise.
5290         (putchar_unlocked): Likewise.
5292 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5294         [BZ #19868]
5295         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5296         DNS packet syntax checks (which were not needed before).  Skip
5297         over non-PTR records.
5299 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5301         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5302         definition.  Include <stddef.h> instead.
5304 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5306         [BZ #19831]
5307         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5308         function.
5309         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5310         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5312 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5314         [BZ #19862]
5315         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5316         (getanswer_r): Do not call syslog.
5317         (gaih_getanswer_slice): Likewise.
5318         * resolv/gethnamaddr.c (AskedForGot): Remove.
5319         (getanswer): Do not call syslog.
5320         (gethostbyaddr): Likewise.
5322 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5324         * conform/data/signal.h-data (union sigval): Expect also if
5325         [XOPEN2K].
5326         (struct sigevent): Likewise.
5327         (SIGEV_NONE): Likewise.
5328         (SIGEV_SIGNAL): Likewise.
5329         (SIGEV_THREAD): Likewise.
5330         (SIGRTMIN): Likewise.
5331         (SIGRTMAX): Likewise.
5332         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5333         variable.
5334         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5336 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5338         [BZ #19830]
5339         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5340         (gaih_getanswer_slice): Likewise.
5341         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5342         Also check for availability of RR metadata.
5344 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5346         [BZ #19825]
5347         * resolv/res_send.c (send_vc): Remove early *resplen2
5348         initialization.  Set *resplen2 on socket error.  Call
5349         close_and_return_error for other errors.
5351 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5353         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5354         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5355         (SCM_IUCV_TRGCLS): New define.
5357 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5359         [BZ #20005]
5360         * libio/fmemopen.c (fmemopen_write): Update internal position after
5361         write.
5362         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5363         * stdio-common/tst-fmemopen4.c: New file..
5365 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5367         [BZ #19996]
5368         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5369         not [__USE_XOPEN2K].
5370         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5371         variable.
5373         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5374         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5375         variable.
5377         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5378         [__USE_XOPEN2K8].
5379         [__USE_LARGEFILE64] (off64_t): Likewise.
5380         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5381         variable.
5383 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5385         [BZ #19989]
5386         * libio/stdio.h (cuserid): Do not declare if
5387         [__USE_XOPEN2K && !__USE_GNU].
5388         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5389         variable.
5391 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5393         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5394         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5396         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5397         ifunc'ed strcspn.
5398         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5399         [EALIGN]: Removed.
5400         [END]: Likewise
5401         [STRSPN]: Define instead of the above to control symbol name.
5402         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5403         New file.
5404         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5405         Likewise.
5406         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5407         Likewise.
5408         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5409         Likewise.
5410         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5411         [INITIAL_MASK]: New macro.
5412         [STRCSPN]: Likewise.
5413         [UPDATE_MASK]: Likewise.
5414         [USE_AS_STRCSPN]: Lisewise.
5416 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5418         [BZ #19931]
5419         * stdio-common/tst-vfprintf-width-prec.c: New file.
5420         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5421         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5422         (generated): Add mtrace-related files.
5423         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5424         (tst-%-mem.out): New pattern rule, replaces
5425         tst-printf-bz18872-mem.out.
5426         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5427         specifier, deallocate any previously allocated work buffer.
5429 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5431         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5432         Add nop before __startcontext, add explaining comments.
5434 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5436         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5437         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5438         completely different API.
5440         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5441         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5442         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5443         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5444         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5445         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5446         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5447         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5448         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5449         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5451 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5453         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5455 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5457         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5458         when it is the default of 0.
5460 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5462         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5463         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5464         (sysdep_routines): Add new strcasestr targets.
5465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5466         (__libc_ifunc_impl_list): Likewise.
5467         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5468         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5469         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5470         * sysdeps/powerpc/powerpc64/power8/Makefile:
5471         New file to add strcasestr-ppc64 to sysdep_routines.
5472         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5473         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5475 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5477         * benchtests/Makefile (wcsmbs-benchset): Include only for
5478         native builds and runs.
5479         (LOCALES): Likewise.
5480         (bench-build): Build timing-type here instead of the bench
5481         target.  Generate locale only for native builds.
5482         * benchtests/README: Add note for cross-building.
5484         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5486         * benchtests/README: Update README to include instructions on
5487         using bench-build.
5489         * Makefile.in (bench-build): New target.
5490         * Rules (PHONY): Add bench-build target.
5491         * benchtests/Makefile (bench): Depend on bench-build.
5492         (bench-build): New target.
5494 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5496         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5497         profil_reply_port.
5498         (profile_waiter): Do not initialize profil_reply_port.
5499         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5500         frequency instead of tick length in us.
5502 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5504         [BZ #18712]
5505         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5506         (__old_mempcpy_small): Likewise.
5507         (__old_strcpy_small): Likewise.
5508         (__old_stpcpy_small): Likewise.
5509         (__old_strpbrk_c2): Fix compat symbol name.
5510         (__old_strpbrk_c3): Likewise.
5511         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5512         (__mempcpy_small): Remove.
5513         (__strcpy_small): Remove.
5514         (__stpcpy_small): Remove.
5516 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5518         [BZ #19400]
5519         * locale/iso-639.def: Add the Talossan/tzl language.
5521 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5523         [BZ #16983]
5524         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5525         comment.  Add "ln" to strchr check on postal_fmt.
5527 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5529         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5530         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5531         tel_dom_fmt.
5533 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5535         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5536         (sysdep_routines): Added __strlen_power8.
5537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5538         __strlen_power8 entry.
5539         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5540         Implementation for POWER8.
5541         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5542         for __strlen_power8.
5543         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5544         Implementation for POWER8.
5546 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5548         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5550 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5552         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5553         Goldmont and Airmont processors.
5555 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5557         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5558         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5559         (__STRING2_SMALL_GET32): Remove.
5560         (memset): Remove.
5561         (__memset_1): Remove.
5562         (__memset_gc): Remove.
5563         (__mempcpy): Remove.
5564         (mempcpy): Remove.
5565         (__mempcpy_args): Remove.
5566         (strchr): Remove.
5567         (strcpy): Remove.
5568         (strcpy_args): Remove.
5569         (__stpcpy_args): Remove.
5570         (__strcmp_cc): Remove.
5571         (__strcmp_gc): Remove.
5572         (strstr): Remove.
5574 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5576         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5577         * nis/nis_call.c (nis_server_cache_add): Likewise.
5579 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5581         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5583 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5585         * malloc/arena.c (__malloc_fork_lock_parent)
5586         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5587         internal_function attribute.
5589 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5591         * stdio-common/printf_fp.c (__printf_fp_l):
5592         Rename ___printf_fp_l to __printf_fp_l and
5593         remove strong alias. Use libc_hidden_def instead
5594         of ldbl_hidden_def macro.
5596 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5598         Remove malloc hooks from fork handler.  They are no longer needed
5599         because malloc runs right before fork, and no malloc calls from
5600         other fork handlers are not possible anymore.
5601         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5602         declarations.
5603         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5604         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5605         (atfork_recursive_cntr): Remove.
5606         (__malloc_fork_lock_parent): Do not override malloc hooks and
5607         thread_arena.
5608         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5609         thread_arena.
5610         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5611         thread_arena instead of save_arena.
5613 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5615         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5616         (thread_atfork, thread_atfork_static): Remove.
5617         * sysdeps/mach/hurd/malloc-machine.h:
5618         (thread_atfork, thread_atfork_static): Remove.
5620 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5622         [BZ #19431]
5623         Run the malloc fork handler as late as possible to avoid deadlocks.
5624         * malloc/malloc-internal.h: New file.
5625         * malloc/malloc.c: Include it.
5626         * malloc/arena.c (ATFORK_MEM): Remove.
5627         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5628         Update comment.
5629         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5630         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5631         Remove outdated comment.
5632         (ptmalloc_init): Do not call thread_atfork.  Remove
5633         thread_atfork_static.
5634         * malloc/tst-malloc-fork-deadlock.c: New file.
5635         * Makefile (tests): Add tst-malloc-fork-deadlock.
5636         (tst-malloc-fork-deadlock): Link against libpthread.
5637         * manual/memory.texi (Aligned Memory Blocks): Update safety
5638         annotation comments.
5639         * sysdeps/nptl/fork.c (__libc_fork): Call
5640         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5641         __malloc_fork_unlock_child.
5642         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5644 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5646         [BZ #19613]
5647         Remove union wait.
5648         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5649         (w_stopsig, w_stopval): Remove.
5650         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5651         stat_loc argument.
5652         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5653         (__WAIT_STATUS_DEFN): Remove.
5654         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5655         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5656         (wait, wait3, wait4): Use int * for the stat_loc argument.
5657         * posix/wait.c (__wait): Likewise.
5658         * posix/wait3.c (__wait3): Likewise.
5659         * posix/wait4.c (__wait4): Likewise.
5660         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5661         (__WAIT_STATUS_DEFN): Remove.
5662         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5663         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5664         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5665         argument.
5666         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5667         * sysdeps/posix/wait3.c (__wait3): Likewise.
5668         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5669         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5670         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5671         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5672         stat_loc argument.
5673         * manual/process.texi (BSD Wait Functions): Remove union wait.
5675 2016-04-13  Andreas Schwab  <schwab@suse.de>
5677         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5678         (test-extras): Add tst-tlsalign-vars.
5679         * math/Makefile: Wrap long lines.
5680         (libm-vec-test-wrappers): Define.
5681         (test-extras): Add $(libm-vec-test-wrappers).
5682         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5683         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5684         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5685         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5686         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5687         (extra-test-objs): Add corresponding objects.
5689 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5691         [BZ #19928]
5692         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5693         New.
5694         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5695         times of shared cache size.
5696         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5697         (VMOVNT): New.
5698         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5699         (VMOVNT): Likewise.
5700         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5701         (VMOVNT): Likewise.
5702         (VMOVU): Changed to movups for smaller code sizes.
5703         (VMOVA): Changed to movaps for smaller code sizes.
5704         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5705         comments.
5706         (PREFETCH): New.
5707         (PREFETCH_SIZE): Likewise.
5708         (PREFETCHED_LOAD_SIZE): Likewise.
5709         (PREFETCH_ONE_SET): Likewise.
5710         Rewrite to use forward and backward loops, which move 4 vector
5711         registers at a time, to support overlapping addresses and use
5712         non temporal store if size is above the threshold and there is
5713         no overlap between destination and source.
5715 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5717         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5718         Include dl-vdso.
5719         * sysdeps/unix/sysv/linux/mips/Versions: Add
5720         __vdso_clock_gettime.
5721         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5722         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5723         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5724         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5725         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5726         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5727         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5728         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5729         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5731 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5733         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5734         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5735         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5736         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5737         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5738         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5741         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5742         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5743         syscalls generation.
5744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5745         [__NR_pwrite64] (__NR_write): Remove define.
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5747         [__NR_pwrite64] (__NR_write): Remove define.
5748         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5749         Remove define.
5750         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5751         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5752         Remove define.
5753         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5754         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5755         Linux implementation as base.
5756         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5758         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5759         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5761         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5764         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5765         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5766         syscall generation.
5767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5768         [__NR_pread64] (__NR_pread): Remove define.
5769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5770         [__NR_pread64] (__NR_pread): Likewise.
5771         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5772         define.
5773         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5774         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5775         Remove define.
5776         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5777         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5778         Linux implementation as base.
5779         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5780         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5781         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5783         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5784         definition.
5785         (__ALIGNMENT_COUNT): Likewise.
5786         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5787         (__ALIGNMENT_COUNT): Likewise.
5788         (SYSCALL_LL): New define.
5789         (SYSCALL_LL64): Likewise.
5790         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5791         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5792         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5793         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5795         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5796         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5797         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5798         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5799         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5800         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5802 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5804         [BZ #19865]
5805         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5806         original buffer before retry.
5808 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5810         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5811         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5812         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5813         GLRO(dl_auxv) list.
5814         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5815         including <ldsodefs.h>.
5816         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5818 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5820         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5821         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5822         $(CPPFLAGS).
5824 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5826         [BZ #17950]
5827         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5828         Add -mfpmath=387.
5830 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5832         * sysdeps/i386/configure.ac: Change == to = when calling test.
5833         * sysdeps/x86_64/configure.ac: Likewise.
5834         * sysdeps/i386/configure: Regenerated.
5835         * sysdeps/x86_64/configure: Likewise.
5837 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5839         [BZ #16137]
5840         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5841         * benchtests/bench-strcoll.c (input_files): Likewise.
5842         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5843         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5844         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5846 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5848         [BZ #19929]
5849         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5850         [__USE_XOPEN2K8 && !__USE_GNU].
5851         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5852         variable.
5854         [BZ #19925]
5855         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5856         define if [!__USE_MISC && __USE_XOPEN2K].
5857         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5858         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5859         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5860         Likewise.
5861         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5862         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5863         variable.
5864         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5866 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5868         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5869         (sysdep_routines): Add new strspn targets.
5870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5871         (__libc_ifunc_impl_list): Add strspn.
5872         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5873         New file.
5874         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5875         Likewise.
5876         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5877         Likewise.
5878         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5879         Likewise.
5881 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5883         * misc/hsearch_r.c: Include <limits.h>.
5885 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5887         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5889 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5891         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5892         (MEMCPY_SYMBOL): New.
5893         (MEMPCPY_SYMBOL): Likewise.
5894         (MEMMOVE_CHK_SYMBOL): Likewise.
5895         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5896         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5897         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5898         Provide alias for memcpy in libc.a and ld.so.
5900 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5902         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5903         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5904         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5905         Disabled fro now.
5906         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5907         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5909 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5911         * benchtests/Makefile (string-benchset): Add memcpy-large,
5912         memmove-large and memset-large.
5913         * benchtests/bench-memcpy-large.c: New file.
5914         * benchtests/bench-memmove-large.c: Likewise.
5915         * benchtests/bench-memmove-large.c: Likewise.
5916         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5918 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5920         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5921         32-bit displacement to avoid long nop between instructions.
5923 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5925         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5926         a comment on VMOVU and VMOVA.
5928 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5930         [BZ #19633]
5931         Use specified locale for number formatting in strfmon_l.
5932         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5933         (__nl_lookup_word): New inline functions.
5934         * include/printf.h (__print_fp_l): Declare.
5935         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5936         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5937         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5938         (___printf_fp): New function.
5939         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5940         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5941         * stdlib/tst-strfmon_l.c (do_test): New test.
5942         * stdlib/Makefile (tests): Add kt.
5943         (LOCALES): Build additional locales.
5944         (tst-strfmon_l.out): Require locales.
5946 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5948         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5949         if not in libc.
5950         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5951         Likewise.
5952         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5953         Likewise.
5954         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5955         Likewise.
5957 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5959         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5960         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5961         with unaligned_erms.
5962         (__memmove_erms): Skip if source == destination.
5963         (__memmove_unaligned_erms): Don't check source == destination
5964         first.
5966 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5968         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5969         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5971 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5973         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5974         * string/strspn.c (strspn): Likewise.
5976 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5978         * benchtests/bench-memset.c (do_test): Support 64-byte
5979         alignment.
5980         (test_main): Test 64-byte alignment.
5982 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5984         * benchtests/bench-memmove.c (test_main): Test 64-byte
5985         alignment.
5987 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5989         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5991 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5993         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5994         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5995         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5997         * string/strpbrk.c (strpbrk): Rewrite function.
5998         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5999         (__strpbrk_c2): Likewise.
6000         (__strpbrk_c3): Likewise.
6001         * string/string-inlines.c
6002         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6003         Likewise.
6004         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6005         Likewise.
6007         * string/strspn.c (strcspn): Rewrite function.
6008         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6009         (__strspn_c1): Remove inline function.
6010         (__strspn_c2): Likewise.
6011         (__strspn_c3): Likewise.
6012         * string/string-inlines.c
6013         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6014         compatibility symbol.
6015         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6016         Likewise.
6017         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6018         Likewise.
6019         * string/string-inlines.c: Include generic version.
6021 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6022             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6024         * string/Version (libc): Add GLIBC_2.24.
6025         * string/strcspn.c (strcspn): Rewrite function.
6026         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6027         (__strcspn_c1): Remove inline function.
6028         (__strcspn_c2): Likewise.
6029         (__strcspn_c3): Likewise.
6030         * string/string-inline.c
6031         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6032         compatibility symbol.
6033         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6034         Likewise.
6035         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6036         Likewise.
6037         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6039 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6041         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6042         Use ahi instead of aghi to adjust stack pointer.
6044 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6046         [BZ #19853]
6047         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6048         TEST to take significant digits as second parameter.
6049         [TEST]: Redefine in terms of TEST_N taking 30
6050         significant digits.
6051         (do_test): Add test case to demonstrate precision
6052         failure in the ldbl-128ibm printf.
6053         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6054         (__mpn_extract_long_double): Carry 7 extra intermediate
6055         bits of precision to aide computing difference when
6056         signs differ.
6058 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6060         [BZ #19881]
6061         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6062         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6063         memset-avx512-unaligned-erms.
6064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6065         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6066         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6067         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6068         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6069         __memset_sse2_unaligned_erms, __memset_erms,
6070         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6071         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6072         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6073         file.
6074         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6075         Likewise.
6076         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6077         Likewise.
6078         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6079         Likewise.
6081 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6083         [BZ #19776]
6084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6085         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6086         memmove-avx512-unaligned-erms.
6087         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6088         (__libc_ifunc_impl_list): Test
6089         __memmove_chk_avx512_unaligned_2,
6090         __memmove_chk_avx512_unaligned_erms,
6091         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6092         __memmove_chk_sse2_unaligned_2,
6093         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6094         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6095         __memmove_avx512_unaligned_erms, __memmove_erms,
6096         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6097         __memcpy_chk_avx512_unaligned_2,
6098         __memcpy_chk_avx512_unaligned_erms,
6099         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6100         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6101         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6102         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6103         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6104         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6105         __mempcpy_chk_avx512_unaligned_erms,
6106         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6107         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6108         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6109         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6110         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6111         __mempcpy_erms.
6112         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6113         file.
6114         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6115         Likwise.
6116         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6117         Likwise.
6118         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6119         Likwise.
6121 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6123         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6124         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6125         (La_s390_64_regs): Likewise.
6126         (La_s390_32_retval): Append vector register lrv_v24.
6127         (La_s390_64_retval): Likeweise.
6128         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6129         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6130         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6131         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6133 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6135         [BZ #19916]
6136         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6137         to create a non-vector/vector version for _dl_runtime_resolve and
6138         _dl_runtime_profile. Move implementation to ...
6139         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6140         (_dl_runtime_resolve) Save and restore fpr/vrs.
6141         (_dl_runtime_profile) Save and restore vrs and fix some issues
6142         if _dl_call_pltexit is called.
6143         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6144         Choose the correct resolver function if running on a machine with vx.
6145         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6146         to create a non-vector/vector version for _dl_runtime_resolve and
6147         _dl_runtime_profile. Move implementation to ...
6148         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6149         (_dl_runtime_resolve) Save and restore fpr/vrs.
6150         (_dl_runtime_profile) Save and restore vrs and fix some issues
6151         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6152         Choose the correct resolver function if running on a machine with vx.
6154 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6156         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6158 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6160         [BZ #19509]
6161         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6162         skip_map != NULL.
6163         * elf/tst-dlsym-error.c: New file.
6164         * elf/Makefile (tests): Add tst-dlsym-error.
6165         (tst-dlsym-error): Link against libdl.
6167 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6169         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6170         (__ASSUME_FUTIMESAT): Remove macro.
6171         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6173 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6175         [BZ #19879]
6176         CVE-2016-3075
6177         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6178         copy name.
6180 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6182         [BZ #19837]
6183         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6184         error if parse_line fails.
6186 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6188         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6189         (index_cpu_ERMS): Likewise.
6190         (reg_ERMS): Likewise.
6192 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6194         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6195         PER_LINUX_FDPIC): Add.
6197 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6200         memcpy-avx512-no-vzeroupper.
6201         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6202         to ...
6203         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6204         (MEMCPY): Don't define.
6205         (MEMCPY_CHK): Likewise.
6206         (MEMPCPY): Likewise.
6207         (MEMPCPY_CHK): Likewise.
6208         (MEMPCPY_CHK): Renamed to ...
6209         (__mempcpy_chk_avx512_no_vzeroupper): This.
6210         (MEMPCPY_CHK): Renamed to ...
6211         (__mempcpy_chk_avx512_no_vzeroupper): This.
6212         (MEMCPY_CHK): Renamed to ...
6213         (__memmove_chk_avx512_no_vzeroupper): This.
6214         (MEMCPY): Renamed to ...
6215         (__memmove_avx512_no_vzeroupper): This.
6216         (__memcpy_avx512_no_vzeroupper): New alias.
6217         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6219 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6221         [BZ #18858]
6222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6223         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6224         and mempcpy-avx512-no-vzeroupper.
6225         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6226         New.
6227         (MEMPCPY): Likewise.
6228         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6229         (MEMPCPY_CHK): New.
6230         (MEMPCPY): Likewise.
6231         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6232         (MEMPCPY): Likewise.
6233         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6234         (MEMPCPY): Likewise.
6235         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6236         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6237         Likewise.
6238         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6239         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6241 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6242              Amit Pawar  <Amit.Pawar@amd.com>
6244         [BZ #19583]
6245         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6246         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6247         processors.  Set Fast_Copy_Backward for AMD Excavator
6248         processors.
6249         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6250         New.
6251         (index_arch_Fast_Unaligned_Copy): Likewise.
6252         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6253         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6255 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6257         [BZ #19791]
6258         * resolv/res_send.c (close_and_return_error): New function.
6259         (send_dg): Initialize *resplen2 after reopen failure.  Call
6260         close_and_return_error for error returns.  On error paths without
6261         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6262         successful return.
6264 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6266         [BZ# 19860]
6267         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6268         zero if the compiler does not provide the AVX512F bit.
6270 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6272         [BZ #19848]
6273         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6274         from 8 to 4.
6275         (__ieee754_powl): Compare integer exponent against 4 not 8.
6276         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6277         from 8 to 4.
6278         (__ieee754_powl): Compare integer exponent against 4 not 8.
6279         * math/auto-libm-test-in: Add more tests of pow.
6280         * math/auto-libm-test-out: Regenerated.
6281         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6284 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6286         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6287         Make code unconditional.
6288         [!__NR_utimensat]: Remove conditional code.
6289         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6290         Make code unconditional.
6291         [!__NR_utimensat]: Remove conditional code.
6292         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6293         Make code unconditional.
6294         [!__NR_utimensat]: Remove conditional code.
6296 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6298         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6299         Make code unconditional.
6301 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6303         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6304         call-clobbered %eax on retry path.
6305         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6307 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6309         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6310         Don't set %rcx twice before "rep movsb".
6312 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6314         [BZ #19583]
6315         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6316         inline.  Check family before setting family, model and
6317         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6318         bits here.
6319         (init_cpu_features): Replace HAS_CPU_FEATURE and
6320         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6321         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6322         for Intel processors with usable AVX2.  Call get_common_indeces
6323         for other processors with family == NULL.
6324         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6325         (CPU_FEATURES_ARCH_P): Likewise.
6326         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6327         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6329 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6331         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6332         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6333         $(shared-thread-library) instead of hardcoding the path to libpthread.
6335 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6337         * sysdeps/unix/sysv/linux/kernel-features.h
6338         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6339         * sysdeps/unix/sysv/linux/getdents.c
6340         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6341         [!have_no_getdents64_defined]: Likewise.
6342         (__GETDENTS): Remove __have_no_getdents64 conditional.
6344 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6346         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6347         Remove macro.
6348         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6349         <kernel-features.h>.
6350         (signalfd) [__NR_signalfd4]: Make code unconditional.
6351         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6353 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6355         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6356         style.
6358 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6360         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6361         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6362         __pthread_unwind.
6363         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6364         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6365         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6366         (__condvar_cleanup1): Likewise.
6368 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6370         [BZ #19822]
6371         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6372         move it to the final $@ location.
6374 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6376         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6377         access where posix_spawn success and pid argument is null.
6378         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6379         success case.
6381 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6383         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6385         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6387         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6388         and __fcntl.
6389         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6390         __fcntl only.
6391         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6392         adding attribute_hidden to __open and __fcntl.
6394         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6395         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6396         depend on libc-modules.h,
6397         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6399 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6401         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6402         Remove macro.
6403         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6404         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6405         entry.
6407         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6408         Remove macro.
6409         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6410         include <kernel-features.h>.
6411         [!__ASSUME_FALLOCATE]: Remove conditional code.
6412         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6414 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6416         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6417         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6418         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6419         (_ZGVdN4v_cos_avx2): Likewise.
6420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6421         (_ZGVdN4v_cos): Likewise.
6422         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6423         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6424         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6425         (_ZGVdN4v_exp_avx2): Likewise.
6426         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6427         (_ZGVdN4v_exp): Likewise.
6428         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6429         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6430         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6431         (_ZGVdN4v_log_avx2): Likewise.
6432         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6433         (_ZGVdN4v_log): Likewise.
6434         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6435         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6436         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6437         (_ZGVdN4vv_pow_avx2): Likewise.
6438         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6439         (_ZGVdN4vv_pow): Likewise.
6440         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6441         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6442         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6443         (_ZGVdN4v_sin_avx2): Likewise.
6444         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6445         (_ZGVdN4v_sin): Likewise.
6446         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6447         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6448         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6449         (_ZGVdN4vvv_sincos_avx2): Likewise.
6450         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6451         (_ZGVdN4vvv_sincos): Likewise.
6452         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6453         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6454         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6455         (_ZGVbN4v_cosf_sse4): Likewise.
6456         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6457         (_ZGVdN8v_cosf_avx2): Likewise.
6458         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6459         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6460         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6461         (_ZGVbN4v_expf_sse4): Likewise.
6462         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6463         (_ZGVdN8v_expf_avx2): Likewise.
6464         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6465         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6466         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6467         (_ZGVbN4v_logf_sse4): Likewise.
6468         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6469         (_ZGVdN8v_logf_avx2): Likewise.
6470         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6471         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6472         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6473         (_ZGVbN4vv_powf_sse4): Likewise.
6474         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6475         (_ZGVdN8vv_powf_avx2): Likewise.
6476         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6477         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6479         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6481         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6482         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6483         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6484         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6485         (_ZGVbN4v_sinf_sse4): Likewise.
6486         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6487         (_ZGVdN8v_sinf_avx2): Likewise.
6488         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6489         Use JUMPTARGET to call callee.
6490         (WRAPPER_IMPL_SSE2_ff): Likewise.
6491         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6492         (WRAPPER_IMPL_AVX): Likewise.
6493         (WRAPPER_IMPL_AVX_ff): Likewise.
6494         (WRAPPER_IMPL_AVX_fFF): Likewise.
6495         (WRAPPER_IMPL_AVX512): Likewise.
6496         (WRAPPER_IMPL_AVX512_ff): Likewise.
6497         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6498         Likewise.
6499         (WRAPPER_IMPL_SSE2_ff): Likewise.
6500         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6501         (WRAPPER_IMPL_AVX): Likewise.
6502         (WRAPPER_IMPL_AVX_ff): Likewise.
6503         (WRAPPER_IMPL_AVX_fFF): Likewise.
6504         (WRAPPER_IMPL_AVX512): Likewise.
6505         (WRAPPER_IMPL_AVX512_ff): Likewise.
6506         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6508 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6510         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6511         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6512         qualifier.
6513         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6514         internal_function qualifiers.
6516 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6518         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6519         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6520         * math/atest-exp.c (exp_mpn): Mark chk unused.
6521         * math/atest-exp2.c (exp_mpn): Likwise.
6522         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6523         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6525 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6527         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6528         Remove macro.
6529         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6530         <kernel-features.h>.
6531         [__NR_ppoll]: Make code unconditional.
6532         [!__ASSUME_PPOLL]: Remove conditional code.
6534         * sysdeps/unix/sysv/linux/kernel-features.h
6535         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6536         (__ASSUME_ACCEPT4): Likewise.
6537         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6538         Define.
6539         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6540         Likewise.
6541         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6542         Likewise.
6543         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6544         Likewise.
6545         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6546         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6547         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6548         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6549         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6550         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6551         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6552         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6553         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6554         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6555         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6556         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6557         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6558         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6559         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6560         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6561         Likewise.
6562         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6563         Likewise.
6564         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6565         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6566         0x040300].
6567         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6568         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6569         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6570         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6571         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6572         0x030300].
6573         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6574         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6575         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6576         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6577         0x040300].
6578         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6579         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6580         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6581         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6582         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6583         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6584         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6585         0x030300].
6586         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6587         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6588         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6589         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6590         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6591         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6592         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6593         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6594         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6595         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6596         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6597         0x040300].
6598         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6599         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6600         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6601         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6602         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6603         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6604         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6605         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6606         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6607         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6608         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6609         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6610         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6611         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6612         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6613         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6614         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6615         Likewise.
6616         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6617         Likewise.
6619 2016-03-15  Andreas Schwab  <schwab@suse.de>
6621         [BZ #19257]
6622         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6623         statp->_u._ext.nscount as loop count.
6625 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6627         * math/test-signgam-finite-c99.c: Also #undef
6628         __LIBC_INTERNAL_MATH_INLINES.
6629         * math/test-signgam-main.c: Likewise.
6631 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6633         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6634         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6635         (MADV_FREE): Likewise.
6636         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6637         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6638         EPOLLEXCLUSIVE.
6640 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6642         * timezone/README: Remove mention of checktab.awk. Mention wiki
6643         SharedSourceFiles.
6645 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6647         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6648         WUNTRACED.
6650 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6652         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6653         order to match the type of p when calling atomic_exchange_acq().
6655 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6657         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6658         cfi_offset calls.
6659         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6660         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6661         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6662         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6663         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6665 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6667         * timezone/checktab.awk: Removed.
6669 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6671         * manual/math.texi (Errors in Math Functions): Document relaxed
6672         accuracy goals for IBM long double.
6673         * math/libm-test.inc (test_exceptions): Always allow spurious
6674         "underflow" and "inexact" exceptions for IBM long double.
6676 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6678         [BZ #19762]
6679         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6680         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6681         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6682         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6683         (bit_arch_*): This for feature array.
6684         (bit_*): Renamed to ...
6685         (bit_cpu_*): This for cpu array.
6686         (index_*): Renamed to ...
6687         (index_arch_*): This for feature array.
6688         (index_*): Renamed to ...
6689         (index_cpu_*): This for cpu array.
6690         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6691         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6692         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6693         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6694         bit_##name with index_cpu_##name and bit_cpu_##name.
6695         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6696         bit_##name with index_arch_##name and bit_arch_##name.
6698 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6700         [BZ #19792]
6701         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6702         Terminate FDE before return label.
6704 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6706         [BZ #19790]
6707         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6708         (rintl): Define as macro.
6709         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6710         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6711         of fesetround.  Ensure results are evaluated before end of scope.
6712         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6713         USE_AS_NEARBYINTL and include s_rintl.c.
6714         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6715         Disable exception traps in new environment.
6716         (libc_feholdsetround_ppc_ctx): Likewise.
6718 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6720         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6721         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6722         (tst_audit10_aux) [__AVX512F__]: ... here.
6724 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6726         * include/sys/auxv.h: New file.
6728 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6730         [BZ #19759]
6731         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6733 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6735         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6736         operand modifier.
6737         (feclearexcept): Likewise.
6739 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6741         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6742         to reflect the entire 32-bit HWCAP.
6743         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6744         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6746 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6748         [BZ #19783]
6749         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6750         $(test-via-rtld-prefix).
6751         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6753 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6755         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6756         union wait.  Report any non-zero exit status as error.
6758 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6760         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6761         configured with --enable-hardcoded-path-in-tests.
6763 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6765         [BZ #19677]
6766         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6767         (__ieee754_remainderl): Put zero low parts in canonical form.
6768         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6769         file.  Based on
6770         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6771         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6772         with wrapper round test-fmodrem-ldbl-128ibm.c.
6773         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6774         file.
6775         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6776         Likewise.
6777         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6778         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6780 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6782         [BZ #19610]
6783         * elf/ldconfig.c (opt_link): Update comment.
6784         (options): Update help string for option -X.
6785         (search_dir): Unlink stale symbolic link only if updating symbolic
6786         links.
6787         * elf/tst-ldconfig-X.sh: New file.
6788         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6789         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6791 2016-03-07  Andreas Schwab  <schwab@suse.de>
6793         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6794         needed arguments.
6796 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6798         [BZ #15333]
6799         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6800         to lstat64.
6802 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6804         * libio/filedoalloc.c (isatty): Remove.
6805         (local_isatty): Add comment.  Call __isatty directly.
6806         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6807         * libio/wfiledoalloc.c (isatty): Remove.
6808         (_IO_wfile_doallocate): Update comment.
6810 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6812         [BZ #19269]
6813         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6814         tst-audit4-aux.o.
6815         (tst-audit10): Depend on tst-audit10-aux.o.
6816         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6817         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6818         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6819         instead of inline AVX code.
6820         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6821         instead of inline AVX512 code.
6822         * sysdeps/x86_64/tst-audit4-aux.c: New file
6823         * sysdeps/x86_64/tst-audit10-aux.c: New file
6825         [BZ #19648]
6826         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6828 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6830         [BZ #14750]
6831         [BZ #10354]
6832         [BZ #18433]
6833         * include/sched.h (__clone): Add hidden prototype.
6834         (__clone2): Likewise.
6835         * include/unistd.h (__dup): Likewise.
6836         * posix/Makefile (tests): Add tst-spawn2.
6837         * posix/tst-spawn2.c: New file.
6838         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6839         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6840         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6841         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6842         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6843         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6844         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6845         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6846         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6847         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6848         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6850         Likewise.
6851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6852         Likewise.
6853         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6854         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6855         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6856         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6857         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6858         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6859         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6860         * sysdeps/unix/sysv/linux/nptl-signals.h
6861         (____nptl_is_internal_signal): New function.
6862         * sysdeps/unix/sysv/linux/spawni.c: New file.
6864         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6865         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6866         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6867         * posix/tst-execvp2.c (do_test): Likewise.
6868         * posix/tst-execvp3.c (do_test): Likewise.
6869         * posix/tst-execvp4.c (do_test): Likewise.
6870         * posix/tst-execvpe1.c: New file.
6871         * posix/tst-execvpe2.c: Likewise.
6872         * posix/tst-execvpe3.c: Likewise.
6873         * posix/tst-execvpe4.c: Likewise.
6874         * posix/tst-execvpe5.c: Likewise.
6875         * posix/tst-execvpe6.c: Likewise.
6877         [BZ #19534]
6878         * posix/execl.c (execl): Remove dynamic memory allocation.
6879         * posix/execle.c (execle): Likewise.
6880         * posix/execlp.c (execlp): Likewise.
6882 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6884         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6885         Replace .text with .text.avx512.
6886         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6887         Likewise.
6889 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6891         * sysdeps/generic/libnsl.abilist: New file.
6892         * sysdeps/generic/libutil.abilist: New file.
6894 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6896         [BZ #19762]
6897         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6898         HAS_ARCH_FEATURE with Fast_Rep_String.
6899         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6900         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6901         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6902         Likewise.
6903         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6904         Likewise.
6905         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6906         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6907         Likewise.
6908         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6909         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6910         Likewise.
6912 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6914         [BZ #19745]
6915         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6916         with *%rax in call.
6918 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6920         [BZ #19745]
6921         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6922         with *__libc_start_main@GOTPCREL(%rip) in call.
6924 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6926         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6927         inside conditional for nonempty $(CXX).
6929         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6930         nonempty.
6932         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6933         to test for empty $(CXX) rather than $(CXX) of "no".
6935 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6937         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6939 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6940             H.J. Lu  <hongjiu.lu@intel.com>
6942         [BZ #18880]
6943         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6944         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6945         enable __memcpy_ssse3_back.
6947 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6949         [BZ #19758]
6950         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6951         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6953 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6955         [BZ #19490]
6956         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6957         (__fentry__): Likewise.
6959 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6961         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6962         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6964 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6966         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6967         __mcount_internal directly.
6968         (C_LABEL(__fentry__)): Likewise.
6969         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6970         directly.
6972 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6974         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6975         (__start_context): Call __setcontext directly.
6977 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6979         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6980         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6981         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6982         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6983         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6984         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6985         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6986         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6987         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6988         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6989         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6990         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6991         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6992         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6993         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6994         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6995         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6996         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6997         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6998         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6999         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7000         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7001         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7002         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7003         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7004         Remove conditional code.
7005         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7006         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7007         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7008         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7009         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7010         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7011         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7012         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7013         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7014         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7015         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7016         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7018 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7020         * NEWS (2.23): Fix typo in bug 19048 text.
7022 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7024         [BZ #14259]
7025         * Makeconfig: Rename msgcatdir to localedir.
7026         Rename inst_msgcatdir to inst_localedir.
7027         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7028         * config.make.in: Add localedir.
7029         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7030         (ldd-rewrite): Likewise.
7031         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7032         (install-others): Use inst_localedir.
7033         (CPPFLAGS): Use localedir.
7034         * locale/Makefile (locale-CPPFLAGS): Likewise.
7035         * po/Makefile (mo-installed): Use inst_localedir.
7037         [BZ #19575]
7038         * localedata/charmaps/GB18030: Update comments regarding PAU to
7039         non-PUA mappings.
7041 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7043         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7044         test for header.
7045         * sysdeps/unix/sysv/linux/configure: Regenerated.
7046         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7047         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7048         Remove conditional code.
7049         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7051         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7052         Define to 3.2.0.
7053         (arch_minimum_kernel): Likewise.
7054         * sysdeps/unix/sysv/linux/configure: Regenerated.
7055         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7056         Define to 2.6.32.
7057         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7058         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7059         (arch_minimum_kernel): Define to 2.6.32.
7060         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7061         * README: Document Linux 3.2 requirement.
7062         * manual/install.texi (Linux): Document Linux 3.2 headers
7063         requirement.
7064         * INSTALL: Regenerated.
7066 2016-02-24  Andreas Schwab  <schwab@suse.de>
7068         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7069         if !NO_LONG_DOUBLE.
7071 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7073         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7074         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7076 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7078         [BZ #19512]
7079         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7081 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7083         * posix/tst-dir.c: Include libc-internal.h.
7085 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7087         [BZ #19056]
7088         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7089         * manual/filesys.texi (Reading/Closing Directory): Mention
7090         deprecaion.
7091         * posix/tst-dir.c (main): Disable deprecation warning in test.
7093 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7095         [BZ #19679]
7096         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7097         Renamed to ...
7098         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7099         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7100         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7101         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7102         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7103         * sysdeps/x86_64/dl-trampoline.h
7104         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7105         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7107 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7109         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7111 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7113         * elf/elf.h (R_386_GOT32X): New.
7114         (R_386_NUM): Update.
7115         (R_X86_64_GOTPCRELX: New.
7116         (R_X86_64_REX_GOTPCRELX): New.
7117         (R_X86_64_NUM): Update.
7119 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7121         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7123 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7125         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7126         assign attr->stackaddr to it, and adjust it down when
7127         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7128         [_STACK_GROWS_UP]: Delete assert.
7129         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7130         Implement stack grows up logic.
7131         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7132         stack grows up logic.
7134 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7136         * NEWS: Update with 2.24 template.
7138 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7140         [BZ #19678]
7141         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7142         Ensure +0.0 is returned when taking the next value below the least
7143         positive value.
7145 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7147         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7148         available.  Do not define NO_THREADS.
7149         * malloc/malloc.c: Do not check NO_THREADS.
7150         * malloc/arena.c: Likewise.
7152 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7154         * malloc/malloc.c (__libc_mallinfo): Update comment.
7155         (struct malloc_par): Remove max_total_mem member, it was always 0.
7156         (int_mallinfo): Store 0 into usmblks (no functional change).
7157         * malloc/hooks.c (struct malloc_state): Document that
7158         max_total_mem is always 0.
7159         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7160         always 0.
7161         * manual/memory.texi (Statistics of Malloc): Likewise.
7163 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7165         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7166         * malloc/arena.c (arena_max): Remove.
7167         (heap_trim, _int_new_arena): Do not update arena_max.
7169 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7171         * resolv/res_init.c (res_ninit): Update comment.
7173 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7175         [BZ #19505]
7176         * posix/spawn_int.h: Add headers and include guard.
7177         (__spawn_valid_fd): New function.
7178         * posix/spawn_faction_addopen.c
7179         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7180         * posix/spawn_faction_addclose.c
7181         (posix_spawn_file_actions_addclose): Likewise.
7182         * posix/spawn_faction_adddup2.c
7183         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7184         second file descriptor.
7185         * posix/spawn_valid_fd.c: New file.
7186         * posix/tst-posix_spawn-fd.c: New file.
7187         * posix/Makefile (routines): Add spawn_valid_fd.
7188         (tests): Add tst-posix_spawn-fd.
7190 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7192         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7193         (do_test): Limit the number of arenas, so that we can use fewer
7194         outer threads.  Limit timeout to 3 seconds, in preparation for a
7195         larger TIMEOUT value.
7197 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7199         [BZ #19674]
7200         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7201         sign in overflowing and underflowing results when overflow or
7202         underflow is detected early.  Include sign in result before rather
7203         than after scaling.
7205         [BZ #19603]
7206         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7207         (__ieee754_remainderl): Adjust sign of integer version of low part
7208         when taking absolute value of high part.
7209         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7210         * math/libm-test.inc (remainder_test_data): Add another test.
7211         (remquo_test_data): Likewise.
7213 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7215         [BZ #19602]
7216         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7217         equal high parts and both low parts zero specially.
7218         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7219         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7220         Add test-fmodl-ldbl-128ibm.
7222         [BZ #19595]
7223         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7224         common logic for all cases of shifting subnormal results.  Do not
7225         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7226         exponent to ldbl_insert_mantissa in subnormal case.
7228         [BZ #19594]
7229         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7230         on high and low parts then adjust result and use
7231         ldbl_canonicalize_int if needed.
7233         [BZ #19593]
7234         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7235         on high part and __floor or __ceil on low part then use
7236         ldbl_canonicalize_int if needed.
7238         [BZ #19592]
7239         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7240         high and low parts then use ldbl_canonicalize_int if needed.
7242         [BZ #17899]
7243         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7244         New function.
7245         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7246         on high and low parts then use ldbl_canonicalize_int if needed.
7248 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7250         * configure: Regenerated.
7252         * po/libc.pot: Regenerated.
7254         * po/be.po: Updated translation.
7255         * po/bg.po: Likewise.
7256         * po/ca.po: Likewise.
7257         * po/cs.po: Likewise.
7258         * po/da.po: Likewise.
7259         * po/el.po: Likewise.
7260         * po/eo.po: Likewise.
7261         * po/es.po: Likewise.
7262         * po/fi.po: Likewise.
7263         * po/fr.po: Likewise.
7264         * po/gl.po: Likewise.
7265         * po/hr.po: Likewise.
7266         * po/hu.po: Likewise.
7267         * po/ia.po: Likewise.
7268         * po/id.po: Likewise.
7269         * po/it.po: Likewise.
7270         * po/ja.po: Likewise.
7271         * po/lt.po: Likewise.
7272         * po/nb.po: Likewise.
7273         * po/nl.po: Likewise.
7274         * po/pt_BR.po: Likewise.
7275         * po/rw.po: Likewise.
7276         * po/sk.po: Likewise.
7277         * po/sl.po: Likewise.
7278         * po/sv.po: Likewise.
7279         * po/tr.po: Likewise.
7280         * po/zh_CN.po: Likewise.
7281         * po/zh_TW.po: Likewise.
7283         * version.h (RELEAES): Set to "development".
7284         (VERSION): Set to 2.23.90.
7286         * version.h (RELEASE): Set to "stable".
7287         (VERSION): Set to 2.23.
7288         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7290         * NEWS: Updated fixed bugs.
7292 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7293             Wilco Dijkstra  <wdijkstr@arm.com>
7295         [BZ #19462]
7296         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7297         (_STRING_INLINE_unaligned): This.
7298         * include/string.h: Include <string_private.h>.
7299         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7300         _STRING_INLINE_unaligned.
7301         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7302         (_STRING_INLINE_unaligned): New.
7303         * sysdeps/aarch64/string_private.h: New file.
7304         * sysdeps/generic/string_private.h: Likewise.
7305         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7306         * sysdeps/s390/string_private.h: Likewise.
7307         * sysdeps/x86/string_private.h: Likewise.
7308         * sysdeps/m68k/m680x0/m68020/bits/string.h
7309         (_STRING_ARCH_unaligned): Renamed to ...
7310         (_STRING_INLINE_unaligned): This.
7311         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7312         to ...
7313         (_STRING_INLINE_unaligned): This.
7314         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7315         to ...
7316         (_STRING_INLINE_unaligned): This.
7317         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7318         to ...
7319         (_STRING_INLINE_unaligned): This.
7321 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7322             H.J. Lu  <hongjiu.lu@intel.com>
7324         [BZ #19590]
7325         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7326         relocation.
7328 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7330         [BZ #18665]
7331         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7332         *herrno_p.
7333         (gaih_getanswer): Document functional behviour. Return tryagain
7334         if any result is tryagain.
7335         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7336         when freed.
7337         * resolv/res_send.c: Add copyright text.
7338         (__libc_res_nsend): Document that MAXPACKET is expected.
7339         (send_vc): Document. Remove buffer reuse.
7340         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7341         size of the buffer. Add Dprint for truncated UDP buffer.
7343 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7345         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7346         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7347         * INSTALL: Regenerate.
7349 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7350             Jonathan Wakely  <jwakely@redhat.com>
7351             Carlos O'Donell  <carlos@redhat.com>
7353         [BZ 19439]
7354         * math/Makefile (tests): Add test-math-isinff.
7355         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7356         * math/bits/mathcalls.h [__USE_MISC]: Use
7357         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7358         functions not in C++11 and which don't conflict e.g. isinff,
7359         isinfl etc.
7360         * math/test-math-isinff.cc: New file.
7362 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7364         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7366 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7368         [BZ #19529]
7369         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7371 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7373         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7375 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7377         [BZ #19550]
7378         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7379         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7380         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7381         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7382         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7383         New syscall entry.
7384         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7385         New syscall entry.
7386         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7387         syscall entry.
7389 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7391         [BZ #18240]
7392         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7393         unsigned int wraparound.
7395 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7397         [BZ #18240]
7398         * misc/bug18240.c: New test.
7399         * misc/Makefile (tests): Add it.
7401 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7402             Joseph Myers  <joseph@codesourcery.com>
7404         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7405         load in branch delay slot when less than a word of input left.
7407 2016-01-27  Andreas Schwab  <schwab@suse.de>
7409         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7410         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7411         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7412         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7414 2016-01-26  David S. Miller  <davem@davemloft.net>
7416         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7418 2016-01-25  David S. Miller  <davem@davemloft.net>
7420         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7421         __sqrtl_finite.
7422         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7423         instead using versioned_symbol.
7424         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7425         of entries.
7427         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7428         __sqrtl_finite to GLIBC_2.23
7430 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7432         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7434 2016-01-25  Andreas Schwab  <schwab@suse.de>
7436         [BZ #17514]
7437         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7438         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7439         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7440         * nptl/tst-mutex-errorcheck.c: New file.
7442 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7444         [BZ #18560]
7445         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7446         (IPCOP_semop): Likewise.
7447         (IPCOP_semget): Likewise.
7448         (IPCOP_semctl): Likewise.
7449         (IPCOP_msgsnd): Likewise.
7450         (IPCOP_msgrcv): Likewise.
7451         (IPCOP_msgget): Likewise.
7452         (IPCOP_msgctl): Likewise.
7453         (IPCOP_shmat): Likewise.
7454         (IPCOP_shmdt): Likewise.
7455         (IPCOP_shmget): Likewise.
7456         (IPCOP_shmctl): Likewise.
7458 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7460         * string/tst-endian.c: Include <libc-internal.h>.
7461         (do_test): Ignore tautological-compare warnings around
7462         "htobeXX (beXXtoh (i)) != i" and
7463         "htoleXX (leXXtoh (i)) != i" if-statements.
7465 2016-01-24  David S. Miller  <davem@davemloft.net>
7467         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7468         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7469         alias.
7470         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7471         __sqrtl_finite.
7473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7475 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7477         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7478         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7479         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7481 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7483         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7484         (thread_func): Use new function to simplify barrier check.
7485         (do_test): Use new function to simplify checking barrier exit
7486         code, and actually join the child thread.
7488 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7490         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7491         semicolon.
7492         (__libc_tend): Likewise.
7493         (__libc_tabort): Likewise.
7495 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7497         * sysdeps/nios2/libm-test-ulps: Update.
7498         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7499         (__gtsf2): Likewise.
7500         (__unorddf2): Likewise.
7501         (__unordsf2): Likewise.
7502         (__ledf2): Likewise.
7504 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7506         * nis/nis_table.c (__follow_path): Disable diagnostic for
7507         uninitialized variable that is a false positive for gcc 4.7.
7508         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7510 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7512         * sysdeps/nacl/lowlevellock-futex.h
7513         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7514         Always evaluate PRIVATE argument.
7516 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7518         [BZ #19490]
7519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7520         (pthread_cond_broadcast): Use ENTRY/END
7521         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7522         (pthread_cond_signal): Likewise.
7523         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7524         Likewise.
7525         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7526         Likewise.
7527         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7528         Likewise.
7530 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7532         * sysdeps/ieee754/dbl-64/s_finite.c
7533         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7534         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7535         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7536         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7537         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7540         (__gtsf2): Add as optional for libc.so.
7541         (__unordsf2): Likewise.
7542         (__signbit): Remove for libc.so.
7543         (__signbitl): Likewise.
7545 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7547         * iconvdata/bug-iconv11.c (test_ibm93x):
7548         Use %zu printf format specifier for size_t argument.
7550 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7552         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7553         already-recorded ulps.
7554         * sysdeps/arm/libm-test-ulps: Regenerated.
7555         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7556         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7557         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7559 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7560             Paul Pluzhnikov  <ppluzhnikov@google.com>
7562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7563         assembler not supporting AVX-512.
7565 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7567         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7569 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7571         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7572         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7574         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7576         * sysdeps/arm/libm-test-ulps: Regenerated.
7578 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7580         [BZ #19451]
7581         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7583 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7585         [BZ #19486]
7586         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7587         * sysdeps/generic/fix-fp-int-convert-overflow.h
7588         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7589         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7590         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7591         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7592         Likewise.
7593         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7594         Avoid conversions to long int where inexact exceptions
7595         could be raised.
7596         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7597         Likewise.
7598         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7599         Avoid conversions to long long int where inexact exceptions
7600         could be raised.
7601         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7602         Likewise.
7604 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7606         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7607         * configure: Regenerated.
7609 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7611         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7613 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7615         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7616         outside of comment.
7618 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7620         * nptl/tst-barrier1.c: Add description on first line.
7621         * nptl/tst-barrier2.c: Likewise.
7622         * nptl/tst-barrier3.c: Likewise.
7623         * nptl/tst-barrier4.c: Likewise.
7624         * nptl/tst-barrier5.c: Likewise.
7626 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7628         [BZ #18868]
7629         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7631 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7635         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7636         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7637         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7638         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7639         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7640         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7641         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7642         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7643         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7645 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7647         [BZ #13065]
7648         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7649         new implementation.
7650         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7651         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7652         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7653         (BARRIER_IN_THRESHOLD): New macro.
7654         * nptl/pthread_barrierattr_setpshared.c
7655         (pthread_barrierattr_setpshared): Clean up.
7656         * nptl/tst-barrier4.c: Correct comment.
7657         * nptl/tst-barrier5.c: New file.
7658         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7659         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7660         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7661         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7662         * nptl/lowlevelbarrier.sym: Remove.
7663         * nptl/DESIGN-barrier.txt: Remove.
7664         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7665         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7666         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7667         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7668         error.
7669         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7670         implementation.
7672 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7674         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7675         (do_child): Mask SIGRTMIN while thr is running.
7677 2016-01-15  Martin Sebor  <msebor@redhat.com>
7679         [BZ #19432]
7680         * iconvdata/Makefile: Add bug-iconv11.
7681         * iconvdata/bug-iconv11.c: New test.
7682         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7683         * iconvdata/ibm933.c: Same.
7684         * iconvdata/ibm935.c: Same.
7685         * iconvdata/ibm937.c: Same.
7686         * iconvdata/ibm939.c: Same.
7688 2016-01-15  Martin Sebor  <msebor@redhat.com>
7690         [BZ #19443]
7691         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7692         [DEBUG] (_ufc_set_bits): Declare used.
7693         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7694         [DEBUG] (print_all): Declare used.
7695         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7696         operands of the ternary ?: expression to target type.
7697         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7698         calling the undeclared abort.
7699         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7701 2016-01-15  Martin Sebor  <msebor@redhat.com>
7703         [BZ #18755]
7704         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7705         warnings.
7706         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7707         (__gai_create_helper_thread): Same.
7708         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7709         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7710         to suppress -Wmaybe-uninitialized warnings.
7712 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7714         [BZ #19465]
7715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7716         inside if.
7717         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7718         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7719         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7721 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7723         [BZ #19466]
7724         * time/tst-mktime2.c (time_t_max): Removed.
7725         (time_t_min): Likewise.
7726         (TYPE_SIGNED): New.
7727         (TYPE_MINIMUM): Likewise.
7728         (TYPE_MAXIMUM): Likewise.
7729         (TIME_T_MIN): Likewise.
7730         (TIME_T_MAX): Likewise.
7731         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7732         and TIME_T_MIN.
7733         (do_test): Likewise.
7735 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7737         [BZ #19467]
7738         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7739         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7741 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7743         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7745 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7747         * benchtests/Makefile (PYTHON): Define.
7748         (bench-func): Use $(PYTHON) to run python scripts.
7749         ($(objpfx)bench-%.c): Likewise.
7751 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7753         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7754         leading slash when `file_name' is "/".
7756 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7758         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7759         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7760         Likewise.
7761         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7762         Likewise.
7763         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7764         Likewise.
7765         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7766         enum constant and macro.
7767         (PTRACE_SETSIGMASK): Likewise.
7768         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7769         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7770         (PTRACE_GETSIGMASK): Likewise.
7771         (PTRACE_SETSIGMASK): Likewise.
7772         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7773         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7774         Likewise.
7775         (PTRACE_SETSIGMASK): Likewise.
7776         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7777         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7778         (PTRACE_GETSIGMASK): Likewise.
7779         (PTRACE_SETSIGMASK): Likewise.
7780         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7781         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7782         Likewise.
7783         (PTRACE_SETSIGMASK): Likewise.
7784         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7785         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7786         Likewise.
7787         (PTRACE_SETSIGMASK): Likewise.
7788         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7789         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7790         Likewise.
7791         (PTRACE_SETSIGMASK): Likewise.
7792         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7794 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7795             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7797         [BZ #19439]
7798         * math/bits/mathcalls.h
7799         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7800         prototype.
7801         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7803 2016-01-11  Andreas Schwab  <schwab@suse.de>
7805         [BZ #19253]
7806         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7807         cache when TZDEFRULES was used.
7808         * time/tst-tzname.c: New file.
7809         * time/Makefile (test): Add tst-tzname.
7810         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7811         * timezone/Makefile (test-zones): Add $(posixrules-file).
7812         ($(testdata)/$(posixrules-file)): New rule.
7814 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7816         Fix doc quoting problems with Texinfo 5
7817         Without this change, in the info file output, Texinfo 5 quotes code
7818         in text with undirected single quotes 'like this' and generates
7819         code examples that with many PDF readers cannot be cut out of PDFs
7820         and pasted into code.
7821         * manual/libc.texinfo: Configure the libc manual like the GNU
7822         Emacs manual, by using @documentencoding and setting
7823         txicodequoteundirected and txicodequotebacktick.  This way,
7824         Texinfo 5 quotes code in text with directed single quotes ‘like
7825         this’ and produces examples that can be cut out of PDFs.  This
7826         change causes Texinfo 5 to generate info files that contain UTF-8
7827         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7828         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7830 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7832         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7833         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7834         barriers to their respective compiler built-ins.
7835         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7836         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7837         * sysdeps/powerpc/sysdep.h: Likewise.
7838         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7839         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7840         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7842 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7844         * scripts/config.guess: Revert previous shebang change.
7845         * scripts/config.sub: Likewise.
7846         * scripts/mkinstalldirs: Likewise.
7848 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7850         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7851         PPC_FEATURE2_HAS_IEEE128.
7852         * sysdeps/powerpc/dl-procinfo.c:
7853         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7855 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7857         [BZ #19415]
7858         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7859         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7860         (_dl_lookup_address): Rewrite using function resolver trampoline.
7861         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7862         two bits in address.
7864 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7866         * longlong.h: Change !__SHMEDIA__ to
7867         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7868         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7870 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7871             Joseph Myers  <joseph@codesourcery.com>
7872             Mark Shinwell  <shinwell@codesourcery.com>
7873             Andrew Stubbs  <ams@codesourcery.com>
7874             Rich Felker <dalias@libc.org>
7876         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7878 2016-01-07  Richard Henderson  <rth@redhat.com>
7880         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7882 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7884         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7885         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7886         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7887         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7888         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7890 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7891             Joseph Myers  <joseph@codesourcery.com>
7893         * timezone/private.h: Update from tzcode 2015g.
7894         * timezone/tzfile.h: Likewise.
7895         * timezone/tzselect.ksh: Likewise.
7896         * timezone/zdump.c: Likewise.
7897         * timezone/zic.c: Likewise.
7898         * timezone/ialloc.c: Remove file.
7899         * timezone/scheck.c: Likewise.
7900         * timezone/Makefile (extra-objs): Remove variable.
7901         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7902         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7903         -Wno-maybe-uninitialized.
7904         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7905         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7906         (CFLAGS-ialloc.c): Remove variable.
7907         (CFLAGS-scheck.c): Likewise.
7908         * timezone/README: Update list of files from tzcode.
7910 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7912         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7913         instead of __fxprintf when _LIBC is undefined.
7915 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7917         * catgets/test-gencat.sh: Remove space after shebang.
7918         * conform/GlibcConform.pm: Likewise.
7919         * conform/check-header-lists.sh: Likewise.
7920         * conform/conformtest.pl: Likewise.
7921         * conform/linknamespace.pl: Likewise.
7922         * conform/list-header-symbols.pl: Likewise.
7923         * debug/catchsegv.sh: Likewise.
7924         * elf/genrtldtbl.awk: Likewise.
7925         * elf/tst-pathopt.sh: Likewise.
7926         * elf/tst-rtld-load-self.sh: Likewise.
7927         * grp/tst_fgetgrent.sh: Likewise.
7928         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7929         * iconvdata/gen-8bit-gap.sh: Likewise.
7930         * iconvdata/gen-8bit.sh: Likewise.
7931         * iconvdata/run-iconv-test.sh: Likewise.
7932         * intl/tst-gettext.sh: Likewise.
7933         * intl/tst-gettext2.sh: Likewise.
7934         * intl/tst-gettext4.sh: Likewise.
7935         * intl/tst-gettext6.sh: Likewise.
7936         * intl/tst-translit.sh: Likewise.
7937         * io/ftwtest-sh: Likewise.
7938         * libio/test-freopen.sh: Likewise.
7939         * locale/gen-translit.pl: Likewise.
7940         * malloc/tst-mtrace.sh: Likewise.
7941         * manual/check-safety.sh: Likewise.
7942         * manual/libc-texinfo.sh: Likewise.
7943         * manual/tsort.awk: Likewise.
7944         * manual/xtract-typefun.awk: Likewise.
7945         * nptl/tst-cancel-wrappers.sh: Likewise.
7946         * nptl/tst-tls6.sh: Likewise.
7947         * posix/globtest.sh: Likewise.
7948         * posix/tst-getconf.sh: Likewise.
7949         * posix/wordexp-tst.sh: Likewise.
7950         * scripts/check-c++-types.sh: Likewise.
7951         * scripts/check-local-headers.sh: Likewise.
7952         * scripts/config.guess: Likewise.
7953         * scripts/config.sub: Likewise.
7954         * scripts/cpp: Likewise.
7955         * scripts/cross-test-ssh.sh: Likewise.
7956         * scripts/documented.sh: Likewise.
7957         * scripts/evaluate-test.sh: Likewise.
7958         * scripts/gen-libc-abis: Likewise.
7959         * scripts/gen-sorted.awk: Likewise.
7960         * scripts/list-fixed-bugs.py: Likewise.
7961         * scripts/merge-test-results.sh: Likewise.
7962         * scripts/mkinstalldirs: Likewise.
7963         * scripts/rellns-sh: Likewise.
7964         * scripts/test-installation.pl: Likewise.
7965         * scripts/update-copyrights: Likewise.
7966         * stdio-common/tst-printf.sh: Likewise.
7967         * stdio-common/tst-unbputc.sh: Likewise.
7968         * stdlib/tst-fmtmsg.sh: Likewise.
7969         * stdlib/tst-setcontext3.sh: Likewise.
7970         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7971         * sysdeps/unix/make-syscalls.sh: Likewise.
7973 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7975         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7976         asm stw with atomic_exchange_rel.  Add explanatory comment.
7977         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7978         Likewise.
7980 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7982         [BZ #19122]
7983         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7984         * sysdeps/generic/dl-unistd.h: New file.
7985         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7987 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7989          [BZ #19122]
7990          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7991          * sysdeps/generic/dl-mman.h: New file.
7992          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7994 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7996         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7997         trailing whitespace removed.
7998         * scripts/config.guess: Update to version 2016-01-01.
7999         * scripts/config.sub: Update to version 2016-01-01.
8000         * scripts/move-if-change: Update from gnulib.
8002 2016-01-04  Anton Blanchard  <anton@samba.org>
8004         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8005         for array indices.
8006         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8008 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8010         * NEWS: Update copyright dates.
8011         * catgets/gencat.c (print_version): Likewise.
8012         * csu/version.c (banner): Likewise.
8013         * debug/catchsegv.sh: Likewise.
8014         * debug/pcprofiledump.c (print_version): Likewise.
8015         * debug/xtrace.sh (do_version): Likewise.
8016         * elf/ldconfig.c (print_version): Likewise.
8017         * elf/ldd.bash.in: Likewise.
8018         * elf/pldd.c (print_version): Likewise.
8019         * elf/sotruss.sh: Likewise.
8020         * elf/sprof.c (print_version): Likewise.
8021         * iconv/iconv_prog.c (print_version): Likewise.
8022         * iconv/iconvconfig.c (print_version): Likewise.
8023         * locale/programs/locale.c (print_version): Likewise.
8024         * locale/programs/localedef.c (print_version): Likewise.
8025         * login/programs/pt_chown.c (print_version): Likewise.
8026         * malloc/memusage.sh (do_version): Likewise.
8027         * malloc/memusagestat.c (print_version): Likewise.
8028         * malloc/mtrace.pl: Likewise.
8029         * manual/libc.texinfo: Likewise.
8030         * nptl/version.c (banner): Likewise.
8031         * nscd/nscd.c (print_version): Likewise.
8032         * nss/getent.c (print_version): Likewise.
8033         * nss/makedb.c (print_version): Likewise.
8034         * posix/getconf.c (main): Likewise.
8035         * scripts/test-installation.pl: Likewise.
8036         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8038         * All files with FSF copyright notices: Update copyright dates
8039         using scripts/update-copyrights.
8040         * intl/plural.c: Regenerated.
8041         * locale/programs/charmap-kw.h: Likewise.
8042         * locale/programs/locfile-kw.h: Likewise.
8044 2016-01-02  Helge Deller  <deller@gmx.de>
8046         [BZ #19285]
8047         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8048         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8049         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8050         (MADV_xxK_PAGES): Remove.
8052 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8054         [BZ #15421]
8055         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8056         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8057         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8058         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8060 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8062         [BZ #19408]
8063         * sysdeps/unix/sysv/linux/personality.c: New file.
8064         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8065         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8066         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8067         (sysdep_routines): Add personality.
8068         (tests): Add tst-personality.
8069         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8071         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8072         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8073         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8074         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8075         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8076         Likewise.
8077         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8078         Likewise.
8079         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8080         Likewise.
8081         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8082         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8083         Likewise.
8085 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8087         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8088         (PATH_ARM_SYSTYPE): Remove.
8089         (PATH_CPUINFO): Likewise.
8090         (IO_BASE_FOOTBRIDGE): Likewise.
8091         (IO_SHIFT_FOOTBRIDGE): Likewise.
8092         (struct platform): Likewise.
8093         (init_iosys): Remove compatibility code for 2.4 kernels.
8094         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8096 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8098         * malloc/tst-malloc-thread-fail.c: New file.
8099         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8100         (tst-malloc-thread-fail): Link against libpthread.
8102 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8104         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8105         (get_parser): New function.
8106         (main): New function.
8108 2015-12-29  Rob Wu  <rob@robwu.nl>
8110         [BZ #19369]
8111         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8113 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8115         [BZ #19270]
8116         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8118 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8120         [BZ #15421]
8121         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8123 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8125         [BZ #13690]
8126         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8127         after releasing it.
8128         (__lll_robust_unlock): Likewise.
8129         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8130         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8131         (lll_robust_unlock): Likewise.
8132         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8133         Prevent warnings in callers.
8135 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8137         * malloc/arena.c (list_lock): Update comment.
8139 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8141         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8142         __parse_hwcap_and_convert_at_platform to libc.a.
8144 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8146         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8147         platform and feature support for POWER9.
8148         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8149         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8150         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8151         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8152         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8153         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8154         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8155         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8157 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8159         Harmonize generic stdio-lock support with nptl
8161         This fixes build when _IO_funlockfile is a macro, fixes build where
8162         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8163         stack unwind.
8165         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8166         _IO_release_lock ): Use cleanup attribute on new
8167         _IO_acquire_lock_file variable instead of assuming that
8168         _IO_release_lock will be called.
8169         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8170         _IO_acquire_lock_needs_exceptions_enabled.
8171         (_IO_acquire_lock_clear_flags2): New macro.
8173 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8175         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8177 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8179         [BZ #19182]
8180         * malloc/arena.c (list_lock): Document lock ordering requirements.
8181         (free_list_lock): New lock.
8182         (ptmalloc_lock_all): Comment on free_list_lock.
8183         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8184         (detach_arena): Update comment.  free_list_lock is now needed.
8185         (_int_new_arena): Use free_list_lock around detach_arena call.
8186         Acquire arena lock after list_lock.  Add comment, including FIXME
8187         about incorrect synchronization.
8188         (get_free_list): Switch to free_list_lock.
8189         (reused_arena): Acquire free_list_lock around detach_arena call
8190         and attached threads counter update.  Add two FIXMEs about
8191         incorrect synchronization.
8192         (arena_thread_freeres): Switch to free_list_lock.
8193         * malloc/malloc.c (struct malloc_state): Update comments to
8194         mention free_list_lock.
8196 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8198         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8199         Remove functions.
8200         (sloww, sloww1): Accept argument to offset quadrant.
8201         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8202         quadrant.
8203         (__sin, __cos): Consolidate common code into new functions.
8204         (reduce_sincos_1, do_sincos_1): New functions.
8205         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8208         code to new functions.
8209         (reduce_sincos_2, do_sincos_2): New functions.
8210         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8212         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8213         common code for sincos.
8214         (__cos) [!IN_SINCOS]: Likewise.
8215         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8216         New function.
8217         (__sincos): Use it.
8219 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8221         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8222         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8223         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8225 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8227         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8230         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8231         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8232         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8233         index_Prefer_No_VZEROUPPER): New feature.
8234         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8235         Prefer_No_VZEROUPPER for Knights Landing.
8237 015-12-18  Torvald Riegel  <triegel@redhat.com>
8239         * math/atest-exp2.c (mp_exp_m1): Remove.
8241 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8243         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8244         syscalls.
8245         (__SYSCALL0): New macro.
8246         (__SYSCALL1): Likewise.
8247         (__SYSCALL2): Likewise.
8248         (__SYSCALL3): Likewise.
8249         (__SYSCALL4): Likewise.
8250         (__SYSCALL5): Likewise.
8251         (__SYSCALL6): Likewise.
8252         (__SYSCALL_CONCAT_X): Likewise.
8253         (__SYSCALL_CONCAT): Likewise.
8254         (__SYSCALL_DIST): Likewise.
8255         (__SYSCALL_CALL): Likewise.
8257 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8259         [BZ #19363]
8260         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8262 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8264         [BZ #19375]
8265         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8266         negative subnormals.
8268 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8271         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8272         (INTERNAL_SYSCALL_NCS): Use it.
8273         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8275 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8277         [BZ #19243]
8278         * malloc/arena.c (get_free_list): Remove assert and adjust
8279         reference count handling.  Add comment about reused_arena
8280         interaction.
8281         (reused_arena): Add comments abount get_free_list interaction.
8282         * malloc/tst-malloc-thread-exit.c: New file.
8283         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8284         (tst-malloc-thread-exit): Link against libpthread.
8286 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8288         [BZ #19367]
8289         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8290         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8291         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8292         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8293         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8295 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8297         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8298         Silvermont optimizations for Knights Landing.
8300 2015-12-15  Andreas Schwab  <schwab@suse.de>
8302         [BZ #17197]
8303         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8304         immediately after emitting SI.
8305         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8306         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8307         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8308         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8309         * iconvdata/bug-iconv10.c: New file.
8310         * iconvdata/Makefile (tests): Add bug-iconv10.
8311         ($(objpfx)bug-iconv10.out): New rule.
8313 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8315         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8316         aliasing violation.
8318 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8320         [BZ #18472]
8321         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8322         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8323         conditionals for them.
8324         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8325         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8327         sys/kdaemon.h.
8328         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8329         compat-only syscall, obsoleted in glibc 2.23.
8330         (create_module): Likewise.
8331         (get_kernel_syms): Likewise.
8332         (query_module): Likewise.
8333         (uselib): Likewise.
8334         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8336 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8338         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8339         <linux/version.h>.
8340         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8341         conditional code.
8342         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8343         and ioshift_name initialization.
8345 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8347         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8348         Fix indentation.
8350 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8352         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8354 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8356         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8358 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8359             Jakub Wilk  <jwilk@debian.org>
8361         [BZ #19347]
8362         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8363         to change the group of the device to the tty group.
8365 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8367         Split large string section; add truncation advice
8368         * manual/examples/strncat.c: Remove.
8369         This example was misleading, as the code would have undefined
8370         behavior if "hello" was longer than SIZE.  Anyway, the manual
8371         shouldn't encourage strncpy+strncat for this sort of thing.
8372         * manual/string.texi (Copying Strings and Arrays): Split into
8373         three sections Copying Strings and Arrays, Concatenating Strings,
8374         and Truncating Strings, as this section was way too long.  All
8375         cross-referenced changed.  Add advice about string-truncation
8376         functions.  Remove misleading strncat example.
8378 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8380         * manual/nss.texi (NSS Modules Interface): Document
8381         NSS_STATUS_NOTFOUND and SUCCESS.
8383 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8385         [BZ 18568]
8386         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8387         201505L, for Unicode 8.
8389 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8391         * locale/C-translit.h: Regenerate.
8393 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8395         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8396         and U+0153.
8398 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8400         [BZ #19351]
8401         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8402         expanding log(1+z), compare z rather than its square with epsilon
8403         to determine when to avoid evaluating the expansion.
8405         [BZ #19350]
8406         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8407         Increase overflow threshold.
8409         [BZ #19349]
8410         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8411         when small.
8413         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8414         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8415         New macro.
8416         [__LINUX_KERNEL_VERSION >= 0x040300]
8417         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8419         Likewise.
8420         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8421         Likewise.
8422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8423         Likewise.
8424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8425         Likewise.
8426         [__LINUX_KERNEL_VERSION >= 0x040300]
8427         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8428         [__LINUX_KERNEL_VERSION >= 0x040300]
8429         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8430         [__LINUX_KERNEL_VERSION >= 0x040300]
8431         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8432         [__LINUX_KERNEL_VERSION >= 0x040300]
8433         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8434         [__LINUX_KERNEL_VERSION >= 0x040300]
8435         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8436         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8437         Likewise.
8438         [__LINUX_KERNEL_VERSION >= 0x040300]
8439         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8440         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8441         Likewise.
8442         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8443         Likewise.
8444         [__LINUX_KERNEL_VERSION >= 0x040300]
8445         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8446         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8447         Likewise.
8448         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8449         Likewise.
8450         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8451         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8452         Likewise.
8453         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8454         Likewise.
8455         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8456         Likewise.
8457         [__LINUX_KERNEL_VERSION >= 0x040300]
8458         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8459         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8460         Likewise.
8461         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8462         Likewise.
8463         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8464         Likewise.
8465         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8466         Likewise.
8467         [__LINUX_KERNEL_VERSION >= 0x040300]
8468         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8469         [__LINUX_KERNEL_VERSION >= 0x040300]
8470         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8471         [__LINUX_KERNEL_VERSION >= 0x040300]
8472         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8473         [__LINUX_KERNEL_VERSION >= 0x040300]
8474         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8475         [__LINUX_KERNEL_VERSION >= 0x040300]
8476         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8478         Likewise.
8479         [__LINUX_KERNEL_VERSION >= 0x040300]
8480         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8481         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8482         Likewise.
8483         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8484         Likewise.
8485         [__LINUX_KERNEL_VERSION >= 0x040300]
8486         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8487         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8488         Likewise.
8489         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8490         Likewise.
8491         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8492         (__ASSUME_SOCKET_SYSCALL): Likewise.
8493         (__ASSUME_BIND_SYSCALL): Likewise.
8494         (__ASSUME_CONNECT_SYSCALL): Likewise.
8495         (__ASSUME_LISTEN_SYSCALL): Likewise.
8496         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8497         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8498         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8499         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8500         (__ASSUME_SEND_SYSCALL): Likewise.
8501         (__ASSUME_SENDTO_SYSCALL): Likewise.
8502         (__ASSUME_RECV_SYSCALL): Likewise.
8503         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8504         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8505         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8506         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8507         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8508         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8509         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8510         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8511         Likewise.
8512         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8513         Likewise.
8514         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8515         Likewise.
8516         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8517         Likewise.
8518         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8519         Likewise.
8520         [__LINUX_KERNEL_VERSION >= 0x020625]
8521         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8522         [__LINUX_KERNEL_VERSION >= 0x020625]
8523         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8524         [__LINUX_KERNEL_VERSION >= 0x020625]
8525         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8526         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8527         Likewise.
8528         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8529         Likewise.
8530         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8531         Likewise.
8532         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8533         Likewise.
8534         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8535         Likewise.
8536         [__LINUX_KERNEL_VERSION >= 0x020625]
8537         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8538         [__LINUX_KERNEL_VERSION >= 0x020625]
8539         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8540         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8541         Likewise.
8542         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8543         Likewise.
8545 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8547         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8548         record the current if the current ABI and CPU support the FP64
8549         extension.
8550         (has-modd-spreg): Define to record the current if the current ABI and
8551         CPU support 32-bit floating point values in odd FPU registers.
8552         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8553         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8554         $(has-modd-spreg) equals yes.
8555         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8556         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8557         $(has-modd-spreg) equal yes.
8559 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8561         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8562         basename.
8564 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8566         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8567         (bench-string): ... here.
8568         (bench): Add bench-string.
8569         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8570         to *-benchset to reflect what they are.
8571         (benchset): Adjust.
8573         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8574         cos-inputs.
8576 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8578         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8579         __attribute__ ((__simd__)) for vector math function declarations.
8581 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8583         Fix typo in strncat, wcsncat manual entries
8584         * manual/string.texi (Copying and Concatenation): Fix typos in
8585         sample implementations of strncat and wcsncat, by having them use
8586         the old value of the destination length, not the new one.
8588 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8590         [BZ #16961]
8591         [BZ #16962]
8592         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8593         string on the stack for strtod.
8594         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8595         a string on the stack for strtof.
8596         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8597         constructing a string on the stack for strtold.
8598         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8599         __strtold_nan to GLIBC_PRIVATE.
8600         * math/test-nan-overflow.c: New file.
8601         * math/test-nan-payload.c: Likewise.
8602         * math/Makefile (tests): Add test-nan-overflow and
8603         test-nan-payload.
8605 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8607         Consistency about byte vs character in string.texi
8608         * manual/string.texi (String and Array Utilities):
8609         Distinguish more carefully among bytes, multibyte characters,
8610         and wide characters.  Use "byte" when talking about C 'char',
8611         to distinguish it more clearly from multibyte characters.
8612         Say "wide character" or "multibyte character" instead of
8613         "character", when a wide or multibyte character is intended.
8614         Similarly for "multibyte string" versus "string".
8615         Define these terms more carefully.
8617 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8619         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8620         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8621         Likewise.
8622         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8623         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8624         * sysdeps/sh/math_private.h: New file.
8625         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8626         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8627         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8628         long double function name.
8629         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8630         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8631         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8635         Remove __finitel, __isinfl, and __isnanl.
8636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8637         Likewise.
8638         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8640         Remove __finitel.
8641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8642         Likewise.
8643         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8645 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8647         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8648         installed libmvec_nonshared.a.
8650 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8652         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8653         (sysdep_routines): Likewise.
8654         (sysdep-rtld-routines): Likewise.
8655         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8656         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8657         * sysdeps/powerpc/Versions: Added new
8658         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8659         * sysdeps/powerpc/hwcapinfo.c: New file.
8660         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8661         and parse hwcap, hwcap2 and platform number information.
8662         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8663         to store HWCAP+HWCAP2 and platform number.
8664         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8665         for HWCAP+HWCAP2 and platform number in the TCB.
8666         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8667         the HWCAP, HWCAP2 and platform number in the TCB.
8668         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8669         (TLS_INIT_TP): Included calls to add the hwcap and
8670         at_platform values in the TCB in TP initialization.
8671         (TLS_DEFINE_INIT_TP): Likewise.
8672         (THREAD_GET_HWCAP): New macro.
8673         (THREAD_SET_HWCAP): Likewise.
8674         (THREAD_GET_AT_PLATFORM): Likewise.
8675         (THREAD_SET_AT_PLATFORM): Likewise.
8676         * sysdeps/powerpc/powerpc32/dl-machine.h:
8677         (dl_platform_init): New function that calls
8678         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8679         powerpc32.
8680         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8681         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8682         this functionality, static linking case.
8683         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8684         linking case.
8685         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8686         __parse_hwcap_and_convert_at_platform for the static linking case.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8688         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8689         ABI list for GLIBC 2.23.
8690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8691         Likewise.
8692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8693         Likewise.
8695 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8697         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8698         * configure: Regenerate.
8699         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8700         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8702 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8704         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8705         * iconvdata/ibm933.c: Likewise.
8706         * iconvdata/ibm935.c: Likewise.
8707         * iconvdata/ibm937.c: Likewise.
8708         * iconvdata/ibm939.c: Likewise.
8710 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8712         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8713         pthread_join.
8714         * nptl/tst-cancel21.c (tf): Likewise.
8716 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8718         [BZ #19313]
8719         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8720         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8721         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8722         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8723         Likewise.
8724         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8725         Likewise.
8726         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8727         Likewise.
8728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8729         Likewise.
8730         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8731         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8732         unsigned long int with __CPU_MASK_TYPE.
8734 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8736         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8738 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8740         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8741         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8742         t512.x.
8743         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8745 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8747         [BZ #19214]
8748         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8749         argument to return extended model.  Update family and model
8750         with extended family and model when family == 0x0f.
8751         (init_cpu_features): Updated.
8753 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8755         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8756         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8758         * sysdeps/mach/hurd/mmap64.c: New file.
8760 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8762         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8763         rights for its main user thread in NEWTASK.
8765 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8767         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8768         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8770 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8772         [BZ #14259]
8773         * Makeconfig: Rename localedir to complocaledir.
8774         Rename inst_localedir to inst_complocaledir.
8775         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8776         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8777         * configure.ac: Use libc_cv_complocaledir.
8778         * configure: Regenerate.
8779         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8780         -DCOMPLOCALEDIR.
8781         * locale/findlocale.c: Use COMPLOCALEDIR.
8782         * locale/loadarchive.c: Likewise.
8783         * locale/programs/locale.c: Likewise.
8784         * locale/programs/localedef.c: Likewise.
8785         * locale/programs/locarchive.c: Likewise.
8786         * localedata/Makefile: Use inst_complocaledir.
8787         * sysdeps/gnu/configure: Regenerate.
8788         * sysdeps/hppa/configure: Regenerate.
8789         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8790         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8792         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8793         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8794         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8795         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8797 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8799         [BZ #19058]
8800         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8801         AS_NEEDED.
8802         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8803         workaround.
8804         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8805         libmvec-static-only-routines): Added new file.
8806         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8808 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8810         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8811         of interrupted RPC instead of restoring it.
8813         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8814         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8815         libc_hidden_def.
8816         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8817         into initialized data instead of common. Define rtld_hidden_data_def.
8818         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8819         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8820         libc_hidden_def.
8821         (if_freenameindex): Add libc_hidden_weak.
8822         (if_nameindex): Add libc_hidden_weak.
8823         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8824         __open64.
8825         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8826         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8827         * sysdeps/mach/nanosleep.c: Include <time.h>
8828         (__nanosleep): Rename to __libc_nanosleep.
8829         (__nanosleep): Add weak_alias.
8830         (nanosleep): Update alias.
8832 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8834         * stdlib/strtod_nan.c: New file.
8835         * stdlib/strtod_nan_double.h: Likewise.
8836         * stdlib/strtod_nan_float.h: Likewise.
8837         * stdlib/strtod_nan_main.c: Likewise.
8838         * stdlib/strtod_nan_narrow.h: Likewise.
8839         * stdlib/strtod_nan_wide.h: Likewise.
8840         * stdlib/strtof_nan.c: Likewise.
8841         * stdlib/strtold_nan.c: Likewise.
8842         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8843         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8844         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8845         * wcsmbs/wcstod_nan.c: Likewise.
8846         * wcsmbs/wcstof_nan.c: Likewise.
8847         * wcsmbs/wcstold_nan.c: Likewise.
8848         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8849         strtold_nan.
8850         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8851         wcstof_nan.
8852         * include/stdlib.h (__strtof_nan): Declare and use
8853         libc_hidden_proto.
8854         (__strtod_nan): Likewise.
8855         (__strtold_nan): Likewise.
8856         (__wcstof_nan): Likewise.
8857         (__wcstod_nan): Likewise.
8858         (__wcstold_nan): Likewise.
8859         * include/wchar.h (____wcstoull_l_internal): Declare.
8860         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8861         (____strtoull_l_internal): Remove declaration.
8862         (STRTOF_NAN): Define macro.
8863         (SET_MANTISSA): Remove macro.
8864         (STRTOULL): Likewise.
8865         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8866         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8867         (STRTOF_NAN): Define macro.
8868         (SET_MANTISSA): Remove macro.
8869         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8870         (SET_MANTISSA): Remove macro.
8871         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8872         macro.
8873         (SET_MANTISSA): Remove macro.
8874         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8875         macro.
8876         (SET_MANTISSA): Remove macro.
8877         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8878         (SET_MANTISSA): Remove macro.
8879         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8880         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8881         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8883         [BZ #19266]
8884         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8885         upper case and lower case letters inside NAN(), not using TOLOWER.
8886         * stdlib/tst-strtod-nan-locale-main.c: New file.
8887         * stdlib/tst-strtod-nan-locale.c: Likewise.
8888         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8889         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8890         Depend on $(gen-locales).
8891         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8892         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8893         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8894         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8895         Depend on $(gen-locales).
8896         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8898 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8900         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8902         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8904         __finitel, __isinfl, and __isnanl.
8905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8906         Likewise.
8907         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8909         __finitel.
8910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8911         Likewise.
8912         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8914 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8916         * malloc/memusage.c (me): Remove redundant getenv call.
8918 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8920         [BZ #19143]
8921         [BZ #19164]
8922         * nptl/check-cpuset.h: Remove.
8923         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8924         Remove CPU set size check.
8925         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8926         Likewise.
8927         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8928         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8929         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8930         (__pthread_setaffinity_new): Remove CPU set size check.
8931         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8932         (__kernel_cpumask_size): Remove.
8933         (__sched_setaffinity_new): Remove CPU set size check.
8934         * manual/threads.texi (Default Thread Attributes): Remove stale
8935         reference to check_cpuset_attr, determine_cpumask_size in comment.
8936         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8937         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8938         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8939         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8940         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8941         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8942         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8943         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8944         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8945         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8946         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8947         skeleton test file.
8948         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8949         tst-affinity-pid.
8951 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8953         * scripts/update-abilist.sh: New file.
8954         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8955         * Makerules (update-all-abi-%, update-all-abi)
8956         (subdir_update-all-abi): New targets.
8957         * elf/Makefile (update-all-abi): New target.
8959 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8961         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8962         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8963         (__libc_lock_define_initialized): Use it.
8964         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8965         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8966         * malloc/malloc.c (main_arena): Likewise.
8967         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8968         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8970 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8972         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8973         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8974         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8975         (PTRACE_O_MASK): Update value.
8976         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8977         New value in enum __ptrace_setoptions.
8978         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8979         (PTRACE_O_MASK): Update value.
8980         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8981         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8982         (PTRACE_O_MASK): Update value.
8983         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8984         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8985         (PTRACE_O_MASK): Update value.
8986         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8987         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8988         (PTRACE_O_MASK): Update value.
8989         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8990         New value in enum __ptrace_setoptions.
8991         (PTRACE_O_MASK): Update value.
8992         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8993         New value in enum __ptrace_setoptions.
8994         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8995         (PTRACE_O_MASK): Update value.
8997         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8998         New macro.
8999         (PACKET_AUXDATA): Likewise.
9000         (PACKET_ORIGDEV): Likewise.
9001         (PACKET_VERSION): Likewise.
9002         (PACKET_HDRLEN): Likewise.
9003         (PACKET_RESERVE): Likewise.
9004         (PACKET_TX_RING): Likewise.
9005         (PACKET_LOSS): Likewise.
9006         (PACKET_VNET_HDR): Likewise.
9007         (PACKET_TX_TIMESTAMP): Likewise.
9008         (PACKET_TIMESTAMP): Likewise.
9009         (PACKET_FANOUT): Likewise.
9010         (PACKET_TX_HAS_OFF): Likewise.
9011         (PACKET_QDISC_BYPASS): Likewise.
9012         (PACKET_ROLLOVER_STATS): Likewise.
9013         (PACKET_FANOUT_DATA): Likewise.
9014         (PACKET_MR_UNICAST): Likewise.
9016         [BZ #19242]
9017         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9018         (TOUPPER): Likewise.
9019         * stdlib/tst-strtol-locale-main.c: New file.
9020         * stdlib/tst-strtol-locale.c: Likewise.
9021         * stdlib/Makefile (tests): Add tst-strtol-locale.
9022         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9023         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9024         Depend on $(gen-locales).
9025         * wcsmbs/tst-wcstol-locale.c: New file.
9026         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9027         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9028         tr_TR.ISO-8859-9.
9029         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9030         Depend on $(gen-locales).
9032 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9034         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9035         __glibc_likely instead of __builtin_expect.  After falling back to
9036         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9037         system interface to register the code pages as occupied.
9039 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9041         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9042         [!ARM_MATH_PRIVATE_H].
9043         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9044         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9045         [!HPPA_MATH_PRIVATE_H].
9046         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9047         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9048         to [!I386_MATH_PRIVATE_H].
9049         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9050         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9051         Change guard to [!M68K_MATH_PRIVATE_H].
9052         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9053         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9054         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9055         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9056         macro.
9057         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9058         [!MIPS_MATH_PRIVATE_H].
9059         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9060         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9061         [!NIO2_MATH_PRIVATE_H].
9062         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9063         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9064         [!TILE_MATH_PRIVATE_H].
9065         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9067         [BZ #15421]
9068         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9069         initialize with 0 and define as weak alias of __signgam.
9070         * include/math.h [!_ISOMAC] (__signgam): Declare.
9071         * math/Makefile (libm-calls): Add w_lgamma_compat.
9072         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9073         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9074         test-signgam-ullong-init.
9075         (tests-static): Add test-signgam-uchar-static,
9076         test-signgam-uchar-init-static, test-signgam-uint-static,
9077         test-signgam-uint-init-static, test-signgam-ullong-static and
9078         test-signgam-ullong-init-static.
9079         (CFLAGS-test-signgam-uchar.c): New variable.
9080         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9081         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9082         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9083         (CFLAGS-test-signgam-uint.c): Likewise.
9084         (CFLAGS-test-signgam-uint-init.c): Likewise.
9085         (CFLAGS-test-signgam-uint-static.c): Likewise.
9086         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9087         (CFLAGS-test-signgam-ullong.c): Likewise.
9088         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9089         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9090         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9091         * math/Versions (libm): Add GLIBC_2.23.
9092         * math/lgamma-compat.h: New file.
9093         * math/test-signgam-main.c: Likewise.
9094         * math/test-signgam-uchar-init-static.c: Likewise.
9095         * math/test-signgam-uchar-init.c: Likewise.
9096         * math/test-signgam-uchar-static.c: Likewise.
9097         * math/test-signgam-uchar.c: Likewise.
9098         * math/test-signgam-uint-init-static.c: Likewise.
9099         * math/test-signgam-uint-init.c: Likewise.
9100         * math/test-signgam-uint-static.c: Likewise.
9101         * math/test-signgam-uint.c: Likewise.
9102         * math/test-signgam-ullong-init-static.c: Likewise.
9103         * math/test-signgam-ullong-init.c: Likewise.
9104         * math/test-signgam-ullong-static.c: Likewise.
9105         * math/test-signgam-ullong.c: Likewise.
9106         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9107         wrapper of w_lgamma_main.c.
9108         * math/w_lgamma_compat.c: New file.
9109         * math/w_lgamma_compatf.c: Likewise.
9110         * math/w_lgamma_compatl.c: Likewise.
9111         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9112         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9113         defining compatibility symbols.
9114         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9115         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9116         wrapper of w_lgammaf_main.c.
9117         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9118         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9119         defining compatibility symbols.
9120         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9121         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9122         wrapper of w_lgammal_main.c.
9123         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9124         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9125         defining compatibility symbols.
9126         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9127         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9128         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9129         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9130         <lgamma-compat.h>.
9131         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9132         (__ieee754_gamma): Define as alias.
9133         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9134         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9135         <lgamma-compat.h>.
9136         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9137         (__ieee754_gammaf): Define as alias.
9138         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9139         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9140         <lgamma-compat.h>.
9141         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9142         (__ieee754_gammal): Define as alias.
9143         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9144         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9145         <math/w_lgamma_compat.c>.
9146         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9147         Define as alias of __lgamma_compat and use in defining lgammal.
9148         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9149         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9150         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9151         (USE_AS_COMPAT): New macro.
9152         (LGAMMA_OLD_VER): Undefine and redefine.
9153         (lgammal): Do not define here.
9154         (gammal): Only define here if [GAMMA_ALIAS].
9155         * conform/linknamespace.pl (@whitelist): Remove signgam.
9156         * sysdeps/nacl/libm.abilist: Update.
9157         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9159         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9160         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9161         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9162         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9163         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9164         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9165         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9166         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9167         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9168         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9170         Likewise.
9171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9172         Likewise.
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9174         Likewise.
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9180         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9181         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9183         Likewise.
9184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9185         Likewise.
9186         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9187         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9188         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9190 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9192         [BZ #16364]
9193         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9194         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9196 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9198         * sysdeps/s390/fpu/bits/mathinline.h:
9199         Use __asm__ [__volatile__] instead of asm [volatile].
9200         * sysdeps/s390/abort-instr.h: Likewise.
9201         * sysdeps/s390/atomic-machine.h: Likewise.
9202         * sysdeps/s390/bits/string.h: Likewise.
9203         * sysdeps/s390/dl-tls.h: Likewise.
9204         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9205         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9206         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9207         * sysdeps/s390/fpu/fesetround.c: Likewise.
9208         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9209         * sysdeps/s390/fpu/s_fma.c: Likewise.
9210         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9211         * sysdeps/s390/memusage.h: Likewise.
9212         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9213         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9214         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9215         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9216         * sysdeps/s390/nptl/tls.h: Likewise.
9217         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9218         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9219         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9220         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9221         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9222         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9223         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9224         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9225         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9226         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9227         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9228         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9229         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9230         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9231         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9232         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9233         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9234         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9235         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9236         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9237         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9239         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9241 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9242             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9244         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9245         Add lwarx hint, and use macro for acquire instruction.
9246         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9247         Likewise.
9248         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9249         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9250         update to use new atomic macros.
9252 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9254         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9255         (__lll_trylock_elision): Fix setting of adapt_count.
9256         * sysdeps/unix/sysv/linux/powerpc/htm.h
9257         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9258         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9259         (_ABORT_SYSCALL): Renumber, and clarify definition.
9260         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9262 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9264         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9265         after system headers to prevent MIN/MAX redefinition.  Define
9266         HAVE_ALLOCA to preserve builtin alloca usage.
9268 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9270         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9271         static and don't set or restore rounding.
9272         (__cos)[IN_SINCOS]: Likewise.
9273         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9274         (__sincos): Set and restore rounding mode.  Remove check for infinite
9275         or NaN input.
9277         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9279         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9280         as used.
9282 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9284         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9286 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9288         * config.make.in (have-glob-dat-reloc): New.
9289         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9290         target supports GLOB_DAT relocaton. AC_SUBST.
9291         * configure: Regenerated.
9292         * elf/Makefile (tests): Add tst-prelink.
9293         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9294         (tst-prelink-ENV): New.
9295         ($(objpfx)tst-prelink-conflict.out): Likewise.
9296         ($(objpfx)tst-prelink-cmp.out): Likewise.
9297         * sysdeps/x86/tst-prelink.c: Moved to ...
9298         * elf/tst-prelink.c: Here.
9299         * sysdeps/x86/tst-prelink.exp: Moved to ...
9300         * elf/tst-prelink.exp: Here.
9301         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9302         (tst-prelink-ENV): Removed.
9303         ($(objpfx)tst-prelink-conflict.out): Likewise.
9304         ($(objpfx)tst-prelink-cmp.out): Likewise.
9305         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9307 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9309         [BZ #14551]
9310         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9311         (__mpn_construct_long_double): If high part overflows to infinity,
9312         set errno and recompute overflowed result of the correct sign.
9313         * sysdeps/ieee754/ldbl-128ibm/Makefile
9314         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9315         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9316         $(libm).
9317         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9319 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9321         [BZ #15479]
9322         [BZ #19238]
9323         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9324         floating-point state after first operation on input.  Restore full
9325         state rather than just rounding mode.
9326         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9327         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9328         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9330         [BZ #19235]
9331         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9332         add 0.5 to integer arguments.
9333         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9334         Likewise.
9335         (.LC2): New object.
9337 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9339         * scripts/pylintrc (reports): Set to no.
9341 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9343         * elf/dl-load.c (open_verify): Take new argument FD.
9344         Skip __open call if passed FD is not -1.
9345         (_dl_map_object, open_path): Update callers.
9346         * elf/dl-sysdep-open.h: New file.
9347         * elf/dl-load.c: Include it.
9348         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9349         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9350         * sysdeps/nacl/dl-sysdep-open.h: New file.
9351         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9352         from libc to rtld.
9354 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9356         [BZ #19228]
9357         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9358         and restore full floating-point state.
9359         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9360         Likewise.
9361         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9362         Likewise.
9363         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9364         Likewise.
9365         * math/test-nearbyint-except-2.c: New file.
9366         * math/Makefile (tests): Add test-nearbyint-except-2.
9368 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9370         [BZ #19178]
9371         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9372         (tst-prelink-ENV): New.
9373         ($(objpfx)tst-prelink-conflict.out): Likewise.
9374         ($(objpfx)tst-prelink-cmp.out): Likewise.
9375         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9376         * sysdeps/x86/tst-prelink.c: New file.
9377         * sysdeps/x86/tst-prelink.exp: Likewise.
9379 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9381         * math/auto-libm-test-in: Add another test of pow.
9382         * math/auto-libm-test-out: Regenerated.
9383         * math/libm-test.inc (pow_test_data): Add another test.
9385 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9387         [BZ #19219]
9388         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9389         weak_alias to nearbyintl.
9391 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9393         * sysdeps/aarch64/bits/string.h: New file.
9394         (_STRING_ARCH_unaligned): Define.
9396 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9398         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9399         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9400         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9401         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9404 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9406         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9407         for original name of the DSO.  Add it to the name list of the DSO
9408         if it is actually given.
9409         (_dl_map_object): Keep track of whether an audit module rewrote
9410         the file name.  If yes, pass the original name to
9411         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9412         debugging is enabled, log the change of the file name.
9413         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9414         _dl_map_object_from_fd.
9415         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9416         * elf/tst-audit11.c: New file
9417         * elf/tst-auditmod11.c: New file.
9418         * elf/tst-audit11mod1.c: New file.
9419         * elf/tst-audit11mod2.c: New file.
9420         * elf/tst-audit11mod2.map: New file.
9421         * elf/tst-audit12.c: New file
9422         * elf/tst-auditmod12.c: New file.
9423         * elf/tst-audit12mod1.c: New file.
9424         * elf/tst-audit12mod2.c: New file.
9425         * elf/tst-audit12mod2.map: New file.
9426         * elf/tst-audit12mod3.c: New file.
9428 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9430         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9431         Don't create weak aliases,
9432         because versioned symbols are created later.
9433         * sysdeps/s390/s390-32/setjmp.S
9434         (setjmp, _setjmp): Remove weak and rename to an unique name
9435         in SHARED case due to existing versioned symbols.
9436         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9437         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9438         (getcontext): Create weak alias only in non SHARED case.
9439         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9441 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9443         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9444         (__ASSUME_*_SYSCALL) Define new macros.
9445         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9446         Remove socketcall syscalls.
9447         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9448         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9449         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9450         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9451         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9452         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9454 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9456         [BZ #12926]
9457         Terminate process on invalid netlink response.
9458         * sysdeps/unix/sysv/linux/netlinkaccess.h
9459         (__netlink_assert_response): Declare.
9460         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9461         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9462         (sysdep_routines): Add netlink_assert_response.
9463         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9464         __netlink_assert_response.
9465         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9466         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9467         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9468         __netlink_assert_response.
9470 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9472         [BZ #19178]
9473         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9474         (RTYPE_CLASS_PLT): Likewise.
9475         (RTYPE_CLASS_COPY): Likewise.
9476         (RTYPE_CLASS_TLS): Likewise.
9477         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9478         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9479         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9480         DL_DEBUG_PRELINK.
9482 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9484         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9485         calls with argument -0.5.
9486         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9488         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9489         (libc_cv_z_nodlopen): Likewise.
9490         (libc_cv_z_initfirst): Likewise.
9491         * configure: Regenerated.
9493 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9495         Simplify abilist format to be line-based.
9496         * scripts/abilist.awk: Collect descriptors in the descs variable.
9497         (emit): Write descs variable and sort it
9498         externally, with sort.
9499         * sysdeps/**/*.abilist: Convert to new format.
9501 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9503         [BZ #11460]
9504         * io/Makefile (routines): Add fts64.
9505         (tests): Add tst-fts and tst-fts-lfs.
9506         (CFLAGS-fts64.c): New.
9507         * io/Versions (GLIBC_2.23): New.
9508         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9509         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9510         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9511         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9512         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9513         (FTSENT64): Likewise.
9514         (fts64_children): Likewise.
9515         (fts64_close): Likewise.
9516         (fts64_open): Likewise.
9517         (fts64_read): Likewise.
9518         (fts64_set): Likewise.
9519         * io/fts64.c: New file.
9520         * io/tst-fts.c: New test.
9521         * io/tst-fts-lfs.c: Likewise.
9522         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9523         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9524         fts64_set.
9525         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9530         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9531         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9532         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9533         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9534         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9535         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9536         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9537         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9539         Likewise.
9540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9541         Likewise.
9542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9544         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9545         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9546         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9547         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9548         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9551         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9552         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9553         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9554         * sysdeps/wordsize-64/fts.c: New file.
9555         * sysdeps/wordsize-64/fts64.c: Likewise.
9556         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9557         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9558         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9559         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9561 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9563         * math/libm-test.inc (NON_FINITE): New macro.
9564         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9565         * math/gen-libm-test.pl (show_exceptions): Add argument
9566         $non_finite.
9567         (parse_args): Update call to show_exceptions.
9568         * math/test-math-finite.h: New file.
9569         * math/test-math-no-finite.h: Likewise.
9570         * math/test-double-finite.c: Likewise.
9571         * math/test-float-finite.c: Likewise.
9572         * math/test-ldouble-finite.c: Likewise.
9573         * math/test-double.c: Include "test-math-no-finite.h".
9574         * math/test-float.c: Include "test-math-no-finite.h".
9575         * math/test-ldouble.c: Include "test-math-no-finite.h".
9576         * math/test-math-inline.h (TEST_FINITE): New macro.
9577         * math/test-math-vector.h (TEST_FINITE): Likewise.
9578         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9579         (libm-tests): Add test-float-finite and test-double-finite.
9580         ($(objpfx)test-float-finite.o): New dependency on
9581         $(objpfx)libm-test.stmp.
9582         ($(objpfx)test-double-finite.o): Likewise.
9583         ($(objpfx)test-ldouble-finite.o): Likewise.
9584         (libm-test-no-inline-cflags): New variable.
9585         (libm-test-finite-cflags): Likewise.
9586         (CFLAGS-test-float-finite.c): Likewise.
9587         (CFLAGS-test-double-finite.c): Likewise.
9588         (CFLAGS-test-ldouble-finite.c): Likewise.
9589         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9590         (CFLAGS-test-double.c): Likewise.
9591         (CFLAGS-test-ldouble.c): Likewise.
9593 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9595         * io/fcntl.c (__fcntl): Add ... to prototype.
9596         * misc/ioctl.c (__ioctl): Likewise.
9597         * misc/syscall.c (syscall): Likewise.
9599 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9601         * scripts/list-fixed-bugs.py: New file.
9603         [BZ #19213]
9604         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9605         returned for argument 1.
9606         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9607         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9608         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9609         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9610         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9611         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9613         [BZ #19211]
9614         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9615         __USE_XOPEN], not if [!__USE_ISOC99].
9616         (lgammaf): Likewise.
9617         (lgammal): Likewise.
9618         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9619         (gammaf): Likewise.
9620         (gammal): Likewise.
9621         * math/test-signgam-finite-c11.c: New file.
9622         * math/test-signgam-finite-c99.c: Likewise.
9623         * math/test-signgam-finite.c: Likewise.
9624         * math/Makefile (tests): Add test-signgam-finite,
9625         test-signgam-finite-c99 and test-signgam-finite-c11.
9626         (CFLAGS-test-signgam-finite.c): New variable.
9627         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9628         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9630         [BZ #19212]
9631         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9632         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9633         500].
9634         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9635         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9636         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9637         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9638         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9639         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9640         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9641         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9642         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9643         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9645         [BZ #19209]
9646         * math/bits/math-finite.h (ldexp): Remove declaration.
9647         (ldexpf): Likewise.
9648         (ldexpl): Likewise.
9650         [BZ #19205]
9651         * math/bits/math-finite.h (acosf): Condition declaration on
9652         [__USE_ISOC99].
9653         (acosl): Likewise.
9654         (acoshf): Likewise.
9655         (acoshl): Likewise.
9656         (asinf): Likewise.
9657         (asinl): Likewise.
9658         (atan2f): Likewise.
9659         (atan2l): Likewise.
9660         (atanhf): Likewise.
9661         (atanhl): Likewise.
9662         (coshf): Likewise.
9663         (coshl): Likewise.
9664         (expf): Likewise.
9665         (expl): Likewise.
9666         (fmodf): Likewise.
9667         (fmodl): Likewise.
9668         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9669         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9670         (j0l): Likewise.
9671         (y0f): Likewise.
9672         (y0l): Likewise.
9673         (j1f): Likewise.
9674         (j1l): Likewise.
9675         (y1f): Likewise.
9676         (y1l): Likewise.
9677         (jnf): Likewise.
9678         (jnl): Likewise.
9679         (ynf): Likewise.
9680         (ynl): Likewise.
9681         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9682         (lgammal_r): Likewise.
9683         (__lgamma_r_finite): New declaration.
9684         (__lgammaf_r_finite): Likewise.
9685         (__lgammal_r_finite): Likewise.
9686         (lgamma): Use __lgamma_r_finite.
9687         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9688         __lgammaf_r_finite.
9689         (lgammal): Condition definition on [__USE_ISOC99].  Use
9690         __lgammal_r_finite.
9691         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9692         __lgamma_r_finite.
9693         (gammaf): Condition definition on [__USE_ISOC99].  Use
9694         __lgammaf_r_finite.
9695         (gammal): Condition definition on [__USE_ISOC99].  Use
9696         __lgammal_r_finite.
9697         (logf): Condition declaration on [__USE_ISOC99].
9698         (logl): Likewise.
9699         (log10f): Likewise.
9700         (log10l): Likewise.
9701         (ldexpf): Likewise.
9702         (ldexpl): Likewise.
9703         (powf): Likewise.
9704         (powl): Likewise.
9705         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9706         __USE_ISOC99].
9707         (remainderf): Condition declaration on [__USE_ISOC99].
9708         (remainderl): Likewise.
9709         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9710         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9711         (scalbl): Likewise.
9712         (sinhf): Condition declaration on [__USE_ISOC99].
9713         (sinhl): Likewise.
9714         (sqrtf): Likewise.
9715         (sqrtl): Likewise.
9717 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9719         * sysdeps/arm/atomic-machine.h
9720         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9721         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9722         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9723         Remove conditional code.
9724         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9725         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9726         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9727         Change conditional to [__ASSEMBLER__].
9728         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9729         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9730         [!__ASSEMBLER__].
9731         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9732         code.
9733         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9734         conditional macro definitions.
9735         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9736         (__arch_compare_and_exchange_val_16_acq): Likewise.
9737         (__arch_compare_and_exchange_val_32_acq): Likewise.
9738         (atomic_exchange_and_add): Likewise.
9739         (atomic_add): Likewise.
9740         (atomic_add_negative): Likewise.
9741         (atomic_add_zero): Likewise.
9742         (atomic_bit_set): Likewise.
9743         (atomic_bit_test_set): Likewise.
9744         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9745         code unconditional.
9746         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9748         * math/test-math-errno.h: New file.
9749         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9750         empty.
9751         (TEST_ERRNO): New macro.
9752         (TEST_EXCEPTIONS): Likewise.
9753         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9754         (TEST_EXCEPTIONS): Likewise.
9755         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9756         * math/test-double.c: Include "test-math-errno.h".
9757         * math/test-float.c: Likewise.
9758         * math/test-ldouble.c: Likewise.
9759         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9760         code unconditional.
9761         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9762         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9763         unconditional.
9764         (test_errno): Only run code if TEST_ERRNO.
9765         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9767 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9769         * nptl/tst-once5.cc: Remove attribution.
9771 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9773         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9774         sqrt, tan, tanh, y0, y1 and yn.
9775         * math/auto-libm-test-out: Regenerated.
9776         * math/libm-test.inc (scalb_test_data): Add more tests.
9777         (scalbn_test_data): Likewise.
9778         (scalbln_test_data): Likewise.
9779         (signbit_test_data): Likewise.
9780         (sin_test_data): Likewise.
9781         (sincos_test_data): Likewise.
9782         (sinh_test_data): Likewise.
9783         (sqrt_test_data): Likewise.
9784         (tan_test_data): Likewise.
9785         (tanh_test_data): Likewise.
9786         (tgamma_test_data): Likewise.
9787         (y0_test_data): Likewise.
9788         (y1_test_data): Likewise.
9789         (yn_test_data): Likewise.
9790         (significand_test_data): Likewise.
9791         * sysdeps/i386/fpu/libm-test-ulps: Update.
9793 2015-11-03  David Kastrup  <dak@gnu.org>
9795         [BZ #18604]
9796         * assert/assert.h (assert): Don't macro-expand failed assertion
9797         expression in error message.
9798         * malloc/malloc.c (assert): Likewise.
9800 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9802         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9803         test.
9804         * configure: Regenerated.
9806 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9808         * math/libm-test.inc (modf_test_data): Add more tests.
9809         (nearbyint_test_data): Likewise.
9810         (nextafter_test_data): Likewise.
9811         (nexttoward_test_data): Likewise.
9812         (pow_test_data): Likewise.
9813         (remainder_test_data): Likewise.
9814         (remquo_test_data): Likewise.
9815         (rint_test_data): Likewise.
9817         [BZ #19201]
9818         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9819         Check for zero remainder in case of large exponents and ensure
9820         correct sign of result in that case.
9821         * math/libm-test.inc (remainder_test_data): Add more tests.
9823         [BZ #6799]
9824         * math/s_nextafter.c: Include <errno.h>.
9825         (__nextafter): Set errno on overflow and underflow.
9826         * math/s_nexttowardf.c: Include <errno.h>.
9827         (__nexttowardf): Set errno on overflow and underflow.
9828         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9829         (__nextafterl): Set errno on overflow and underflow.
9830         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9831         (__nexttoward): Set errno on overflow and underflow.
9832         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9833         (__nexttowardf): Set errno on overflow and underflow.
9834         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9835         (__nextafterf): Set errno on overflow and underflow.
9836         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9837         (__nextafterl): Set errno on overflow and underflow.
9838         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9839         (__nexttoward): Set errno on overflow and underflow.
9840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9841         (__nexttowardf): Set errno on overflow and underflow.
9842         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9843         (__nextafterl): Set errno on overflow and underflow.
9844         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9845         (__nexttoward): Set errno on overflow and underflow.
9846         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9847         (__nexttowardf): Set errno on overflow and underflow.
9848         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9849         (__nexttoward): Set errno on overflow and underflow.
9850         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9851         (__nexttowardf): Set errno on overflow and underflow.
9852         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9853         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9854         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9855         (__nextafterl): Set errno on overflow and underflow.
9856         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9857         setting to be missing on overflow.  Add more tests.
9858         (nexttoward_test_data): Likewise.
9860         * configure.ac (libc_cv_initfini_array): Remove configure test.
9861         * configure: Regenerated.
9863 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9865         [BZ #19189]
9866         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9867         non-finite argument handle arguments with negative sign.
9869         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9870         result from infinite argument.
9871         (j1_test_data): Likewise.
9872         (jn_test_data): Likewise.
9873         (y0_test_data): Likewise.
9874         (y1_test_data): Likewise.
9875         (yn_test_data): Likewise.
9877         [BZ #16171]
9878         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9879         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9880         * math/w_remainderf.c (dremf): Define as weak alias of
9881         __remainderf.
9882         * math/w_remainderl.c (dreml): Define as weak alias of
9883         __remainderl.
9884         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9885         __remainder.
9886         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9887         __remainderf.
9888         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9889         __remainderl.
9890         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9891         weak alias of remainderl.
9892         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9893         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9894         alias of __remainder.
9895         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9896         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9897         strong alias of __remainderl.
9898         (dreml): Use long_double_symbol.
9899         * math/Makefile (libm-calls): Remove w_drem.
9900         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9901         (CFLAGS-nldbl-drem.c): Remove variable.
9902         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9903         * math/w_drem.c: Remove file.
9904         * math/w_dremf.c: Likewise.
9905         * math/w_dreml.c: Likewise.
9906         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9907         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9908         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9910         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9911         * sysdeps/i386/configure: Regenerated.
9912         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9913         * sysdeps/x86_64/configure: Regenerated.
9915         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9916         test.
9917         (libc_cv_visibility_attribute): Likewise.
9918         (libc_cv_protected_data): Test unconditionally.
9919         (libc_cv_broken_visibility_attribute): Remove configure test.
9920         (libc_cv_have_sdata_section): Test unconditionally.
9921         * configure: Regenerated.
9923         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9924         * include/scratch_buffer.h: Include <stddef.h> instead of
9925         <libc-internal.h>.
9926         (struct scratch_buffer): Use max_align_t instead of
9927         libc_max_align_t.
9929 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9931         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9932         instead of extend_alloca.  Change control flow to avoid a goto.
9933         Remove assert which is trivially always true.
9935 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9937         [BZ #16068]
9938         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9939         (FE_ALL_EXCEPT_X86): New macro.
9940         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9941         FE_ALL_EXCEPT.  Ensure precision control is included in
9942         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9943         handle "denormal operand exception" and clear FZ and DAZ bits.
9944         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9945         (FE_ALL_EXCEPT_X86): New macro.
9946         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9947         FE_ALL_EXCEPT.  Ensure precision control is included in
9948         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9949         handle "denormal operand exception" and clear FZ and DAZ bits.
9950         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9951         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9952         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9953         test-fenv-x87 and test-fenv-sse-2.
9954         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9956         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9957         * math/test-double.h (BUILD_COMPLEX): New macro.
9958         * math/test-float.h (BUILD_COMPLEX): Likewise.
9959         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9961         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9962         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9963         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9964         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9965         instead of DBL_DENORM_MIN in comment.
9966         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9967         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9968         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9969         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9971         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9973 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9975         [BZ# 19048]
9976         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9977         attached_threads member.
9978         (main_arena): Initialize attached_threads.
9979         * malloc/arena.c (list_lock): Update comment.
9980         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9981         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9982         (deattach_arena): New function.
9983         (_int_new_arena): Initialize arena reference count and deattach
9984         replaced arena.
9985         (get_free_list, reused_arena): Update reference count and deattach
9986         replaced arena.
9987         (arena_thread_freeres): Update arena reference count and only put
9988         unreferenced arenas on the free list.
9990 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9992         [BZ #19181]
9993         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9994         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9995         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9996         * math/test-fenv-clear-main.c: New file.
9997         * math/test-fenv-clear.c: Likewise.
9998         * math/Makefile (tests): Add test-fenv-clear.
9999         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10000         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10001         test-fenv-clear-sse.
10002         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10004         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10005         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10006         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10008 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10010         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10011         static libc.
10013 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10015         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10016         test.
10017         * sysdeps/i386/configure: Regenerated.
10018         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10019         test.
10020         * sysdeps/x86_64/configure: Regenerated.
10021         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10023         memset-avx2 unconditionally instead of conditionally on
10024         [$(config-cflags-avx2) = yes].
10025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10026         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10027         unconditional.
10028         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10029         * sysdeps/x86_64/multiarch/memset_chk.S
10030         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10031         to [IS_IN (libc) && SHARED].
10033 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10035         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10036         configure test.
10037         * sysdeps/arm/configure: Regenerated.
10038         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10039         Define variable if not already defined.
10041         [BZ #17404]
10042         * sysdeps/mips/atomic-machine.h
10043         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10044         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10045         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10047         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10048         unconditional.
10049         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10050         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10051         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10052         unconditional.
10053         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10054         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10055         unconditional.
10056         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10057         * stdlib/setenv.c
10058         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10059         code unconditional.
10060         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10061         Remove conditional code.
10062         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10063         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10064         unconditional.
10065         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10066         code.
10067         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10068         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10069         unconditional.
10070         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10071         code.
10072         * sysdeps/ieee754/ldbl-128/k_tanl.c
10073         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10074         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10075         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10076         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10077         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10078         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10079         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10080         unconditional.
10081         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10082         code.
10083         * sysdeps/ieee754/ldbl-96/k_tanl.c
10084         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10085         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10087         * nptl/tst-initializers1-c11.c: New file.
10088         * nptl/tst-initializers1-gnu11.c: Likewise.
10089         * nptl/Makefile (tests): Add these new tests.
10090         (CFLAGS-tst-initializers1-c11.c): New variable.
10091         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10093         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10094         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10095         instead of -std=gnu99.
10096         * configure.ac (systemtap): Test with -std=gnu11 instead of
10097         -std=gnu99.
10098         * configure: Regenerated.
10099         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10100         in compilation command in comment.
10102         * sysdeps/nptl/configure.ac: Remove file.
10103         * sysdeps/nptl/configure: Remove generated file.
10104         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10105         * configure: Regenerated.
10106         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10107         * config.make.in (have-forced-unwind): Remove variable.
10108         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10109         unconditional.
10110         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10111         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10112         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10113         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10114         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10115         unconditional.
10117 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10119         [BZ #19174]
10120         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10121         .skip_lock_out_of_tbegin_retries.
10122         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10123         (__lll_lock_elision): Likewise, and respect a value of
10124         try_tbegin <= 0.
10126 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10128         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10129         statement.
10131 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10133         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10134         variable.
10135         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10136         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10138         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10139         of -std=c1x -D_ISOC11_SOURCE.
10141         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10142         * configure: Regenerated.
10143         * manual/install.texi (Tools for Compilation): Document
10144         requirement for GCC 4.7 or later.
10145         * INSTALL: Regenerated.
10147 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10149         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10150         on CNT to a conditional jump to 'puntdata'.
10152 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10154         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10155         (libc_cv_gcc_tls_model_attr): Likewise.
10156         * configure: Regenerated.
10158         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10159         * configure: Regenerated.
10160         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10162 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10164         * configure.ac (old_glibc_headers): Remove configure test.
10165         * configure: Regenerated.
10166         * config.make.in (old-glibc-headers): Remove variable.
10167         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10168         (install): Remove dependency on remove-old-headers.
10169         (headers2_0): Remove variable.
10170         (remove-old-headers): Remove rule.
10172         * configure.ac (libc_cv_dot_text): Remove configure test.
10173         (libc_cv_asm_set_directive): Use .text instead of
10174         ${libc_cv_dot_text} in configure test.
10175         * configure: Regenerated.
10177 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10179         [BZ #19168]
10180         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10182 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10184         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10185         not support static linking.
10186         * configure: Regenerate.
10188 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10190         * math/libm-test.inc (check_float_internal): Do not special-case
10191         errors up to 0.5 ulp.
10193         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10194         log2.
10195         * math/auto-libm-test-out: Regenerated.
10196         * math/libm-test.inc (MAX_EXP): New macro.
10197         (ilogb_test_data): Add more tests.
10198         (isfinite_test_data): Likewise.
10199         (isgreater_test_data): Likewise.
10200         (isgreaterequal_test_data): Likewise.
10201         (isinf_test_data): Likewise.
10202         (isless_test_data): Likewise.
10203         (islessequal_test_data): Likewise.
10204         (islessgreater_test_data): Likewise.
10205         (isnan_test_data): Likewise.
10206         (isnormal_test_data): Likewise.
10207         (issignaling_test_data): Likewise.
10208         (isunordered_test_data): Likewise.
10209         (j0_test_data): Likewise.
10210         (j1_test_data): Likewise.
10211         (jn_test_data): Likewise.
10212         (lgamma_test_data): Likewise.
10213         (log_test_data): Likewise.
10214         (log10_test_data): Likewise.
10215         (log1p_test_data): Likewise.
10216         (log2_test_data): Likewise.
10217         (logb_test_data): Likewise.
10218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10220         [BZ #18611]
10221         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10222         avoid excess range and precision on underflow.
10223         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10224         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10225         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10226         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10227         underflow.
10228         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10229         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10230         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10231         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10232         * math/auto-libm-test-in: Do not allow missing errno setting for
10233         tests of j1 and jn.
10234         * math/auto-libm-test-out: Regenerated.
10236 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10238         [BZ #15491]
10239         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10240         floating-point environment instead of clearing all exceptions.
10241         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10242         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10243         merging in "invalid" exceptions from frndint.
10244         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10245         * math/test-nearbyint-except.c: New file.
10246         * math/Makefile (tests): Add test-nearbyint-except.
10248 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10250         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10252         * sysdeps/tile/libm-test-ulps: Regenerated.
10254 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10257         (__NR_sync_file_range2): Assume it is always defined.
10258         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10259         (__NR_sync_file_range): Assume it is always defined.
10261 2015-10-22  Andreas Schwab  <schwab@suse.de>
10263         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10264         INTERNAL_SYSCALL_ERRNO.
10265         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10266         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10267         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10268         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10269         Likewise.
10270         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10272 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10274         * io/tst-fcntl.c (fd): New static variable.
10275         (do_prepare): Open temporary file here....
10276         (do_test): ...not here.
10278         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10280 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10282         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10283         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10284         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10285         Moved before "#ifdef __ASSEMBLER__".
10287 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10289         [BZ #19156]
10290         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10291         arguments very close to 0.
10293 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10295         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10296         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10298 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10300         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10301         New.  Defined for GCC 5 and above when not compiling for
10302         profiling.
10303         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10305         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10306         Renamed to ...
10307         (CFLAGS-epoll_pwait.o): This.
10308         (CFLAGS-mmap.c): Renamed to ...
10309         (CFLAGS-mmap.o): This.
10310         (CFLAGS-mmap64.c): Renamed to ...
10311         (CFLAGS-mmap64.o): This.
10312         (CFLAGS-epoll_pwait.os): New.
10313         (CFLAGS-mmap.os): Likewise.
10314         (CFLAGS-mmap64.os): Likewise.
10315         (CFLAGS-semtimedop.os): Likewise.
10316         (CFLAGS-semtimedop.c): Renamed to ...
10317         (CFLAGS-semtimedop.o): This.
10319 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10321         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10322         warning message.
10324 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10326         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10327         * Makefile ($(objpfx)c++-types-check.out): Filter out
10328         $(+gccwarn-c) instead of -Wstrict-prototypes.
10330         * io/fts.c (fts_open): Convert to prototype-style function
10331         definition.
10332         * malloc/mcheck.c (mcheck): Likewise.
10333         (mcheck_pedantic): Likewise.
10334         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10335         internal_function.
10336         (re_search_internal): Likewise.
10337         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10338         prototype-style function definition.
10339         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10340         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10341         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10342         (xdr_utmpptr): Likewise.
10343         (xdr_utmparr): Likewise.
10344         (xdr_utmpidle): Likewise.
10345         (xdr_utmpidleptr): Likewise.
10346         (xdr_utmpidlearr): Likewise.
10348         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10349         log, log10 and log2.
10350         * math/auto-libm-test-out: Regenerated.
10351         * math/libm-test.inc (fmod_test_data): Add more tests.
10352         (fpclassify_test_data): Likewise.
10353         (frexp_test_data): Likewise.
10354         (hypot_test_data): Likewise.
10355         (ilogb_test_data): Likewise.
10357 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10359         * debug/fortify_fail.c (__fortify_fail): Convert to
10360         prototype-style function definition.  Use internal_function.
10361         * libio/genops.c (save_for_backup): Convert to prototype-style
10362         function definition.
10363         * libio/wgenops.c (save_for_wbackup): Likewise.
10364         * login/grantpt.c (grantpt): Likewise.
10365         * login/ptsname.c (ptsname): Likewise.
10366         (__ptsname_r): Likewise.
10367         * login/unlockpt.c (unlockpt): Likewise.
10368         * mach/msgserver.c (__mach_msg_server): Likewise.
10369         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10370         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10371         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10372         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10373         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10374         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10375         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10376         Likewise.
10377         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10378         internal_function.
10379         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10380         prototype-style function definition.
10381         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10382         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10383         (__pthread_create_2_0): Likewise.
10384         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10385         * nptl/register-atfork.c (__register_atfork): Likewise.
10386         * posix/glob.c (glob): Likewise.
10387         * posix/regcomp.c (re_comp): Likewise.
10388         * posix/regexec.c (re_exec): Likewise.
10389         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10390         [!__STDC__]: Remove conditional code.
10391         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10392         [!__STDC__]: Remove conditional code.
10393         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10394         [!__STDC__]: Remove conditional code.
10395         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10396         [!__STDC__]: Remove conditional code.
10397         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10398         [!__STDC__]: Remove conditional code.
10399         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10400         [!__STDC__]: Remove conditional code.
10401         * stdlib/mul.c [__STDC__]: Make code unconditional.
10402         [!__STDC__]: Remove conditional code.
10403         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10404         [!__STDC__]: Remove conditional code.
10405         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10406         [!__STDC__]: Remove conditional code.
10407         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10408         function definition.
10409         (STRTOF): Likewise.
10410         * stdlib/strtod_l.c (__STRTOF): Likewise.
10411         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10412         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10413         (__strtol_l): Likewise.
10414         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10415         [!__STDC__]: Remove conditional code.
10416         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10417         definition.
10418         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10419         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10420         type.
10421         (__strcasecmp): Convert to prototype-style function definition.
10422         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10423         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10424         type.
10425         (__strncasecmp): Convert to prototype-style function definition.
10426         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10427         * sunrpc/xdr.c (xdr_union): Likewise.
10428         * sunrpc/xdr_array.c (xdr_array): Likewise.
10429         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10430         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10431         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10432         Likewise.
10433         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10434         Likewise.
10435         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10436         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10437         Likewise.
10438         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10439         (LOCALE_PARAM_PROTO): Likewise.
10440         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10441         argument type.
10442         (ut_argument_spec): Remove macro.
10443         (ut_argument_spec_iso): Rename to ut_argument_spec.
10444         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10445         prototype-style function definition.
10446         (memcpy_uppcase): Likewise.
10447         (__strftime_internal): Likewise.
10448         (my_strftime): Likewise.
10449         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10450         (LOCALE_PARAM_DECL): Likewise.
10451         [_LIBC] (LOCALE_PARAM): Include argument type.
10452         (__strptime_internal): Convert to prototype-style function
10453         definition.
10454         (strptime): Likewise.
10455         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10456         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10457         type.
10458         (__wcscasecmp): Convert to prototype-style function definition.
10459         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10460         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10461         type.
10462         (__wcsncasecmp): Convert to prototype-style function definition.
10464         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10465         function definition.
10466         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10467         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10468         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10469         * elf/dl-minimal.c (_itoa): Likewise.
10470         * hurd/hurdmalloc.c (malloc): Likewise.
10471         (free): Likewise.
10472         (realloc): Likewise.
10473         * inet/inet6_option.c (inet6_option_space): Likewise.
10474         (inet6_option_init): Likewise.
10475         (inet6_option_append): Likewise.
10476         (inet6_option_alloc): Likewise.
10477         (inet6_option_next): Likewise.
10478         (inet6_option_find): Likewise.
10479         * io/ftw.c (FTW_NAME): Likewise.
10480         (NFTW_NAME): Likewise.
10481         (NFTW_NEW_NAME): Likewise.
10482         (NFTW_OLD_NAME): Likewise.
10483         * libio/iofwide.c (_IO_fwide): Likewise.
10484         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10485         (_IO_str_init_static): Likewise.
10486         (_IO_str_init_readonly): Likewise.
10487         (_IO_str_overflow): Likewise.
10488         (_IO_str_underflow): Likewise.
10489         (_IO_str_count): Likewise.
10490         (_IO_str_seekoff): Likewise.
10491         (_IO_str_pbackfail): Likewise.
10492         (_IO_str_finish): Likewise.
10493         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10494         (_IO_wstr_overflow): Likewise.
10495         (_IO_wstr_underflow): Likewise.
10496         (_IO_wstr_count): Likewise.
10497         (_IO_wstr_seekoff): Likewise.
10498         (_IO_wstr_pbackfail): Likewise.
10499         (_IO_wstr_finish): Likewise.
10500         * locale/programs/localedef.c (normalize_codeset): Likewise.
10501         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10502         (add_locales_to_archive): Likewise.
10503         (delete_locales_from_archive): Likewise.
10504         * malloc/malloc.c (__libc_mallinfo): Likewise.
10505         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10506         * misc/tsearch.c (__tfind): Likewise.
10507         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10508         * nptl/pthread_attr_getdetachstate.c
10509         (__pthread_attr_getdetachstate): Likewise.
10510         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10511         Likewise.
10512         * nptl/pthread_attr_getinheritsched.c
10513         (__pthread_attr_getinheritsched): Likewise.
10514         * nptl/pthread_attr_getschedparam.c
10515         (__pthread_attr_getschedparam): Likewise.
10516         * nptl/pthread_attr_getschedpolicy.c
10517         (__pthread_attr_getschedpolicy): Likewise.
10518         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10519         Likewise.
10520         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10521         Likewise.
10522         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10523         Likewise.
10524         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10525         Likewise.
10526         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10527         (__pthread_attr_init_2_0): Likewise.
10528         * nptl/pthread_attr_setdetachstate.c
10529         (__pthread_attr_setdetachstate): Likewise.
10530         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10531         Likewise.
10532         * nptl/pthread_attr_setinheritsched.c
10533         (__pthread_attr_setinheritsched): Likewise.
10534         * nptl/pthread_attr_setschedparam.c
10535         (__pthread_attr_setschedparam): Likewise.
10536         * nptl/pthread_attr_setschedpolicy.c
10537         (__pthread_attr_setschedpolicy): Likewise.
10538         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10539         Likewise.
10540         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10541         Likewise.
10542         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10543         Likewise.
10544         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10545         Likewise.
10546         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10547         Likewise.
10548         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10549         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10550         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10551         use internal_function.
10552         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10553         prototype-style function definition.
10554         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10555         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10556         internal_function.
10557         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10558         Convert to prototype-style function definition.
10559         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10560         Likewise.
10561         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10562         Likewise.
10563         (__pthread_mutex_unlock): Likewise.
10564         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10565         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10566         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10567         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10568         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10569         * nss/makedb.c (process_input): Likewise.
10570         * posix/fnmatch.c (__strchrnul): Likewise.
10571         (__wcschrnul): Likewise.
10572         (fnmatch): Likewise.
10573         * posix/fnmatch_loop.c (FCT): Likewise.
10574         * posix/glob.c (globfree): Likewise.
10575         (__glob_pattern_type): Likewise.
10576         (__glob_pattern_p): Likewise.
10577         * posix/regcomp.c (re_compile_pattern): Likewise.
10578         (re_set_syntax): Likewise.
10579         (re_compile_fastmap): Likewise.
10580         (regcomp): Likewise.
10581         (regerror): Likewise.
10582         (regfree): Likewise.
10583         * posix/regexec.c (regexec): Likewise.
10584         (re_match): Likewise.
10585         (re_search): Likewise.
10586         (re_match_2): Likewise.
10587         (re_search_2): Likewise.
10588         (re_search_stub): Likewise.  Use internal_function
10589         (re_copy_regs): Likewise.
10590         (re_set_registers): Convert to prototype-style function
10591         definition.
10592         (prune_impossible_nodes): Likewise.  Use internal_function.
10593         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10594         prototype-style function definition.
10595         (inet_net_pton_ipv4): Likewise.
10596         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10597         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10598         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10599         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10600         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10601         Make variadic.
10602         * time/strptime_l.c (localtime_r): Convert to prototype-style
10603         function definition.
10604         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10605         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10606         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10607         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10609         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10610         definition.
10611         (_ufc_doit_r): Likewise.
10612         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10613         (_ufc_output_conversion_r): Likewise.
10614         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10615         * inet/rcmd.c (rcmd_af): Likewise.
10616         (rcmd): Likewise.
10617         (ruserok_af): Likewise.
10618         (ruserok): Likewise.
10619         (ruserok2_sa): Likewise.
10620         (ruserok_sa): Likewise.
10621         (iruserok_af): Likewise.
10622         (iruserok): Likewise.
10623         (__ivaliduser): Likewise.
10624         (__validuser2_sa): Likewise.
10625         * inet/rexec.c (rexec_af): Likewise.
10626         (rexec): Likewise.
10627         * inet/ruserpass.c (ruserpass): Likewise.
10628         * locale/programs/xmalloc.c (xcalloc): Likewise.
10629         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10630         * math/w_drem.c (__drem): Likewise.
10631         * math/w_dremf.c (__dremf): Likewise.
10632         * math/w_dreml.c (__dreml): Likewise.
10633         * misc/daemon.c (daemon): Likewise.
10634         * resolv/res_debug.c (p_fqnname): Likewise.
10635         * stdlib/div.c (div): Likewise.
10636         * string/memcmp.c (memcmp_bytes): Likewise.
10637         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10638         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10640         * crypt/cert.c (main): Convert to prototype-style function
10641         definition.
10642         * io/pipe.c (__pipe): Likewise.
10643         * io/pipe2.c (__pipe2): Likewise.
10644         * misc/futimesat.c (futimesat): Likewise.
10645         * misc/utimes.c (__utimes): Likewise.
10646         * posix/execve.c (__execve): Likewise.
10647         * posix/execvp.c (execvp): Likewise.
10648         * posix/execvpe.c (__execvpe): Likewise.
10649         * posix/fexecve.c (fexecve): Likewise.
10650         * socket/socketpair.c (socketpair): Likewise.
10651         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10652         * stdlib/erand48.c (erand48): Likewise.
10653         * stdlib/erand48_r.c (__erand48_r): Likewise.
10654         * stdlib/jrand48.c (jrand48): Likewise.
10655         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10656         * stdlib/lcong48.c (lcong48): Likewise.
10657         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10658         * stdlib/nrand48.c (nrand48): Likewise.
10659         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10660         * stdlib/seed48.c (seed48): Likewise.
10661         * stdlib/seed48_r.c (__seed48_r): Likewise.
10662         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10663         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10664         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10666 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10668         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10669         * configure: Regenerated.
10670         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10671         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10672         unconditional.
10673         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10674         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10675         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10676         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10677         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10678         unconditional.
10679         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10681         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10682         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10684         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10685         function definition.
10686         * crypt/crypt_util.c (__encrypt_r): Likewise.
10687         * libio/genops.c (_IO_no_init): Likewise.
10688         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10689         (_IO_old_fopencookie): Likewise.
10690         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10691         * libio/iogetline.c (_IO_getline): Likewise.
10692         (_IO_getline_info): Likewise.
10693         * libio/iogetwline.c (_IO_getwline): Likewise.
10694         (_IO_getwline_info): Likewise.
10695         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10696         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10697         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10698         (find_entry): Likewise.
10699         (iterate_table): Likewise.
10700         (lookup): Likewise.
10701         * login/forkpty.c (forkpty): Likewise.
10702         * misc/hsearch_r.c (__hsearch_r): Likewise.
10703         * misc/select.c (__select): Likewise.
10704         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10705         Likewise.
10706         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10707         Likewise.
10708         * nptl/old_pthread_cond_timedwait.c
10709         (__pthread_cond_timedwait_2_0): Likewise.
10710         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10711         * nptl/pthread_barrierattr_getpshared.c
10712         (pthread_barrierattr_getpshared): Likewise.
10713         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10714         Likewise.
10715         * nptl/pthread_mutex_setprioceiling.c
10716         (pthread_mutex_setprioceiling): Likewise.
10717         * nptl/pthread_mutexattr_getprioceiling.c
10718         (pthread_mutexattr_getprioceiling): Likewise.
10719         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10720         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10721         Likewise.
10722         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10723         Likewise.
10724         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10725         Likewise.
10726         * socket/recvfrom.c (__recvfrom): Likewise.
10727         * socket/sendto.c (__sendto): Likewise.
10728         * socket/setsockopt.c (__setsockopt): Likewise.
10729         * stdio-common/_itoa.c (_itoa): Likewise.
10730         * stdio-common/_itowa.c (_itowa): Likewise.
10731         * stdio-common/reg-printf.c (__register_printf_specifier):
10732         Likewise.
10733         (__register_printf_function): Likewise.
10734         * stdio-common/tempname.c (__path_search): Likewise.
10735         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10736         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10737         * stdlib/random_r.c (__initstate_r): Likewise.
10738         * stdlib/setenv.c (__add_to_environ): Likewise.
10739         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10740         * streams/getpmsg.c (getpmsg): Likewise.
10741         * streams/putmsg.c (putmsg): Likewise.
10742         * streams/putpmsg.c (putpmsg): Likewise.
10743         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10744         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10745         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10746         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10747         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10748         * sunrpc/svc_udp.c (cache_get): Likewise.
10749         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10750         * sysdeps/mach/hurd/getcwd.c
10751         (__canonicalize_directory_name_internal): Likewise.
10752         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10753         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10754         * sysdeps/mach/hurd/select.c (__select): Likewise.
10755         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10756         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10757         * sysdeps/sparc/nptl/pthread_barrier_init.c
10758         (__pthread_barrier_init): Likewise.
10759         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10760         (__pthread_cond_timedwait): Likewise.
10761         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10762         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10763         Likewise.
10764         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10765         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10766         Likewise.
10767         * sysvipc/semtimedop.c (semtimedop): Likewise.
10768         * time/setitimer.c (__setitimer): Likewise.
10769         * time/strftime_l.c (emacs_strftime): Likewise.
10771 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10773         * config.make.in (have-ssp): Delete.
10774         (stack-protector): New variable.
10775         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10776         cache test for -fstack-protector-strong.  Export stack_protector to
10777         the best ssp flag.
10778         * configure: Regenerated.
10779         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10780         * nscd/Makefile (CFLAGS-nscd): Likewise.
10781         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10783 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10785         [BZ #19122]
10786         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10787         attribute_hidden.
10789 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10791         [BZ #18743]
10792         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10793         code to...
10794         (ELIDE_LOCK): ...here.
10795         (__get_new_count): New function with part of the code from
10796         __elide_lock that updates the value of adapt_count after a
10797         transaction abort.
10798         (__elided_trylock): Moved this code to...
10799         (ELIDE_TRYLOCK): ...here.
10801 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10803         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10804         * configure: Regenerate.
10805         * INSTALL: Regenerate.
10806         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10807         and tweak grammar.
10809 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10811         * login/programs/pt_chown.c: Include signal.h
10812         (main): Clear any signal mask from the parent process.
10814 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10816         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10817         * configure: Regenerated.
10818         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10819         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10820         $(gnu89-inline-CFLAGS).
10822         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10823         test.
10824         (libc_cv_asm_weakext_directive): Likewise.
10825         * configure: Regenerated.
10826         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10827         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10828         * include/libc-symbols.h
10829         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10830         #error.
10831         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10832         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10834         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10835         prototype-style function definition.
10836         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10837         * sysdeps/i386/ffs.c (__ffs): Likewise.
10838         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10839         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10840         Likewise.
10841         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10842         Likewise.
10843         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10844         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10845         Likewise.
10846         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10847         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10848         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10849         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10850         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10851         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10852         * sysdeps/mach/hurd/access.c (__access): Likewise.
10853         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10854         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10855         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10856         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10857         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10858         (cthread_getspecific): Likewise.
10859         (cthread_setspecific): Likewise.
10860         (__libc_getspecific): Likewise.
10861         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10862         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10863         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10864         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10865         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10866         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10867         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10868         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10869         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10870         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10871         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10872         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10873         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10874         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10875         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10876         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10877         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10878         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10879         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10880         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10881         * sysdeps/mach/hurd/link.c (__link): Likewise.
10882         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10883         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10884         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10885         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10886         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10887         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10888         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10889         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10890         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10891         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10892         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10893         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10894         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10895         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10896         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10897         * sysdeps/mach/hurd/send.c (__send): Likewise.
10898         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10899         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10900         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10901         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10902         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10903         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10904         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10905         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10906         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10907         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10908         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10909         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10910         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10911         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10912         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10913         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10914         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10915         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10916         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10917         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10918         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10919         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10920         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10921         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10922         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10923         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10924         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10925         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10926         * sysdeps/posix/alarm.c (alarm): Likewise.
10927         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10928         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10929         * sysdeps/posix/dup.c (__dup): Likewise.
10930         * sysdeps/posix/dup2.c (__dup2): Likewise.
10931         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10932         (main): Likewise.
10933         * sysdeps/posix/flock.c (__flock): Likewise.
10934         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10935         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10936         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10937         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10938         * sysdeps/posix/isatty.c (__isatty): Likewise.
10939         * sysdeps/posix/killpg.c (killpg): Likewise.
10940         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10941         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10942         * sysdeps/posix/raise.c (raise): Likewise.
10943         * sysdeps/posix/remove.c (remove): Likewise.
10944         * sysdeps/posix/rename.c (rename): Likewise.
10945         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10946         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10947         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10948         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10949         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10950         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10951         * sysdeps/posix/sigset.c (sigset): Likewise.
10952         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10953         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10954         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10955         * sysdeps/posix/time.c (time): Likewise.
10956         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10957         (ttyname): Likewise.
10958         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10959         * sysdeps/posix/utime.c (utime): Likewise.
10960         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10961         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10962         Likewise.
10963         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10964         (pthread_spin_trylock): Likewise.
10965         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10966         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10967         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10968         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10969         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10970         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10971         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10972         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10973         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10974         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10975         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10976         * sysdeps/s390/ffs.c (__ffs): Likewise.
10977         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10978         Likewise.
10979         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10980         Likewise.
10981         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10982         Likewise.
10983         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10984         (pthread_barrier_destroy): Likewise.
10985         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10986         (__pthread_barrier_wait): Likewise.
10987         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10988         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10989         (__pthread_barrier_wait): Likewise.
10990         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10991         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10992         (memcmp_not_common_alignment): Likewise.
10993         (MEMCMP): Likewise.
10994         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10995         (_wordcopy_fwd_dest_aligned): Likewise.
10996         (_wordcopy_bwd_aligned): Likewise.
10997         (_wordcopy_bwd_dest_aligned): Likewise.
10998         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10999         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11000         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11001         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11002         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11003         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11004         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11005         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11006         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11007         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11008         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11009         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11010         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11011         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11012         * sysdeps/unix/stime.c (stime): Likewise.
11013         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11014         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11015         Likewise.  Use internal_function.
11016         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11017         Convert to prototype-style function definition.
11018         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11019         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11020         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11021         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11022         Likewise.  Use internal_function.
11023         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11024         prototype-style function definition
11025         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11026         Likewise.
11027         (__getlogin_r): Likewise.
11028         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11029         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11030         (__pthread_cond_broadcast): Likewise.
11031         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11032         (__pthread_cond_destroy): Likewise.
11033         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11034         (__pthread_cond_init): Likewise.
11035         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11036         (__pthread_cond_signal): Likewise.
11037         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11038         (__pthread_cond_wait): Likewise.
11039         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11040         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11041         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11042         Likewise.
11043         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11044         Likewise.
11045         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11046         Likewise.
11047         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11048         Likewise.
11049         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11051         (__ftruncate64): Likewise.
11052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11053         (truncate64): Likewise.
11054         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11055         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11056         (pthread_getcpuclockid): Likewise.
11057         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11058         Likewise.
11059         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11060         Likewise.
11061         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11062         Likewise.
11063         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11064         Likewise.
11065         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11066         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11067         (__libc_sigaction): Likewise.
11068         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11069         Likewise.
11070         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11071         (__sigprocmask): Likewise.
11072         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11073         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11074         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11075         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11076         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11077         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11078         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11079         Likewise.
11080         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11081         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11082         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11083         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11084         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11085         Likewise.
11086         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11087         (__sigprocmask): Likewise.
11088         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11089         (cfgetispeed): Likewise.
11090         (cfsetospeed): Likewise.
11091         (cfsetispeed): Likewise.
11092         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11093         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11094         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11095         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11096         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11097         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11098         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11099         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11100         Likewise.
11101         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11102         Likewise.
11103         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11104         Likewise.
11105         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11106         Likewise.
11107         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11109 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11111         sunrpc: Rewrite with explicit TLS access using __thread.
11112         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11113         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11114         directly.
11115         (__rpc_thread_variables): Access thread_rpc_vars directly.
11116         Eliminate redundant assignment of the tvp variable.
11118 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11120         malloc: Rewrite with explicit TLS access using __thread.
11121         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11122         (tsd_setspecific, tsd_getspecific): Remove.
11123         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11124         (tsd_setspecific, tsd_getspecific): Likewise.
11125         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11126         (tsd_setspecific, tsd_getspecific): Likewise.
11127         * malloc/arena.c (thread_arena): New TLS variable.
11128         (arena_key): Remove variable.
11129         (arena_get): Use thread_arena.
11130         (arena_lookup): Remove macro.
11131         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11132         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11133         (_int_new_arena, get_free_list, reused_arena)
11134         (arena_thread_freeres): Use thread_arena.
11135         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11136         tsd_getspecific, tsd_setspecific from safety annotations.
11137         (Allocating Cleared Space): Remove arena_lookup from safety
11138         annotations.
11140 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11142         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11143         struct scratch_buffer instead of extend_alloca.
11145 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11147         * sysdeps/unix/sysv/linux/kernel-features.h
11148         (__ASSUME_SOCK_CLOEXEC): Remove.
11149         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11150         (__have_paccept): Remove unused macro.
11151         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11152         * misc/syslog.c (openlog_internal): Remove fallback code for
11153         !__ASSUME_SOCK_CLOEXEC.
11154         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11155         missing SOCK_CLOEXEC.
11156         * nscd/connections.c (have_sock_cloexec): Remove definition.
11157         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11158         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11159         !__ASSUME_SOCK_CLOEXEC.
11160         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11161         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11162         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11163         definition.
11164         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11165         code for !__ASSUME_SOCK_CLOEXEC.
11167 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11169         [BZ #18982]
11170         * manual/stdio.texi (Variable Arguments Output): Add portability
11171         note, explaining that vfprintf clobbers the va_list pointer.
11173 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11175         * math/libm-test.inc (fabs_test_data): Add more tests.
11176         (fdim_test_data): Likewise.
11177         (fma_test_data): Likewise.
11178         (fmax_test_data): Likewise.
11179         (fmin_test_data): Likewise.
11180         (fmod_test_data): Likewise.
11182 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11184         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11185         data.
11187 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11189         * math/libm-test.inc (ceil_test_data): Add more tests and more
11190         expectations for "inexact".
11191         (floor_test_data): Add more tests.
11192         (round_test_data): Likewise.
11193         (trunc_test_data): Likewise.
11195         * crypt/cert.c (good_bye): Convert to prototype-style function
11196         definition.
11197         (get8): Likewise.
11198         (put8): Likewise.
11199         * crypt/crypt-entry.c (crypt): Likewise.
11200         (__fcrypt): Likewise.
11201         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11202         (_ufc_set_bits): Likewise.
11203         (_ufc_clearmem): Likewise.
11204         (__init_des_r): Likewise.
11205         (shuffle_sb): Likewise.
11206         (shuffle_sb): Likewise.
11207         (_ufc_setup_salt_r): Likewise.
11208         (_ufc_mk_keytab_r): Likewise.
11209         (_ufc_dofinalperm_r): Likewise.
11210         (encrypt): Likewise.
11211         (__setkey_r): Likewise.
11212         (setkey): Likewise.
11213         * crypt/md5.c (md5_init_ctx): Likewise.
11214         (md5_read_ctx): Likewise.
11215         (md5_finish_ctx): Likewise.
11216         (md5_stream): Likewise.
11217         (md5_buffer): Likewise.
11218         (md5_process_bytes): Likewise.
11219         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11220         (__sha256_finish_ctx): Likewise.
11221         (__sha256_process_bytes): Likewise.
11222         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11223         (__sha512_finish_ctx): Likewise.
11224         (__sha512_process_bytes): Likewise.
11225         * ctype/isctype.c (__isctype): Likewise.
11226         * debug/backtrace.c (__backtrace): Likewise.
11227         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11228         * debug/fgets_chk.c (__fgets_chk): Likewise.
11229         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11230         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11231         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11232         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11233         * debug/memset_chk.c (__memset_chk): Likewise.
11234         * debug/strcat_chk.c (__strcat_chk): Likewise.
11235         * debug/strncat_chk.c (__strncat_chk): Likewise.
11236         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11237         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11238         * dirent/dirfd.c (dirfd): Likewise.
11239         * dirent/getdents.c (__getdirentries): Likewise.
11240         * dirent/getdents64.c (getdirentries64): Likewise.
11241         * dirent/rewinddir.c (__rewinddir): Likewise.
11242         * dirent/seekdir.c (seekdir): Likewise.
11243         * dirent/telldir.c (telldir): Likewise.
11244         * elf/sln.c (makesymlinks): Likewise.
11245         (makesymlink): Likewise.
11246         * gmon/gmon.c (__moncontrol): Likewise.
11247         (__monstartup): Likewise.
11248         (write_hist): Likewise.
11249         (write_call_graph): Likewise.
11250         (write_bb_counts): Likewise.
11251         * grp/setgroups.c (setgroups): Likewise.
11252         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11253         * inet/inet_net.c (inet_network): Likewise.
11254         * inet/inet_netof.c (inet_netof): Likewise.
11255         * inet/rcmd.c (rresvport_af): Likewise.
11256         (rresvport): Likewise.
11257         * io/access.c (__access): Likewise.
11258         * io/chdir.c (__chdir): Likewise.
11259         * io/chmod.c (__chmod): Likewise.
11260         * io/chown.c (__chown): Likewise.
11261         * io/close.c (__close): Likewise.
11262         * io/creat.c (creat): Likewise.
11263         * io/creat64.c (creat64): Likewise.
11264         * io/dup.c (__dup): Likewise.
11265         * io/dup2.c (__dup2): Likewise.
11266         * io/dup3.c (__dup3): Likewise.
11267         * io/euidaccess.c (__euidaccess): Likewise.
11268         * io/faccessat.c (faccessat): Likewise.
11269         * io/fchmod.c (__fchmod): Likewise.
11270         * io/fchmodat.c (fchmodat): Likewise.
11271         * io/fchown.c (__fchown): Likewise.
11272         * io/fchownat.c (fchownat): Likewise.
11273         * io/fcntl.c (__fcntl): Likewise.
11274         * io/flock.c (__flock): Likewise.
11275         * io/fts.c (fts_load): Likewise.
11276         (fts_close): Likewise.
11277         (fts_read): Likewise.
11278         (fts_set): Likewise.
11279         (fts_children): Likewise.
11280         (fts_build): Likewise.
11281         (fts_stat): Likewise.
11282         (fts_sort): Likewise.
11283         (fts_alloc): Likewise.
11284         (fts_lfree): Likewise.
11285         (fts_palloc): Likewise.
11286         (fts_padjust): Likewise.
11287         (fts_maxarglen): Likewise.
11288         (fts_safe_changedir): Likewise.
11289         * io/getwd.c (getwd): Likewise.
11290         * io/isatty.c (__isatty): Likewise.
11291         * io/lchown.c (__lchown): Likewise.
11292         * io/link.c (__link): Likewise.
11293         * io/linkat.c (linkat): Likewise.
11294         * io/lseek.c (__libc_lseek): Likewise.
11295         * io/mkdir.c (__mkdir): Likewise.
11296         * io/mkdirat.c (mkdirat): Likewise.
11297         * io/mkfifo.c (mkfifo): Likewise.
11298         * io/mkfifoat.c (mkfifoat): Likewise.
11299         * io/open.c (__libc_open): Likewise.
11300         * io/open64.c (__libc_open64): Likewise.
11301         * io/readlink.c (__readlink): Likewise.
11302         * io/readlinkat.c (readlinkat): Likewise.
11303         * io/rmdir.c (__rmdir): Likewise.
11304         * io/symlink.c (__symlink): Likewise.
11305         * io/symlinkat.c (symlinkat): Likewise.
11306         * io/ttyname.c (ttyname): Likewise.
11307         * io/ttyname_r.c (__ttyname_r): Likewise.
11308         * io/umask.c (__umask): Likewise.
11309         * io/unlink.c (__unlink): Likewise.
11310         * io/unlinkat.c (unlinkat): Likewise.
11311         * io/utime.c (utime): Likewise.
11312         * libio/clearerr.c (clearerr): Likewise.
11313         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11314         * libio/feof.c (_IO_feof): Likewise.
11315         * libio/feof_u.c (feof_unlocked): Likewise.
11316         * libio/ferror.c (_IO_ferror): Likewise.
11317         * libio/ferror_u.c (ferror_unlocked): Likewise.
11318         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11319         * libio/fileno.c (__fileno): Likewise.
11320         * libio/fputc.c (fputc): Likewise.
11321         * libio/fputc_u.c (fputc_unlocked): Likewise.
11322         * libio/fputwc.c (fputwc): Likewise.
11323         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11324         * libio/freopen.c (freopen): Likewise.
11325         * libio/freopen64.c (freopen64): Likewise.
11326         * libio/fseek.c (fseek): Likewise.
11327         * libio/fseeko.c (fseeko): Likewise.
11328         * libio/fseeko64.c (fseeko64): Likewise.
11329         * libio/ftello.c (__ftello): Likewise.
11330         * libio/ftello64.c (ftello64): Likewise.
11331         * libio/fwide.c (fwide): Likewise.
11332         * libio/genops.c (_IO_un_link): Likewise.
11333         (_IO_link_in): Likewise.
11334         (_IO_least_marker): Likewise.
11335         (_IO_switch_to_main_get_area): Likewise.
11336         (_IO_switch_to_backup_area): Likewise.
11337         (_IO_switch_to_get_mode): Likewise.
11338         (_IO_free_backup_area): Likewise.
11339         (_IO_switch_to_put_mode): Likewise.
11340         (__overflow): Likewise.
11341         (__underflow): Likewise.
11342         (__uflow): Likewise.
11343         (_IO_setb): Likewise.
11344         (_IO_doallocbuf): Likewise.
11345         (_IO_default_underflow): Likewise.
11346         (_IO_default_uflow): Likewise.
11347         (_IO_default_xsputn): Likewise.
11348         (_IO_sgetn): Likewise.
11349         (_IO_default_xsgetn): Likewise.
11350         (_IO_sync): Likewise.
11351         (_IO_default_setbuf): Likewise.
11352         (_IO_default_seekpos): Likewise.
11353         (_IO_default_doallocate): Likewise.
11354         (_IO_init): Likewise.
11355         (_IO_old_init): Likewise.
11356         (_IO_default_sync): Likewise.
11357         (_IO_default_finish): Likewise.
11358         (_IO_default_seekoff): Likewise.
11359         (_IO_sputbackc): Likewise.
11360         (_IO_sungetc): Likewise.
11361         (_IO_set_column): Likewise.
11362         (_IO_set_column): Likewise.
11363         (_IO_adjust_column): Likewise.
11364         (_IO_get_column): Likewise.
11365         (_IO_init_marker): Likewise.
11366         (_IO_remove_marker): Likewise.
11367         (_IO_marker_difference): Likewise.
11368         (_IO_marker_delta): Likewise.
11369         (_IO_seekmark): Likewise.
11370         (_IO_unsave_markers): Likewise.
11371         (_IO_nobackup_pbackfail): Likewise.
11372         (_IO_default_pbackfail): Likewise.
11373         (_IO_default_seek): Likewise.
11374         (_IO_default_stat): Likewise.
11375         (_IO_default_read): Likewise.
11376         (_IO_default_write): Likewise.
11377         (_IO_default_showmanyc): Likewise.
11378         (_IO_default_imbue): Likewise.
11379         (_IO_iter_next): Likewise.
11380         (_IO_iter_file): Likewise.
11381         * libio/getc.c (_IO_getc): Likewise.
11382         * libio/getwc.c (_IO_getwc): Likewise.
11383         * libio/iofclose.c (_IO_new_fclose): Likewise.
11384         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11385         * libio/iofflush.c (_IO_fflush): Likewise.
11386         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11387         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11388         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11389         * libio/iofgets.c (_IO_fgets): Likewise.
11390         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11391         * libio/iofgetws.c (fgetws): Likewise.
11392         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11393         * libio/iofopen64.c (_IO_fopen64): Likewise.
11394         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11395         (_IO_cookie_write): Likewise.
11396         (_IO_cookie_seek): Likewise.
11397         (_IO_cookie_close): Likewise.
11398         (_IO_cookie_seekoff): Likewise.
11399         (_IO_old_cookie_seek): Likewise.
11400         * libio/iofputs.c (_IO_fputs): Likewise.
11401         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11402         * libio/iofputws.c (fputws): Likewise.
11403         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11404         * libio/iofread.c (_IO_fread): Likewise.
11405         * libio/iofread_u.c (__fread_unlocked): Likewise.
11406         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11407         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11408         * libio/ioftell.c (_IO_ftell): Likewise.
11409         * libio/iofwrite.c (_IO_fwrite): Likewise.
11410         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11411         * libio/iogets.c (_IO_gets): Likewise.
11412         * libio/iopadn.c (_IO_padn): Likewise.
11413         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11414         (_IO_new_popen): Likewise.
11415         (_IO_new_proc_close): Likewise.
11416         * libio/ioputs.c (_IO_puts): Likewise.
11417         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11418         (_IO_seekoff): Likewise.
11419         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11420         (_IO_seekpos): Likewise.
11421         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11422         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11423         * libio/ioungetc.c (_IO_ungetc): Likewise.
11424         * libio/ioungetwc.c (ungetwc): Likewise.
11425         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11426         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11427         * libio/iowpadn.c (_IO_wpadn): Likewise.
11428         * libio/libc_fatal.c (__libc_fatal): Likewise.
11429         * libio/memstream.c (__open_memstream): Likewise.
11430         (_IO_mem_sync): Likewise.
11431         (_IO_mem_finish): Likewise.
11432         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11433         (_IO_old_file_close_it): Likewise.
11434         (_IO_old_file_finish): Likewise.
11435         (_IO_old_file_fopen): Likewise.
11436         (_IO_old_file_attach): Likewise.
11437         (_IO_old_file_setbuf): Likewise.
11438         (_IO_old_do_write): Likewise.
11439         (old_do_write): Likewise.
11440         (_IO_old_file_underflow): Likewise.
11441         (_IO_old_file_overflow): Likewise.
11442         (_IO_old_file_sync): Likewise.
11443         (_IO_old_file_seekoff): Likewise.
11444         (_IO_old_file_write): Likewise.
11445         (_IO_old_file_xsputn): Likewise.
11446         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11447         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11448         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11449         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11450         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11451         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11452         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11453         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11454         (_IO_old_popen): Likewise.
11455         (_IO_old_proc_close): Likewise.
11456         * libio/oldpclose.c (__old_pclose): Likewise.
11457         * libio/pclose.c (__new_pclose): Likewise.
11458         * libio/peekc.c (_IO_peekc_locked): Likewise.
11459         * libio/putc.c (_IO_putc): Likewise.
11460         * libio/putc_u.c (putc_unlocked): Likewise.
11461         * libio/putchar.c (putchar): Likewise.
11462         * libio/putchar_u.c (putchar_unlocked): Likewise.
11463         * libio/putwc.c (putwc): Likewise.
11464         * libio/putwc_u.c (putwc_unlocked): Likewise.
11465         * libio/putwchar.c (putwchar): Likewise.
11466         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11467         * libio/rewind.c (rewind): Likewise.
11468         * libio/setbuf.c (setbuf): Likewise.
11469         * libio/setlinebuf.c (setlinebuf): Likewise.
11470         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11471         * libio/vscanf.c (_IO_vscanf): Likewise.
11472         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11473         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11474         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11475         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11476         (_IO_switch_to_main_wget_area): Likewise.
11477         (_IO_switch_to_wbackup_area): Likewise.
11478         (_IO_wsetb): Likewise.
11479         (_IO_wdefault_pbackfail): Likewise.
11480         (_IO_wdefault_finish): Likewise.
11481         (_IO_wdefault_uflow): Likewise.
11482         (__woverflow): Likewise.
11483         (__wuflow): Likewise.
11484         (__wunderflow): Likewise.
11485         (_IO_wdefault_xsputn): Likewise.
11486         (_IO_wdefault_xsgetn): Likewise.
11487         (_IO_wdoallocbuf): Likewise.
11488         (_IO_wdefault_doallocate): Likewise.
11489         (_IO_switch_to_wget_mode): Likewise.
11490         (_IO_free_wbackup_area): Likewise.
11491         (_IO_switch_to_wput_mode): Likewise.
11492         (_IO_sputbackwc): Likewise.
11493         (_IO_sungetwc): Likewise.
11494         (_IO_adjust_wcolumn): Likewise.
11495         (_IO_init_wmarker): Likewise.
11496         (_IO_wmarker_delta): Likewise.
11497         (_IO_seekwmark): Likewise.
11498         (_IO_unsave_wmarkers): Likewise.
11499         * libio/wmemstream.c (open_wmemstream): Likewise.
11500         (_IO_wmem_sync): Likewise.
11501         (_IO_wmem_finish): Likewise.
11502         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11503         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11504         * locale/programs/simple-hash.c (init_hash): Likewise.
11505         (delete_hash): Likewise.
11506         (insert_entry): Likewise.
11507         (set_entry): Likewise.
11508         (next_prime): Likewise.
11509         (is_prime): Likewise.
11510         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11511         (xmalloc): Likewise.
11512         (xrealloc): Likewise.
11513         * locale/programs/xstrdup.c (xstrdup): Likewise.
11514         * localedata/collate-test.c (xstrcoll): Likewise.
11515         * localedata/xfrm-test.c (xstrcmp): Likewise.
11516         * login/getlogin_r.c (__getlogin_r): Likewise.
11517         * login/getpt.c (__posix_openpt): Likewise.
11518         * login/login_tty.c (login_tty): Likewise.
11519         * login/setlogin.c (setlogin): Likewise.
11520         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11521         (mach_msg_destroy_port): Likewise.
11522         (mach_msg_destroy_memory): Likewise.
11523         * malloc/mcheck.c (flood): Likewise.
11524         * misc/acct.c (acct): Likewise.
11525         * misc/brk.c (__brk): Likewise.
11526         * misc/chflags.c (chflags): Likewise.
11527         * misc/chroot.c (chroot): Likewise.
11528         * misc/fchflags.c (fchflags): Likewise.
11529         * misc/fstab.c (getfsspec): Likewise.
11530         (getfsfile): Likewise.
11531         * misc/fsync.c (fsync): Likewise.
11532         * misc/ftruncate.c (__ftruncate): Likewise.
11533         * misc/ftruncate64.c (__ftruncate64): Likewise.
11534         * misc/getdomain.c (getdomainname): Likewise.
11535         (getdomainname): Likewise.
11536         * misc/gethostname.c (__gethostname): Likewise.
11537         * misc/getpass.c (getpass): Likewise.
11538         * misc/getttyent.c (skip): Likewise.
11539         (value): Likewise.
11540         * misc/gtty.c (gtty): Likewise.
11541         * misc/hsearch.c (hsearch): Likewise.
11542         (hcreate): Likewise.
11543         * misc/hsearch_r.c (__hcreate_r): Likewise.
11544         (__hdestroy_r): Likewise.
11545         * misc/ioctl.c (__ioctl): Likewise.
11546         * misc/mkdtemp.c (mkdtemp): Likewise.
11547         * misc/mkostemp.c (mkostemp): Likewise.
11548         * misc/mkostemp64.c (mkostemp64): Likewise.
11549         * misc/mkostemps.c (mkostemps): Likewise.
11550         * misc/mkostemps64.c (mkostemps64): Likewise.
11551         * misc/mkstemp.c (mkstemp): Likewise.
11552         * misc/mkstemp64.c (mkstemp64): Likewise.
11553         * misc/mkstemps.c (mkstemps): Likewise.
11554         * misc/mkstemps64.c (mkstemps64): Likewise.
11555         * misc/mktemp.c (__mktemp): Likewise.
11556         * misc/preadv.c (preadv): Likewise.
11557         * misc/preadv64.c (preadv64): Likewise.
11558         * misc/pwritev.c (pwritev): Likewise.
11559         * misc/pwritev64.c (pwritev64): Likewise.
11560         * misc/readv.c (__readv): Likewise.
11561         * misc/revoke.c (revoke): Likewise.
11562         * misc/setdomain.c (setdomainname): Likewise.
11563         * misc/setegid.c (setegid): Likewise.
11564         * misc/seteuid.c (seteuid): Likewise.
11565         * misc/sethostid.c (sethostid): Likewise.
11566         * misc/sethostname.c (sethostname): Likewise.
11567         * misc/setregid.c (__setregid): Likewise.
11568         * misc/setreuid.c (__setreuid): Likewise.
11569         * misc/sstk.c (sstk): Likewise.
11570         * misc/stty.c (stty): Likewise.
11571         * misc/syscall.c (syscall): Likewise.
11572         * misc/syslog.c (setlogmask): Likewise.
11573         * misc/truncate.c (__truncate): Likewise.
11574         * misc/truncate64.c (truncate64): Likewise.
11575         * misc/ualarm.c (ualarm): Likewise.
11576         * misc/usleep.c (usleep): Likewise.
11577         * misc/ustat.c (ustat): Likewise.
11578         * misc/writev.c (__writev): Likewise.
11579         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11580         * nptl/old_pthread_cond_broadcast.c
11581         (__pthread_cond_broadcast_2_0): Likewise.
11582         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11583         Likewise.
11584         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11585         Likewise.
11586         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11587         Likewise.
11588         * nptl/pt-raise.c (raise): Likewise.
11589         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11590         Likewise.
11591         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11592         * nptl/pthread_barrierattr_destroy.c
11593         (pthread_barrierattr_destroy): Likewise.
11594         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11595         Likewise.
11596         * nptl/pthread_barrierattr_setpshared.c
11597         (pthread_barrierattr_setpshared): Likewise.
11598         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11599         Likewise.
11600         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11601         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11602         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11603         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11604         Likewise.
11605         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11606         Likewise.
11607         * nptl/pthread_condattr_getpshared.c
11608         (pthread_condattr_getpshared): Likewise.
11609         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11610         Likewise.
11611         * nptl/pthread_condattr_setpshared.c
11612         (pthread_condattr_setpshared): Likewise.
11613         * nptl/pthread_detach.c (pthread_detach): Likewise.
11614         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11615         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11616         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11617         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11618         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11619         Likewise.
11620         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11621         Likewise.
11622         * nptl/pthread_mutex_getprioceiling.c
11623         (pthread_mutex_getprioceiling): Likewise.
11624         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11625         Likewise.
11626         * nptl/pthread_mutexattr_getprotocol.c
11627         (pthread_mutexattr_getprotocol): Likewise.
11628         * nptl/pthread_mutexattr_getpshared.c
11629         (pthread_mutexattr_getpshared): Likewise.
11630         * nptl/pthread_mutexattr_getrobust.c
11631         (pthread_mutexattr_getrobust): Likewise.
11632         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11633         Likewise.
11634         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11635         Likewise.
11636         * nptl/pthread_mutexattr_setprioceiling.c
11637         (pthread_mutexattr_setprioceiling): Likewise.
11638         * nptl/pthread_mutexattr_setprotocol.c
11639         (pthread_mutexattr_setprotocol): Likewise.
11640         * nptl/pthread_mutexattr_setpshared.c
11641         (pthread_mutexattr_setpshared): Likewise.
11642         * nptl/pthread_mutexattr_setrobust.c
11643         (pthread_mutexattr_setrobust): Likewise.
11644         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11645         Likewise.
11646         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11647         Likewise.
11648         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11649         Likewise.
11650         * nptl/pthread_rwlockattr_getkind_np.c
11651         (pthread_rwlockattr_getkind_np): Likewise.
11652         * nptl/pthread_rwlockattr_getpshared.c
11653         (pthread_rwlockattr_getpshared): Likewise.
11654         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11655         Likewise.
11656         * nptl/pthread_rwlockattr_setkind_np.c
11657         (pthread_rwlockattr_setkind_np): Likewise.
11658         * nptl/pthread_rwlockattr_setpshared.c
11659         (pthread_rwlockattr_setpshared): Likewise.
11660         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11661         Likewise.
11662         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11663         Likewise.
11664         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11665         Likewise.
11666         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11667         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11668         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11669         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11670         * nptl/sem_close.c (sem_close): Likewise.
11671         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11672         * nptl/sem_init.c (__old_sem_init): Likewise.
11673         * nptl/sigaction.c (__sigaction): Likewise.
11674         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11675         * posix/_exit.c (_exit): Likewise.
11676         * posix/alarm.c (alarm): Likewise.
11677         * posix/confstr.c (confstr): Likewise.
11678         * posix/fpathconf.c (__fpathconf): Likewise.
11679         * posix/getgroups.c (__getgroups): Likewise.
11680         * posix/getpgid.c (__getpgid): Likewise.
11681         * posix/group_member.c (__group_member): Likewise.
11682         * posix/pathconf.c (__pathconf): Likewise.
11683         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11684         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11685         * posix/setgid.c (__setgid): Likewise.
11686         * posix/setpgid.c (__setpgid): Likewise.
11687         * posix/setuid.c (__setuid): Likewise.
11688         * posix/sleep.c (__sleep): Likewise.
11689         * posix/sysconf.c (__sysconf): Likewise.
11690         * posix/times.c (__times): Likewise.
11691         * posix/uname.c (__uname): Likewise.
11692         * posix/waitid.c (__waitid): Likewise.
11693         * pwd/getpw.c (__getpw): Likewise.
11694         * resolv/base64.c (b64_pton): Likewise.
11695         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11696         * resolv/gethnamaddr.c (Dprintf): Likewise.
11697         (gethostbyname): Likewise.
11698         (gethostbyname2): Likewise.
11699         (gethostbyaddr): Likewise.
11700         (_sethtent): Likewise.
11701         (_gethtbyname): Likewise.
11702         (_gethtbyname2): Likewise.
11703         (_gethtbyaddr): Likewise.
11704         (map_v4v6_address): Likewise.
11705         (map_v4v6_hostent): Likewise.
11706         (addrsort): Likewise.
11707         (ht_sethostent): Likewise.
11708         (ht_gethostbyname): Likewise.
11709         (ht_gethostbyaddr): Likewise.
11710         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11711         (inet_net_ntop_ipv4): Likewise.
11712         * resolv/inet_neta.c (inet_neta): Likewise.
11713         * resolv/inet_ntop.c (inet_ntop): Likewise.
11714         (inet_ntop4): Likewise.
11715         (inet_ntop6): Likewise.
11716         * resolv/inet_pton.c (__inet_pton): Likewise.
11717         (inet_pton4): Likewise.
11718         (inet_pton6): Likewise.
11719         * resolv/res_debug.c (loc_aton): Likewise.
11720         (loc_ntoa): Likewise.
11721         * resource/getpriority.c (__getpriority): Likewise.
11722         * resource/getrusage.c (__getrusage): Likewise.
11723         * resource/nice.c (nice): Likewise.
11724         * resource/setpriority.c (__setpriority): Likewise.
11725         * resource/setrlimit64.c (setrlimit64): Likewise.
11726         * resource/vlimit.c (vlimit): Likewise.
11727         * resource/vtimes.c (vtimes): Likewise.
11728         * rt/aio_error.c (aio_error): Likewise.
11729         * rt/aio_return.c (aio_return): Likewise.
11730         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11731         * signal/kill.c (__kill): Likewise.
11732         * signal/killpg.c (killpg): Likewise.
11733         * signal/raise.c (raise): Likewise.
11734         * signal/sigaction.c (__sigaction): Likewise.
11735         * signal/sigaddset.c (sigaddset): Likewise.
11736         * signal/sigaltstack.c (sigaltstack): Likewise.
11737         * signal/sigandset.c (sigandset): Likewise.
11738         * signal/sigblock.c (__sigblock): Likewise.
11739         * signal/sigdelset.c (sigdelset): Likewise.
11740         * signal/sigempty.c (sigemptyset): Likewise.
11741         * signal/sigfillset.c (sigfillset): Likewise.
11742         * signal/sighold.c (sighold): Likewise.
11743         * signal/sigignore.c (sigignore): Likewise.
11744         * signal/sigintr.c (siginterrupt): Likewise.
11745         * signal/sigisempty.c (sigisemptyset): Likewise.
11746         * signal/sigismem.c (sigismember): Likewise.
11747         * signal/signal.c (signal): Likewise.
11748         * signal/sigorset.c (sigorset): Likewise.
11749         * signal/sigpause.c (__sigpause): Likewise.
11750         * signal/sigpending.c (sigpending): Likewise.
11751         * signal/sigprocmask.c (__sigprocmask): Likewise.
11752         * signal/sigrelse.c (sigrelse): Likewise.
11753         * signal/sigreturn.c (__sigreturn): Likewise.
11754         * signal/sigset.c (sigset): Likewise.
11755         * signal/sigsetmask.c (__sigsetmask): Likewise.
11756         * signal/sigstack.c (sigstack): Likewise.
11757         * signal/sigsuspend.c (__sigsuspend): Likewise.
11758         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11759         * signal/sysv_signal.c (__sysv_signal): Likewise.
11760         * socket/accept.c (accept): Likewise.
11761         * socket/accept4.c (__libc_accept4): Likewise.
11762         * socket/bind.c (__bind): Likewise.
11763         * socket/connect.c (__connect): Likewise.
11764         * socket/getpeername.c (getpeername): Likewise.
11765         * socket/getsockname.c (__getsockname): Likewise.
11766         * socket/getsockopt.c (getsockopt): Likewise.
11767         * socket/listen.c (__listen): Likewise.
11768         * socket/recv.c (__recv): Likewise.
11769         * socket/recvmsg.c (__recvmsg): Likewise.
11770         * socket/send.c (__send): Likewise.
11771         * socket/sendmsg.c (__sendmsg): Likewise.
11772         * socket/shutdown.c (shutdown): Likewise.
11773         * socket/sockatmark.c (sockatmark): Likewise.
11774         * socket/socket.c (__socket): Likewise.
11775         * stdio-common/ctermid.c (ctermid): Likewise.
11776         * stdio-common/cuserid.c (cuserid): Likewise.
11777         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11778         * stdio-common/remove.c (remove): Likewise.
11779         * stdio-common/rename.c (rename): Likewise.
11780         * stdio-common/renameat.c (renameat): Likewise.
11781         * stdio-common/tempname.c (__gen_tempname): Likewise.
11782         * stdio-common/xbug.c (InitBuffer): Likewise.
11783         (AppendToBuffer): Likewise.
11784         (ReadFile): Likewise.
11785         * stdlib/a64l.c (a64l): Likewise.
11786         * stdlib/drand48_r.c (drand48_r): Likewise.
11787         * stdlib/getcontext.c (getcontext): Likewise.
11788         * stdlib/getenv.c (getenv): Likewise.
11789         * stdlib/l64a.c (l64a): Likewise.
11790         * stdlib/llabs.c (llabs): Likewise.
11791         * stdlib/lldiv.c (lldiv): Likewise.
11792         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11793         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11794         * stdlib/putenv.c (putenv): Likewise.
11795         * stdlib/random.c (__srandom): Likewise.
11796         (__initstate): Likewise.
11797         (__setstate): Likewise.
11798         * stdlib/random_r.c (__srandom_r): Likewise.
11799         (__setstate_r): Likewise.
11800         (__random_r): Likewise.
11801         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11802         * stdlib/setcontext.c (setcontext): Likewise.
11803         * stdlib/setenv.c (setenv): Likewise.
11804         (unsetenv): Likewise.
11805         * stdlib/srand48.c (srand48): Likewise.
11806         * stdlib/srand48_r.c (__srand48_r): Likewise.
11807         * stdlib/swapcontext.c (swapcontext): Likewise.
11808         * stdlib/system.c (__libc_system): Likewise.
11809         * stdlib/tst-strtod.c (expand): Likewise.
11810         * stdlib/tst-strtol.c (expand): Likewise.
11811         * stdlib/tst-strtoll.c (expand): Likewise.
11812         * streams/fattach.c (fattach): Likewise.
11813         * streams/fdetach.c (fdetach): Likewise.
11814         * streams/getmsg.c (getmsg): Likewise.
11815         * streams/isastream.c (isastream): Likewise.
11816         * string/ffs.c (__ffs): Likewise.
11817         * string/ffsll.c (ffsll): Likewise.
11818         * string/memcmp.c (memcmp_common_alignment): Likewise.
11819         (memcmp_not_common_alignment): Likewise.
11820         (MEMCMP): Likewise.
11821         * string/memcpy.c (memcpy): Likewise.
11822         * string/memmove.c (MEMMOVE): Likewise.
11823         * string/memset.c (memset): Likewise.
11824         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11825         * string/strchrnul.c (STRCHRNUL): Likewise.
11826         * string/strerror.c (strerror): Likewise.
11827         * string/strndup.c (__strndup): Likewise.
11828         * string/strverscmp.c (__strverscmp): Likewise.
11829         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11830         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11831         (clnttcp_freeres): Likewise.
11832         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11833         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11834         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11835         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11836         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11837         (xdr_callhdr): Likewise.
11838         * sunrpc/rpcinfo.c (udpping): Likewise.
11839         (tcpping): Likewise.
11840         (pstatus): Likewise.
11841         (pmapdump): Likewise.
11842         (brdcst): Likewise.
11843         (deletereg): Likewise.
11844         (getprognum): Likewise.
11845         (getvers): Likewise.
11846         (get_inet_address): Likewise.
11847         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11848         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11849         (svcudp_stat): Likewise.
11850         (svcudp_recv): Likewise.
11851         (svcudp_reply): Likewise.
11852         (svcudp_getargs): Likewise.
11853         (svcudp_freeargs): Likewise.
11854         (svcudp_destroy): Likewise.
11855         * sunrpc/xdr.c (xdr_bytes): Likewise.
11856         (xdr_netobj): Likewise.
11857         (xdr_string): Likewise.
11858         (xdr_wrapstring): Likewise.
11859         * sunrpc/xdr_float.c (xdr_float): Likewise.
11860         (xdr_double): Likewise.
11861         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11862         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11863         * sysvipc/ftok.c (ftok): Likewise.
11864         * sysvipc/msgctl.c (msgctl): Likewise.
11865         * sysvipc/msgget.c (msgget): Likewise.
11866         * sysvipc/msgrcv.c (msgrcv): Likewise.
11867         * sysvipc/msgsnd.c (msgsnd): Likewise.
11868         * sysvipc/semget.c (semget): Likewise.
11869         * sysvipc/semop.c (semop): Likewise.
11870         * sysvipc/shmat.c (shmat): Likewise.
11871         * sysvipc/shmctl.c (shmctl): Likewise.
11872         * sysvipc/shmdt.c (shmdt): Likewise.
11873         * sysvipc/shmget.c (shmget): Likewise.
11874         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11875         * termios/speed.c (cfgetospeed): Likewise.
11876         (cfgetispeed): Likewise.
11877         (cfsetospeed): Likewise.
11878         (cfsetispeed): Likewise.
11879         * termios/tcflow.c (tcflow): Likewise.
11880         * termios/tcflush.c (tcflush): Likewise.
11881         * termios/tcgetattr.c (__tcgetattr): Likewise.
11882         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11883         * termios/tcgetsid.c (tcgetsid): Likewise.
11884         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11885         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11886         * time/adjtime.c (__adjtime): Likewise.
11887         * time/dysize.c (dysize): Likewise.
11888         * time/ftime.c (ftime): Likewise.
11889         * time/getitimer.c (__getitimer): Likewise.
11890         * time/gettimeofday.c (__gettimeofday): Likewise.
11891         * time/gmtime.c (__gmtime_r): Likewise.
11892         (gmtime): Likewise.
11893         * time/localtime.c (__localtime_r): Likewise.
11894         (localtime): Likewise.
11895         * time/offtime.c (__offtime): Likewise.
11896         * time/settimeofday.c (__settimeofday): Likewise.
11897         * time/stime.c (stime): Likewise.
11898         * time/strftime_l.c (tm_diff): Likewise.
11899         (iso_week_days): Likewise.
11900         * time/strptime.c (strptime): Likewise.
11901         * time/time.c (time): Likewise.
11902         * time/timespec_get.c (timespec_get): Likewise.
11903         * time/tzset.c (tzset_internal): Likewise.
11904         (compute_change): Likewise.
11905         (__tz_compute): Likewise.
11906         * wcsmbs/btowc.c (__btowc): Likewise.
11907         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11908         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11909         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11910         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11911         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11912         * wcsmbs/wcscat.c (__wcscat): Likewise.
11913         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11914         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11915         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11916         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11917         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11918         * wcsmbs/wcslen.c (__wcslen): Likewise.
11919         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11920         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11921         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11922         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11923         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11924         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11925         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11926         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11927         * wcsmbs/wcstok.c (wcstok): Likewise.
11928         * wcsmbs/wctob.c (wctob): Likewise.
11929         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11930         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11931         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11932         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11933         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11934         * wcsmbs/wmemset.c (__wmemset): Likewise.
11935         * wctype/wcfuncs.c (__towlower): Likewise.
11936         (__towupper): Likewise.
11938         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11939         (lll_unlock_elision): Add adapt_count parameter.
11941 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11943         * sysdeps/nptl/configure.ac: Do not give errors based on the
11944         results of top-level configure tests.
11945         * sysdeps/nptl/configure: Regenerated.
11947         * configure.ac (libc_cv_Bgroup): Remove configure test.
11948         * configure: Regenerated.
11949         * config.make.in (have-Bgroup): Remove variable.
11951         * configure.ac (sizeof_long_double): Remove configure test.
11952         * configure: Regenerated.
11953         * config.make.in (sizeof-long-double): Remove variable.
11955         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11956         * configure: Regenerated.
11957         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11958         variable.
11959         (exceptions): Likewise.
11960         * sysdeps/arm/configure: Regenerated.
11961         * config.make.in (exceptions): Remove variable.
11962         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11963         $(exceptions).
11964         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11965         (CFLAGS-vdprintf_chk.c): Likewise.
11966         (CFLAGS-printf_chk.c): Likewise.
11967         (CFLAGS-fprintf_chk.c): Likewise.
11968         (CFLAGS-vprintf_chk.c): Likewise.
11969         (CFLAGS-vfprintf_chk.c): Likewise.
11970         (CFLAGS-gets_chk.c): Likewise.
11971         (CFLAGS-fgets_chk.c): Likewise.
11972         (CFLAGS-fgets_u_chk.c): Likewise.
11973         (CFLAGS-fread_chk.c): Likewise.
11974         (CFLAGS-fread_u_chk.c): Likewise.
11975         (CFLAGS-wprintf_chk.c): Likewise.
11976         (CFLAGS-fwprintf_chk.c): Likewise.
11977         (CFLAGS-vwprintf_chk.c): Likewise.
11978         (CFLAGS-vfwprintf_chk.c): Likewise.
11979         (CFLAGS-fgetws_chk.c): Likewise.
11980         (CFLAGS-fgetws_u_chk.c): Likewise.
11981         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11982         (CFLAGS-fputc.c): Likewise.
11983         (CFLAGS-fputwc.c): Likewise.
11984         (CFLAGS-freopen64.c): Likewise.
11985         (CFLAGS-freopen.c): Likewise.
11986         (CFLAGS-fseek.c): Likewise.
11987         (CFLAGS-fseeko64.c): Likewise.
11988         (CFLAGS-fseeko.c): Likewise.
11989         (CFLAGS-ftello64.c): Likewise.
11990         (CFLAGS-ftello.c): Likewise.
11991         (CFLAGS-fwide.c): Likewise.
11992         (CFLAGS-genops.c): Likewise.
11993         (CFLAGS-getc.c): Likewise.
11994         (CFLAGS-getchar.c): Likewise.
11995         (CFLAGS-getwc.c): Likewise.
11996         (CFLAGS-getwchar.c): Likewise.
11997         (CFLAGS-iofclose.c): Likewise.
11998         (CFLAGS-iofflush.c): Likewise.
11999         (CFLAGS-iofgetpos64.c): Likewise.
12000         (CFLAGS-iofgetpos.c): Likewise.
12001         (CFLAGS-iofgets.c): Likewise.
12002         (CFLAGS-iofgetws.c): Likewise.
12003         (CFLAGS-iofputs.c): Likewise.
12004         (CFLAGS-iofputws.c): Likewise.
12005         (CFLAGS-iofread.c): Likewise.
12006         (CFLAGS-iofsetpos64.c): Likewise.
12007         (CFLAGS-iofsetpos.c): Likewise.
12008         (CFLAGS-ioftell.c): Likewise.
12009         (CFLAGS-iofwrite.c): Likewise.
12010         (CFLAGS-iogetdelim.c): Likewise.
12011         (CFLAGS-iogetline.c): Likewise.
12012         (CFLAGS-iogets.c): Likewise.
12013         (CFLAGS-iogetwline.c): Likewise.
12014         (CFLAGS-ioputs.c): Likewise.
12015         (CFLAGS-ioseekoff.c): Likewise.
12016         (CFLAGS-ioseekpos.c): Likewise.
12017         (CFLAGS-iosetbuffer.c): Likewise.
12018         (CFLAGS-iosetvbuf.c): Likewise.
12019         (CFLAGS-ioungetc.c): Likewise.
12020         (CFLAGS-ioungetwc.c): Likewise.
12021         (CFLAGS-oldfileops.c): Likewise.
12022         (CFLAGS-oldiofclose.c): Likewise.
12023         (CFLAGS-oldiofgetpos64.c): Likewise.
12024         (CFLAGS-oldiofgetpos.c): Likewise.
12025         (CFLAGS-oldiofsetpos64.c): Likewise.
12026         (CFLAGS-oldiofsetpos.c): Likewise.
12027         (CFLAGS-peekc.c): Likewise.
12028         (CFLAGS-putc.c): Likewise.
12029         (CFLAGS-putchar.c): Likewise.
12030         (CFLAGS-putwc.c): Likewise.
12031         (CFLAGS-putwchar.c): Likewise.
12032         (CFLAGS-rewind.c): Likewise.
12033         (CFLAGS-wfileops.c): Likewise.
12034         (CFLAGS-wgenops.c): Likewise.
12035         (CFLAGS-oldiofopen.c): Likewise.
12036         (CFLAGS-iofopen.c): Likewise.
12037         (CFLAGS-iofopen64.c): Likewise.
12038         (CFLAGS-oldtmpfile.c): Likewise.
12039         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12040         (CFLAGS-fprintf.c): Likewise.
12041         (CFLAGS-printf.c): Likewise.
12042         (CFLAGS-vfwprintf.c): Likewise.
12043         (CFLAGS-vfscanf.c): Likewise.
12044         (CFLAGS-vfwscanf.c): Likewise.
12045         (CFLAGS-fscanf.c): Likewise.
12046         (CFLAGS-scanf.c): Likewise.
12047         (CFLAGS-isoc99_vfscanf.c): Likewise.
12048         (CFLAGS-isoc99_vscanf.c): Likewise.
12049         (CFLAGS-isoc99_fscanf.c): Likewise.
12050         (CFLAGS-isoc99_scanf.c): Likewise.
12051         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12052         (CFLAGS-isoc99_fwscanf.c): Likewise.
12053         (CFLAGS-isoc99_vwscanf.c): Likewise.
12054         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12056         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12057         after mkstemp64.
12058         * login/tst-utmp.c (do_prepare): Likewise.
12059         * rt/tst-aio.c (do_prepare): Likewise.
12060         * rt/tst-aio64.c (do_prepare): Likewise.
12062 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12064         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12065         (__lll_lock_elision): Remove adapt_count decrement...
12066         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12067         (__lll_trylock_elision): Likewise.
12068         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12069         (__lll_unlock_elision): ... to here. And utilize
12070         new adapt_count parameter.
12071         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12072         (__lll_unlock_elision): Update to include adapt_count
12073         parameter.
12074         (lll_unlock_elision): Pass pointer to adapt_count
12075         variable.
12077 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12079         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12080         Add elision adapt_count parameter to list of arguments.
12081         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12082         (lll_unlock_elision): Update with new parameter list
12083         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12084         (lll_unlock_elision): Likewise.
12085         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12086         (lll_unlock_elision): Likewise.
12088 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12090         [BZ #19122]
12091         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12092         attribute_hidden.
12094         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12095         attribute_hidden.
12096         [IS_IN (rtld)] (__strdup): Likewise.
12097         [IS_IN (rtld)] (__strerror_r): Likewise.
12098         [IS_IN (rtld)] (__strsep_g): Likewise.
12099         [IS_IN (rtld)] (memchr): Likewise.
12100         [IS_IN (rtld)] (memcmp): Likewise.
12101         [IS_IN (rtld)] (memcpy): Likewise.
12102         [IS_IN (rtld)] (memmove): Likewise.
12103         [IS_IN (rtld)] (memset): Likewise.
12104         [IS_IN (rtld)] (rawmemchr): Likewise.
12105         [IS_IN (rtld)] (stpcpy): Likewise.
12106         [IS_IN (rtld)] (strchr): Likewise.
12107         [IS_IN (rtld)] (strcmp): Likewise.
12108         [IS_IN (rtld)] (strlen): Likewise.
12109         [IS_IN (rtld)] (strnlen): Likewise.
12110         [IS_IN (rtld)] (strsep): Likewise.
12112         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12113         attribute_hidden.
12114         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12116         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12117         attribute_hidden.
12118         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12120         * include/setjmp.h (__longjmp): Add attribute_hidden.
12121         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12123         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12124         Add attribute_hidden.
12126         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12127         [IS_IN (rtld)] (__open): Likewise.
12128         [IS_IN (rtld)] (__fcntl): Likewise.
12130         * include/dirent.h (__opendirat): Add attribute_hidden.
12131         (__getdents): Likewise.
12132         (__getdents64): Likewise.
12133         (__alloc_dir): Likewise.
12134         [IS_IN (rtld)] (__closedir): Likewise.
12135         [IS_IN (rtld)] (__fdopendir): Likewise.
12136         [IS_IN (rtld)] (__readdir): Likewise.
12137         [IS_IN (rtld)] (__readdir64): Likewise.
12138         [IS_IN (rtld)] (__rewinddir): Likewise.
12140         * include/dlfcn.h (_dl_catch_error): Moved to ...
12141         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12142         attribute_hidden.
12144         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12145         (_itoa_word): Likewise.
12147         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12148         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12149         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12150         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12151         (_dl_higher_prime_number): Likewise.
12152         (_dl_debug_printf_c): Likewise.
12153         (_dl_signal_cerror): Likewise.
12154         (_dl_receive_error): Likewise.
12155         (_dl_reloc_bad_type): Likewise.
12156         (_dl_resolve_conflicts): Likewise.
12157         (_dl_check_all_versions): Likewise.
12158         (_dl_check_map_versions): Likewise.
12159         (_dl_sort_fini): Likewise.
12160         (_dl_debug_initialize): Likewise.
12161         (_dl_init_paths): Likewise.
12162         (_dl_show_auxv): Likewise.
12163         (_dl_next_ld_env_entry): Likewise.
12164         (_dl_important_hwcaps): Likewise.
12165         (_dl_load_cache_lookup): Likewise.
12166         (_dl_update_slotinfo): Likewise.
12167         (_dl_show_scope): Likewise.
12169         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12170         attribute_hidden.
12171         (_wordcopy_fwd_dest_aligned): Likewise.
12172         (_wordcopy_bwd_aligned): Likewise.
12173         (_wordcopy_bwd_dest_aligned): Likewise.
12175         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12176         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12177         Likewise.
12178         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12179         Likewise.
12180         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12182 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12184         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12185         GCC 5 requirement.
12187 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12189         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12190         test.
12191         * sysdeps/i386/configure: Regenerated.
12192         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12193         code unconditional.
12195         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12196         test.
12197         (libc_cv_asm_popsection_directive): Likewise.
12198         * configure: Regenerated.
12199         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12200         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12201         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12202         (__make_section_unallocated): Make definition unconditional.
12203         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12204         Remove conditional definition.
12205         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12206         (__make_section_unallocated): Likewise.
12208         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12209         * configure: Regenerated.
12210         * config.make.in (static-libgcc): Remove variable.
12211         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12212         $(static-libgcc).
12213         (build-module-helper): Likewise.
12215         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12216         * configure: Regenerated.
12218 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12220         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12221         (struct char_buffer): New type.
12222         (char_buffer_start, char_buffer_size, char_buffer_error)
12223         (char_buffer_rewind, char_buffer_add): New functions.
12224         (ADDW): Remove macro, replaced by the char_buffer_add function.
12225         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12226         of extend_alloca.  Make control flow more explicit.
12228 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12230         [BZ #19137]
12231         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12232         Add -fomit-frame-pointer.
12233         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12235 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12237         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12238         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12239         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12240         only if !__GNUC_PREREQ (5,0).
12241         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12242         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12243         (INTERNAL_SYSCALL_NCS): Likewise.
12244         (LOADREGS_0): New macro for GCC 5.
12245         (ASMARGS_0): Likewise.
12246         (LOADREGS_1): Likewise.
12247         (ASMARGS_1): Likewise.
12248         (LOADREGS_2): Likewise.
12249         (ASMARGS_2): Likewise.
12250         (LOADREGS_3): Likewise.
12251         (ASMARGS_3): Likewise.
12252         (LOADREGS_4): Likewise.
12253         (ASMARGS_4): Likewise.
12254         (LOADREGS_5): Likewise.
12255         (ASMARGS_5): Likewise.
12256         (LOADREGS_6): Likewise.
12257         (ASMARGS_6): Likewise.
12259 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12261         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12262         -fomit-frame-pointer.
12263         (CFLAGS-mmap64.c): Likewise.
12264         (CFLAGS-semtimedop.c): Likewise.
12265         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12266         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12267         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12268         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12270 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12272         [BZ #18928]
12273         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12274         _dl_pointer_guard member.
12275         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12276         initializer.
12277         (security_init): Always set up pointer guard.
12278         (process_envvars): Do not process LD_POINTER_GUARD.
12280 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12282         [BZ #19134]
12283         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12284         (.LC2): Likewise.
12285         (.LC3): Likewise.
12286         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12288 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12290         [BZ #19129]
12291         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12292         r0 and r1.
12294 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12296         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12298 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12300         * include/stap-probe.h: Fix macro definition formatting.
12302 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12304         [BZ #19074]
12305         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12306         load and store num_ifs.
12308 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12310         [BZ #18822]
12311         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12312         (__sched_getaffinity_new): Add libc_hidden_proto and
12313         libc_hidden_def.
12315 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12317         [BZ #19007]
12318         * scripts/localplt.awk: Also allow GOT references.
12319         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12320         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12321         with "+ REL R_386_GLOB_DAT".
12322         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12323         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12325 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12327         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12328         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12329         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12330         Likewise.
12331         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12332         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12333         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12334         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12335         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12336         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12337         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12338         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12339         Likewise.
12340         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12342 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12344         [BZ #19125]
12345         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12346         <math_private.h> and <stdint.h>.
12347         (__llround): Avoid conversions to and from long long int, and
12348         subtractions, where those might raise spurious exceptions.
12349         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12350         <math_private.h> and <stdint.h>.
12351         (__llroundf): Avoid conversions to and from long long int, and
12352         subtractions, where those might raise spurious exceptions.
12354 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12356         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12357         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12358         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12359         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12360         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12361         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12362         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12363         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12364         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12365         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12366         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12367         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12368         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12369         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12370         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12371         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12372         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12373         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12374         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12375         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12376         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12377         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12378         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12379         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12380         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12381         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12382         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12383         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12384         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12385         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12386         (__xstat64_conv): Likewise.
12387         (__xstat32_conv): Likewise.
12389 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12391         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12392         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12393         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12394         <sysdeps/unix/sysv/linux/sysdep.h>.
12395         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12396         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12397         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12398         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12399         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12400         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12401         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12402         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12403         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12406         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12408         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12409         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12410         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12411         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12412         (sysdep-dl-routines): Add sysdep.
12413         [$(subdir) == nptl] (libpthread-routines): Likewise.
12414         [$(subdir) == rt] (librt-routines): Likewise.
12415         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12416         PIC when branching to SYSCALL_ERROR_LABEL.
12417         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12418         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12419         <sysdeps/unix/sysv/linux/sysdep.h>.
12420         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12421         (SYSCALL_ERROR_ERRNO): Removed.
12422         (SYSCALL_ERROR_HANDLER): Changed to empty.
12423         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12424         (__syscall_error): New prototype.
12425         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12426         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12428 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12430         [BZ #19124]
12431         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12432         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12433         _dl_runtime_resolve_avx.
12434         (_dl_runtime_profile_avx512): Make it a hidden alias of
12435         _dl_runtime_profile_avx.
12437 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12439         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12440         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12441         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12442         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12444         [BZ #16422]
12445         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12446         New configure test.
12447         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12448         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12449         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12450         <math_private.h> and <stdint.h>.
12451         (__llrint): Avoid conversions to long long int where those might
12452         raise spurious exceptions.
12453         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12454         <math_private.h> and <stdint.h>.
12455         (__llrintf): Avoid conversions to long long int where those might
12456         raise spurious exceptions.
12458 2015-10-12  Andreas Schwab  <schwab@suse.de>
12460         [BZ #18969]
12461         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12462         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12463         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12464         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12465         $(gen-locales).
12466         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12467         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12468         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12469         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12470         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12471         $(gen-locales).
12472         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12473         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12474         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12475         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12476         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12477         ($(objpfx)tst-ftell-active-handler.out)
12478         ($(objpfx)tst-ftell-append.out)
12479         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12480         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12481         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12482         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12483         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12484         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12485         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12486         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12487         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12488         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12489         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12490         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12491         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12492         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12493         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12494         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12495         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12496         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12497         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12498         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12499         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12500         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12501         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12502         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12503         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12504         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12505         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12506         $(gen-locales).
12507         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12508         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12509         $(gen-locales).
12510         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12511         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12512         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12513         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12514         $(gen-locales).
12515         * libio/tst_wprintf2.c (main): Use explicit locale.
12516         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12518 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12520         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12521         __msg_sig_post.
12522         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12524 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12526         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12527         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12529         * sysdeps/arm/libm-test-ulps: Regenerated.
12531         [BZ #15470]
12532         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12534         [BZ #16399]
12535         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12536         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12537         and <fix-fp-int-convert-overflow.h>.
12538         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12539         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12540         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12541         and <fix-fp-int-convert-overflow.h>.
12542         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12543         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12544         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12545         <fix-fp-int-convert-overflow.h>.
12546         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12547         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12548         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12549         <fix-fp-int-convert-overflow.h>.
12550         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12551         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12552         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12553         and <fix-fp-int-convert-overflow.h>.
12554         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12555         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12556         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12557         <limits.h> and <fix-fp-int-convert-overflow.h>.
12558         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12559         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12560         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12561         and <fix-fp-int-convert-overflow.h>.
12562         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12563         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12564         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12565         and <fix-fp-int-convert-overflow.h>.
12566         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12567         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12568         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12570 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12572         [BZ #18589]
12573         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12574         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12575         $(gen-locales).
12577 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12578             Phil Blundell <pb@pbcl.net>
12580         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12581         * nptl/tst-cancel26.c: New file.
12582         * nptl/tst-cancel27.c: Likewise.
12584 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12586         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12587         __ILP32__ isn't defined.
12588         (lrint): Likewise.
12589         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12590         (lrintf): Likewise.
12591         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12592         (lrintl): Likewise.
12593         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12594         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12595         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12597 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12599         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12600         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12602         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12603         file.
12604         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12605         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12607 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12609         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12610         configure test.
12611         * sysdeps/i386/configure: Regenerated.
12612         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12613         configure test.
12614         * sysdeps/x86_64/configure: Regenerated.
12615         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12616         Make code unconditional.
12618         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12619         test.
12620         * sysdeps/i386/configure: Regenerated.
12621         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12622         test.
12623         * sysdeps/x86_64/configure: Regenerated.
12624         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12625         Make code unconditional.
12626         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12627         Likewise.
12628         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12629         Likewise.
12630         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12631         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12632         code unconditional.
12633         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12634         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12635         code unconditional.
12636         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12637         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12638         code unconditional.
12639         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12640         code unconditional.
12641         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12642         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12643         code unconditional.
12644         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12645         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12646         code unconditional.
12647         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12648         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12649         code unconditional.
12650         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12651         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12652         code unconditional.
12653         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12654         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12656         [BZ #19095]
12657         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12658         mantissa to long int before shifting left.
12660 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12662         [BZ #19094]
12663         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12664         <limits.h>.
12665         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12666         when result overflows but exception would not result from cast.
12667         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12668         <limits.h>.
12669         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12670         when result overflows but exception would not result from cast.
12671         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12672         <limits.h>.
12673         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12674         when result overflows but exception would not result from cast.
12675         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12676         <limits.h>.
12677         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12678         when result overflows but exception would not result from cast.
12679         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12680         <limits.h>.
12681         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12682         when result overflows but exception would not result from cast.
12683         * math/libm-test.inc (lrint_test_data): Add more tests.
12684         (llrint_test_data): Likewise.
12686 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12688         [BZ #18872]
12689         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12690         Move out from under [$(run-built-tests) = yes] conditional.
12691         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12692         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12694 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12696         [BZ #18589]
12697         * string/Makefile (tests): Add bug-strcoll2.
12698         (LOCALES): Add cs_CZ.UTF-8.
12699         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12701         [BZ #18589]
12702         * string/bug-strcoll2.c: New file.
12703         * locale/categories.def: Revert commit
12704         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12705         * locale/langinfo.h: Likewise.
12706         * locale/localeinfo.h: Likewise.
12707         * locale/C-collate.c: Likewise.
12708         * locale/programs/ld-collate.c (collate_output): Likewise.
12709         * string/strcoll_l.c (STRDIFF): Likewise.
12710         (STRCOLL): Likewise.
12711         * wcsmbs/wcscoll_l.c: Likewise.
12713 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12715         * math/libm-test.inc (lround_test_data): Do not expect the absence
12716         of "inexact" for some tests with non-integer arguments.
12717         (llround_test_data): Likewise.
12719         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12720         test.
12721         (libc_cv_cc_sse2avx): Likewise.
12722         * sysdeps/i386/configure: Regenerated.
12723         * sysdeps/i386/i686/multiarch/Makefile
12724         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12725         [$(subdir) = math].
12726         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12727         code unconditional.
12728         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12729         Likewise.
12730         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12731         Likewise.
12732         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12733         Likewise.
12734         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12735         test.
12736         (libc_cv_cc_sse2avx): Likewise.
12737         * sysdeps/x86_64/configure: Regenerated.
12738         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12739         unconditional.
12740         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12741         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12742         unconditional.
12743         (_dl_runtime_profile)
12744         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12745         conditional code.
12746         * sysdeps/x86_64/fpu/multiarch/Makefile
12747         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12748         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12749         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12750         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12751         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12752         * sysdeps/x86_64/fpu/multiarch/e_log.c
12753         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12754         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12755         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12756         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12757         Likewise.
12758         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12759         Likewise.
12760         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12761         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12762         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12763         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12764         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12765         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12766         (HAVE_SSE2AVX_SUPPORT): Likewise.
12768 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12770         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12771         instead of #pragma optimize.
12773 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12775         [BZ #17195]
12776         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12777         as is similarly done in systrim and _int_free already.
12779 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12781         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12783 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12785         [BZ #19088]
12786         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12787         <limits.h>.
12788         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12789         overflows but exception would not result from cast.
12790         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12791         and <limits.h>.
12792         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12793         overflows but exception would not result from cast.
12794         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12795         <limits.h>.
12796         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12797         overflows but exception would not result from cast.
12798         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12799         <limits.h>.
12800         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12801         overflows but exception would not result from cast.
12802         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12803         <limits.h>.
12804         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12805         overflows but exception would not result from cast.
12806         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12807         <limits.h>.
12808         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12809         overflows but exception would not result from cast.
12810         * math/libm-test.inc (lround_test_data): Add more tests.
12811         (llround_test_data): Likewise.
12813 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12815         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12816         (CFLAGS-ialloc.c): Ditto.
12817         (CFLAGS-scheck.c): Ditto.
12819 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12821         [BZ #19086]
12822         * manual/filesys.texi (Storage Allocation): Fix argument order for
12823         posix_fallocate64.
12825 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12827         [BZ #19085]
12828         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12829         exponent below 48 inside case for non-overflowing exponent.
12830         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12832 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12834         * iconvdata/cp737.h (from_idx): Add const.
12835         * iconvdata/cp775.h (from_idx): Likewise.
12837 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12839         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12840         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12841         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12843         [BZ #19079]
12844         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12845         file, conditioned on [!_LP64].
12846         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12847         [!_LP64] (__lround): Do not define as function or alias.
12848         [!_LP64] (lround): Likewise.
12849         [!_LP64] (__lroundl): Likewise.
12850         [!_LP64] (lroundl): Likewise.
12851         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12852         macro.
12853         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12854         Likewise.
12856 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12858         * math/libm-test.inc (lrint_test_data): Add more tests.
12859         (llrint_test_data): Likewise.
12860         (lround_test_data): Likewise.
12861         (llround_test_data): Likewise.
12863         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12864         (llrint_test_data): Add tests used for lrint.
12866         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12867         test.
12868         * sysdeps/i386/configure: Regenerated.
12869         * sysdeps/i386/i686/multiarch/Makefile
12870         [$(config-cflags-sse4) = yes]: Make code unconditional.
12871         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12872         Likewise.
12873         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12874         Likewise.
12875         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12876         test.
12877         * sysdeps/x86_64/configure: Regenerated.
12878         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12879         Make code unconditional.
12880         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12881         Likewise.
12882         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12883         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12885         * scripts/rpm2dynsym.sh: Remove file.
12887 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12889         * configure.ac (libc_cv_cxx_thread_local): Define.
12890         * configure: Regenerate.
12891         * config.make.in (have-cxx-thread_local): Define.
12892         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12893         (LDLIBS-tst-thread_local1): Define.
12894         (tests): Add tst-thread_local1.
12895         [have-cxx-thread_local != yes] (tests-unsupported): Add
12896         tst-thread_local1.
12897         * nptl/tst-thread_local1.cc: New file.
12899 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12901         [BZ #19078]
12902         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12903         (u_thres): Likewise.
12904         (__expl): Determine whether to call __kernel_standard_l based on
12905         value of result, not argument.
12907         * math/libm-test.inc (scalb_test_data): Add more expectations for
12908         the "inexact" exception.
12910         [BZ #19077]
12911         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12912         0.0L for argument 1.0L.
12914         [BZ #19076]
12915         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12916         constant 0.0L when computing infinite result.
12918 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12920         [BZ #10432]
12921         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12922         malloc_usable_size.
12924 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12926         [BZ #19018]
12927         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12928         Mangle function pointer before storing it.
12929         (__call_tls_dtors): Demangle function pointer before calling it.
12931 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12933         [BZ #19012]
12934         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12935         Clean up on failure.
12937 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12939         [BZ #19071]
12940         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12941         long int variable to store possibly incremented high part of
12942         mantissa.
12943         * math/libm-test.inc (lround_test_data): Add tests used for
12944         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12945         for tests requiring 64-bit long.  Do not condition tests on
12946         [TEST_FLOAT] unnecessarily.
12947         (llround_test_data): Add tests used for lround.  Add another
12948         expectation for the "inexact" exception.  Do not condition tests
12949         on [TEST_FLOAT] unnecessarily.
12951         [BZ #887]
12952         [BZ #19049]
12953         [BZ #19050]
12954         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12955         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12956         <fix-int-fp-convert-zero.h>.
12957         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12958         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12959         <fix-int-fp-convert-zero.h>.
12960         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12961         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12962         <fix-int-fp-convert-zero.h>.
12963         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12964         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12965         <fix-int-fp-convert-zero.h>.
12966         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12967         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12968         <fix-int-fp-convert-zero.h>.
12969         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12970         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12971         <fix-int-fp-convert-zero.h>.
12972         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12973         * sysdeps/ieee754/flt-32/s_erff.c: Include
12974         <fix-int-fp-convert-zero.h>.
12975         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12976         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12977         <fix-int-fp-convert-zero.h>.
12978         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12979         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12980         <fix-int-fp-convert-zero.h>.
12981         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12983         <fix-int-fp-convert-zero.h>.
12984         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12985         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12986         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12987         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12988         file.
12989         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12991 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12993         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12995 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12997         [BZ #19059]
12998         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12999         overflowing computation.
13000         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13001         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13002         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13003         Likewise.
13004         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13005         Likewise.
13006         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13007         Likewise.
13008         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13009         Likewise.
13010         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13011         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13012         Likewise.
13013         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13014         Likewise.
13015         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13017         * nss/rewrite_field.c (__nss_rewrite_field): Use
13018         internal_function.
13019         * nss/valid_field.c (__nss_valid_field): Likewise.
13020         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13022 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13024         [BZ #18724]
13025         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13026         (__nss_invalid_field_characters, __nss_valid_field)
13027         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13028         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13029         tst-field.c: New file.
13030         * nss/Makefile (routines): Add valid_field, rewrite_field.
13031         (tests-static): Define unconditionally.
13032         (tests): Include tests-static.
13033         [build-static-nss] (tests-static): Use append.
13034         [build-static-nss] (tests): Remove modification.
13035         * nss/getent.c (print_group): Call putgrent.  Report error.
13036         (print_gshadow): Call putsgent.  Report error.
13037         (print_passwd): Call putpwent.  Report error.
13038         (print_shadow): Call putspent.  Report error.
13039         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13040         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13041         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13042         name, password, directory, shell fields for valid syntax.  Rewrite
13043         GECOS field to match syntax.
13044         * pwd/Makefile (tests): Add tst-putpwent.
13045         * pwd/tst-putpwent.c: New file.
13046         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13047         Check grName, grpasswd, gr_mem fields for valid syntax.
13048         Change loop variable i to size_t.
13049         * grp/Makefile (tests): Add tst-putgrent.
13050         * grp/tst-putgrent.c: New file.
13051         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13052         valid syntax.
13053         * shadow/Makefile (tests): Add tst-putspent.
13054         * shadow/tst-putspent.c: New file.
13055         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13056         sg_mem fields for valid syntax.
13057         * gshadow/Makefile (tests): Add tst-putsgent.
13058         * gshadow/tst-putsgent.c: New file.
13060 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13062         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13063         assembly instructions.
13065 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13067         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13068         prefix from operands.
13070 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13072         [BZ #16347]
13073         [BZ #19046]
13074         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13075         <libc-internal.h>.
13076         (MAXLGM): Do not use diagnostic control macros.
13077         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13078         threshold for ldbl-128ibm.
13079         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13080         instead of multiplying by log then subtracting.
13081         * math/auto-libm-test-in: Add more tests of lgamma.
13082         * math/auto-libm-test-out: Regenerated.
13084         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13085         (TYPE_HEX_DIG): Likewise.
13086         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13087         precisions when printing floating-point numbers.
13088         (check_float_internal): Likewise.
13090 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13092         [BZ #16620]
13093         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13094         of log (10) rounded downward to 48 bits.
13095         (log10_low): Use corresponding low part of log (10).
13097         [BZ #19032]
13098         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13099         compute result as (x - x) / (x - x) not as 0 / 0.
13100         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13101         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13103         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13104         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13105         and expm1.
13106         * math/auto-libm-test-out: Regenerated.
13107         * math/libm-test.inc (acos_test_data): Add more tests.
13108         (asin_test_data): Likewise.
13109         (asinh_test_data): Likewise.
13110         (atan_test_data): Likewise.
13111         (atanh_test_data): Likewise.
13112         (atan2_test_data): Likewise.
13113         (cbrt_test_data): Likewise.
13114         (ceil_test_data): Likewise.
13115         (copysign_test_data): Likewise.
13116         (cos_test_data): Likewise.
13117         (cosh_test_data): Likewise.
13118         (erf_test_data): Likewise.
13119         (erfc_test_data): Likewise.
13120         (exp_test_data): Likewise.
13121         (exp10_test_data): Likewise.
13122         (exp2_test_data): Likewise.
13123         (expm1_test_data): Likewise.
13124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13126 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13128         [BZ #19006]
13129         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13130         to ...
13131         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13132         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13133         to ...
13134         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13135         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13136         to ...
13137         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13138         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13139         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13140         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13141         to ...
13142         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13143         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13144         Moved to ...
13145         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13146         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13147         Moved to ...
13148         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13149         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13150         to ...
13151         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13152         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13153         Moved to ...
13154         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13155         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13156         to ...
13157         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13158         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13159         Removed.
13160         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13161         Likewise.
13162         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13163         Likewise.
13164         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13165         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13166         Likewise.
13167         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13168         Likewise.
13169         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13170         Likewise.
13171         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13172         Likewise.
13173         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13174         Likewise.
13175         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13176         Likewise.
13177         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13178         Likewise.
13179         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13180         Likewise.
13181         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13182         Likewise.
13183         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13184         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13185         Likewise.
13186         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13187         Likewise.
13188         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13189         Likewise.
13190         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13191         Likewise.
13192         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13193         Likewise.
13194         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13195         Replace ../i486/pthread_cond_timedwait.S with
13196         ../pthread_cond_timedwait.S.
13198 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13200         * math/libm-test.inc (acos_test_data): Refine expectations for
13201         errno and "inexact" exceptions.
13202         (acosh_test_data): Likewise.
13203         (asin_test_data): Likewise.
13204         (asinh_test_data): Likewise.
13205         (atan_test_data): Likewise.
13206         (atanh_test_data): Likewise.
13207         (atan2_test_data): Likewise.
13208         (cbrt_test_data): Likewise.
13209         (ceil_test_data): Likewise.
13210         (copysign_test_data): Likewise.
13211         (cosh_test_data): Likewise.
13212         (erf_test_data): Likewise.
13213         (erfc_test_data): Likewise.
13214         (exp_test_data): Likewise.
13215         (exp10_test_data): Likewise.
13216         (exp2_test_data): Likewise.
13217         (expm1_test_data): Likewise.
13218         (fabs_test_data): Likewise.
13219         (floor_test_data): Likewise.
13220         (fma_test_data): Likewise.
13221         (fmax_test_data): Likewise.
13222         (fmin_test_data): Likewise.
13223         (fmod_test_data): Likewise.
13224         (fpclassify_test_data): Likewise.
13225         (frexp_test_data): Likewise.
13226         (hypot_test_data): Likewise.
13227         (ilogb_test_data): Likewise.
13228         (isgreater_test_data): Likewise.
13229         (isgreaterequal_test_data): Likewise.
13230         (isinf_test_data): Likewise.
13231         (isless_test_data): Likewise.
13232         (islessequal_test_data): Likewise.
13233         (islessgreater_test_data): Likewise.
13234         (isnan_test_data): Likewise.
13235         (isnormal_test_data): Likewise.
13236         (issignaling_test_data): Likewise.
13237         (isunordered_test_data): Likewise.
13238         (j0_test_data): Likewise.
13239         (j1_test_data): Likewise.
13240         (jn_test_data): Likewise.
13241         (lgamma_test_data): Likewise.
13242         (lrint_test_data): Likewise.
13243         (llrint_test_data): Likewise.
13244         (log_test_data): Likewise.
13245         (log10_test_data): Likewise.
13246         (log1p_test_data): Likewise.
13247         (log2_test_data): Likewise.
13248         (logb_test_data): Likewise.
13249         (lround_test_data): Likewise.
13250         (llround_test_data): Likewise.
13251         (modf_test_data): Likewise.
13252         (nearbyint_test_data): Likewise.
13253         (nextafter_test_data): Likewise.
13254         (nexttoward_test_data): Likewise.
13255         (pow_test_data): Likewise.
13256         (remainder_test_data): Likewise.
13257         (remquo_test_data): Likewise.
13258         (rint_test_data): Likewise.
13259         (round_test_data): Likewise.
13260         (signbit_test_data): Likewise.
13261         (sinh_test_data): Likewise.
13262         (sqrt_test_data): Likewise.
13263         (tanh_test_data): Likewise.
13264         (tgamma_test_data): Likewise.
13265         (trunc_test_data): Likewise.
13266         (y0_test_data): Likewise.
13267         (y1_test_data): Likewise.
13268         (yn_test_data): Likewise.
13269         (significand_test_data): Likewise.
13271 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13273         * manual/filesys.texi (Storage Allocation): Document that
13274         posix_fallocate emulation fails when fd is open with O_WRONLY.
13276 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13278         [BZ #19016]
13279         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13280         allow more cases with X^2 + Y^2 >= 0.5.
13281         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13282         normal element in sum instead of special-casing based on values of
13283         arguments.
13284         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13285         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13286         -1 as normal element in sum instead of special-casing based on
13287         values of arguments.
13288         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13289         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13290         (__x2y2m1): Update comment.
13291         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13292         as normal element in sum instead of special-casing based on values
13293         of arguments.
13294         * math/s_clog.c (__clog): Handle more cases using log1p without
13295         hypot.
13296         * math/s_clog10.c (__clog10): Likewise.
13297         * math/s_clog10f.c (__clog10f): Likewise.
13298         * math/s_clog10l.c (__clog10l): Likewise.
13299         * math/s_clogf.c (__clogf): Likewise.
13300         * math/s_clogl.c (__clogl): Likewise.
13301         * math/auto-libm-test-in: Add more tests of clog and clog10.
13302         * math/auto-libm-test-out: Regenerated.
13303         * sysdeps/i386/fpu/libm-test-ulps: Update.
13304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13306 2015-09-28  Martin Sebor  <msebor@redhat.com>
13308         [BZ #18969]
13309         * string/Makefile (LOCALES): Define.
13310         (gen-locales.mk): Include.
13311         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13312         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13313         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13314         on setlocale failure.
13316 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13318         [BZ #18985]
13319         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13320         (__strftime_internal): Likewise.
13321         * time/tst-strftime.c (do_bz18985): New test.
13322         (do_test): Call it.
13324 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13326         [BZ #18956]
13327         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13328         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13329         extracting high part.
13330         * math/auto-libm-test-in: Add another test of pow.
13331         * math/auto-libm-test-out: Regenerated.
13332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13334 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13336         [BZ #18825]
13337         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13338         New macro.
13339         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13340         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13341         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13342         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13343         DBL_NARROW_EVAL, reloading the PIC register as needed.
13344         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13345         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13346         FLT_NARROW_EVAL.  Use separate return path for case when first
13347         argument is NaN.
13348         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13349         DEFINE_LDBL_MIN.
13350         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13351         PIC register.
13352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13353         math_check_force_underflow_nonneg.
13354         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13355         underflow for subnormal result.
13356         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13357         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13358         math_check_force_underflow_nonneg.
13359         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13360         math_check_force_underflow.
13361         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13362         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13363         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13364         DEFINE_LDBL_MIN.
13365         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13366         * math/auto-libm-test-in: Add more tests of pow.
13367         * math/auto-libm-test-out: Regenerated.
13369 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13371         * nss/bug17079.c (init_test_items): Add diagnostic for
13372         inconsistent entries.
13373         (test_buffer_size): Skip inconsistent entries.
13375 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13377         [BZ #13304]
13378         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13379         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13380         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13382         [BZ #13304]
13383         * sysdeps/microblaze/s_fma.c: New file.
13384         * sysdeps/microblaze/s_fmaf.c: Likewise.
13385         * sysdeps/microblaze/sfp-machine.h: Likewise.
13387 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13389         [BZ #17250]
13390         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13391         member.
13393 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13395         [BZ #18803]
13396         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13397         (MO): New macro.
13398         (__ieee754_hypot) [PIC]: Load PIC register.
13399         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13400         DBL_NARROW_EVAL.
13401         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13402         math_check_force_underflow_nonneg in case where result might be
13403         tiny.
13404         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13405         Likewise.
13406         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13407         Likewise.
13408         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13409         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13410         * math/auto-libm-test-in: Add more tests of hypot.
13411         * math/auto-libm-test-out: Regenerated.
13413 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13415         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13417 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13419         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13420         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13421         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13422         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13423         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13424         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13425         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13427         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13428         LOAD_PIC_REG.
13430         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13431         (FLT_CHECK_FORCE_UFLOW): Likewise.
13432         (DBL_CHECK_FORCE_UFLOW): Likewise.
13433         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13434         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13435         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13436         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13437         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13438         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13439         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13440         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13441         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13442         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13443         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13444         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13445         (flt_min): Replace with use of DEFINE_FLT_MIN.
13446         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13447         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13448         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13449         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13450         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13451         (flt_min): Replace with use of DEFINE_FLT_MIN.
13452         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13453         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13454         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13455         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13456         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13457         (flt_min): Replace with use of DEFINE_FLT_MIN.
13458         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13459         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13460         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13461         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13462         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13463         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13464         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13465         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13466         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13467         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13468         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13469         (flt_min): Replace with use of DEFINE_FLT_MIN.
13470         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13471         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13472         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13473         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13474         main computation.
13475         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13476         (flt_min): Replace with use of DEFINE_FLT_MIN.
13477         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13478         main computation.
13479         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13480         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13481         (MO): New macro.
13482         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13483         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13484         (flt_min): Replace with use of DEFINE_FLT_MIN.
13485         (MO): New macro.
13486         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13487         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13488         (__log1pl): Use MO.
13490         [BZ #19003]
13491         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13492         $(config-cflags-nofma).
13494 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13496         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13498 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13500         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13501         (TWO127): Likewise.
13503         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13504         (min_of_type): Likewise.
13505         (math_check_force_underflow): Likewise.
13506         (math_check_force_underflow_nonneg): Likewise.
13507         (math_check_force_underflow_complex): Likewise.
13508         * math/e_exp2l.c (__ieee754_exp2l): Use
13509         math_check_force_underflow_nonneg.
13510         * math/k_casinh.c (__kernel_casinh): Likewise.
13511         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13512         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13513         * math/s_catan.c (__catan): Use
13514         math_check_force_underflow_complex.
13515         * math/s_catanf.c (__catanf): Likewise.
13516         * math/s_catanh.c (__catanh): Likewise.
13517         * math/s_catanhf.c (__catanhf): Likewise.
13518         * math/s_catanhl.c (__catanhl): Likewise.
13519         * math/s_catanl.c (__catanl): Likewise.
13520         * math/s_ccosh.c (__ccosh): Likewise.
13521         * math/s_ccoshf.c (__ccoshf): Likewise.
13522         * math/s_ccoshl.c (__ccoshl): Likewise.
13523         * math/s_cexp.c (__cexp): Likewise.
13524         * math/s_cexpf.c (__cexpf): Likewise.
13525         * math/s_cexpl.c (__cexpl): Likewise.
13526         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13527         * math/s_clog10.c (__clog10): Likewise.
13528         * math/s_clog10f.c (__clog10f): Likewise.
13529         * math/s_clog10l.c (__clog10l): Likewise.
13530         * math/s_clogf.c (__clogf): Likewise.
13531         * math/s_clogl.c (__clogl): Likewise.
13532         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13533         * math/s_csinf.c (__csinf): Likewise.
13534         * math/s_csinh.c (__csinh): Likewise.
13535         * math/s_csinhf.c (__csinhf): Likewise.
13536         * math/s_csinhl.c (__csinhl): Likewise.
13537         * math/s_csinl.c (__csinl): Likewise.
13538         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13539         * math/s_csqrtf.c (__csqrtf): Likewise.
13540         * math/s_csqrtl.c (__csqrtl): Likewise.
13541         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13542         * math/s_ctanf.c (__ctanf): Likewise.
13543         * math/s_ctanh.c (__ctanh): Likewise.
13544         * math/s_ctanhf.c (__ctanhf): Likewise.
13545         * math/s_ctanhl.c (__ctanhl): Likewise.
13546         * math/s_ctanl.c (__ctanl): Likewise.
13547         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13548         instead of volatile.
13549         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13550         math_check_force_underflow.
13551         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13552         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13553         volatile when forcing underflow.
13554         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13555         math_check_force_underflow_nonneg.
13556         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13557         Likewise.
13558         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13559         math_check_force_underflow.
13560         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13561         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13562         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13563         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13564         math_check_force_underflow_nonneg.
13565         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13566         math_check_force_underflow.
13567         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13569         instead of volatile.
13570         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13571         math_check_force_underflow.
13572         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13573         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13574         math_check_force_underflow_nonneg.
13575         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13576         math_check_force_underflow.
13577         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13578         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13579         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13580         math_check_force_underflow_nonneg.
13581         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13582         Likewise.
13583         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13584         math_check_force_underflow.
13585         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13586         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13587         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13588         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13589         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13590         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13591         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13592         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13593         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13594         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13595         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13596         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13597         Likewise.
13598         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13599         math_check_force_underflow_nonneg.
13600         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13601         Likewise.
13602         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13603         math_check_force_underflow.
13604         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13605         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13606         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13607         Likewise.
13608         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13609         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13610         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13611         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13612         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13613         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13615         instead of volatile.
13616         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13617         math_check_force_underflow.
13618         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13619         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13620         math_check_force_underflow.
13621         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13622         Likewise.
13623         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13624         Use math_check_force_underflow_nonneg.
13625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13626         math_check_force_underflow.
13627         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13628         Likewise.
13629         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13630         Likewise.
13631         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13632         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13633         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13634         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13636         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13637         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13638         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13639         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13640         math_check_force_underflow_nonneg.
13641         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13642         math_check_force_underflow.
13643         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13644         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13645         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13646         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13647         math_check_force_underflow_nonneg.
13648         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13649         math_check_force_underflow.
13650         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13652         instead of volatile.
13653         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13654         math_check_force_underflow.
13656         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13657         * stdlib/strtod_l.c: Include <math_private.h>.
13658         (overflow_value): Use math_narrow_eval.
13659         (underflow_value): Likewise.
13660         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13661         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13662         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13663         (__ieee754_gamma_r): Likewise.
13664         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13665         Likewise.
13666         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13667         Likewise.
13668         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13669         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13670         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13671         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13672         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13673         (__ieee754_gammaf_r): Likewise.
13674         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13675         Likewise.
13676         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13677         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13678         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13679         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13680         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13681         volatile.
13682         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13683         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13684         math_narrow_eval.
13685         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13686         Likewise.
13687         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13688         Likewise.
13689         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13690         Likewise.
13691         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13692         volatile.
13693         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13694         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13695         math_narrow_eval.
13696         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13697         Likewise.
13698         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13699         Likewise.
13701 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13703         * nptl/Versions: Remove ignored symbols.
13705 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13707         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13708         * nss/Makefile (tests): Update.
13710 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13712         * nss/bug18287.c: New file.
13713         * nss/Makefile (tests): Add bug18287.
13715 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13717         * mach/Versions (__mach_host_self_): Add symbol.
13719 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13721         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13722         vm_page_size.
13724 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13726         Really fix sysdeps/i386/fpu/s_scalbn.S build
13728         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13729         (libc: GLIBC_2_22): Remove unused version set.
13731 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13733         * config.make.in (enable-timezone-tools): New variable.
13734         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13735         (enable_timezone_tools): Export to generated files.
13736         * configure: Regenerate.
13737         * INSTALL: Regenerate.
13738         * manual/install.texi (--disable-timezone-tools): Document new flag.
13739         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13740         ifeq ($(enable-timezone-tools),yes) check.
13742 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13744         * timezone/Makefile: Revert previous change.
13746         [BZ #18980]
13747         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13748         (DEFINE_DBL_MIN): Likewise.
13749         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13750         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13751         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13752         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13753         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13754         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13755         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13756         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13757         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13758         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13759         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13760         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13761         (flt_min): Replace with use of DEFINE_FLT_MIN.
13762         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13763         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13764         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13765         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13766         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13767         (flt_min): Replace with use of DEFINE_FLT_MIN.
13768         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13769         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13770         (flt_min): Replace with use of DEFINE_FLT_MIN.
13771         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13772         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13773         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13774         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13775         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13776         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13777         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13778         (__ieee754_pow): Use DBL_NARROW_EVAL.
13779         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13780         (__ieee754_powf): Use FLT_NARROW_EVAL.
13781         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13782         (__ieee754_expf_sse2): Convert double-precision result to single
13783         precision.
13784         * sysdeps/i386/fpu/libm-test-ulps: Update.
13786 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13788         * timezone/Makefile: Ignore unused variable errors due to private.h
13789         (time_t_min) and (time_t_max).
13790         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13791         Likewise.
13793 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13795         [BZ #18981]
13796         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13797         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13798         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13799         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13800         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13801         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13802         (__scalbn): Use DBL_NARROW_EVAL.
13803         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13804         (__scalbnf): Use FLT_NARROW_EVAL.
13806 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13808         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13809         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13810         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13811         * stdio-common/printf_fp.c (___printf_fp):
13812         Use signbit to get the sign. Use isinf macro to allow inlining.
13813         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13814         * stdio-common/printf_size.c (__printf_size): Likewise.
13816 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13818         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13820 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13822         [BZ #18980]
13823         * sysdeps/generic/math_private.h: Include <float.h>.
13824         (math_narrow_eval): New macro.
13825         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13826         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13827         math_narrow_eval on overflowing return value.
13828         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13829         Likewise.
13830         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13831         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13832         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13833         Likewise.
13834         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13836 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13838         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13839         * math/Makefile: Remove isinf_ns.c.
13840         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13841         * math/multc3.c (__multc3): Likewise.
13842         * math/s_casin.c (__casin): Likewise.
13843         * math/s_casinf.c (__casinf): Likewise.
13844         * math/s_casinl.c (__casinl): Likewise.
13845         * math/s_cproj.c (__cproj): Likewise.
13846         * math/s_cprojf.c (__cprojf): Likewise.
13847         * math/s_cprojl.c (__cprofl): Likewise.
13848         * math/s_ctan.c (__ctan): Likewise.
13849         * math/s_ctanf.c (__ctanf): Likewise.
13850         * math/s_ctanh.c (__ctanh): Likewise.
13851         * math/s_ctanhf.c (__ctanhf): Likewise.
13852         * math/s_ctanhl.c (__ctanhl): Likewise.
13853         * math/s_ctanl.c (__ctanl): Likewise.
13854         * math/w_fmod.c (__fmod): Likewise.
13855         * math/w_fmodf.c (__fmodf): Likewise.
13856         * math/w_fmodl.c (_fmodl): Likewise.
13857         * math/w_remainder.c (__remainder): Likewise.
13858         * math/w_remainderf.c (__remainderf): Likewise.
13859         * math/w_remainderl.c (__remainderl): Likewise.
13860         * math/w_scalb.c (__scalb): Likewise.
13861         * math/w_scalbf.c (__scalbf): Likewise.
13862         * math/w_scalbl.c (__scalbl): Likewise.
13863         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13864         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13865         with isinf.
13866         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13867         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13868         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13869         __isinf_nsf with isinf.
13870         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13871         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13872         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13873         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13874         with isinf.
13875         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13876         __isinf_nsl with isinf.
13877         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13878         with isinf.
13879         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13880         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13881         __isinf_nsl with isinf.
13882         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13883         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13884         with isinf.
13886 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13888         * resolv/base64.c (rcsid): Remove unused static.
13889         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13890         static.  (tqpi1): Likewise.
13891         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13892         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13893         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13894         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13895         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13896         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13897         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13898         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13899         Likewise.
13901 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13903         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13904         <nptl/pthreadP.h>.
13905         (_longjmp_unwind): Use __libc_ptf_call.
13906         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13908 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13910         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13911         * sysdeps/arm/__longjmp.S: Likewise.
13913 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13915         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13916         Use __builtin_signbit.
13917         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13918         Use __builtin_signbitf.
13919         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13920         Use __builtin_signbitl.
13921         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13922         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13924 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13926         [BZ #15367]
13927         [BZ #17441]
13929         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13930         * math/math.h (fpclassify): Use __builtin_fpclassify when
13931         available.  (signbit): Use __builtin_signbit(f/l).
13932         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13933         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13934         (isinf): Use __builtin_isinf_sign.
13936 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13938         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13939         * benchtests/bench-math-inlines.c: New benchmark.
13940         * benchtests/bench-util.h: New file.
13941         * benchtests/bench-util.c: New file.
13942         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13944 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13946         * elf/tst-dlmopen1.c: Define TEST_SO.
13947         (do_test): Use TEST_SO.
13949         * elf/dl-load.c: Include libc-internal.h.
13950         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13952 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13954         [BZ #17887]
13955         * time/strptime_l.c (__strptime_internal): Make %z accept
13956         [+-]HH:MM time zones.
13958 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13960         [BZ #17886]
13961         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13962         valid time zone.
13964 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13966         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13967         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13968         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13969         (__ASSUME_FDATASYNC): Delete.
13971 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13973         * conform/linknamespace.pl: Require weak undefined symbols to be
13974         in the standard namespace.
13975         (%strong_syms): Rename to %seen_syms.
13976         (%strong_seen): Rename to %seen_where.
13978 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13980         [BZ #18970]
13981         * misc/error.c (error): Replace pthread_setcancelstate with
13982         __pthread_setcancelstate.
13983         (error_at_line): Likewise.
13984         * posix/wordexp.c (parse_comm): Likewise.
13985         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13986         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13987         (__pthread_setcancelstate): This.
13988         (pthread_setcancelstate): Add an alias.
13989         * nptl/nptl-init.c (pthread_functions): Replace
13990         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13991         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13992         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13993         hidden_proto.
13994         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13995         it with hidden_def.
13996         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13997         (pthread_setcancelstate): Renamed to ...
13998         (__pthread_setcancelstate): This.
13999         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14000         __libc_ptf_call with __pthread_setcancelstate.
14002 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14003             Andreas Schwab  <schwab@suse.de>
14005         [BZ #17118]
14006         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14007         result when imaginary part of argument is infinite using sine and
14008         cosine.
14009         * math/s_ctanf.c (__ctanf): Likewise.
14010         * math/s_ctanl.c (__ctanl): Likewise.
14011         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14012         of result when real part of argument is infinite using sine and
14013         cosine.
14014         * math/s_ctanhf.c (__ctanhf): Likewise.
14015         * math/s_ctanhl.c (__ctanhl): Likewise.
14016         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14017         (ctanh_test_data): Add more tests of ctanh.
14019 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14021         [BZ #15384]
14022         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14023         bit-mask as in subtraction.
14024         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14025         Likewise.
14026         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14027         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14028         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14030         [BZ #18951]
14031         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14032         underflow exception for small results.
14033         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14034         Likewise.
14035         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14036         Likewise.
14037         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14038         Likewise.
14039         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14040         Likewise.
14041         * math/auto-libm-test-in: Add more tests of tgamma.
14042         * math/auto-libm-test-out: Regenerated.
14044 2015-09-17  Andreas Schwab  <schwab@suse.de>
14046         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14048 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14050         [BZ #18977]
14051         * math/bits/mathcalls.h
14052         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14053         not declare.
14054         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14055         Likewise.
14056         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14057         Likewise.
14058         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14059         Likewise.
14060         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14061         Likewise.
14062         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14063         Likewise.
14064         * conform/data/math.h-data
14065         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14066         function.
14067         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14068         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14069         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14070         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14071         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14072         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14073         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14074         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14075         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14076         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14077         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14079         [BZ #6803]
14080         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14081         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14082         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14083         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14084         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14085         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14086         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14087         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14088         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14090         Likewise.
14091         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14092         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14093         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14094         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14095         long_double_symbol calls.
14096         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14097         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14098         strong alias of __ldexpl.
14099         (scalbnl): Define using long_double_symbol.
14100         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14101         Remove alias.
14102         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14103         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14104         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14105         (scalbln_test_data): Add more errno expectations.
14107 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14109         Cache the host port like we cache the task port.  This way we do not
14110         need to call the kernel just to get the port.  Furthermore, we no
14111         longer increase the reference count on every invocation of
14112         `mach_host_self'.
14114         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14115         Protect declarations against the macro expansion.
14116         * mach/mach_init.c (__mach_host_self_): New variable.
14117         (mach_init): Initialize `__mach_host_self_'.
14118         * mach/mach_init.h (__mach_host_self_): New declaration.
14119         (__mach_host_self, mach_host_self): New macros.
14120         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14121         Release reference.
14123 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14125         [BZ #4404]
14126         * po/de.po: Update from Translation Project.
14128         [BZ #16415]
14129         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14130         (__expm1l): Remove code to handle positive infinity and overflow.
14131         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14132         variable.
14133         (__expm1l): Remove code to handle positive infinity and overflow.
14135 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14136             Paul Pluzhnikov  <ppluzhnikov@google.com>
14138         [BZ #18872]
14139         * stdio-common/Makefile (tst-printf-bz18872): New test.
14140         (tst-printf-bz18872-mem.out): Likewise.
14141         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14142         * stdio-common/vfprintf.c: Fix memory leaks.
14144 2015-09-16  Andreas Schwab  <schwab@suse.de>
14146         [BZ #17244]
14147         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14148         Remove extra va_start/va_end calls.
14150         [BZ #17243]
14151         * posix/execl.c (execl): Add missing va_end.
14152         * posix/execle.c (execle): Likewise.
14153         * posix/execlp.c (execlp): Likewise.
14155 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14157         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14158         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14160 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14162         [BZ #18967]
14163         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14164         undefine around includes of <bits/mathcalls.h>.
14165         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14166         not declare function.
14167         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14168         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14169         (scalb): Likewise.
14170         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14171         not define macro.
14172         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14173         variable.
14174         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14175         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14176         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14178         [BZ #18857]
14179         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14180         return non-finite argument without doing ordered comparisons on
14181         it.
14183         [BZ #16296]
14184         * math/fenv.h (fegetround): Use __attribute_pure__.
14185         * include/fenv.h (__fegetround): Likewise.
14187         [BZ #18595]
14188         * math/s_ctan.c (__ctan): Force underflow exception for results
14189         whose real or imaginary part has small absolute value.
14190         * math/s_ctanf.c (__ctanf): Likewise.
14191         * math/s_ctanh.c (__ctanh): Likewise.
14192         * math/s_ctanhf.c (__ctanhf): Likewise.
14193         * math/s_ctanhl.c (__ctanhl): Likewise.
14194         * math/s_ctanl.c (__ctanl): Likewise.
14195         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14196         and ctanh.  Add more tests of ctan and ctanh.
14198         [BZ #15918]
14199         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14200         handling of cases where one argument is an infinity.
14202         [BZ #18875]
14203         [BZ #18966]
14204         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14205         (MO): New macro.
14206         (__ieee754_exp10): For small results, force underflow exception
14207         and remove excess range and precision from return value.
14208         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14209         (MO): New macro.
14210         (__ieee754_exp10f): For small results, force underflow exception
14211         and remove excess range and precision from return value.
14212         * math/auto-libm-test-in: Add more tests of exp10.
14213         * math/auto-libm-test-out: Regenerated.
14215 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14217         [BZ #18875]
14218         [BZ #18961]
14219         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14220         (MO): New macro.
14221         (__ieee754_exp): For small results, force underflow exception and
14222         remove excess range and precision from return value.
14223         (__exp_finite): Likewise.
14224         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14225         (MO): New macro.
14226         (__ieee754_expf): For small results, force underflow exception and
14227         remove excess range and precision from return value.
14228         (__expf_finite): Likewise.
14229         * math/auto-libm-test-in: Add more tests of exp.
14230         * math/auto-libm-test-out: Regenerated.
14232         [BZ #16521]
14233         [BZ #18875]
14234         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14235         small results.
14236         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14237         (MO): New macro.
14238         (__ieee754_exp2): For small results, force underflow exception and
14239         remove excess range and precision from return value.
14240         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14241         (MO): New macro.
14242         (__ieee754_exp2f): For small results, force underflow exception
14243         and remove excess range and precision from return value.
14244         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14245         (MO): New macro.
14246         (__ieee754_exp2l): Force underflow exception for small results.
14247         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14248         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14249         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14250         (MO): New macro.
14251         (__ieee754_exp2l): Force underflow exception for small results.
14252         * math/auto-libm-test-in: Add more tests or exp2.
14253         * math/auto-libm-test-out: Regenerated.
14255 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14257         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14259         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14260         /dev/null.
14262 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14264         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14265         io fs process)): Drop spurious backslash.
14267 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14270         Use sysinfo system call instead of parsing /proc/meminfo.
14271         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14272         Likewise.
14274 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14276         [BZ #16985]
14277         * programs/localedef.c (main): Display argv[remaining] when
14278         output_path is NULL.
14280 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14282         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14283         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14284         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14285         tanh.
14286         * math/auto-libm-test-out: Regenerated.
14287         * sysdeps/i386/fpu/libm-test-ulps: Update.
14288         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14289         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14292 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14294         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14295         Use 'override' keyword to freeze the value here, preventing
14296         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14298 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14300         [BZ #14912]
14301         * sysdeps/aarch64/bits/atomic.h: Move to ...
14302         * sysdeps/aarch64/atomic-machine.h: ...here.
14303         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14304         _AARCH64_ATOMIC_MACHINE_H.
14305         * sysdeps/alpha/bits/atomic.h: Move to ...
14306         * sysdeps/alpha/atomic-machine.h: ...here.
14307         * sysdeps/arm/bits/atomic.h: Move to ...
14308         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14309         * bits/atomic.h: Move to ...
14310         * sysdeps/generic/atomic-machine.h: ...here.
14311         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14312         * sysdeps/i386/bits/atomic.h: Move to ...
14313         * sysdeps/i386/atomic-machine.h: ...here.
14314         * sysdeps/ia64/bits/atomic.h: Move to ...
14315         * sysdeps/ia64/atomic-machine.h: ...here.
14316         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14317         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14318         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14319         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14320         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14321         * sysdeps/microblaze/bits/atomic.h: Move to ...
14322         * sysdeps/microblaze/atomic-machine.h: ...here.
14323         * sysdeps/mips/bits/atomic.h: Move to ...
14324         * sysdeps/mips/atomic-machine.h: ...here.
14325         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14326         * sysdeps/powerpc/bits/atomic.h: Move to ...
14327         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14328         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14329         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14330         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14331         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14332         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14333         <atomic-machine.h> instead of <bits/atomic.h>.
14334         * sysdeps/s390/bits/atomic.h: Move to ...
14335         * sysdeps/s390/atomic-machine.h: ...here.
14336         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14337         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14338         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14339         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14340         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14341         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14342         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14343         * sysdeps/tile/bits/atomic.h: Move to ...
14344         * sysdeps/tile/atomic-machine.h: ...here.
14345         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14346         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14347         <sysdeps/tile/atomic-machine.h> instead of
14348         <sysdeps/tile/bits/atomic.h>.
14349         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14350         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14351         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14352         <sysdeps/tile/atomic-machine.h> instead of
14353         <sysdeps/tile/bits/atomic.h>.
14354         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14355         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14356         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14357         <sysdeps/arm/atomic-machine.h> instead of
14358         <sysdeps/arm/bits/atomic.h>.
14359         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14360         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14361         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14362         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14363         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14364         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14365         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14366         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14367         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14368         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14369         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14370         * sysdeps/x86_64/bits/atomic.h: Move to ...
14371         * sysdeps/x86_64/atomic-machine.h: ...here.
14372         * include/atomic.h: Include <atomic-machine.h> instead of
14373         <bits/atomic.h>.
14375         * sysdeps/mips/mips32/libm-test-ulps: Update.
14376         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14378         [BZ #18952]
14379         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14380         not convert non-integer negative arguments to int to determine the
14381         value of signgam.
14382         * math/auto-libm-test-in: Add more tests of lgamma.
14383         * math/auto-libm-test-out: Regenerated.
14385         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14386         cosh, csqrt, erfc, expm1 and lgamma.
14387         * math/auto-libm-test-out: Regenerated.
14388         * sysdeps/i386/fpu/libm-test-ulps: Update.
14389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14391 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14393         [BZ #2542]
14394         [BZ #2543]
14395         [BZ #2558]
14396         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14397         __lgamma_neg for arguments from -28.0 to -2.0.
14398         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14399         __lgamma_negf for arguments from -15.0 to -2.0.
14400         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14401         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14402         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14403         Call __lgamma_negl for arguments from -33.0 to -2.0.
14404         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14405         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14406         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14407         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14408         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14409         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14410         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14411         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14412         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14413         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14414         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14415         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14416         (__lgamma_neg): Likewise.
14417         (__lgamma_negl): Likewise.
14418         (__lgamma_product): Likewise.
14419         (__lgamma_productl): Likewise.
14420         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14421         * math/auto-libm-test-in: Add more tests of lgamma.
14422         * math/auto-libm-test-out: Regenerated.
14423         * sysdeps/i386/fpu/libm-test-ulps: Update.
14424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14426 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14428         [BZ #18675]
14429         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14431 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14433         [BZ #14912]
14434         * bits/libc-lock.h: Move to ...
14435         * sysdeps/generic/libc-lock.h: ...here.
14436         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14437         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14438         * sysdeps/mach/hurd/libc-lock.h: ...here.
14439         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14440         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14441         * sysdeps/mach/bits/libc-lock.h: Move to ...
14442         * sysdeps/mach/libc-lock.h: ...here.
14443         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14444         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14445         * sysdeps/nptl/libc-lock.h: ...here.
14446         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14447         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14448         * sysdeps/nptl/libc-lockP.h: ...here.
14449         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14450         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14451         <bits/libc-lock.h>.
14452         * dirent/scandir-tail.c: Likewise.
14453         * dlfcn/dlerror.c: Likewise.
14454         * elf/dl-close.c: Likewise.
14455         * elf/dl-iteratephdr.c: Likewise.
14456         * elf/dl-lookup.c: Likewise.
14457         * elf/dl-open.c: Likewise.
14458         * elf/dl-support.c: Likewise.
14459         * elf/dl-writev.h: Likewise.
14460         * elf/rtld.c: Likewise.
14461         * grp/fgetgrent.c: Likewise.
14462         * gshadow/fgetsgent.c: Likewise.
14463         * gshadow/sgetsgent.c: Likewise.
14464         * iconv/gconv_conf.c: Likewise.
14465         * iconv/gconv_db.c: Likewise.
14466         * iconv/gconv_dl.c: Likewise.
14467         * iconv/gconv_int.h: Likewise.
14468         * iconv/gconv_trans.c: Likewise.
14469         * include/link.h: Likewise.
14470         * inet/getnameinfo.c: Likewise.
14471         * inet/getnetgrent.c: Likewise.
14472         * inet/getnetgrent_r.c: Likewise.
14473         * intl/bindtextdom.c: Likewise.
14474         * intl/dcigettext.c: Likewise.
14475         * intl/finddomain.c: Likewise.
14476         * intl/gettextP.h: Likewise.
14477         * intl/loadmsgcat.c: Likewise.
14478         * intl/localealias.c: Likewise.
14479         * intl/textdomain.c: Likewise.
14480         * libidn/idn-stub.c: Likewise.
14481         * libio/libioP.h: Likewise.
14482         * locale/duplocale.c: Likewise.
14483         * locale/freelocale.c: Likewise.
14484         * locale/newlocale.c: Likewise.
14485         * locale/setlocale.c: Likewise.
14486         * login/getutent_r.c: Likewise.
14487         * login/getutid_r.c: Likewise.
14488         * login/getutline_r.c: Likewise.
14489         * login/utmp-private.h: Likewise.
14490         * login/utmpname.c: Likewise.
14491         * malloc/mtrace.c: Likewise.
14492         * misc/efgcvt.c: Likewise.
14493         * misc/error.c: Likewise.
14494         * misc/fstab.c: Likewise.
14495         * misc/getpass.c: Likewise.
14496         * misc/mntent.c: Likewise.
14497         * misc/syslog.c: Likewise.
14498         * nis/nis_call.c: Likewise.
14499         * nis/nis_callback.c: Likewise.
14500         * nis/nss-default.c: Likewise.
14501         * nis/nss_compat/compat-grp.c: Likewise.
14502         * nis/nss_compat/compat-initgroups.c: Likewise.
14503         * nis/nss_compat/compat-pwd.c: Likewise.
14504         * nis/nss_compat/compat-spwd.c: Likewise.
14505         * nis/nss_nis/nis-alias.c: Likewise.
14506         * nis/nss_nis/nis-ethers.c: Likewise.
14507         * nis/nss_nis/nis-grp.c: Likewise.
14508         * nis/nss_nis/nis-hosts.c: Likewise.
14509         * nis/nss_nis/nis-network.c: Likewise.
14510         * nis/nss_nis/nis-proto.c: Likewise.
14511         * nis/nss_nis/nis-pwd.c: Likewise.
14512         * nis/nss_nis/nis-rpc.c: Likewise.
14513         * nis/nss_nis/nis-service.c: Likewise.
14514         * nis/nss_nis/nis-spwd.c: Likewise.
14515         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14516         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14517         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14518         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14519         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14520         * nis/nss_nisplus/nisplus-network.c: Likewise.
14521         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14522         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14523         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14524         * nis/nss_nisplus/nisplus-service.c: Likewise.
14525         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14526         * nis/ypclnt.c: Likewise.
14527         * nptl/libc_pthread_init.c: Likewise.
14528         * nss/getXXbyYY.c: Likewise.
14529         * nss/getXXent.c: Likewise.
14530         * nss/getXXent_r.c: Likewise.
14531         * nss/nss_db/db-XXX.c: Likewise.
14532         * nss/nss_db/db-netgrp.c: Likewise.
14533         * nss/nss_db/nss_db.h: Likewise.
14534         * nss/nss_files/files-XXX.c: Likewise.
14535         * nss/nss_files/files-alias.c: Likewise.
14536         * nss/nsswitch.c: Likewise.
14537         * posix/regex_internal.h: Likewise.
14538         * posix/wordexp.c: Likewise.
14539         * pwd/fgetpwent.c: Likewise.
14540         * resolv/res_hconf.c: Likewise.
14541         * resolv/res_libc.c: Likewise.
14542         * shadow/fgetspent.c: Likewise.
14543         * shadow/lckpwdf.c: Likewise.
14544         * shadow/sgetspent.c: Likewise.
14545         * socket/opensock.c: Likewise.
14546         * stdio-common/reg-modifier.c: Likewise.
14547         * stdio-common/reg-printf.c: Likewise.
14548         * stdio-common/reg-type.c: Likewise.
14549         * stdio-common/vfprintf.c: Likewise.
14550         * stdio-common/vfscanf.c: Likewise.
14551         * stdlib/abort.c: Likewise.
14552         * stdlib/cxa_atexit.c: Likewise.
14553         * stdlib/fmtmsg.c: Likewise.
14554         * stdlib/random.c: Likewise.
14555         * stdlib/setenv.c: Likewise.
14556         * string/strsignal.c: Likewise.
14557         * sunrpc/auth_none.c: Likewise.
14558         * sunrpc/bindrsvprt.c: Likewise.
14559         * sunrpc/create_xid.c: Likewise.
14560         * sunrpc/key_call.c: Likewise.
14561         * sunrpc/rpc_thread.c: Likewise.
14562         * sysdeps/arm/backtrace.c: Likewise.
14563         * sysdeps/generic/ldsodefs.h: Likewise.
14564         * sysdeps/generic/stdio-lock.h: Likewise.
14565         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14566         * sysdeps/i386/backtrace.c: Likewise.
14567         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14568         * sysdeps/m68k/backtrace.c: Likewise.
14569         * sysdeps/mach/hurd/cthreads.c: Likewise.
14570         * sysdeps/mach/hurd/dirstream.h: Likewise.
14571         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14572         * sysdeps/nptl/malloc-machine.h: Likewise.
14573         * sysdeps/nptl/stdio-lock.h: Likewise.
14574         * sysdeps/posix/dirstream.h: Likewise.
14575         * sysdeps/posix/getaddrinfo.c: Likewise.
14576         * sysdeps/posix/system.c: Likewise.
14577         * sysdeps/pthread/aio_suspend.c: Likewise.
14578         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14579         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14580         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14581         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14582         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14583         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14584         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14585         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14586         * sysdeps/unix/sysv/linux/system.c: Likewise.
14587         * sysdeps/x86_64/backtrace.c: Likewise.
14588         * time/alt_digit.c: Likewise.
14589         * time/era.c: Likewise.
14590         * time/tzset.c: Likewise.
14591         * wcsmbs/wcsmbsload.c: Likewise.
14592         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14593         instead of <bits/libc-lock.h> in comment.
14595 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14597         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14598         Only use .set mips2 if the current ISA is below mips2.
14599         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14600         Likewise.
14601         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14602         mips32r2 if the current ISA is below mips32r2.
14603         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14604         (TLS_IE): Updated to use the TLD_RDHWR macro.
14605         (TLS_LE): Likewise.
14606         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14607         __ASSEMBLER__ condition.
14609 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14611         Fix parallel build of before-compile targets.
14613         * sysdeps/mach/Makefile ($(patsubst
14614         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14615         mach-before-compile target.
14616         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14617         io fs process)): Move rule to dedicated hurd-before-compile target.
14619 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14621         Fix rules generating headers in hurd/ and mach/ when initial make call
14622         has subdir= explicitly set.
14624         * sysdeps/mach/Makefile ($(patsubst
14625         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14626         calling $(MAKE).
14627         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14628         io fs process)): Force subdir to hurd when calling $(MAKE).
14629         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14630         subdir to mach when calling $(MAKE).
14632 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14634         Check sysheaders when looking for Mach and Hurd headers
14636         * sysdeps/mach/configure.ac: Add sysheaders check.
14637         * sysdeps/mach/configure: Regenerate.
14638         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14639         * sysdeps/mach/hurd/configure: Regenerate.
14641 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14643         [BZ #18921]
14644         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14645         Fix inverted sense of test of 'o_directory_works' value.
14646         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14647         Bernhard Voelker <mail@bernhard-voelker.de>.
14649 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14651         [BZ #14912]
14652         * bits/linkmap.h: Move to ...
14653         * sysdeps/generic/linkmap.h: ...here.
14654         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14655         * sysdeps/aarch64/linkmap.h: ...here.
14656         * sysdeps/arm/bits/linkmap.h: Move to ...
14657         * sysdeps/arm/linkmap.h: ...here.
14658         * sysdeps/hppa/bits/linkmap.h: Move to ...
14659         * sysdeps/hppa/linkmap.h: ...here.
14660         * sysdeps/ia64/bits/linkmap.h: Move to ...
14661         * sysdeps/ia64/linkmap.h: ...here.
14662         * sysdeps/mips/bits/linkmap.h: Move to ...
14663         * sysdeps/mips/linkmap.h: ...here.
14664         * sysdeps/s390/bits/linkmap.h: Move to ...
14665         * sysdeps/s390/linkmap.h: ...here.
14666         * sysdeps/sh/bits/linkmap.h: Move to ...
14667         * sysdeps/sh/linkmap.h: ...here.
14668         * sysdeps/x86/bits/linkmap.h: Move to ...
14669         * sysdeps/x86/linkmap.h: ...here.
14670         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14672 2015-09-04  Andreas Schwab  <schwab@suse.de>
14674         [BZ #18635]
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14676         (__makecontext): Terminate FDE before return label.
14677         (__novec_makecontext): Likewise.
14679 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14681         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14682         first member of struct sv in syscall macro.
14684 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14686         [BZ #14912]
14687         * bits/stdio-lock.h: Move to ...
14688         * sysdeps/generic/stdio-lock.h: ...here.
14689         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14690         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14691         * sysdeps/nptl/stdio-lock.h: ...here.
14692         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14693         * include/libio.h: Include <stdio-lock.h> instead of
14694         <bits/stdio-lock.h>.
14695         * sysdeps/nptl/fork.c: Likewise.
14696         * sysdeps/pthread/flockfile.c: Likewise.
14697         * sysdeps/pthread/ftrylockfile.c: Likewise.
14698         * sysdeps/pthread/funlockfile.c: Likewise.
14700         [BZ #14912]
14701         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14702         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14703         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14704         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14705         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14706         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14707         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14709 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14711         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14712         (test-xfail-tst-protected1b): New variable.
14714 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14716         [BZ #14912]
14717         * bits/libc-tsd.h: Move to ...
14718         * sysdeps/generic/libc-tsd.h: ...here.
14719         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14720         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14721         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14722         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14723         * include/ctype.h: Include <libc-tsd.h> instead of
14724         <bits/libc-tsd.h>.
14725         * include/rpc/rpc.h: Likewise.
14726         * locale/localeinfo.h: Likewise.
14727         * sunrpc/rpc_thread.c: Likewise.
14728         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14729         * sysdeps/nptl/malloc-machine.h: Likewise.
14731         * Makefile (headers): Remove bits/libc-lock.h.
14732         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14734         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14735         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14736         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14737         <bits/stdio-lock.h>.
14738         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14739         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14741 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14743         [BZ #18757]
14744         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14745         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14746         BZ #18757.
14748 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14750         * malloc/mtrace.pl: Filter out NULL entries.
14752 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14754         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14755         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14756         macro.
14758         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14759         (TCP_CC_INFO): Likewise.
14760         (TCP_SAVE_SYN): Likewise.
14761         (TCP_SAVED_SYN): Likewise.
14763 2015-08-31  Brett Neumeier <brett@neumeier.us>
14765         [BZ #18870]
14766         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14768 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14770         [BZ #18873]
14771         Fix broken overflow check in posix_fallocate
14772         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14773         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14774         Fix parenthesization typo.
14776 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14778         [BZ #18887]
14779         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14780         tst-mntent-blank-passno.
14781         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14782         * misc/tst-mntent-blank-corrupt.c: New test.
14783         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14784         * misc/tst-mntent.c (do_test): ... here.
14786 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14788         [BZ #4404]
14789         * po/de.po: Fix SIGALRM typo.
14791 2015-08-28  James Perkins  <james@loowit.net>
14793         * time/tst-strptime2.c (tests): Replace short list of test
14794         strings for strptime %z specifier with code which exhaustively
14795         tests every combination of sign and 0 to 5 digits. Tests for
14796         rejection of invalid strings.
14798 2015-08-28  James Perkins  <james@loowit.net>
14800         [BZ #16141]
14801         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14802         calculation, removing incorrect decimal time rounding, so that
14803         all minute values result in a valid seconds value.
14804         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14805         offset range limits to UTC-99:59 through UTC+99:59 to parse
14806         current and historical use cases.
14807         * time/tst-strptime2.c (tests): Modify and add tests for the
14808         strptime %z input field descriptor, specifically conversion of
14809         minutes to seconds and validating an offset range of -9959 to
14810         +9959.
14812 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14813             Dmitry V. Levin  <ldv@altlinux.org>
14815         [BZ #18877]
14816         * posix/Makefile (tests): Add tst-mmap-offset.
14817         * posix/tst-mmap.c: New file.
14818         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14819         offset calculation for negative values.
14821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14823         * sysdeps/i386/init-arch.h: New file.
14824         * sysdeps/i386/i586/init-arch.h: Likewise.
14825         * sysdeps/i386/i686/init-arch.h: Likewise.
14826         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14827         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14828         * sysdeps/x86/cpu-features.h (bit_I586): New.
14829         (bit_I686): Likewise.
14830         (bit_CX8): Likewise.
14831         (bit_CMOV): Likewise.
14832         (index_CX8): Likewise.
14833         (index_CMOV): Likewise.
14834         (index_I586): Likewise.
14835         (index_I686): Likewise.
14836         (reg_CX8): Likewise.
14837         (reg_CMOV): Likewise.
14838         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14839         available at compile-time.
14840         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14841         available at compile-time.
14842         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14843         (USE_I686): Likewise.
14845 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14847         * sysdeps/i386/bcopy.S: New file.
14848         * sysdeps/i386/bzero.S: Likewise.
14849         * sysdeps/i386/memcpy.S: Likewise.
14850         * sysdeps/i386/memmove.S: Likewise.
14851         * sysdeps/i386/mempcpy.S: Likewise.
14852         * sysdeps/i386/memset.S: Likewise.
14853         * sysdeps/i386/bzero.c: Removed.
14854         * sysdeps/i386/memset.c: Likewise.
14855         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14856         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14857         * sysdeps/i386/i586/memset_chk.S: Likewise.
14858         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14859         * sysdeps/i386/memcpy_chk.S: Here.
14860         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14861         * sysdeps/i386/memmove_chk.S: Here.
14862         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14863         * sysdeps/i386/mempcpy_chk.S: Likewise.
14864         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14865         * sysdeps/i386/memset_chk.S: Likewise.
14867 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14869         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14870         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14871         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14872         * soft-fp/fmadf4.c: Ditto.
14873         * soft-fp/fmatf4.c: Ditto.
14875 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14877         * sysdeps/i386/i586/Implies: Removed.
14878         * sysdeps/i386/i686/Implies: Likewise.
14880 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14882         * sysdeps/i386/i486/strlen.S: Moved to ...
14883         * sysdeps/i386/strlen.S: Here.
14885 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14887         * sysdeps/i386/i486/strcat.S: Moved to ...
14888         * sysdeps/i386/strcat.S: Here.
14890 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14892         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14893         * sysdeps/i386/pthread_spin_trylock.S: Here.
14894         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14895         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14897 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14899         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14900         * sysdeps/i386/string-inlines.c: Here.
14902 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14904         * sysdeps/i386/i486/htonl.S: Moved ...
14905         * sysdeps/i386/htonl.S: here.
14907 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14909         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14910         * sysdeps/i386/bits/atomic.h: Here.
14912 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14914         * sysdeps/i386/i486/Versions: Removed.
14916 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14918         [BZ #2898]
14919         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14920         Based on patch by Aurelien Jarno.
14922 2015-08-26  Stan Shebs  <stanshebs@google.com>
14924         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14925         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14927 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14929         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14930         * sysdeps/powerpc/dl-procinfo.c:
14931         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14932         feature so it shows when LD_SHOW_AUXV=1.
14934 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14936         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14937         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14938         definition.  ISA 2.07B no longer requires full sync.
14940 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14942         [BZ #18863]
14943         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14944         (si_call_addr): Define.
14945         (si_syscall): Define.
14946         (si_arch): Define.
14948 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14950         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14951         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14952         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14953         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14954         (__memset_zero_constant_len_parameter): New.
14955         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14956         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14957         (__memset_zero_constant_len_parameter): Don't define if
14958         __memset_chk or USE_AS_BZERO are defined.
14960         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14961         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14962         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14964         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14965         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14966         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14967         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14968         comments.
14969         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14970         -mno-mmx for $(all-rtld-routines).
14971         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14972         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14973         i386.
14975 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14977         * sysdeps/generic/unwind.h
14978         (_Unwind_Word): Use __mode__(__unwind_word__)
14979         instead of __mode__(__word__).
14980         (_Unwind_Sword): Likewise.
14982         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14983         (MAX_NEEDED_INPUT): New define.
14984         (MAX_NEEDED_OUTPUT): New define.
14986         * NEWS: New item for IBM z13 string optimizations.
14988         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14989         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14990         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14991         * sysdeps/s390/multiarch/Makefile
14992         (sysdep_routines): Add memrchr functions.
14993         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14994         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14996         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14997         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14998         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14999         * sysdeps/s390/multiarch/Makefile
15000         (sysdep_routines): Add wmemcmp functions.
15001         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15002         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15003         * benchtests/bench-wmemcmp.c: New File.
15004         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15006         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15007         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15008         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15009         * sysdeps/s390/multiarch/Makefile
15010         (sysdep_routines): Add wmemset functions.
15011         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15012         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15013         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15014         * string/test-memset.c: Add wmemset support.
15015         * wcsmbs/test-wmemset.c: New File.
15016         * wcsmbs/Makefile (strop-tests): Add wmemset.
15017         * benchtests/bench-memset.c: Add wmemset support.
15018         * benchtests/bench-wmemset.c: New File.
15019         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15021         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15022         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15023         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15024         * sysdeps/s390/multiarch/Makefile
15025         (sysdep_routines): Add memccpy functions.
15026         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15027         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15028         * string/memccpy.c: Use MEMCCPY if defined.
15030         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15031         * sysdeps/s390/multiarch/memchr.c: Likewise.
15032         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15033         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15034         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15035         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15036         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15037         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15038         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15039         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15040         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15041         and rawmemchr functions.
15042         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15043         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15044         and wmemchr.
15045         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15046         * string/test-memchr.c: Add wmemchr support.
15047         * wcsmbs/test-wmemchr.c: New File.
15048         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15049         * benchtests/bench-memchr.c: Add wmemchr support.
15050         * benchtests/bench-wmemchr.c: New File.
15051         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15053         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15054         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15055         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15056         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15057         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15058         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15059         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15060         wcscspn functions.
15061         * sysdeps/s390/multiarch/ifunc-impl-list.c
15062         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15063         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15064         * string/test-strcspn.c: Add wcscspn support.
15065         * wcsmbs/test-wcscspn.c: New File.
15066         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15067         * benchtests/bench-strcspn.c: Add wcscspn support.
15068         * benchtests/bench-wcscspn.c: New File.
15069         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15071         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15072         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15073         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15074         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15075         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15076         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15077         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15078         wcspbrk functions.
15079         * sysdeps/s390/multiarch/ifunc-impl-list.c
15080         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15081         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15082         * string/test-strpbrk.c: Add wcspbrk support.
15083         * wcsmbs/test-wcspbrk.c: New File.
15084         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15085         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15086         * benchtests/bench-wcspbrk.c: New File.
15087         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15089         * sysdeps/s390/multiarch/strspn-c.c: New File.
15090         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15091         * sysdeps/s390/multiarch/strspn.c: Likewise.
15092         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15093         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15094         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15095         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15096         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15097         wcsspn functions.
15098         * sysdeps/s390/multiarch/ifunc-impl-list.c
15099         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15100         * string/test-strspn.c: Add wcsspn support.
15101         * wcsmbs/test-wcsspn.c: New File.
15102         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15103         * benchtests/bench-strspn.c: Add wcsspn support.
15104         * benchtests/bench-wcsspn.c: New File.
15105         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15107         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15108         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15109         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15110         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15111         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15112         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15113         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15114         wcsrchr functions.
15115         * sysdeps/s390/multiarch/ifunc-impl-list.c
15116         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15117         * benchtests/bench-wcsrchr.c: New File.
15118         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15120         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15121         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15122         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15123         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15124         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15125         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15126         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15127         wcschrnul functions.
15128         * sysdeps/s390/multiarch/ifunc-impl-list.c
15129         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15130         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15131         * string/test-strchr.c: Add wcschrnul support.
15132         * wcsmbs/test-wcschrnul.c: New File.
15133         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15134         * benchtests/bench-strchr.c: Add wcschrnul support.
15135         * benchtests/bench-wcschrnul.c: New File.
15136         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15138         * sysdeps/s390/multiarch/strchr-c.c: New File.
15139         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15140         * sysdeps/s390/multiarch/strchr.c: Likewise.
15141         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15142         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15143         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15144         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15145         wcschr functions.
15146         * sysdeps/s390/multiarch/ifunc-impl-list.c
15147         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15148         * string/strchr.c (STRCHR): Define and use macro.
15149         * benchtests/bench-wcschr.c: New File.
15150         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15152         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15153         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15154         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15155         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15156         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15157         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15158         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15159         wcsncmp functions.
15160         * sysdeps/s390/multiarch/ifunc-impl-list.c
15161         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15162         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15163         * benchtests/bench-strncmp.c: Add wcsncmp support.
15164         * benchtests/bench-wcsncmp.c: New File.
15165         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15167         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15168         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15169         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15170         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15171         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15172         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15173         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15174         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15175         wcscmp functions.
15176         * sysdeps/s390/multiarch/ifunc-impl-list.c
15177         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15178         * string/strcmp.c (STRCMP): Define and use macro.
15179         * benchtests/bench-wcscmp.c: New File.
15180         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15181         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15182         instead of _HAVE_STRING_ARCH_memchr.
15184         * sysdeps/s390/multiarch/strncat-c.c: New File.
15185         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15186         * sysdeps/s390/multiarch/strncat.c: Likewise.
15187         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15188         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15189         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15190         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15191         wcsncat functions.
15192         * sysdeps/s390/multiarch/ifunc-impl-list.c
15193         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15194         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15195         * string/test-strncat.c: Add wcsncat support.
15196         * wcsmbs/test-wcsncat.c: New File.
15197         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15198         * benchtests/bench-strncat.c: Add wcsncat support.
15199         * benchtests/bench-wcsncat.c: New File.
15200         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15202         * sysdeps/s390/multiarch/strcat-c.c: New File.
15203         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15204         * sysdeps/s390/multiarch/strcat.c: Likewise.
15205         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15206         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15207         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15208         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15209         wcscat functions.
15210         * sysdeps/s390/multiarch/ifunc-impl-list.c
15211         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15212         * string/strcat.c (STRCAT): Define and use macro.
15213         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15214         * string/test-strcat.c: Add wcscat support.
15215         * wcsmbs/test-wcscat.c: New File.
15216         * wcsmbs/Makefile (strop-tests): Add wcscat.
15217         * benchtests/bench-strcat.c: Add wcscat support.
15218         * benchtests/bench-wcscat.c: New File.
15219         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15221         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15222         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15223         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15224         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15225         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15226         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15227         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15228         wcpncpy functions.
15229         * sysdeps/s390/multiarch/ifunc-impl-list.c
15230         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15231         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15232         * string/test-stpncpy.c: Add wcpncpy support.
15233         * wcsmbs/test-wcpncpy.c: New File.
15234         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15235         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15236         * benchtests/bench-wcpncpy.c: New File.
15237         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15239         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15240         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15241         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15242         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15243         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15244         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15245         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15246         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15247         wcsncpy functions.
15248         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15249         * sysdeps/s390/multiarch/ifunc-impl-list.c
15250         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15251         * string/test-strncpy.c: Add wcsncpy support.
15252         * wcsmbs/test-wcsncpy.c: New File.
15253         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15254         * benchtests/bench-strncpy.c: Add wcsncpy support.
15255         * benchtests/bench-wcsncpy.c: New File.
15256         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15258         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15259         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15260         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15261         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15262         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15263         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15265         wcpcpy functions.
15266         * string/stpcpy.c: Use STPCPY if defined.
15267         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15268         * sysdeps/s390/multiarch/ifunc-impl-list.c
15269         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15270         * string/test-stpcpy.c: Add wcpcpy support.
15271         * wcsmbs/test-wcpcpy.c: New File.
15272         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15273         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15274         * benchtests/bench-wcpcpy.c: New File.
15275         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15277         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15278         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15279         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15280         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15281         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15282         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15283         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15285         wcscpy functions.
15286         * sysdeps/s390/multiarch/ifunc-impl-list.c
15287         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15288         * benchtests/bench-wcscpy.c: New File.
15289         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15291         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15292         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15293         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15294         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15295         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15296         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15297         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15298         wcsnlen functions.
15299         * sysdeps/s390/multiarch/ifunc-impl-list.c
15300         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15301         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15302         * string/test-strnlen.c: Add wcsnlen support.
15303         * wcsmbs/test-wcsnlen.c: New File.
15304         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15305         * benchtests/bench-strnlen.c: Add wcsnlen support.
15306         * benchtests/bench-wcsnlen.c: New File.
15307         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15309         * sysdeps/s390/multiarch/Makefile: New File.
15310         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15311         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15312         * sysdeps/s390/multiarch/strlen.c: Likewise.
15313         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15314         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15315         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15316         * string/strlen.c (STRLEN): Define and use macro.
15317         * sysdeps/s390/multiarch/ifunc-impl-list.c
15318         (IFUNC_VX_IMPL): New macro function.
15319         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15320         * benchtests/Makefile (wcsmbs-bench): New variable.
15321         (string-bench-all): Added wcsmbs-bench.
15322         * benchtests/bench-wcslen.c: New File.
15324         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15325         s390_vx_libc_ifunc2): New macro function.
15327         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15328         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15329         assembler support.
15330         * sysdeps/s390/configure: Regenerated.
15332         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15333         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15335         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15336         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15337         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15339         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15340         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15342         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15343         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15344         (memcmp, bcmp): Use __memcmp_default as alias source.
15345         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15346         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15347         Rename to __memcmp_default.
15348         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15349         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15350         (memcpy): Use __memcpy_default as alias source.
15351         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15352         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15353         Rename to __memcpy_default.
15354         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15355         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15356         (memset): Use __memset_default as alias source.
15357         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15358         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15359         Rename to __memset_default.
15360         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15361         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15362         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15363         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15364         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15365         (memcmp, bcmp): Use __memcmp_default as alias source.
15366         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15367         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15368         Rename to __memcmp_default.
15369         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15370         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15371         (memcpy): Use __memcpy_default as alias source.
15372         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15373         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15374         Rename to __memcpy_default.
15375         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15376         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15377         (memset): Use __memset_default as alias source.
15378         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15379         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15380         Rename to __memset_default.
15381         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15382         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15384         [BZ #18610]
15385         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15386         __ieee_instruction_pointer to __unused.
15387         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15388         __ieee_instruction_pointer.
15389         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15390         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15391         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15392         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15393         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15394         Mark dxc-field as reserved.
15396 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15398         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15399         if the weak reference is not null.
15401 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15403         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15405         [BZ #11214]
15406         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15408 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15410         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15411         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15412         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15413         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15414         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15415         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15416         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15417         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15418         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15419         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15420         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15421         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15422         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15423         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15424         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15425         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15426         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15427         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15429 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15431         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15432         register other than r0 for tabort, it has special meaning.
15433         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15434         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15435         transaction before starting syscall.
15437 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15439         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15441 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15443         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15445         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15446         * sysdeps/x86_64/rtld-memset.S: Likewise.
15447         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15448         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15449         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15450         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15452         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15454 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15456         * debug/strcpy_chk.c: Improve performance.
15457         * debug/stpcpy_chk.c: Likewise.
15458         * sysdeps/x86_64/strcpy_chk.S: Remove.
15459         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15461         [BZ #18240]
15462         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15464 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15466         [BZ #15128]
15467         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15468         ifuncmain8.
15469         (modules-names): Add ifuncmod8.
15470         ($(objpfx)ifuncmain8): New rule.
15471         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15472         <cpuid.h>.
15473         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15474         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15475         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15476         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15477         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15478         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15479         * sysdeps/x86_64/ifuncmain8.c: New file.
15480         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15481         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15482         Removed.
15483         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15484         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15485         Change rtld_savespace_sse to __glibc_unused2.
15486         (RTLD_CHECK_FOREIGN_CALL): Removed.
15487         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15488         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15489         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15491 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15493         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15495 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15497         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15498         Unconditionally set __fpcr to avoid uninialized warning.
15499         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15501 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15503         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15504         is corrupt.
15506         * malloc/arena.c (arena_get2): Drop unused argument.
15507         (arena_lock): Adjust.
15508         (arena_get_retry): Likewise.
15510 2015-08-24  Andreas Schwab  <schwab@suse.de>
15512         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15513         Don't define.
15514         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15515         (__ASSUME_IPC64): Don't undef.
15516         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15517         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15518         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15519         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15520         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15521         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15522         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15523         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15524         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15525         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15526         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15527         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15528         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15529         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15530         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15531         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15532         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15533         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15534         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15535         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15536         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15538 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15540         * manual/Makefile (install): Only build manual when perl is available.
15542 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15544         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15545         '#undef memcpy' by '#undef memchr'.
15547 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15549         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15550         memchr not point to the internal __GI_memchr implementation.
15552 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15554         * timezone/Makefile (CFLAGS-zdump.c): Remove
15555         -Wno-strict-prototypes.
15556         (CFLAGS-zic.c): Likewise.
15557         (CFLAGS-ialloc.c): Likewise.
15558         (CFLAGS-scheck.c): Likewise.
15560         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15561         -Wno-error=undef.
15563 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15565         * i386/i686/multiarch/strcasestr-c.c: Removed.
15566         * x86_64/multiarch/strcasestr.c: Likewise.
15567         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15568         Remove strcasestr.
15570 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15572         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15574         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15575         variables for high and low parts before possibly modifying them.
15577 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15579         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15580         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15581         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15582         of "multiarch/init-arch.h".
15583         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15584         * sysdeps/x86/init-arch.h: This.
15586 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15588         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15589         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15591 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15593         [BZ #17787]
15594         * manual/macros.texi: Add twoexp macro.
15595         * manual/filesys.texi: Fix exponents.
15596         * manual/llio.texi: Likewise.
15597         * manual/stdio.texi: Likewise.
15599 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15601         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15602         incorrect use.
15604 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15606         [BZ #18370]
15607         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15608         whose real or imaginary part has small absolute value.
15609         * math/s_csqrtf.c (__csqrtf): Likewise.
15610         * math/s_csqrtl.c (__csqrtl): Likewise.
15611         * math/auto-libm-test-in: Add more tests of csqrt.
15612         * math/auto-libm-test-out: Regenerated.
15613         * sysdeps/i386/fpu/libm-test-ulps: Update.
15615 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15617         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15618         __ppc_set_ppr_very_low): New functions.
15619         * manual/platform.texi: Add documentation about
15620         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15622 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15624         * string/stpncpy.c (stpncpy): Improve performance using
15625         __strnlen/memcpy/memset.
15627 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15629         [BZ #18796]
15630         * scripts/test-installation.pl: Don't add -lmvec to build options if
15631         libmvec wasn't built.
15633 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15635         [BZ #14341]
15636         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15637         case when there is a gap between DT_REL and DT_JMPREL sections.
15638         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15639         (LDFLAGS-tst-split-dynreloc): New.
15640         (tst-split-dynreloc-ENV): Likewise.
15641         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15642         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15644 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15646         [BZ #18822]
15647         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15648         attribute_hidden.
15649         (__xstat64_conv): Likewise.
15650         (__xstat32_conv): Likewise.
15652 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15654         [BZ #18822]
15655         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15656         Don't load %ebx when calling __setcontext.  Call __setcontext
15657         with HIDDEN_JUMPTARGET.
15658         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15659         libc_hidden_def.
15661 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15663         * sysdeps/i386/i686/Makefile
15664         [$(subdir) == string] (sysdep_routines): Moved to ...
15665         * sysdeps/i386/Makefile: Here.
15666         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15667         * sysdeps/i386/cacheinfo.c: Here.
15668         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15669         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15670         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15671         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15673 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15675         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15676         __i586__ is defined.
15677         (HAS_I686): Defined to 1 if __i686__ is defined.
15679 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15681         * elf/Makefile [$(have-z-execstack) = yes]
15682         (CPPFLAGS-tst-execstack.c): New variable.
15684         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15685         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15686         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15687         UTMPX || _HAVE_UT_TV].
15688         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15689         UTMPX || _HAVE_UT_TV - 0].
15691 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15693         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15694         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15695         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15697 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15699         * sysdeps/powerpc/dl-procinfo.c:
15700         (_dl_powerpc_cap_flags): Added missing strings for some
15701         hwcap features.
15702         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15704 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15706         Port the 0x7efe...feff pattern to GCC 6.
15707         See Steve Ellcey's bug report in:
15708         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15709         * string/memrchr.c (MEMRCHR):
15710         * string/rawmemchr.c (RAWMEMCHR):
15711         * string/strchr.c (strchr):
15712         * string/strchrnul.c (STRCHRNUL):
15713         Rewrite code to avoid issues with signed shift overflow.
15715 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15717         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15718         whether cpuid is available only if HAS_CPUID is 0.
15719         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15720         (HAS_I586): Likewise.
15721         (HAS_I686): Likewise.
15723 2015-08-18  Zack Weinberg  <zackw@panix.com>
15725         * misc/Versions (libc): Add GLIBC_2.23.
15727 2015-08-18  Alan Modra  <amodra@gmail.com>
15729         [BZ #18421]
15730         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15731         .Lp__global.
15732         (_start): Load %dp via .Lp__global.
15733         [!SHARED]: Use .section .rodata.
15735 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15737         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15738         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15740 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15742         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15743         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15745 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15747         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15748         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15750 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15752         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15753         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15755 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15757         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15758         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15760 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15762         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15763         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15765 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15767         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15769 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15771         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15772         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15773         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15774         (__ASSUME_LWS_CAS): Delete.
15776 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15778         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15779         * sysdeps/hppa/configure: Regenerated.
15780         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15781         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15782         * sysdeps/hppa/nptl/tls.h: Likewise.
15784 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15786         [BZ #18823]
15787         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15788         for scaling up small arguments.
15789         * math/s_csqrtf.c (__csqrtf): Likewise.
15790         * math/s_csqrtl.c (__csqrtl): Likewise.
15791         * math/auto-libm-test-in: Add more tests of csqrt.
15792         * math/auto-libm-test-out: Regenerated.
15794 2015-08-17  Andreas Schwab  <schwab@suse.de>
15796         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15797         version set GLIBC_2.19.
15799 2015-08-16  Zack Weinberg  <zackw@panix.com>
15801         [BZ #18681]
15802         * misc/regexp.h: This interface is no longer supported.
15803         Remove all contents, leaving only an #error directive.
15804         * misc/regexp.c (loc1, loc2, locs, step, advance):
15805         Demote to compatibility symbols.
15807 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15809         [BZ #18084]
15810         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15811         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15812         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15813         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15814         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15815         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15816         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15817         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15818         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15820 2015-08-15  Zack Weinberg  <zackw@panix.com>
15822         [BZ #18795]
15823         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15824         buffer length is known to be too large, not if it's known to be
15825         small enough.
15826         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15827         overflow at runtime, involving a length parameter, twice: once
15828         with a compile-time constant length parameter, once without.
15830 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15832         [BZ #18824]
15833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15834         scaling x * y up instead of down.
15835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15836         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15837         * math/auto-libm-test-in: Add more tests of fma.
15838         * math/auto-libm-test-out: Regenerated.
15840 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15842         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15844 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15846         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15847         unnecessary movq.
15848         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15849         Likewise.
15851 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15853         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15854         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15855         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15856         and tgamma.
15857         * math/auto-libm-test-out: Regenerated.
15858         * sysdeps/i386/fpu/libm-test-ulps: Update.
15859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15861         [BZ #16520]
15862         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15863         (__tanh): Force underflow exception for arguments with small
15864         absolute value.
15865         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15866         (__tanhf): Force underflow exception for arguments with small
15867         absolute value.
15868         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15869         (__tanhl): Force underflow exception for arguments with small
15870         absolute value.
15871         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15872         (__tanhl): Force underflow exception for arguments with small
15873         absolute value.
15874         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15875         (__tanhl): Force underflow exception for arguments with small
15876         absolute value.
15877         * math/auto-libm-test-in: Add more tests of tanh.
15878         * math/auto-libm-test-out: Regenerated.
15879         * sysdeps/i386/fpu/libm-test-ulps: Update.
15881 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15883         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15884         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15886 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15888         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15889         <cpuid.h>.
15891 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15893         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15894         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15896 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15898         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15899         Remove $(objpfx)init-arch.o.
15900         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15901         init-arch.
15902         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15903         (INIT_ARCH_EXT): Defined as empty.
15904         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15905         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15906         __init_cpu_features call.  Replace HAS_XXX with
15907         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15908         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15909         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15910         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15911         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15912         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15913         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15914         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15915         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15916         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15917         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15919         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15921         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15923         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15924         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15925         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15926         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15927         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15928         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15929         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15930         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15931         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15932         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15933         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15934         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15935         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15936         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15937         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15938         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15939         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15942         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15944 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15946         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15947         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15948         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15949         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15950         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15951         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15952         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15953         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15954         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15955         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15956         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15957         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15958         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15959         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15960         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15961         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15962         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15963         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15964         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15965         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15966         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15967         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15968         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15969         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15970         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15971         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15972         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15973         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15974         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15975         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15976         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15977         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15978         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15979         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15980         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15981         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15982         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15983         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15984         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15985         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15986         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15987         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15988         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15990 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15992         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15993         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15994         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15995         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15996         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15997         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15998         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15999         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16000         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16001         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16002         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16003         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16004         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16005         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16006         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16007         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16008         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16009         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16010         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16011         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16012         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16013         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16014         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16015         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16016         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16017         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16018         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16019         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16020         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16021         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16022         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16023         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16024         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16025         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16026         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16027         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16028         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16029         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16030         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16031         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16032         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16033         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16034         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16036 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16038         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16039         (dl_platform_init): Call init_cpu_features.
16040         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16041         * sysdeps/i386/i686/cacheinfo.c
16042         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16043         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16044         * sysdeps/i386/i686/multiarch/Versions: Removed.
16045         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16046         Removed.
16047         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16048         * sysdeps/unix/sysv/linux/x86/Makefile
16049         (libpthread-sysdep_routines): Remove init-arch.
16050         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16051         <sysdeps/x86_64/dl-procinfo.c> instead of
16052         sysdeps/generic/dl-procinfo.c>.
16053         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16054         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16055         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16056         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16057         [$(subdir) == elf] (tests-static): Add
16058         tst-get-cpu-features-static.
16059         * sysdeps/x86/Versions: New file.
16060         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16061         * sysdeps/x86/cpu-features.c: Likewise.
16062         * sysdeps/x86/cpu-features.h: Likewise.
16063         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16064         * sysdeps/x86/libc-start.c: Likewise.
16065         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16066         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16067         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16068         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16069         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16070         Assume USE_MULTIARCH is defined and don't check it.
16071         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16072         (is_amd): Likewise.
16073         (max_cpuid): Likewise.
16074         (intel_check_word): Likewise.
16075         (__cache_sysconf): Don't call __init_cpu_features.
16076         (__x86_preferred_memory_instruction): Removed.
16077         (init_cacheinfo): Don't call __init_cpu_features. Replace
16078         __cpu_features with GLRO(dl_x86_cpu_features).
16079         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16080         (dl_platform_init): Call init_cpu_features.
16081         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16082         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16083         * sysdeps/x86_64/multiarch/Versions: Removed.
16084         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16085         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16086         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16087         Removed.
16088         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16090 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16092         [BZ #18820]
16093         * libio/Makefile (test-fmemopen-mem): New test.
16094         * libio/test-fmemopen.c (do_bz18820): New test.
16095         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16096         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16098 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16100         [BZ #16734]
16101         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16102         (FREE_BUF): Delete.
16103         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16104         * libio/genops.c (_IO_setb): Use malloc and free directly.
16105         (_IO_default_doallocate, _IO_default_finish): Likewise.
16106         ( _IO_unbuffer_all): Likewise.
16107         ( libc_freeres_fn): Likewise.
16108         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16109         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16110         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16111         (_IO_wdefault_doallocate): Likewise.
16113 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16115         [BZ #18086]
16116         * sysdeps/posix/nice.c (nice): Restore old errno.
16117         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16119 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16121         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16123 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16125         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16126         __bcopy and add a weak_alias to bcopy.
16127         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16128         for static build.
16130         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16131         cleanup macro usage.
16132         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16133         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16134         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16135         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16136         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16137         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16138         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16139         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16140         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16141         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16142         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16143         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16145         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16147         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16148         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16149         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16150         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16152         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16153         libc_hidden_def.
16154         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16156         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16157         (sysdep_routines): Add strstr-ppc64.
16158         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16160 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16162         [BZ #18778]
16163         * elf/Makefile (tests): Add Add tst-nodelete2.
16164         (modules-names): Add tst-nodelete2mod.
16165         (tst-nodelete2mod.so-no-z-defs): New.
16166         ($(objpfx)tst-nodelete2): Likewise.
16167         ($(objpfx)tst-nodelete2.out): Likewise.
16168         (LDFLAGS-tst-nodelete2): Likewise.
16169         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16170         out of loop through all loaded libraries.
16171         * elf/tst-nodelete2.c: New file.
16172         * elf/tst-nodelete2mod.c: Likewise.
16173         * elf/tst-znodelete-zlib.cc: Delete.
16175 2015-08-11  Andreas Schwab  <schwab@suse.de>
16177         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16178         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16179         (__openat64_nocancel): Likewise.
16181 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16183         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16184         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16185         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16186         * math/auto-libm-test-out: Regenerated.
16187         * sysdeps/i386/fpu/libm-test-ulps: Update.
16188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16190 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16192         [BZ #18790]
16193         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16194         threshold for returning +/- 1.
16195         * math/auto-libm-test-in: Add more tests of tanh.
16196         * math/auto-libm-test-out: Regenerated.
16197         * sysdeps/i386/fpu/libm-test-ulps: Update.
16199 2015-08-10  Andreas Schwab  <schwab@suse.de>
16201         [BZ #18781]
16202         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16203         MORE_OFLAGS to oflag.
16204         * io/test-lfs.c (do_test): Test openat64.
16206 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16208         [BZ #18789]
16209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16210         smaller threshold for returning the argument.
16211         * math/auto-libm-test-in: Add more tests of sinh.
16212         * math/auto-libm-test-out: Regenerated.
16213         * sysdeps/i386/fpu/libm-test-ulps: Update.
16215 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16217         [BZ #18674]
16218         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16219         break.
16221 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16223         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16224         (generated): Don't add $(addprefix z.,$(tzfiles)).
16226 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16228         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16229         * scripts/sysd-rules.awk: Likewise.
16231 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16233         * iconvdata/tst-tables.sh: Change echo -n to printf.
16234         * nss/db-Makefile: Likewise.
16235         * posix/tst-getconf.sh: Likewise.
16236         * stdio-common/tst-unbputc.sh: Likewise.
16238 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16240         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16241         MADV_*_PAGES defines behind this feature check.
16243 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16245         [BZ #18480]
16246         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16247         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16248         Define.
16249         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16250         LOAD_REGS_5, LOAD_REGS_6): Update.
16251         (INTERNAL_SYSCALL): Update using new LOAD defines.
16252         (INTERNAL_SYSCALL_NCS): Likewise.
16253         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16255 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16257         [BZ #16734]
16258         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16260 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16262         [BZ #17905]
16263         * catgets/Makefile (tst-catgets-mem): New test.
16264         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16265         * catgets/open_catalog.c (__open_catalog): Likewise.
16266         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16268 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16270         [BZ #18787]
16271         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16272         clobber registers.
16273         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16274         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16275         Cast return to __typeof (oldval).
16277 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16279         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16280         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16281         and delete sys/syscall.h include.
16283 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16285         [BZ #16517]
16286         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16287         (tan): Force underflow exception for arguments with small absolute
16288         value.
16289         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16290         (__kernel_tanf): Force underflow exception for arguments with
16291         small absolute value.
16292         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16293         (__kernel_tanl): Force underflow exception for arguments with
16294         small absolute value.
16295         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16296         (__kernel_tanl): Force underflow exception for arguments with
16297         small absolute value.
16298         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16299         (__kernel_tanl): Force underflow exception for arguments with
16300         small absolute value.
16301         * math/auto-libm-test-in: Add more tests of tan.
16302         * math/auto-libm-test-out: Regenerated.
16304 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16306         Fix sysdeps/i386/fpu/s_scalbn.S build
16308         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16310 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16312         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16314 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16316         Fix gcrt0.o compilation
16318         When static-start-installed-name is different from
16319         start-installed-name, we must not use the shared objects.
16321         * csu/Makefile
16322         (extra-objs): Add gmon-start.o when building shared library and
16323         $(static-start-installed-name) is different from
16324         $(start-installed-name).
16325         $(objpfx)g$(static-start-installed-name): When building shared
16326         library and $(static-start-installed-name) is different from
16327         $(static-start-installed-name), revert to non-shared rule,
16328         i.e. using $(objpfx)% and gmon-start.o.
16330 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16332         [BZ #16519]
16333         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16334         (__ieee754_sinh): Force underflow exception for arguments with
16335         small absolute value.
16336         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16337         (__ieee754_sinhf): Force underflow exception for arguments with
16338         small absolute value.
16339         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16340         (__ieee754_sinhl): Force underflow exception for arguments with
16341         small absolute value.
16342         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16343         (__ieee754_sinhl): Force underflow exception for arguments with
16344         small absolute value.
16345         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16346         (__ieee754_sinhl): Force underflow exception for arguments with
16347         small absolute value.
16348         * math/auto-libm-test-in: Add more tests of sinh.
16349         * math/auto-libm-test-out: Regenerated.
16350         * sysdeps/i386/fpu/libm-test-ulps: Update.
16352 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16354         * libio/oldfileops.c: Include unistd.h.
16356 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16358         * stdlib/isomac.c: Include ctype.h.
16360 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16362         * dirent/tst-seekdir.c (main): Converted to ...
16363         (do_test): ... this.
16364         (TEST_FUNCTION): New macro.
16365         Include test-skeleton.c.
16366         * elf/tst-dlmodcount.c (main): Converted to ...
16367         (do_test): ... this.
16368         (TEST_FUNCTION): New macro.
16369         Include test-skeleton.c.
16370         * elf/tst-order-main.c (main): Converted to ...
16371         (do_test): ... this.
16372         (TEST_FUNCTION): New macro.
16373         Include test-skeleton.c.
16374         * elf/tst-pie2.c (main): Converted to ...
16375         (do_test): ... this.
16376         (TEST_FUNCTION): New macro.
16377         Include test-skeleton.c.
16378         * inet/tst-ether_aton.c (main): Converted to ...
16379         (do_test): ... this.
16380         (TEST_FUNCTION): New macro.
16381         Include test-skeleton.c.
16382         * misc/tst-mntent.c (main): Converted to ...
16383         (do_test): ... this.
16384         (TEST_FUNCTION): New macro.
16385         Include test-skeleton.c.
16386         * misc/tst-tsearch.c (main): Converted to ...
16387         (do_test): ... this.
16388         (TEST_FUNCTION): New macro.
16389         Include test-skeleton.c.
16390         * posix/tst-regexloc.c (main): Converted to ...
16391         (do_test): ... this.
16392         (TEST_FUNCTION): New macro.
16393         Include test-skeleton.c.
16394         * resolv/tst-aton.c (main): Converted to ...
16395         (do_test): ... this.
16396         (TEST_FUNCTION): New macro.
16397         Include test-skeleton.c.
16398         * stdio-common/test-fwrite.c (main): Converted to ...
16399         (do_test): ... this.
16400         (TEST_FUNCTION): New macro.
16401         Include test-skeleton.c.
16402         * stdio-common/tst-ferror.c (main): Converted to ...
16403         (do_test): ... this.
16404         (TEST_FUNCTION): New macro.
16405         Include test-skeleton.c.
16406         * stdio-common/tst-printf.c (main): Converted to ...
16407         (do_test): ... this.
16408         (TEST_FUNCTION): New macro.
16409         Include test-skeleton.c.
16410         * stdio-common/tst-printfsz.c (main): Converted to ...
16411         (do_test): ... this.
16412         (TEST_FUNCTION): New macro.
16413         Include test-skeleton.c.
16414         * stdlib/tst-strtod.c (main): Converted to ...
16415         (do_test): ... this.
16416         (TEST_FUNCTION): New macro.
16417         Include test-skeleton.c.
16418         * string/tst-strlen.c (main): Converted to ...
16419         (do_test): ... this.
16420         (TEST_FUNCTION): New macro.
16421         Include test-skeleton.c.
16422         * string/tst-svc.c (main): Converted to ...
16423         (do_test): ... this.
16424         (TEST_FUNCTION): New macro.
16425         Include test-skeleton.c.
16426         * time/tst-strptime.c (main): Converted to ...
16427         (do_test): ... this.
16428         (TEST_FUNCTION): New macro.
16429         Include test-skeleton.c.
16430         * timezone/tst-timezone.c (main): Converted to ...
16431         (do_test): ... this.
16432         (TEST_FUNCTION): New macro.
16433         Include test-skeleton.c.
16435 2015-08-05  Zack Weinberg  <zackw@panix.com>
16437         * misc/regexp.h: Update comments.
16439 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16441         [BZ #18635]
16442         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16443         before return label.
16445 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16447         [BZ #18661]
16448         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16449         when calling __errno_location.
16450         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16451         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16453 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16455         [BZ #18661]
16456         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16457         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16458         __gettimeofday.
16460 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16462         [BZ #18661]
16463         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16464         (__start_context): Don't use pop to restore %rdi so that stack
16465         is aligned to 16 bytes when calling __setcontext.
16467 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16469         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16470         only for libc.
16471         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16473 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16475         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16476         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16477         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16479 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16481         * string/memccpy.c (memccpy):
16482         Improve performance by using memchr/memcpy/__mempcpy.
16484 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16486         * string/strncpy.c (strncpy):
16487         Improve performance by using __strnlen/memcpy.
16489 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16491         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16492         Optimize to avoid an unnecessary FPCR read.
16494 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16496         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16497         Optimize to reduce FPCR/FPSR accesses.
16499 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16501         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16502         dead->data[category] != NULL.
16504 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16506         [BZ #18647]
16507         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16508         and |x| close to 1, use absolute value of x when computing log.
16509         * math/auto-libm-test-in: Add more tests of pow.
16510         * math/auto-libm-test-out: Regenerated.
16512 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16514         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16515         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16516         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16518 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16520         [BZ #18525]
16521         * locales/km_KH: Remove timezone definition.
16522         * locales/lo_LA: Likewise.
16523         * locales/my_MM: Likewise.
16524         * locales/nan_TW@latin: Likewise.
16525         * locales/th_TH: Likewise.
16526         * locales/uk_UA: Likewise.
16528 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16530         [BZ #18265]
16531         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16532         (wcsncat): Likewise.
16533         (wcscmp): Likewise.
16534         (wcsncmp): Likewise.
16536 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16538         * test-skeleton.c (usage): New function.
16539         (main): Call usage when opt is '?'.
16541 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16543         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16544         before first use.
16546 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16548         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16549         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16550         in there too.
16552 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16554         * version.h (RELEASE): Set to "development".
16555         (VERSION): Set to "2.22.90"
16557         * version.h (RELEASE): Set to "stable".
16558         (VERSION): Set to "2.22"
16559         * include/features.h (__GLIBC_MINOR__): Set to 22.
16561 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16563         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16564         Restructure macro to avoid "value computed is not used" warning.
16565         (atomic_compare_and_exchange_val_acq): Likewise.
16567 2015-08-04  Andreas Schwab  <schwab@suse.de>
16569         [BZ #18635]
16570         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16571         ret.
16572         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16574 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16576         * po/pl.po: Updated translation.
16577         * po/uk.po: Likewise.
16578         * po/fi.po: Likewise.
16579         * po/ko.po: Likewise.
16580         * po/ru.po: Likewise.
16581         * po/vi.po: Likewise.
16583 2015-07-31  Zack Weinberg  <zackw@panix.com>
16585         [BZ #18681]
16586         * regexp.h: Add unconditional #warning stating that this header
16587         will be removed soon.  Revise banner comment to match.
16588         (compile): Consistently use ERROR instead of RETURN to report
16589         errors (partial fix for bz#18681).
16590         * regexp.c: Don't include regexp.h. Remove some unnecessary
16591         declarations.
16593 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16595         * po/libc.pot: Regenerated.
16597 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16599         [BZ #18740]
16600         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16601         float-vlen4-arch-ext-cflags): Removed.
16602         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16603         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16605 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16607         [BZ #14113]
16608         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16609         aligned to __aligned__.
16610         (pthread_cond_t, pthread_rwlock_t): Likewise.
16612 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16614         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16616 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16618         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16619         (struct sigaction): Change sa_flags from a long to an int, and add
16620         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16622 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16624         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16625         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16626         sysdeps/generic/sysdep.h include.
16627         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16628         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16629         sysdeps/hppa/sysdep.h.
16630         (ENTRY, PSEUDO): Undefine before defining.
16632 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16634         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16635         from scratch to use INTERNAL_SYSCALL.
16637 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16639         [BZ #18078]
16640         * scripts/check-localplt.awk: Support alternate relocations.
16641         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16642         sections.
16643         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16644         malloc entries with + REL R_386_GLOB_DAT.
16645         * sysdeps/x86_64/localplt.data: New file.
16647 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16649         [BZ #18731]
16650         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16651         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16652         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16654 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16656         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16658 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16660         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16661         directly in terms of __sync_fetch_and_add and delete (int) cast.
16663 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16665         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16666         the -D_ASM_IA64_CURRENT_H flag.
16668 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16670         [BZ #18641]
16671         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16673 2015-07-27  Andreas Schwab  <schwab@suse.de>
16675         * conform/conformtest.pl (checknamespace): Filter out string
16676         literals while tokenizing.
16678 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16680         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16681         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16682         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16684 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16686         * nptl/tst-join7mod.c: Add #include <string.h>.
16688 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16690         * sysdeps/nios2/libm-test-ulps: Update.
16692 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16694         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16695         Fix order of arguments to the rt_sigprocmask syscall.
16696         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16697         Likewise.
16699 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16701         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16703 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16705         [BZ #18457]
16706         * nptl/Makefile (tests): New test case tst-join7.
16707         (modules-names): New test case module tst-join7mod.
16708         * nptl/tst-join7.c: New file.
16709         * nptl/tst-join7mod.c: New file.
16710         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16711         all translation units in libc.so, libpthread.so and rtld.
16713 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16717 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16719         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16720         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16721         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16722         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16723         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16724         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16725         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16726         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16727         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16728         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16729         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16730         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16731         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16732         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16733         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16734         implementation.
16736 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16738         [BZ #17711]
16739         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16740         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16741         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16742         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16743         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16744         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16746 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16748         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16749         instead of just saying load lock in the comments.
16751 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16753         * sysdeps/unix/Subdirs: Moved ...
16754         * sysdeps/posix/Subdirs: ... here.
16755         * login/pty.h (struct termios, struct winsize): Add forward decls.
16756         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16757         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16758         * sysdeps/arm/nacl/libc.abilist: Updated.
16759         * sysdeps/nacl/libutil.abilist: New file.
16761         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16762         (SIGWINCH): New macro.
16764         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16765         * sysdeps/arm/nacl/libc.abilist: Add it.
16767 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16769         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16771 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16773         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16774         Swap __glibc_reserved0 and sa_flags order.
16776 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16778         [BZ #18657]
16779         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16780         are pending TLS destructor calls.
16781         * include/link.h (struct link_map): Add concurrency note for
16782         L_TLS_DTOR_COUNT.
16783         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16784         Don't touch the link map flag.  Atomically increment
16785         l_tls_dtor_count.
16786         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16787         Avoid taking the load lock and don't touch the link map flag.
16788         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16789         * stdlib/Makefile (tests): Use it.
16790         * stdlib/tst-tls-atexit.c (do_test): dlopen
16791         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16792         to allow tst-tls-atexit-nodelete test case to use it.
16794 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16796         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16797         to bits/types.h.
16798         (msgqnum_t): New typedef.
16799         (msglen_t): Likewise.
16800         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16801         and msg_qbytes type to msglen_t.
16803 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16805         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16806         pad0 to __glibc_reserved0.
16807         (struct stat64): Likewise.
16809 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16811         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16812         Change sa_flags from a long to an int and add __glibc_reserved0 before
16813         it for padding.
16815 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16817         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16818         anonymous by deleting "siginfo" name.
16820 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16822         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16823         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16824         rather than __nacl_irt_filename.
16825         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16827         * NEWS: New item for arm-nacl port.
16828         * sysdeps/arm/nacl/libc.abilist: New file.
16829         * sysdeps/nacl/ld.abilist: New file.
16830         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16831         * sysdeps/nacl/libanl.abilist: New file.
16832         * sysdeps/nacl/libcrypt.abilist: New file.
16833         * sysdeps/nacl/libdl.abilist: New file.
16834         * sysdeps/nacl/libm.abilist: New file.
16835         * sysdeps/nacl/libpthread.abilist: New file.
16836         * sysdeps/nacl/libresolv.abilist: New file.
16837         * sysdeps/nacl/librt.abilist: New file.
16839 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16841         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16842         __startcontext to initialize the new context.
16843         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16844         up CFI directive to forbid further backtracing.
16846 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16848         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16849         reference.
16850         * charmaps/ANSI_X3.4-1968: Likewise.
16851         * charmaps/BS_4730: Likewise.
16852         * charmaps/BS_VIEWDATA: Likewise.
16853         * charmaps/CP1250: Likewise.
16854         * charmaps/CP1251: Likewise.
16855         * charmaps/CP1252: Likewise.
16856         * charmaps/CP1253: Likewise.
16857         * charmaps/CP1254: Likewise.
16858         * charmaps/CP1255: Likewise.
16859         * charmaps/CP1256: Likewise.
16860         * charmaps/CSN_369103: Likewise.
16861         * charmaps/EBCDIC-DK-NO: Likewise.
16862         * charmaps/GB_1988-80: Likewise.
16863         * charmaps/GREEK-CCITT: Likewise.
16864         * charmaps/GREEK7: Likewise.
16865         * charmaps/INIS-8: Likewise.
16866         * charmaps/ISIRI-3342: Likewise.
16867         * charmaps/ISO_2033-1983: Likewise.
16868         * charmaps/ISO_5427-EXT: Likewise.
16869         * locales/POSIX: Likewise.
16870         * locales/ar_SA: Likewise.
16871         * locales/be_BY: Likewise.
16872         * locales/be_BY@latin: Likewise.
16873         * locales/ca_ES: Likewise.
16874         * locales/cs_CZ: Likewise.
16875         * locales/da_DK: Likewise.
16876         * locales/de_BE: Likewise.
16877         * locales/de_CH: Likewise.
16878         * locales/de_LU: Likewise.
16879         * locales/en_AU: Likewise.
16880         * locales/en_BW: Likewise.
16881         * locales/en_CA: Likewise.
16882         * locales/en_DK: Likewise.
16883         * locales/en_GB: Likewise.
16884         * locales/en_IE: Likewise.
16885         * locales/en_NZ: Likewise.
16886         * locales/en_ZA: Likewise.
16887         * locales/en_ZW: Likewise.
16888         * locales/es_AR: Likewise.
16889         * locales/es_BO: Likewise.
16890         * locales/es_CL: Likewise.
16891         * locales/es_CO: Likewise.
16892         * locales/es_DO: Likewise.
16893         * locales/es_EC: Likewise.
16894         * locales/es_ES: Likewise.
16895         * locales/es_HN: Likewise.
16896         * locales/es_MX: Likewise.
16897         * locales/es_PA: Likewise.
16898         * locales/es_PE: Likewise.
16899         * locales/es_PY: Likewise.
16900         * locales/es_SV: Likewise.
16901         * locales/es_US: Likewise.
16902         * locales/es_UY: Likewise.
16903         * locales/es_VE: Likewise.
16904         * locales/et_EE: Likewise.
16905         * locales/fa_IR: Likewise.
16906         * locales/fo_FO: Likewise.
16907         * locales/fr_CA: Likewise.
16908         * locales/fr_CH: Likewise.
16909         * locales/gv_GB: Likewise.
16910         * locales/he_IL: Likewise.
16911         * locales/hr_HR: Likewise.
16912         * locales/id_ID: Likewise.
16913         * locales/is_IS: Likewise.
16914         * locales/it_CH: Likewise.
16915         * locales/iw_IL: Likewise.
16916         * locales/kl_GL: Likewise.
16917         * locales/ko_KR: Likewise.
16918         * locales/kw_GB: Likewise.
16919         * locales/lg_UG: Likewise.
16920         * locales/lt_LT: Likewise.
16921         * locales/lv_LV: Likewise.
16922         * locales/mi_NZ: Likewise.
16923         * locales/nhn_MX: Likewise.
16924         * locales/nl_BE: Likewise.
16925         * locales/pl_PL: Likewise.
16926         * locales/sk_SK: Likewise.
16927         * locales/sl_SI: Likewise.
16928         * locales/sv_FI: Likewise.
16929         * locales/tl_PH: Likewise.
16930         * locales/tr_TR: Likewise.
16931         * locales/vi_VN: Likewise.
16933 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16935         [BZ #17475]
16936         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16937         of tu_IN and bh_IN.
16939 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16941         [BZ #18694]
16942         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16943         bits/wordsize.h.
16944         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16946 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16948         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16949         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16950         (spawn_thread): New function.
16951         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16952         (do_test): ... here.  Use IS_LOADED to test for its
16953         availability.
16955 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16957         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16959 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16961         [BZ #18696]
16962         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16963         si_addr_bnd.
16964         (si_lower): New.
16965         (si_upper): Likewise.
16967 2015-07-16  David S. Miller  <davem@davemloft.net>
16969         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16971 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16973         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16974         buffer.
16975         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16976         fail output information.
16978 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16981         and strstr-ppc64..
16982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16983         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16984         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16985         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16986         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16988 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16990         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16991         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16992         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16993         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16995 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16997         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16998         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16999         rtld_hidden_proto.
17000         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17002 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17004         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17005         the test can fail.
17007         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17009         [BZ #18676]
17010         * elf/tst-nodelete-opened.c: New test case.
17011         * elf/tst-nodelete-opened-lib.c: New test case module.
17012         * elf/Makefile (tests, modules-names): Use them.
17013         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17014         early.
17016 2015-07-15  David S. Miller  <davem@davemloft.net>
17018         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17019         futex-intenal.h
17020         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17021         * sysdeps/sparc/sparc64/Makefile: Likewise.
17022         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17023         Remove space from macro define.
17024         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17026 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17028         [BZ #17475]
17029         * locale/iso-639.def: Update Bhili and Tulu language codes as
17030         per iso639-3.
17032 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17034         * elf/tst-leaks1.c (main): Converted to ...
17035         (do_test): ... this.
17036         (TEST_FUNCTION): New macro.
17037         Include test-skeleton.c.
17038         * localedata/tst-langinfo.c (main): Converted to ...
17039         (do_test): ... this.
17040         (TEST_FUNCTION): New macro.
17041         Include test-skeleton.c.
17042         * math/test-fpucw.c (main): Converted to ...
17043         (do_test): ... this.
17044         (TEST_FUNCTION): New macro.
17045         Include test-skeleton.c.
17046         * math/test-tgmath.c (main): Converted to ...
17047         (do_test): ... this.
17048         (TEST_FUNCTION): New macro.
17049         Include test-skeleton.c.
17050         * math/test-tgmath2.c (main): Converted to ...
17051         (do_test): ... this.
17052         (TEST_FUNCTION): New macro.
17053         Include test-skeleton.c.
17054         * setjmp/tst-setjmp.c (main): Converted to ...
17055         (do_test): ... this.
17056         (TEST_FUNCTION): New macro.
17057         Include test-skeleton.c.
17058         * stdio-common/tst-sscanf.c (main): Converted to ...
17059         (do_test): ... this.
17060         (TEST_FUNCTION): New macro.
17061         Include test-skeleton.c.
17062         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17063         (do_test): ... this.
17064         (TEST_FUNCTION): New macro.
17065         Include test-skeleton.c.
17067         * elf/tst-audit9.c (main): Converted to ...
17068         (do_test): ... this.
17069         (TEST_FUNCTION): New macro.
17070         Include test-skeleton.c.
17072 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17074         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17076 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17078         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17079         New variable.
17081 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17083         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17085 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17087         * sysdeps/generic/dl-fileid.h: New file.
17088         * sysdeps/posix/dl-fileid.h: New file.
17089         * sysdeps/nacl/dl-fileid.h: New file.
17090         * include/link.h: Include <dl-fileid.h>.
17091         (struct link_map): Replace l_dev and l_ino with l_file_id.
17092         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17093         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17094         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17096 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17098         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17100 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17102         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17103         Add iff $CXX is set.
17104         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17105         Likewise.
17106         (tst-nodelete-zmodiff): Likewise.
17107         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17109 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17111         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17113 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17115         * sysdeps/aarch64/fpu/math_private.h
17116         (define math_opt_barrier): Add AArch64 version.
17117         (math_force_eval): Likewise.
17119 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17121         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17123 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17125         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17126         %ld with %jd and cast to intmax_t.
17127         (do_test_length_zero): Likewise.
17129 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17131         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17133 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17135         * sysdeps/tile/libm-test-ulps: Regenerated.
17137         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17138         Comment out the whole function, not just its body.
17140 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17142         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17143         locks.
17145         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17147 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17149         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17150         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17152 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17154         * sysdeps/nptl/futex-internal.h: New file.
17155         * sysdeps/nacl/futex-internal.h: New file.
17156         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17157         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17158         error checking.
17159         (setxid_unmark_thread): Likewise.
17160         (__nptl_setxid): Likewise.
17161         (__wait_lookup_done): Likewise.
17162         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17163         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17164         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17165         * nptl/pthread_once.c (clear_once_control): Likewise.
17166         (__pthread_once_slow): Likewise.
17167         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17168         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17169         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17170         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17171         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17172         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17173         Likewise.
17174         (__pthread_rwlock_rdlock): Likewise.
17175         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17176         Likewise.
17177         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17178         Likewise.
17179         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17180         Likewise.
17181         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17182         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17183         Likewise.
17184         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17185         __ASSUME_PRIVATE_FUTEX check.
17186         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17187         Check that shared futexes are supported.
17188         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17189         wrappers with error checking.
17190         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17191         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17192         * nptl/pthread_barrierattr_setpshared.c
17193         (pthread_barrierattr_setpshared): Check that shared futexes are
17194         supported.
17195         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17196         Likewise.
17197         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17198         Likewise.
17199         * nptl/sem_init.c (futex_private_if_supported): Remove.
17200         (__new_sem_init): Adapt and check that shared futexes are supported.
17201         * nptl/sem_open.c (sem_open): Likewise.
17202         * nptl/sem_post.c (futex_wake): Remove.
17203         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17204         (do_futex_wait): Use futex wrappers with error checking.
17205         * nptl/sem_wait.c: Include lowlevellock.h.
17206         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17207         Use futex_supports_pshared.
17208         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17209         Use futex wrappers with error checking.
17210         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17211         Likewise.
17212         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17213         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17214         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17215         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17216         (futex_wake): Likewise.
17217         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17218         (do_futex_wait): Use futex wrappers with error checking.
17219         (__new_sem_wait_slow): Update EINTR handling.
17220         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17222 2015-07-09  Martin Sebor  <msebor@redhat.com>
17224         [BZ #18435]
17225         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17226         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17227         * nptl/Makefile (test-xfail-tst-once5): Define.
17229 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17231         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17232         * elf/dl-minimal.c: For readability, reorder some definitions and
17233         introduce more page breaks.  Include <stdio.h>.
17234         (__libc_fatal): New function.
17236         * include/unistd.h: Add rtld_hidden_proto for _exit.
17237         * posix/_exit.c: Add rtld_hidden_def.
17238         * sysdeps/mach/hurd/_exit.c: Likewise.
17239         * sysdeps/nacl/_exit.c: Likewise.
17240         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17241         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17243 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17245         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17246         bndmov encoding with zero displacement.
17248 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17249             H.J. Lu  <hongjiu.lu@intel.com>
17251         [BZ #18134]
17252         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17253         * sysdeps/i386/configure: Regenerated.
17254         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17255         (_dl_runtime_profile): Save and restore Intel MPX return bound
17256         registers when calling _dl_call_pltexit.  Add
17257         PRESERVE_BND_REGS_PREFIX before return.
17258         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17259         (LRV_BND1_OFFSET): Likewise.
17260         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17261         lrv_bnd1.
17262         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17263         typo in bndmov encoding.
17264         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17265         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17266         branch instructions to preserve bounds.
17268 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17271         [GLIBC_2.22]: Add fmemopen.
17273 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17275         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17276         returns an error, also try to use host port from __mach_host_self for
17277         the __vm_wire call.
17278         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17280 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17282         [BZ #18400]
17283         [BZ #18648]
17284         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17285         Fix pr_uid and pr_gid members.
17286         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17287         definition to elf_greg_t.
17289 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17291         [BZ #18383]
17292         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17293         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17294         * sysdeps/arm/configure: Regenerated.
17295         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17296         (test-xfail-tst-tlsalign-static): Variable removed.
17298         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17299         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17300         rather than explicit 'ln -s'.
17302         * resolv/rpc/netdb.h: New file.
17303         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17305 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17307         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17308         length buffers.
17309         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17310         test-skeleton.c.
17312         [BZ #6544]
17313         [BZ #11216]
17314         [BZ #12836]
17315         [BZ #13151]
17316         [BZ #13152]
17317         [BZ #14292]
17318         * include/stdio.h (fmemopen): Remove hidden prototype.
17319         (__fmemopen): Add new hidden prototype.
17320         * libio/Makefile: Add oldfmemopen object.
17321         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17322         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17323         compliance.
17324         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17325         symbol compatibility.
17326         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17327         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17328         fmemopen.
17329         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17330         on append and read mode.
17331         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17332         fmemopen.
17333         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17334         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17335         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17336         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17337         Likewise.
17338         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17339         [GLIBC_2.22]: Likewise.
17340         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17341         Likewise.
17342         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17343         Likewise.
17344         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17345         [GLIBC_2.22]: Likewise.
17346         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17347         [GLIBC_2.22]: Likewise.
17348         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17349         [GLIBC_2.22]: Likewise.
17350         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17351         [GLIBC_2.22]: Likewise.
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17353         [GLIBC_2.22]: Likewise.
17354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17355         [GLIBC_2.22]: Likewise.
17356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17357         [GLIBC_2.22]: Likewise.
17358         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17359         Likewise.
17360         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17361         Likewise.
17362         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17363         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17364         [GLIBC_2.22]: Likewise.
17365         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17366         [GLIBC_2.22]: Likewise.
17367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17368         [GLIBC_2.22]: Likewise.
17369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17370         [GLIBC_2.22]: Likewise.
17371         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17372         Likewise.
17373         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17374         Likewise.
17375         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17376         Likewise.
17377         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17378         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17380 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17382         [BZ #18643]
17383         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17384         IPV6_PATHMTU, and IPV6_DONTFRAG.
17386 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17388         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17389         and _IO_UNBUFFERED.
17390         * libio/oldfileops.c: Likewise.
17391         * libio/wfileops.c: Likewise.
17393 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17395         * nscd/selinux.c: Delete selinux/flask.h include.
17397 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17399         [BZ #18641]
17400         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17401         (putpwent): Likewise.
17402         (getpwnam): Likewise.
17403         (getpwent_r): Likewise.
17404         (getpwuid_r): Likewise.
17405         (getpwnam_r): Likewise.
17406         (fgetpwent_r): Likewise.
17408 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17410         [BZ #18557]
17411         * inet/rcmd.c (__validuser2_sa): Check user first to
17412         short-circuit host check.
17414 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17415             Mikhail Ilin  <m.ilin@samsung.com>
17417         [BZ #17833]
17418         * elf/Makefile (tests): Add tst-nodelete.
17419         (modules-names): Add tst-nodelete-uniquemod.
17420         (tst-nodelete-uniquemod.so-no-z-defs): New.
17421         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17422         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17423         ($(objpfx)tst-nodelete): Likewise.
17424         ($(objpfx)tst-nodelete.out): Likewise.
17425         (LDFLAGS-tst-nodelete): Likewise.
17426         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17427         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17428         implement forced object deletion.
17429         (_dl_close): Pass false to _dl_close_worker.
17430         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17431         * elf/tst-nodelete.cc: New file.
17432         * elf/tst-nodeletelib.cc: Likewise.
17433         * elf/tst-znodeletelib.cc: Likewise.
17434         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17436 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17438         [BZ #18508]
17439         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17440         Depend on $(libdl).
17441         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17442         is not called infinitely times.
17443         (backtrace_helper): New function.
17444         (trace_arg): New struct.
17445         (st1): Enlarge stack size.
17446         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17447         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17448         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17449         Likewise.
17451 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17453         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17455 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17457         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17458         Include sys/types.h instead of bits/types.h.
17459         Remove inclusion of bits/wordsize.h.
17461 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17463         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17464         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17465         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17466         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17467         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17468         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17470 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17472         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17473         link-defines.sym.
17474         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17475         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17476         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17477         and LR_SIZE.
17478         * sysdeps/i386/link-defines.sym: New file.
17480 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17482         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17483         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17484         ($(objpfx)tst-audit3): New rule.
17485         ($(objpfx)tst-audit3.out): Likewise.
17486         * sysdeps/i386/tst-audit3.c: New file.
17487         * sysdeps/i386/tst-audit3.h: Likewise.
17488         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17489         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17491 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17493         [BZ #18633]
17494         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17495         pointer in C code.
17496         (__strcat_c): Likewise.
17497         (__strcat_g): Likewise.
17499 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17501         [BZ #18592]
17502         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17504 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17506         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17507         New function.  (__ieee754_sqrtf): New function.
17508         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17509         New function.
17510         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17511         New function.
17513 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17515         * sysdeps/ieee754/support.c: Remove unused file.
17517 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17519         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17520         registers instead of d ones so the layout is kernel abi compatible.
17521         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17522         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17523         Likewise.
17525 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17527         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17529 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17531         [BZ #18619]
17532         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17533         and return argument in case of subnormal argument.
17535 2015-07-01  Martin Sebor  <msebor@redhat.com>
17537         [BZ #18435]
17538         * nptl/Makefile: Add tst-once5.cc.
17539         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17540         Remove macro redefinitions.
17541         * nptl/tst-once5.cc: New test.
17543 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17545         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17547         * sysdeps/arm/libm-test-ulps: Regenerated.
17549         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17550         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17552 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17554         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17555         lll_lock_wait_private and lll_futex_wake probes.
17557         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17558         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17559         Likewise.
17560         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17561         atomic_spin_nop.
17562         * sysdeps/x86_64/bits/atomic.h: Likewise.
17563         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17564         to atomic_spin_nop and move ...
17565         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17566         ... here and ...
17567         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17568         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17569         atomic_spin_nop instead of BUSY_WAIT_NOP.
17570         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17571         Likewise.
17572         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17573         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17574         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17575         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17576         instead of atomic_delay.
17578 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17580         [BZ #18613]
17581         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17582         X_ADJ not X when adjusting exponent.
17583         (__ieee754_gamma_r): Do intermediate computations in
17584         round-to-nearest then adjust overflowing and underflowing results
17585         as needed.
17586         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17587         of X_ADJ not X when adjusting exponent.
17588         (__ieee754_gammaf_r): Do intermediate computations in
17589         round-to-nearest then adjust overflowing and underflowing results
17590         as needed.
17591         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17592         log of X_ADJ not X when adjusting exponent.
17593         (__ieee754_gammal_r): Do intermediate computations in
17594         round-to-nearest then adjust overflowing and underflowing results
17595         as needed.  Use 1.0L not 1.0f as numerator of division.
17596         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17597         log of X_ADJ not X when adjusting exponent.
17598         (__ieee754_gammal_r): Do intermediate computations in
17599         round-to-nearest then adjust overflowing and underflowing results
17600         as needed.  Use 1.0L not 1.0f as numerator of division.
17601         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17602         of X_ADJ not X when adjusting exponent.
17603         (__ieee754_gammal_r): Do intermediate computations in
17604         round-to-nearest then adjust overflowing and underflowing results
17605         as needed.  Use 1.0L not 1.0f as numerator of division.
17606         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17607         to auto-libm-test-in.
17608         (tgamma_test): Use ALL_RM_TEST.
17609         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17610         tests of tgamma with spurious-overflow.
17611         * math/auto-libm-test-out: Regenerated.
17612         * math/gen-libm-have-vector-test.sh: Do not check for START.
17613         * sysdeps/i386/fpu/libm-test-ulps: Update.
17614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17616         [BZ #18612]
17617         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17618         arguments, just return 0.5 times the argument, with underflow
17619         forced as needed.
17620         * math/auto-libm-test-in: Add more tests of j1.
17621         * math/auto-libm-test-out: Regenerated.
17623         [BZ #16559]
17624         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17625         (__ieee754_j1): Force underflow exception for small results.
17626         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17627         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17628         (__ieee754_j1f): Force underflow exception for small results.
17629         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17630         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17631         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17632         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17633         (__ieee754_j1l): Force underflow exception for small results.
17634         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17635         * math/auto-libm-test-in: Add more tests of j1 and jn.
17636         * math/auto-libm-test-out: Regenerated.
17638         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17639         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17640         (PF_MPLS): Likewise.
17641         (AF_IB): Likewise.
17642         (AF_MPLS): Likewise.
17643         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17644         value and macro.
17645         (MS_RMT_MASK): Include MS_LAZYTIME.
17647 2015-06-26  Mel Gorman  <mgorman@suse.de>
17649         [BZ #18502]
17650         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17651         already minimal.
17653 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17655         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17656         (DT_MIPS_NUM): Update.
17657         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17658         DT_MIPS_RLD_MAP_REL.
17660 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17662         [BZ #16559]
17663         [BZ #18602]
17664         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17665         round-to-nearest internally then recompute results that
17666         underflowed to zero in the original rounding mode.
17667         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17668         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17669         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17670         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17671         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17672         * sysdeps/i386/fpu/libm-test-ulps: Update.
17673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17675 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17677         * NEWS: Fixed description of link with vector math library.
17679 2015-06-25  Andreas Schwab  <schwab@suse.de>
17681         [BZ #18549]
17682         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17683         * libio/test-fmemopen.c (do_test): Add test for it.
17685 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17687         [BZ #17841]
17688         * Makeconfig (no-pie-ldflag): New.
17689         (+link): Set to $(+link-pie) if default to PIE.
17690         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17691         * config.make.in (build-pie-default): New.
17692         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17693         is default.  AC_SUBST.
17694         * configure: Regenerated.
17695         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17697 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17699         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17700         to 'unsigned int'.
17702         * resolv/gai_misc.h (struct waitlist): Change type of field
17703         counterp to 'volatile unsigned int *'.
17704         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17705         FUTEXADDR and OLDVAL.
17706         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17707         Give local variable TOTAL type 'volatile unsigned int'.
17708         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17709         * resolv/gai_suspend.c (gai_suspend):
17710         Give local variable CNTR type 'unsigned int'.
17712         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17713         counterp to 'volatile unsigned int *'.
17714         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17715         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17716         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17717         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17718         Give local variable TOTAL type 'volatile unsigned int'.
17719         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17721 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17723         [BZ #18383]
17724         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17725         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17726         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17727         comment for i386/x86-64.
17728         (test-xfail-tst-tlsalign-extern-static): Removed.
17730 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17732         * math/test-double.h: New file.
17733         * math/test-float.h: Likewise.
17734         * math/test-ldouble.h: Likewise.
17735         * math/test-math-inline.h: Likewise.
17736         * math/test-math-no-inline.h: Likewise.
17737         * math/test-math-scalar.h: Likewise.
17738         * math/test-math-vector.h: Likewise.
17739         * math/test-vec-loop.h: Remove file.  Contents moved into
17740         test-math-vector.h.
17741         * math/libm-test.inc (MATHCONST): Do not document macro.
17742         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17743         and test-math-scalar.h.
17744         (FUNC): Remove macro.
17745         (FUNC_TEST): Likewise.
17746         (FLOAT): Likewise.
17747         (MATHCONST): Likewise.
17748         (PRINTF_EXPR): Likewise.
17749         (PRINTF_XEXPR): Likewise.
17750         (PRINTF_NEXPR): Likewise.
17751         (TEST_DOUBLE): Likewise.
17752         (TEST_MATHVEC): Likewise.
17753         (__NO_MATH_INLINES): Likewise.
17754         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17755         and test-math-scalar.h.
17756         (FUNC): Remove macro.
17757         (FUNC_TEST): Likewise.
17758         (FLOAT): Likewise.
17759         (MATHCONST): Likewise.
17760         (PRINTF_EXPR): Likewise.
17761         (PRINTF_XEXPR): Likewise.
17762         (PRINTF_NEXPR): Likewise.
17763         (TEST_FLOAT): Likewise.
17764         (TEST_MATHVEC): Likewise.
17765         (__NO_MATH_INLINES): Likewise.
17766         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17767         and test-math-scalar.h.
17768         (FUNC): Remove macro.
17769         (FUNC_TEST): Likewise.
17770         (FLOAT): Likewise.
17771         (MATHCONST): Likewise.
17772         (PRINTF_EXPR): Likewise.
17773         (PRINTF_XEXPR): Likewise.
17774         (PRINTF_NEXPR): Likewise.
17775         (TEST_DOUBLE): Likewise.
17776         (TEST_MATHVEC): Likewise.
17777         (TEST_INLINE): Likewise.
17778         (__NO_MATH_INLINES): Likewise.
17779         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17780         test-math-scalar.h.
17781         (FUNC): Remove macro.
17782         (FUNC_TEST): Likewise.
17783         (FLOAT): Likewise.
17784         (MATHCONST): Likewise.
17785         (PRINTF_EXPR): Likewise.
17786         (PRINTF_XEXPR): Likewise.
17787         (PRINTF_NEXPR): Likewise.
17788         (TEST_FLOAT): Likewise.
17789         (TEST_MATHVEC): Likewise.
17790         (TEST_INLINE): Likewise.
17791         (__NO_MATH_INLINES): Likewise.
17792         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17793         and test-math-scalar.h.
17794         (FUNC): Remove macro.
17795         (FUNC_TEST): Likewise.
17796         (FLOAT): Likewise.
17797         (MATHCONST): Likewise.
17798         (PRINTF_EXPR): Likewise.
17799         (PRINTF_XEXPR): Likewise.
17800         (PRINTF_NEXPR): Likewise.
17801         (TEST_LDOUBLE): Likewise.
17802         (TEST_MATHVEC): Likewise.
17803         (TEST_INLINE): Likewise.
17804         (__NO_MATH_INLINES): Likewise.
17805         * math/test-ldouble.c: Include test-ldouble.h,
17806         test-math-no-inline.h and test-math-scalar.h.
17807         (FUNC): Remove macro.
17808         (FUNC_TEST): Likewise.
17809         (FLOAT): Likewise.
17810         (MATHCONST): Likewise.
17811         (PRINTF_EXPR): Likewise.
17812         (PRINTF_XEXPR): Likewise.
17813         (PRINTF_NEXPR): Likewise.
17814         (TEST_LDOUBLE): Likewise.
17815         (TEST_MATHVEC): Likewise.
17816         (__NO_MATH_INLINES): Likewise.
17817         * math/test-double-vlen2.h: Include test-double.h,
17818         test-math-no-inline.h and test-math-vector.h.
17819         (FLOAT): Remove macro.
17820         (FUNC): Likewise.
17821         (MATHCONST): Likewise.
17822         (PRINTF_EXPR): Likewise.
17823         (PRINTF_XEXPR): Likewise.
17824         (PRINTF_NEXPR): Likewise.
17825         (TEST_DOUBLE): Likewise.
17826         (TEST_MATHVEC): Likewise.
17827         (__NO_MATH_INLINES): Likewise.
17828         (CNCT): Likewise.
17829         (CONCAT): Likewise.
17830         (WRAPPER_NAME): Likewise.
17831         (WRAPPER_DECL): Likewise.
17832         (WRAPPER_DECL_ff): Likewise.
17833         (WRAPPER_DECL_fFF): Likewise.
17834         (VECTOR_WRAPPER): Likewise.
17835         (VECTOR_WRAPPER_ff): Likewise.
17836         (VECTOR_WRAPPER_fFF): Likewise.
17837         (VEC_LEN): New macro.
17838         * math/test-double-vlen4.h: Include test-double.h,
17839         test-math-no-inline.h and test-math-vector.h.
17840         (FLOAT): Remove macro.
17841         (FUNC): Likewise.
17842         (MATHCONST): Likewise.
17843         (PRINTF_EXPR): Likewise.
17844         (PRINTF_XEXPR): Likewise.
17845         (PRINTF_NEXPR): Likewise.
17846         (TEST_DOUBLE): Likewise.
17847         (TEST_MATHVEC): Likewise.
17848         (__NO_MATH_INLINES): Likewise.
17849         (CNCT): Likewise.
17850         (CONCAT): Likewise.
17851         (WRAPPER_NAME): Likewise.
17852         (WRAPPER_DECL): Likewise.
17853         (WRAPPER_DECL_ff): Likewise.
17854         (WRAPPER_DECL_fFF): Likewise.
17855         (VECTOR_WRAPPER): Likewise.
17856         (VECTOR_WRAPPER_ff): Likewise.
17857         (VECTOR_WRAPPER_fFF): Likewise.
17858         (VEC_LEN): New macro.
17859         * math/test-double-vlen8.h: Include test-double.h,
17860         test-math-no-inline.h and test-math-vector.h.
17861         (FLOAT): Remove macro.
17862         (FUNC): Likewise.
17863         (MATHCONST): Likewise.
17864         (PRINTF_EXPR): Likewise.
17865         (PRINTF_XEXPR): Likewise.
17866         (PRINTF_NEXPR): Likewise.
17867         (TEST_DOUBLE): Likewise.
17868         (TEST_MATHVEC): Likewise.
17869         (__NO_MATH_INLINES): Likewise.
17870         (CNCT): Likewise.
17871         (CONCAT): Likewise.
17872         (WRAPPER_NAME): Likewise.
17873         (WRAPPER_DECL): Likewise.
17874         (WRAPPER_DECL_ff): Likewise.
17875         (WRAPPER_DECL_fFF): Likewise.
17876         (VECTOR_WRAPPER): Likewise.
17877         (VECTOR_WRAPPER_ff): Likewise.
17878         (VECTOR_WRAPPER_fFF): Likewise.
17879         (VEC_LEN): New macro.
17880         * math/test-float-vlen4.h: Include test-float.h,
17881         test-math-no-inline.h and test-math-vector.h.
17882         (FLOAT): Remove macro.
17883         (FUNC): Likewise.
17884         (MATHCONST): Likewise.
17885         (PRINTF_EXPR): Likewise.
17886         (PRINTF_XEXPR): Likewise.
17887         (PRINTF_NEXPR): Likewise.
17888         (TEST_FLOAT): Likewise.
17889         (TEST_MATHVEC): Likewise.
17890         (__NO_MATH_INLINES): Likewise.
17891         (CNCT): Likewise.
17892         (CONCAT): Likewise.
17893         (WRAPPER_NAME): Likewise.
17894         (WRAPPER_DECL): Likewise.
17895         (WRAPPER_DECL_ff): Likewise.
17896         (WRAPPER_DECL_fFF): Likewise.
17897         (VECTOR_WRAPPER): Likewise.
17898         (VECTOR_WRAPPER_ff): Likewise.
17899         (VECTOR_WRAPPER_fFF): Likewise.
17900         (VEC_LEN): New macro.
17901         * math/test-float-vlen8.h: Include test-float.h,
17902         test-math-no-inline.h and test-math-vector.h.
17903         (FLOAT): Remove macro.
17904         (FUNC): Likewise.
17905         (MATHCONST): Likewise.
17906         (PRINTF_EXPR): Likewise.
17907         (PRINTF_XEXPR): Likewise.
17908         (PRINTF_NEXPR): Likewise.
17909         (TEST_FLOAT): Likewise.
17910         (TEST_MATHVEC): Likewise.
17911         (__NO_MATH_INLINES): Likewise.
17912         (CNCT): Likewise.
17913         (CONCAT): Likewise.
17914         (WRAPPER_NAME): Likewise.
17915         (WRAPPER_DECL): Likewise.
17916         (WRAPPER_DECL_ff): Likewise.
17917         (WRAPPER_DECL_fFF): Likewise.
17918         (VECTOR_WRAPPER): Likewise.
17919         (VECTOR_WRAPPER_ff): Likewise.
17920         (VECTOR_WRAPPER_fFF): Likewise.
17921         (VEC_LEN): New macro.
17922         * math/test-float-vlen16.h: Include test-float.h,
17923         test-math-no-inline.h and test-math-vector.h.
17924         (FLOAT): Remove macro.
17925         (FUNC): Likewise.
17926         (MATHCONST): Likewise.
17927         (PRINTF_EXPR): Likewise.
17928         (PRINTF_XEXPR): Likewise.
17929         (PRINTF_NEXPR): Likewise.
17930         (TEST_FLOAT): Likewise.
17931         (TEST_MATHVEC): Likewise.
17932         (__NO_MATH_INLINES): Likewise.
17933         (CNCT): Likewise.
17934         (CONCAT): Likewise.
17935         (WRAPPER_NAME): Likewise.
17936         (WRAPPER_DECL): Likewise.
17937         (WRAPPER_DECL_ff): Likewise.
17938         (WRAPPER_DECL_fFF): Likewise.
17939         (VECTOR_WRAPPER): Likewise.
17940         (VECTOR_WRAPPER_ff): Likewise.
17941         (VECTOR_WRAPPER_fFF): Likewise.
17942         (VEC_LEN): New macro.
17943         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17944         test-vec-loop.h.
17945         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17946         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17947         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17948         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17949         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17951         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17953 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17955         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17956         (__getlogin_r): ... this.
17958 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17960         [BZ #18594]
17961         * math/s_ccosh.c (__ccosh): Compare with least normal value
17962         instead of comparing class with FP_SUBNORMAL.
17963         * math/s_ccoshf.c (__ccoshf): Likewise.
17964         * math/s_ccoshl.c (__ccoshl): Likewise.
17965         * math/s_cexp.c (__cexp): Likewise.
17966         * math/s_cexpf.c (__cexpf): Likewise.
17967         * math/s_cexpl.c (__cexpl): Likewise.
17968         * math/s_csin.c (__csin): Likewise.
17969         * math/s_csinf.c (__csinf): Likewise.
17970         * math/s_csinh.c (__csinh): Likewise.
17971         * math/s_csinhf.c (__csinhf): Likewise.
17972         * math/s_csinhl.c (__csinhl): Likewise.
17973         * math/s_csinl.c (__csinl): Likewise.
17974         * math/s_ctan.c (__ctan): Likewise.
17975         * math/s_ctanf.c (__ctanf): Likewise.
17976         * math/s_ctanh.c (__ctanh): Likewise.
17977         * math/s_ctanhf.c (__ctanhf): Likewise.
17978         * math/s_ctanhl.c (__ctanhl): Likewise.
17979         * math/s_ctanl.c (__ctanl): Likewise.
17980         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17981         csin, csinh, ctan and ctanh.
17982         * math/auto-libm-test-out: Regenerated.
17983         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17984         * sysdeps/i386/fpu/libm-test-ulps: Update.
17985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17987 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17989         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17990         return value is wrong, print the expected value too.
17992 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17994         [BZ #18585]
17995         * elf/readlib.c (is_gdb_python_file): New.
17996         (process_file): Don't issue errors on filenames with -gdb.py
17997         suffix.
17999 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18001         * math/auto-libm-test-in: Add more tests of csin and csinh.
18002         * math/auto-libm-test-out: Regenerated.
18003         * math/libm-test.inc (csin_test_data): Remove tests moved to
18004         auto-libm-test-in.
18005         (csinh_test_data): Likewise.
18007         [BZ #18593]
18008         * math/s_csin.c (__csin): Negate before rather than after possibly
18009         overflowing multiplication.
18010         * math/s_csinf.c (__csinf): Likewise.
18011         * math/s_csinh.c (__csinh): Likewise.
18012         * math/s_csinhf.c (__csinhf): Likewise.
18013         * math/s_csinhl.c (__csinhl): Likewise.
18014         * math/s_csinl.c (__csinl): Likewise.
18015         * math/auto-libm-test-in: Add some tests of csin and csinh.
18016         * math/auto-libm-test-out: Regenerated.
18017         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18018         (csinh_test_data): Likewise.
18019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18021         [BZ #18586]
18022         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18023         underflow exception for small results.
18025 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18027         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18028         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18029         variable and included header.
18030         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18031         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18032         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18033         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18035         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18036         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18037         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18038         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18039         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18040         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18041         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18042         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18043         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18044         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18045         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18047 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18049         [BZ #16526]
18050         [BZ #16538]
18051         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18052         (__sin): Force underflow exception for arguments with small
18053         absolute value.
18054         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18055         (__kernel_sinf): Force underflow exception for arguments with
18056         small absolute value.
18057         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18058         (__kernel_sincosl): Force underflow exception for arguments with
18059         small absolute value.
18060         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18061         (__kernel_sinl): Force underflow exception for arguments with
18062         small absolute value.
18063         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18064         (__kernel_sincosl): Force underflow exception for arguments with
18065         small absolute value.
18066         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18067         (__kernel_sinl): Force underflow exception for arguments with
18068         small absolute value.
18069         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18070         (__kernel_sinl): Force underflow exception for arguments with
18071         small absolute value.
18072         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18073         (__kernel_sinf): Force underflow exception for arguments with
18074         small absolute value.
18075         * math/auto-libm-test-in: Add more tests of sin and sincos.
18076         * math/auto-libm-test-out: Regenerated.
18078         [BZ #18245]
18079         [BZ #18583]
18080         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18081         (__kernel_standard_l): Use feholdexcept and fesetenv around
18082         conversion to double instead of special-casing overflow and
18083         underflow.
18084         * math/libm-test.inc (fmod_test_data): Add more tests.
18085         (remainder_test_data): Likewise.
18086         (sqrt_test_data): Likewise.
18088 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18090         [BZ #17403]
18091         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18092         atomic_read_barrier, atomic_write_barrier): Define.
18093         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18094         atomic_read_barrier, atomic_write_barrier): Define.
18096 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18098         * math/Makefile [$(PERL) != no]
18099         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18100         dependency on libm-test.stmp below the inclusion of Rules.
18102 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18104         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18106         and included header.
18107         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18108         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18111         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18114         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18115         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18116         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18117         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18118         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18119         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18120         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18121         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18122         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18123         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18124         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18125         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18127 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18129         [BZ #18371]
18130         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18131         intermediate but not final result might underflow.
18132         * math/s_csqrtf.c (__csqrtf): Likewise.
18133         * math/s_csqrtl.c (__csqrtl): Likewise.
18134         * math/auto-libm-test-in: Add more tests of csqrt.
18135         * math/auto-libm-test-out: Regenerated.
18136         * sysdeps/i386/fpu/libm-test-ulps: Update.
18138         [BZ #18219]
18139         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18140         threshold on absolute value of exponent for which scaling is used.
18141         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18142         * math/auto-libm-test-in: Add more tests of exp2.
18143         * math/auto-libm-test-out: Regenerated.
18145 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18147         [BZ #17977]
18148         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18149         when initializing interface list, based on the bug analysis
18150         and the patch proposed by Eric Newton.
18151         * resolv/tst-res_hconf_reorder.c: New test.
18152         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18153         tst-res_hconf_reorder.
18154         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18155         and $(shared-thread-library).
18156         (tst-res_hconf_reorder-ENV): New variable.
18158         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18159         in comment.
18161 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18163         [BZ #16353]
18164         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18165         (__expm1): Force underflow exception for arguments with small
18166         absolute value.
18167         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18168         (__expm1f): Force underflow exception for arguments with small
18169         absolute value.
18170         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18171         (__expm1): Force underflow exception for arguments with small
18172         absolute value.
18173         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18174         (__expm1f): Force underflow exception for arguments with small
18175         absolute value.
18176         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18177         Check for small arguments before calling __expm1.
18178         * math/auto-libm-test-in: Do not mark underflow exceptions as
18179         possibly missing for bug 16353.
18180         * math/auto-libm-test-out: Regenerated.
18182 2015-06-22  Andreas Schwab  <schwab@suse.de>
18184         [BZ #18513]
18185         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18186         PTR queries.
18188 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18190         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18192         * string/strcoll_l.c: Remove unused struct element idxnow.
18194 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18196         [BZ #18569]
18197         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18198         underflow and return argument in case of subnormal argument.
18199         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18200         Likewise.
18201         * math/auto-libm-test-in: Add more tests of expm1.
18202         * math/auto-libm-test-out: Regenerated.
18204         [BZ #16361]
18205         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18206         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18207         tiny results.
18208         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18209         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18210         tiny results.
18211         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18212         mark underflow exceptions as possibly missing for bug 16361.
18213         * math/auto-libm-test-out: Regenerated.
18215 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18217         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18218         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18219         Remove variable.
18220         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18221         (test-xfail-XOPEN2K8/utmpx.h/conform).
18223         * conform/conformtest.pl ($xerrors): New variable.
18224         (note_error): New function.
18225         (compiletest): New argument $xfail.  Use not_error.
18226         (runtest): Likewise.
18227         (top level): Handle xfail- lines.  Update calls to compiletest and
18228         runtest.  Handle xfail- and optional- in headers listed with
18229         allow-header.
18230         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18231         (O_EXEC): Likewise.
18232         (O_SEARCH): Likewise.
18233         * conform/data/stropts.h-data (ioctl): Likewise.
18234         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18235         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18236         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18237         (msghdr.msg_controllen): Likewise.
18238         (cmsghdr.cmsg_len): Likewise.
18239         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18240         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18241         variable.
18242         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18243         (test-xfail-XPG4/stropts.h/conform): Likewise.
18244         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18245         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18246         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18247         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18248         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18249         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18250         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18251         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18252         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18253         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18254         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18255         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18256         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18257         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18258         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18259         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18260         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18261         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18262         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18264 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18266         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18267         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18268         definitions for proper unfolding of __MATHDECL_VEC.
18270 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18272         * benchtests/bench-strcoll.c:
18273         Include string.h.
18274         (main): Remove unused variable res.
18276 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18278         * timezone/Makefile (%/UTC %/Universal):
18279         Generate test-result files for UTC and Universal.
18281 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18283         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18285 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18287         [BZ #16350]
18288         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18289         for arguments with small absolute value.
18290         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18291         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18292         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18293         (__asinh): Force underflow exception for arguments with small
18294         absolute value.
18295         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18296         (__asinhf): Force underflow exception for arguments with small
18297         absolute value.
18298         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18299         (__asinhl): Force underflow exception for arguments with small
18300         absolute value.
18301         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18302         (__asinhl): Force underflow exception for arguments with small
18303         absolute value.
18304         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18305         (__asinhl): Force underflow exception for arguments with small
18306         absolute value.
18307         * math/auto-libm-test-in: Do not mark underflow exceptions as
18308         possibly missing for bug 16350.
18309         * math/auto-libm-test-out: Regenerated.
18311         * include/bits/ipc.h: Remove file.
18312         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18313         variable.
18314         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18315         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18316         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18317         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18318         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18319         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18320         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18321         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18322         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18324         * math/auto-libm-test-in: Remove spurious underflow allowance for
18325         tests of cexp.
18326         * math/auto-libm-test-out: Regenerated.
18328         [BZ #18558]
18329         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18330         unconditional definition.
18331         (MCAST_BLOCK_SOURCE): Likewise.
18332         (MCAST_UNBLOCK_SOURCE): Likewise.
18333         (MCAST_LEAVE_GROUP): Likewise.
18334         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18335         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18336         (MCAST_MSFILTER): Likewise.
18337         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18338         Remove variable.
18339         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18340         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18341         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18342         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18343         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18345 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18347         * NEWS: Mention addition of x86_64 vector sincosf.
18348         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18349         * math/test-float-vlen4.h: Likewise.
18350         * math/test-float-vlen8.h: Likewise.
18351         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18352         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18353         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18354         * sysdeps/x86_64/fpu/Versions: New versions added.
18355         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18356         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18357         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18358         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18359         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18360         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18361         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18362         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18363         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18364         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18365         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18366         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18367         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18368         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18369         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18370         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18371         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18372         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18373         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18374         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18375         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18376         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18377         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18378         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18380         * NEWS: Mention addition of x86_64 vector sincos.
18381         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18382         * math/math.h (__MATHDECL_VEC): New macro.
18383         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18384         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18385         declaration under condition.
18386         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18387         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18388         TEST_VEC_LOOP change.
18389         * math/test-double-vlen4.h: Likewise.
18390         * math/test-double-vlen8.h: Likewise.
18391         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18392         * math/test-float-vlen4.h: Likewise.
18393         * math/test-float-vlen8.h: Likewise.
18394         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18395         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18396         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18397         * sysdeps/x86_64/fpu/Versions: New versions added.
18398         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18399         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18400         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18401         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18402         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18403         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18404         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18405         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18406         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18407         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18408         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18409         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18410         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18411         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18412         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18413         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18414         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18415         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18416         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18417         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18418         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18419         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18420         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18421         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18423         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18424         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18425         redirections for powf.
18426         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18427         * sysdeps/x86_64/fpu/Versions: New versions added.
18428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18429         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18430         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18431         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18432         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18433         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18434         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18435         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18436         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18437         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18438         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18439         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18440         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18441         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18442         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18443         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18444         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18445         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18446         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18447         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18448         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18449         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18450         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18451         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18452         * math/test-float-vlen16.h: Fixed 2 argument macro.
18453         * math/test-float-vlen4.h: Likewise.
18454         * math/test-float-vlen8.h: Likewise.
18455         * NEWS: Mention addition of x86_64 vector powf.
18457 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18459         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18460         and redefine.
18461         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18462         and redefine.
18463         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18464         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18465         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18467         [BZ #18553]
18468         * resource/getpriority.c (getpriority): Rename to __getpriority
18469         and define as weak alias of __getpriority.
18470         * resource/setpriority.c (setpriority): Rename to __setpriority
18471         and define as weak alias of __setpriority.
18472         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18473         __getpriority and define as weak alias of __getpriority.
18474         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18475         __setpriority and define as weak alias of __setpriority.
18476         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18477         strong name.
18478         (setpriority): Use __setpriority as strong name.
18479         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18480         __getpriority and define as weak alias of __getpriority.
18481         * include/sys/resource.h (__getpriority): Declare.  Use
18482         libc_hidden_proto.
18483         (__setpriority): Likewise.
18484         (getpriority): Don't use libc_hidden_proto.
18485         (setpriority): Likewise.
18486         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18487         getpriority.  Call __setpriority instead of setpriority.
18488         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18489         Remove variable.
18491         [BZ #18547]
18492         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18493         as weak alias of __getttynam.  Use prototype function definition.
18494         Call __setttyent, __getttyent and __endttyent instead of
18495         setttyent, getttyent and endttyent.
18496         (getttyent): Rename to __getttyent and define as weak alias of
18497         __getttyent.  Call __setttyent instead of setttyent.  Call
18498         __fgets_unlocked instead of fgets_unlocked.
18499         (setttyent): Rename to __setttyent and define as weak alias of
18500         __setttyent.
18501         (endttyent): Rename to __endttyent and define as weak alias of
18502         __endttyent.
18503         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18504         (__setttyent): Likewise.
18505         (__endttyent): Likewise.
18506         (getttyent): Don't use libc_hidden_proto.
18507         (setttyent): Likewise.
18508         (endttyent): Likewise.
18509         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18510         __endttyent instead of setttyent, getttyent and endttyent.
18511         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18512         Remove variable.
18514         [BZ #18546]
18515         * socket/recv.c (__recv): Use libc_hidden_def.
18516         * socket/socket.c (__socket): Likewise.
18517         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18518         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18519         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18520         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18521         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18522         libc_hidden_def.
18523         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18524         libc_hidden_weak.
18525         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18526         Use libc_hidden_proto.
18527         (__recv): Likewise.
18528         * socket/Versions (libc): Export __recv and __socket at version
18529         GLIBC_PRIVATE.
18530         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18531         instead of recv.
18532         (init_mq_netlink): Call __socket instead of socket.
18533         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18534         Remove variable.
18536         [BZ #18545]
18537         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18538         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18539         hidden_weak.
18540         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18541         define as alias of __mq_timedsend.  Use hidden_weak.
18542         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18543         __mq_timedsend as strong name.
18544         (mq_timedreceive): Use __mq_timedreceive as strong name.
18545         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18546         (__mq_timedreceive): Likewise.
18547         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18548         __mq_timedreceive instead of mq_timedreceive.
18549         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18550         instead of mq_timedsend.
18551         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18552         Remove variable.
18554         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18555         hidden_def and hidden_weak instead of libc_hidden_def and
18556         libc_hidden_weak.
18557         (top level): Refer to hidden_def in comment.
18558         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18559         macro.  Use it instead of libc_hidden_def.
18560         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18561         specify __GI_* name explicitly.
18562         (mq_timedreceive): Likewise.
18563         (mq_setattr): Likewise.
18565         [BZ #18544]
18566         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18567         __pthread_barrier_init and define as weak alias of
18568         __pthread_barrier_init.
18569         * sysdeps/sparc/nptl/pthread_barrier_init.c
18570         (pthread_barrier_init): Likewise.
18571         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18572         __pthread_barrier_wait and define as weak alias of
18573         __pthread_barrier_wait.
18574         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18575         (pthread_barrier_wait): Likewise.
18576         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18577         (pthread_barrier_wait): Likewise.
18578         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18579         (pthread_barrier_wait): Likewise.
18580         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18581         (pthread_barrier_wait): Likewise.
18582         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18583         __pthread_barrier_wait at version GLIBC_PRIVATE.
18584         * include/pthread.h (__pthread_barrier_init): Declare.
18585         (__pthread_barrier_wait): Likewise.
18586         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18587         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18588         (helper_thread): Likewise.
18589         (init_mq_netlink): Call __pthread_barrier_init instead of
18590         pthread_barrier_init.
18592         [BZ #18542]
18593         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18594         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18595         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18596         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18597         vswscanf.
18598         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18599         Remove variable.
18601         [BZ #18540]
18602         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18603         strong alias of _IO_fflush.  Use libc_hidden_def.
18604         * libio/iofflush_u.c (fflush_unlocked): Rename to
18605         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18606         Use libc_hidden_weak.
18607         * include/stdio.h (__fflush_unlocked): Declare.  Use
18608         libc_hidden_proto.
18609         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18610         fflush_unlocked.
18611         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18612         Remove variable.
18614         [BZ #18539]
18615         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18616         define as weak alias of __addseverity.
18617         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18618         Remove variable.
18619         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18620         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18621         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18623         [BZ #18536]
18624         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18625         (__tfind): Likewise.
18626         (__tdelete): Likewise.
18627         (__twalk): Likewise.
18628         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18629         __twalk to GLIBC_PRIVATE.
18630         * include/search.h (__tsearch): Use libc_hidden_proto.
18631         (__tfind): Likewise.
18632         (__tdelete): Likewise.
18633         (__twalk): Likewise.
18634         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18635         Call __tdelete instead of tdelete.
18636         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18637         tfind.  Call __tsearch instead of tsearch.
18638         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18639         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18640         Remove variable.
18641         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18643         [BZ #18534]
18644         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18645         (dprintf): Define as a weak alias of __dprintf, not a strong
18646         alias.
18647         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18648         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18649         dprintf.
18650         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18651         Remove variable.
18652         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18653         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18655         [BZ #18533]
18656         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18657         not a strong alias.
18658         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18659         Remove variable.
18661         [BZ #18532]
18662         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18663         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18664         (in6addr_loopback): Rename to __in6addr_loopback and define as
18665         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18666         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18667         libc_hidden_proto.
18668         (__in6addr_any): Likewise.
18669         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18670         in6addr_any.
18671         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18672         variable.
18673         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18675 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18677         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18678         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18679         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18680         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18681         redirections for pow.
18682         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18683         * sysdeps/x86_64/fpu/Versions: New versions added.
18684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18685         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18686         build of SSE, AVX2 and AVX512 IFUNC versions.
18687         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18688         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18689         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18690         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18691         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18692         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18693         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18694         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18695         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18696         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18697         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18698         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18699         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18700         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18701         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18702         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18703         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18704         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18705         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18706         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18707         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18708         * NEWS: Mention addition of x86_64 vector pow.
18710         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18711         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18712         redirections for expf.
18713         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18714         * sysdeps/x86_64/fpu/Versions: New versions added.
18715         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18716         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18717         build of SSE, AVX2 and AVX512 IFUNC versions.
18718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18719         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18720         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18721         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18722         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18723         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18724         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18725         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18726         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18727         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18728         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18729         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18730         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18731         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18732         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18733         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18734         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18735         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18736         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18737         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18738         * NEWS: Mention addition of x86_64 vector expf.
18740         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18741         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18742         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18743         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18744         redirections for exp.
18745         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18746         * sysdeps/x86_64/fpu/Versions: New versions added.
18747         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18748         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18749         build of SSE, AVX2 and AVX512 IFUNC versions.
18750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18751         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18752         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18753         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18754         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18755         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18756         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18757         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18758         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18759         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18760         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18761         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18762         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18763         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18764         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18765         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18766         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18767         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18768         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18769         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18770         * NEWS: Mention addition of x86_64 vector exp.
18772         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18773         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18774         redirections for logf.
18775         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18776         * sysdeps/x86_64/fpu/Versions: New versions added.
18777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18778         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18779         build of SSE, AVX2 and AVX512 IFUNC versions.
18780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18781         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18782         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18783         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18784         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18785         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18786         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18787         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18788         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18789         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18790         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18791         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18792         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18793         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18794         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18795         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18796         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18797         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18798         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18799         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18800         * NEWS: Mention addition of x86_64 vector logf.
18802         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18803         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18804         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18805         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18806         redirections for log.
18807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18808         * sysdeps/x86_64/fpu/Versions: New versions added.
18809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18811         build of SSE, AVX2 and AVX512 IFUNC versions.
18812         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18813         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18814         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18815         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18816         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18817         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18818         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18819         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18820         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18821         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18822         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18823         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18824         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18825         test.
18826         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18827         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18829         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18830         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18831         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18832         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18833         * NEWS: Mention addition of x86_64 vector log.
18835 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18837         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18838         cfi_adjust_cfa_offset argument.
18839         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18840         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18842         [BZ #18034]
18843         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18844         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18845         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18846         ordering using ldar.
18847         (_dl_tlsdesc_dynamic): Likewise.
18848         (_dl_tlsdesc_return_lazy): Likewise.
18849         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18850         relaxed atomics instead of volatile and synchronize with release store.
18851         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18852         volatile.
18853         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18855 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18857         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18858         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18859         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18860         * sysdeps/x86_64/fpu/Versions: New versions added.
18861         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18862         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18863         build of SSE, AVX2 and AVX512 IFUNC versions.
18864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18865         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18866         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18867         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18868         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18869         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18870         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18871         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18872         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18873         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18874         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18875         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18876         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18877         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18878         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18879         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18881         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18882         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18883         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18884         * NEWS: Mention addition of x86_64 vector sinf.
18886 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18888         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18889         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18890         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18891         Remove variable.
18892         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18893         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18895 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18897         [BZ #18530]
18898         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18899         strong alias of _IO_fputs.  Use libc_hidden_def.
18900         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18901         and define as weak alias of __fputs_unlocked.  Use
18902         libc_hidden_weak.
18903         * include/stdio.h (__fputs_unlocked): Declare.  Use
18904         libc_hidden_proto.
18905         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18906         fputs_unlocked.
18908         [BZ #18529]
18909         * resolv/netdb.h [__USE_POSIX]: Change condition to
18910         [__USE_XOPEN2K].
18911         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18912         not expect.
18913         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18914         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18915         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18916         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18917         [XPG4 || UNIX98] (AI_ALL): Likewise.
18918         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18919         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18920         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18921         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18922         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18923         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18924         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18925         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18926         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18927         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18928         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18929         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18930         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18931         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18932         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18933         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18934         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18935         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18936         [XPG4 || UNIX98] (gai_strerror): Likewise.
18937         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18938         [XPG4 || UNIX98] (getnameinfo): Likewise.
18940         [BZ #18528]
18941         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18942         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18943         __USE_XOPEN2K8].
18944         (getgrent): Likewise.
18945         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18946         expect.
18947         [XPG3 || POSIX2008] (endgrent): Likewise.
18948         [XPG3] (setgrent): Likewise.
18949         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18950         variable.
18951         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18953         [BZ #18527]
18954         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18955         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18956         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18957         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18958         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18959         * include/unistd.h (__getlogin_r): Declare.  Use
18960         libc_hidden_proto.
18961         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18962         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18963         variable.
18964         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18965         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18966         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18968 2015-06-12  Martin Sebor  <msebor@redhat.com>
18970         [BZ #18512]
18971         * Makerules (check-install-supported): New target.
18972         (install): Add check-install-supported as a dependency.
18973         * manual/install.texi (Installing the C Library): Document
18974         that overriding prefix and exec_prefix is not supported.
18975         Mention DESTDIR.
18976         * INSTALL: Regenerate from the above.
18978 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18980         [BZ #18519]
18981         * posix/Versions (libc): Export __libc_pread at version
18982         GLIBC_PRIVATE.
18983         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18984         instead of pread.
18985         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18986         variable.
18988         [BZ #18522]
18989         * misc/efgcvt_r.c
18990         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18991         (cvt_symbol): Use weak_alias instead of strong_alias.
18992         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18993         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18994         Remove variable.
18995         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18996         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18998         [BZ #18520]
18999         * inet/herrno.c (h_errno): Rename to __h_errno.
19000         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19001         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19002         to __h_errno instead of h_errno.
19003         * nptl/herrno.c (h_errno): Rename to __h_errno.
19004         (__h_errno_location): Refer to __h_errno not h_errno.
19005         * resolv/Versions (h_errno): Rename to __h_errno.
19006         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19007         Remove variable.
19008         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19010 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19012         * configure.ac: More strict check for AVX512 assembler support.
19013         * configure: Regenerated.
19015         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19016         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19017         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19018         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19019         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19020         * sysdeps/x86_64/fpu/Versions: New versions added.
19021         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19022         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19023         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19025         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19026         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19027         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19028         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19029         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19030         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19031         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19032         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19033         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19034         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19035         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19036         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19037         test.
19038         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19039         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19040         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19041         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19042         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19043         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19044         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19045         * NEWS: Mention addition of x86_64 vector sin.
19047 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19049         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19050         comment.
19052 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19054         [BZ #18479]
19055         * nptl/pt-interp.c: New file.
19056         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19057         Add pt-interp.
19058         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19059         $(common-objpfx)runtime-linker.h.
19061 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19063         * Makeconfig (+interp): Remove unused variable.
19064         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19065         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19066         $(elf-objpfx)runtime-linker.h.
19067         ($(elf-objpfx)runtime-linker.h): Rename to
19068         $(common-objpfx)runtime-linker.h and move ...
19069         * Makerules [$(build-shared) = yes]: ... here.
19070         * elf/interp.c: Include <runtime-linker.h> instead of
19071         <elf/runtime-linker.h>.
19073 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19075         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19076         (__gettimeofday_syscall): Remove vsyscall fallback.
19077         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19078         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19079         Add syscall fallback function.
19080         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19081         if vDSO is not present.
19082         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19083         fallback function.
19084         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19085         present.
19086         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19087         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19089 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19091         [BZ #18497]
19092         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19093         of wcscmp.
19094         (wcscmp): Define as weak alias of WCSCMP.
19095         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19096         wcscoll.
19097         (USE_HIDDEN_DEF): Define.
19098         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19099         __wcscoll.  Don't use libc_hidden_weak.
19100         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19101         wcscmp.
19102         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19103         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19104         __GI_wcscmp.
19105         (weak_alias): Undefine and redefine.
19106         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19107         __wcscmp and define as weak alias of __wcscmp.
19108         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19109         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19110         (__wcscoll): Likewise.
19111         (wcscmp): Don't use libc_hidden_proto.
19112         (wcscoll): Likewise.
19113         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19114         wcscoll.
19115         * posix/regexec.c (check_node_accept_bytes): Likewise.
19116         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19117         variable.
19118         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19119         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19121         [BZ #18507]
19122         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19123         __fstatvfs and define as weak alias of __fstatvfs.  Use
19124         libc_hidden_weak.
19125         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19126         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19127         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19128         Define as alias of __fstatvfs, not fstatvfs.
19129         (fstatvfs64): Likewise.
19130         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19131         Define as alias of __statvfs, not statvfs.
19132         (statvfs64): Likewise.
19133         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19134         Remove variable.
19136 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19139         (HAVE_GETCPU_VSYSCALL): Define.
19140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19141         (HAVE_GETCPU_VSYSCALL): Likewise.
19142         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19143         * sysdeps/unix/sysv/linux/sched_getcpu.c
19144         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19145         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19146         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19147         prototype.
19148         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19149         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19150         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19152         Define.
19153         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19154         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19155         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19156         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19158 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19160         * sysdeps/x86_64/fpu/Makefile: New file.
19161         * sysdeps/x86_64/fpu/Versions: New file.
19162         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19163         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19164         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19165         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19166         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19167         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19168         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19169         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19170         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19171         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19172         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19173         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19174         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19175         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19176         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19177         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19178         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19179         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19180         * sysdeps/x86_64/configure: Regenerated.
19181         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19183         * manual/install.texi (Configuring and compiling): Document
19184         --disable-mathvec.
19185         * INSTALL: Regenerated.
19186         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19188         * math/Makefile: Added rules for vector tests.
19189         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19190         declaration under condition.
19191         * math/test-double-vlen2.h: New file.
19192         * math/test-double-vlen4.h: New file.
19193         * math/test-double-vlen8.h: New file.
19194         * math/test-vec-loop.h: Added initialization macro.
19195         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19196         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19197         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19198         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19199         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19200         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19201         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19202         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19203         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19204         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19205         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19208         * sysdeps/x86_64/fpu/Versions: New versions added.
19209         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19210         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19211         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19212         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19213         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19214         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19215         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19216         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19217         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19218         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19219         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19220         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19221         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19222         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19223         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19224         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19225         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19226         * NEWS: Mention addition of x86_64 vector cosf.
19228         * math/Makefile: Added CFLAGS for new tests.
19229         * math/test-float-vlen16.h: New file.
19230         * math/test-float-vlen4.h: New file.
19231         * math/test-float-vlen8.h: New file.
19232         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19233         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19234         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19235         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19236         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19237         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19238         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19239         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19241         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19242         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19244 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19246         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19247         * locale/programs/ld-ctype.c: Likewise.
19249 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19251         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19252         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19253         bit_ZMM16_31_state): New macro.
19254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19255         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19257 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19259         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19261 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19263         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19265 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19267         [BZ #18498]
19268         * libio/memstream.c (open_memstream): Rename to __open_memstream
19269         and define as weak alias of __open_memstream.
19270         * include/stdio.h (__open_memstream): Declare.  Use
19271         libc_hidden_proto.
19272         (open_memstream): Don't use libc_hidden_proto.
19273         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19274         open_memstream.
19275         * posix/getopt.c (_getopt_internal_r): Likewise.
19276         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19277         variable.
19278         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19279         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19280         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19282         [BZ #18496]
19283         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19284         instead of wcrtomb.
19286         [BZ #18483]
19287         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19288         [__USE_XOPEN2K8].  Remove redundant #endif.
19289         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19290         Remove redundant #if.
19291         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19292         Remove variable.
19293         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19294         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19296         [BZ #18495]
19297         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19298         (__iswlower): Likewise.
19299         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19300         (__iswlower): Likewise.
19301         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19302         instead of towlower.
19303         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19304         instead of iswlower.  Call __towupper instead of towupper.
19305         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19306         instead of iswalnum.
19308 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19310         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19311         errors to stderr.
19313 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19315         [BZ #15661]
19316         [BZ #17322]
19317         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19318         Check for overflow properly.  Check for O_APPEND.  Ignore large
19319         file system block sizes.  Add comments about problems.
19320         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19321         * manual/filesys.texi (Storage Allocation): New node.
19323 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19325         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19326         cancellable syscalls.
19327         (SYS_ify): Add guard to no redefine it.
19328         (INLINE_SYSCALL): Likewise.
19329         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19330         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19331         SYSCALL_CANCEL instead.
19332         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19333         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19334         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19335         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19336         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19337         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19338         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19339         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19340         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19341         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19342         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19343         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19344         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19345         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19346         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19347         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19348         Likewise.
19349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19350         (__libc_pread64): Likewise.
19351         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19352         (__libc_preadv): Likewise.
19353         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19354         (__libc_readv64): Likewise.
19355         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19356         (__libc_pwrite): Likewise.
19357         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19358         (__libc_pwrite64): Likewise.
19359         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19360         (__libc_pwritev): Likewise.
19361         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19362         (__libc_pwritev64): Likewise.
19363         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19364         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19365         (sync_file_range): Likewise.
19366         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19367         Likewise.
19368         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19369         Likewise.
19370         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19371         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19372         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19373         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19374         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19375         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19376         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19377         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19379         Likewise.
19380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19381         (__libc_read64): Likewise.
19382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19383         Likewise.
19384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19385         Likewise.
19386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19387         Likewise.
19388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19389         Likewise.
19390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19391         (__libc_pread64): Likewise.
19392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19393         Likewise.
19394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19395         (__libc_pwrite64): Likewise.
19396         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19397         (sync_file_range): Likewise.
19398         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19399         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19400         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19401         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19402         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19403         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19404         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19405         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19406         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19407         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19408         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19409         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19410         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19411         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19412         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19413         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19414         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19415         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19416         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19417         Likewise.
19418         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19419         Likewise.
19420         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19421         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19422         Likewise.
19423         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19424         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19425         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19426         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19427         Likewise.
19428         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19429         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19430         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19431         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19432         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19434 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19436         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19437         Include dl-vdso.
19438         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19439         Use VDSO routines for gettimeofday, clock_gettime if
19440         available.
19441         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19442         Declare VDSO symbols.
19443         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19444         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19445         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19446         * sysdeps/unix/sysv/linux/arm/Versions: Add
19447         __vdso_clock_gettime.
19449 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19451         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19452         be an inline implementation regardless of library is built within.
19453         (open_not_cancel_2): Likewise.
19454         (__read_nocancel): Likewise.
19455         (__write_nocancel): Likewise.
19456         (openat_not_cancel): Likewise.
19457         (openat_not_cancel_3): Likewise.
19458         (openat64_not_cancel): Likewise.
19459         (openat64_not_cancel_3): Likewise.
19460         (__close_nocancel): Likewise.
19461         (pause_not_cancel): Likewise.
19462         (nanosleep_not_cancel): Likewise.
19463         (sigsuspend_not_cancel): Likewise.
19465 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19467         [BZ #14958]
19468         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19469         wake-up.
19470         (__pthread_rwlock_rdlock_slow): Likewise.
19471         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19472         Likewise.
19473         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19474         Likewise.
19475         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19476         * nptl/tst-rwlock16.c: New file.
19477         * nptl/Makefile (tests): Add new test.
19479 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19481         [BZ #18324]
19482         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19483         missing wake-up of readers.
19484         * nptl/tst-rwlock15.c: New file.
19485         * nptl/Makefile (tests): Add new test.
19487 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19489         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19490         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19491         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19492         and __nacl_supply_interface_rtld.
19493         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19494         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19495         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19496         Add __nacl_supply_interface_rtld.
19497         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19499 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19501         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19502         isfinite.
19503         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19504         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19506 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19508         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19509         __signbit* with standard C99 macros.
19510         * math/e_exp10l.c: Likewise.
19511         * math/e_exp2l.c: Likewise.
19512         * math/e_scalb.c: Likewise.
19513         * math/e_scalbf.c: Likewise.
19514         * math/e_scalbl.c: Likewise.
19515         * math/s_ldexp.c: Likewise.
19516         * math/s_ldexpf.c: Likewise.
19517         * math/s_ldexpl.c: Likewise.
19518         * math/w_atan2.c: Likewise.
19519         * math/w_atan2f.c: Likewise.
19520         * math/w_atan2l.c: Likewise.
19521         * math/w_cosh.c: Likewise.
19522         * math/w_coshf.c: Likewise.
19523         * math/w_coshl.c: Likewise.
19524         * math/w_exp10.c: Likewise.
19525         * math/w_exp10f.c: Likewise.
19526         * math/w_exp10l.c: Likewise.
19527         * math/w_exp2.c: Likewise.
19528         * math/w_exp2f.c: Likewise.
19529         * math/w_exp2l.c: Likewise.
19530         * math/w_fmod.c: Likewise.
19531         * math/w_fmodf.c: Likewise.
19532         * math/w_fmodl.c: Likewise.
19533         * math/w_hypot.c: Likewise.
19534         * math/w_hypotf.c: Likewise.
19535         * math/w_hypotl.c: Likewise.
19536         * math/w_jnl.c: Likewise.
19537         * math/w_lgamma.c: Likewise.
19538         * math/w_lgamma_r.c: Likewise.
19539         * math/w_lgammaf.c: Likewise.
19540         * math/w_lgammaf_r.c: Likewise.
19541         * math/w_lgammal.c: Likewise.
19542         * math/w_lgammal_r.c: Likewise.
19543         * math/w_pow.c: Likewise.
19544         * math/w_powf.c: Likewise.
19545         * math/w_powl.c: Likewise.
19546         * math/w_remainder.c: Likewise.
19547         * math/w_remainderf.c: Likewise.
19548         * math/w_remainderl.c: Likewise.
19549         * math/w_scalb.c: Likewise.
19550         * math/w_scalbf.c: Likewise.
19551         * math/w_scalbl.c: Likewise.
19552         * math/w_scalbln.c: Likewise.
19553         * math/w_scalblnf.c: Likewise.
19554         * math/w_scalblnl.c: Likewise.
19555         * math/w_sinh.c: Likewise.
19556         * math/w_sinhf.c: Likewise.
19557         * math/w_sinhl.c: Likewise.
19558         * math/w_tgamma.c: Likewise.
19559         * math/w_tgammaf.c: Likewise.
19560         * math/w_tgammal.c: Likewise.
19561         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19562         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19563         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19564         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19565         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19566         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19567         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19568         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19569         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19570         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19571         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19572         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19573         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19574         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19575         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19576         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19577         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19578         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19579         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19582         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19583         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19585         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19586         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19587         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19588         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19589         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19590         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19591         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19592         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19593         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19594         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19595         * stdio-common/printf_fp.c: Likewise.
19596         * stdio-common/printf_fphex.c: Likewise.
19597         * stdio-common/printf_size.c: Likewise.
19599 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19601         [BZ #18470]
19602         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19603         strnlen.
19604         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19605         Remove variable.
19606         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19607         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19608         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19609         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19610         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19611         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19612         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19613         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19614         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19615         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19617         [BZ #18468]
19618         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19619         weak alias of __wmemchr.  Use libc_hidden_weak.
19620         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19621         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19622         instead of wmemchr.
19624 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19626         [BZ #18383]
19627         * elf/tst-tlsalign-extern.c: New file.
19628         * elf/tst-tlsalign-extern-static.c: New file.
19629         * elf/tst-tlsalign-vars.c: New file.
19630         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19631         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19632         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19633         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19634         (test-xfail-tst-tlsalign-extern-static): New variable.
19636 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19638         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19639         Use variable name _sc_err instead of err.
19640         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19641         instead of ret.
19642         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19643         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19644         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19645         (INLINE_SYSCALL): Likewise.
19647         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19648         * include/string.h (__strnlen): Use libc_hidden_proto.
19649         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19650         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19651         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19652         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19653         (libc_hidden_def): Undefine and redefine.
19654         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19655         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19656         __GI_strnlen.
19657         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19658         libc_hidden_def.
19659         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19661         [BZ #18469]
19662         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19663         weak alias of __towlower.  Use libc_hidden_weak.
19664         (towupper): Rename to __towupper and define as weak alias of
19665         __towupper.  Use libc_hidden_weak.
19666         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19667         (__towupper): Likewise.
19668         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19669         __towlower instead of towlower.
19671 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19673         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19674         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19676 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19678         * sysdeps/aarch64/libm-test-ulps: Update.
19680 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19682         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19683         Define.
19684         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19686         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19687         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19688         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19689         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19690         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19692 2015-06-01  Martin Sebor  <msebor@redhat.com>
19694         [BZ #18116]
19695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19696         (__setcontext): Use extended four-operand version of mtsf whenever
19697         possible.
19698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19699         (__novec_swapcontext): Likewise.
19701 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19703         * benchtests/scripts/compare_bench.py: New file.
19704         * benchtests/scripts/import_bench.py (mean): New function.
19705         (split_list): Likewise.
19706         (do_for_all_timings): Likewise.
19707         (compress_timings): Likewise.
19709         * benchtests/scripts/import_bench.py: New file.
19710         * benchtests/scripts/validate_benchout.py: Import import_bench
19711         instead of jsonschema.
19712         (validate_bench): Remove function.
19713         (main): Use import_bench.
19715 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19717         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19718         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19720 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19724 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19726         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19727         set THREAD_SELF->tid to a magic value and futex-wake it.
19728         Pass its address to the thread_exit system call.
19729         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19730         bit is clear.
19731         * sysdeps/nacl/lowlevellock.h: New file.
19732         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19734         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19735         Add TIMEOUT to current time, don't subtract it.
19737 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19739         [BZ #2981]
19740         [BZ #18422]
19741         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19742         ($(objpfx)tst-audit2.out): Also depend on
19743         $(objpfx)tst-auditmod9b.so.
19744         * elf/tst-audit2.c: Include <dlfcn.h>.
19745         (calloc_called): New.
19746         (calloc): Allow to be called more than once.
19747         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19749 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19751         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19752         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19754 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19756         * stdlib/monetary.h: Fix comment.
19758 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19760         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19761         Avoid using variables in #defines that might cause shadowing.
19762         (INTERNAL_VSYSCALL_CALL): Likewise.
19764 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19766         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19768         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19769         * nptl/lll_timedlock_wait.c: ... to this new file.
19770         * nptl/Makefile (libpthread-routines): Add it.
19771         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19772         * nptl/lll_timedwait_tid.c: ... to this new file.
19773         * nptl/Makefile (libpthread-routines): Add it.
19774         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19775         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19776         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19777         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19778         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19779         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19780         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19781         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19782         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19783         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19785 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19787         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19788         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19789         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19790         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19791         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19792         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19793         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19795         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19796         * sysdeps/unix/sysv/linux/tile/sysdep.h
19797         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19798         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19799         using vDSO syscall macro.
19801 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19803         [BZ #17293]
19804         * uk_UA: Fix sorting order for Ukrainian locale
19806 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19808         * stdlib/monetary.h: Fix comment.
19810 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19812         [BZ #18234]
19813         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19814         st_mtim and st_ctim members.
19815         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19816         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19817         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19818         (struct stat64): Likewise.
19819         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19820         (struct stat64): Likewise.
19821         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19822         (struct stat64): Likewise.
19824 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19826         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19827         Define and include sysdep-vdso.h.
19828         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19829         Likewise.
19830         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19831         Likewise.
19832         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19833         Define with VDSO_SYMBOL and use PTR_MANGLE.
19834         (__vdso_clock_gettime): Likewise.
19835         (__vdso_clock_getres): Likewise.
19836         (_libc_vdso_platform_setup): Likewise.
19837         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19838         Likewise.
19839         (_libc_vdso_platform_setup): Likewise.
19840         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19841         Likewise.
19842         (__vdso_clock_gettime): Likewise.
19843         (__vdso_clock_getres): Likewise.
19844         (__vdso_get_tbfreq): Likewise.
19845         (__vdso_getcpu): Likewise.
19846         (__vdso_time): Likewise.
19847         (__vdso_sigtramp_rt64): Likewise.
19848         (__vdso_signtramp32): Likewise.
19849         (__vdso_sigtramp_rt32): Likewise.
19850         (_libc_vdso_platform_setup): Likewise.
19851         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19852         Likewise.
19853         (__vdso_clock_gettime): Likewise.
19854         (__vdso_clock_getres): Likewise.
19855         (_libc_vdso_platform_setup): Likewise.
19856         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19857         Likewise.
19858         (__vdso_clock_gettime): Likewise.
19859         (_libc_vdso_platform_setup): Likewise.
19860         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19861         Likewise.
19862         (__vdso_getcpu): Likewise.
19863         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19864         Use VDSO_SYMBOL macro to define.
19865         (__vdso_clock_gettime): Likewise.
19866         (__vdso_clock_getres): Likewise.
19867         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19868         Likewise.
19869         (__vdso_clock_gettime): Likewise.
19870         (__vdso_clock_getres): Likewise.
19871         (__vdso_get_tbfreq): Likewise.
19872         (__vdso_getcpu): Likewise.
19873         (__vdso_time): Likewise.
19874         (__vdso_sigtramp_rt64): Likewise.
19875         (__vdso_signtramp32): Likewise.
19876         (__vdso_sigtramp_rt32): Likewise.
19877         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19878         Likewise.
19879         (__vdso_clock_gettime): Likewise.
19880         (__vdso_clock_getres): Likewise.
19881         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19882         Likewise.
19883         (__vdso_clock_gettime): Likewise.
19884         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19885         Likewise.
19886         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19887         macro.
19888         (INTERNAL_VSYSCALL): Likewise.
19889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19890         Remove macro.
19891         (INTERNAL_VSYSCALL): Likewise.
19892         (INTERNAL_VSYSCALL_NCS): Likewise.
19893         (INTERNAL_VSYSCALL_CALL): New macro.
19894         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19896         Likewise.
19897         (INTERNAL_VSYSCALL): Likewise.
19898         (INTERNAL_VSYSCALL_NCS): Likewise.
19899         (INTERNAL_VSYSCALL_CALL): New macro.
19900         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19902         (INLINE_VSYSCALL): Remove macro.
19903         (INTERNAL_VSYSCALL): Remove macro.
19904         (INTERNAL_VSYSCALL_NCS): Remove macro.
19905         (INTERNAL_VSYSCALL_CALL): New macro.
19906         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19907         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19908         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19909         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19910         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19912         (INLINE_VSYSCALL): Remove macro.
19913         (INTERNAL_VSYSCALL): Likewise.
19914         (INTERNAL_VSYSCALL_NCS): Likewise.
19915         (INTERNAL_VSYSCALL_CALL): New macro.
19916         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19917         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19918         PTR_DEMANGLE on vDSO pointer.
19919         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19920         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19921         macro.
19922         (INTERNAL_SYSCALL): Likewise.
19923         (INTERNAL_VSYSCALL_NCS): Remove macro.
19924         (INTERNAL_VSYSCALL_CALL): New macro.
19925         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19926         Remove macro.
19927         (INTERNAL_VSYSCALL): Likewise.
19928         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19929         sysdep-vdso.h instead of libc-vdso.h.
19930         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19931         definition.
19932         (INLINE_VSYSCALL): Likewise.
19933         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19934         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19935         definition.
19936         (INLINE_VSYSCALL): Likewise.
19937         (INTERNAL_VSYSCALL): Likewise.
19938         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19939         * sysdeps/unix/sysv/linux/timespec_get.c
19940         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19941         (timespec_get): Use ANSI prototype.
19942         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19943         and definition for Linux.
19945 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19947         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19948         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19950 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19952         [BZ #2981]
19953         [BZ #18410]
19954         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19955         for missing DT_PLTRELSZ.
19957 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19959         Remove obsolete aliases that broke 'locale -a'
19960         [BZ #18412]
19961         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19962         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19963         breaking some applications that use 'locale -a' output.
19964         Change the encoding of this file from Latin-1 to ASCII to avoid
19965         other potential problems with people grepping this file.
19967 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19969         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19970         -fasynchronous-unwind-tables.
19971         (CFLAGS-sendto.c): Likewise.
19972         (CFLAGS-sendmsg.c): Likewise.
19973         (CFLAGS-connect.c): Likewise.
19974         (CFLAGS-recvmsg.c): Likewise.
19975         (CFLAGS-recvfrom.c): Likewise.
19976         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19977         (SOCKETCALL): New macro: non-cancellable socketcall.
19978         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19979         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19980         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19981         * sysdeps/unix/sysv/linux/accept.c: New file.
19982         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19983         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19984         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19985         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19986         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19987         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19988         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19989         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19990         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19991         * sysdeps/unix/sysv/linux/send.c: Likewise.
19992         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19993         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19994         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19995         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19996         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19997         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19998         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19999         prototype.
20000         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20001         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20002         instead of __internal_xxx function.
20003         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20004         prototype.
20005         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20006         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20007         instead of __internal_xxx function.
20008         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20009         prototype.
20010         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20011         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20012         instead of __internal_xxx function.
20013         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20014         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20015         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20016         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20017         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20018         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20019         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20020         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20021         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20022         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20023         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20024         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20025         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20026         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20027         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20028         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20029         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20030         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20031         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20032         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20035         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20036         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20037         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20038         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20039         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20040         * sysdeps/unix/sysv/linux/send.S: Likewise.
20041         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20042         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20043         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20044         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20045         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20046         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20047         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20048         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20049         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20050         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20051         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20052         socketcall is implemented in GLIBC.
20054 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20056         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20057         (__fma): Ignore uninitialized warnings around packing.
20058         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20059         (__fmaf): Ignore uninitialized warnings around packing.
20060         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20061         (__fmal): Ignore uninitialized warnings around packing.
20063         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20064         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20065         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20066         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20068         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20069         switch statement into default case.
20070         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20072         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20073         a conditional in forcing "inexact".
20074         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20075         Likewise.
20077 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20079         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20080         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20081         for each INTERNAL_SYSCALL use.
20083 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20085         [BZ #438]
20086         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20087         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20088         variable.
20090         [BZ #18444]
20091         * string/basename.c (basename): Rename to __basename and define as
20092         weak alias of __basename.  Use libc_hidden_weak.
20093         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20094         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20095         __basename instead of basename.
20096         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20097         Remove variable.
20098         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20100 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20102         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20103         (_IO_JUMPS_FILE_plus): New.
20104         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20105         _IO_CAST_FIELD_ACCESS.
20106         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20107         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20108         * libio/freopen.c (freopen): Likewise.
20109         * libio/freopen64.c (freopen64): Likewise.
20110         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20111         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20112         * libio/iofwide.c (_IO_fwide): Likewise.
20113         * libio/memstream.c (open_memstream): Likewise.
20114         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20115         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20116         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20118 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20120         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20121         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20122         NADJ.
20123         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20124         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20125         NADJ.
20126         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20127         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20128         NADJ.
20130         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20131         (p == 4) case.
20133         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20134         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20135         Remove variable.
20136         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20137         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20138         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20140 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20142         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20143         Adjust jump table label generation macros.
20145 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20147         * stdio-common/vfprintf.c (vfprintf): Move local variables
20148         args_malloced, specs, specs_malloced, and the code after
20149         do_positional to the printf_positional function.
20150         (printf_positional): New function.
20152 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20154         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20155         function.
20156         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20157         STEP4_TABLE, process_arg): Move macro definitions
20158         out of the vfprintf function.  (Cosmetic change only.)
20160 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20162         * benchtests/Makefile (stdio-common-bench): Define.
20163         (benchset): Add stdio-common-bench.
20164         * sprintf-inputs: New file.
20165         * sprintf-source.c: New file.
20167 2015-05-21  Andreas Schwab  <schwab@suse.de>
20169         [BZ #13028]
20170         [BZ #17053]
20171         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20172         of struct __res_state.
20173         * resolv/res_send.c (__libc_res_nsend): Likewise.
20174         (get_nsaddr): New function.
20175         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20176         statp directly.
20178 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20180         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20181         -D_POSIX_C_SOURCE=199506L.
20183         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20185         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20186         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20187         Do not mention otherwise.
20188         [POSIX] (_XOPEN_VERSION): Do not expect.
20189         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20190         [POSIX] (_POSIX2_C_BIND): Likewise.
20191         [POSIX] (_POSIX2_VERSION): Likewise.
20192         [POSIX] (_XOPEN_XPG2): Likewise.
20193         [POSIX] (_XOPEN_XPG3): Likewise.
20194         [POSIX] (_XOPEN_XPG4): Likewise.
20195         [POSIX] (_XOPEN_UNIX): Likewise.
20196         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20197         [POSIX] (_POSIX_BARRIERS): Likewise.
20198         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20199         [POSIX] (_POSIX_CPUTIME): Likewise.
20200         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20201         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20202         [POSIX] (_POSIX_SHELL): Likewise.
20203         [POSIX] (_POSIX_SPAWN): Likewise.
20204         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20205         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20206         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20207         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20208         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20209         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20210         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20211         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20212         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20213         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20214         [POSIX] (_POSIX2_PBS): Likewise.
20215         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20216         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20217         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20218         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20219         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20220         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20221         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20222         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20223         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20224         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20225         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20226         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20227         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20228         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20229         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20230         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20231         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20232         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20233         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20234         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20235         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20236         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20237         [POSIX] (_SC_2_C_BIND): Likewise.
20238         [POSIX] (_SC_2_C_VERSION): Likewise.
20239         [POSIX] (_SC_2_PBS): Likewise.
20240         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20241         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20242         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20243         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20244         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20245         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20246         [POSIX] (_SC_BARRIERS): Likewise.
20247         [POSIX] (_SC_BASE): Likewise.
20248         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20249         [POSIX] (_SC_DEVICE_IO): Likewise.
20250         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20251         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20252         [POSIX] (_SC_FD_MGMT): Likewise.
20253         [POSIX] (_SC_FIFO): Likewise.
20254         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20255         [POSIX] (_SC_FILE_LOCKING): Likewise.
20256         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20257         [POSIX] (_SC_IOV_MAX): Likewise.
20258         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20259         [POSIX] (_SC_NETWORKING): Likewise.
20260         [POSIX] (_SC_PAGE_SIZE): Likewise.
20261         [POSIX] (_SC_PASS_MAX): Likewise.
20262         [POSIX] (_SC_PIPE): Likewise.
20263         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20264         [POSIX] (_SC_REGEXP): Likewise.
20265         [POSIX] (_SC_SHELL): Likewise.
20266         [POSIX] (_SC_SIGNALS): Likewise.
20267         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20268         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20269         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20270         [POSIX] (_SC_USER_GROUPS): Likewise.
20271         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20272         [POSIX] (_SC_STREAMS): Likewise.
20273         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20274         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20275         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20276         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20277         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20278         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20279         [POSIX] (_PC_FILESIZEBITS): Likewise.
20280         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20281         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20282         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20283         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20284         [POSIX] (uid_t): Likewise.
20285         [POSIX] (gid_t): Likewise.
20286         [POSIX] (off_t): Likewise.
20287         [POSIX] (pid_t): Likewise.
20288         [POSIX] (cuserid): Allow.
20289         (_SC_2_CHAR_TERM): Require constant.
20290         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20291         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20292         variable.
20294 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20296         * sysdeps/nacl/pthread-pids.h: New file.
20297         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20298         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20300         * nptl/pthread-pids.h: New file.
20301         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20302         * nptl/nptl-init.c: Include <pthread-pids.h>.
20303         (__pthread_initialize_minimal_internal):
20304         Call __pthread_initialize_pids instead of set_tid_address syscall.
20306         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20307         * sysdeps/posix/usleep.c: ... here.
20309 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20311         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20312         call_pselect6 object.
20313         [$(subdir) = io]: Remove call_sync_file_range object.
20314         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20315         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20316         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20317         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20319 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20321         * math/s_cproj.c: Add include "math_private.h".
20322         * math/s_cprojf.c: Likewise.
20323         * math/s_cprojl.c: Likewise.
20325 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20327         [BZ #18244]
20328         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20329         high mantissa bit when testing whether P is a NaN.
20330         * math/libm-test.inc (remainder_test_data): Add more tests.
20331         (remquo_test_data): Likewise.
20333         [BZ #18049]
20334         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20335         below -32, return the argument, with underflow if subnormal.
20336         * math/auto-libm-test-in: Add more tests of atanh.
20337         * math/auto-libm-test-out: Regenerated.
20339 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20341         [BZ #18434]
20342         * nptl/tst-sem15.c: New file.
20343         * nptl/Makefile (tests): Add it.
20344         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20345         s/<</>>/ to fix typo in EOVERFLOW check.
20346         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20348 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20350         * manual/strings.texi (envz_remove): Fix typo in safety
20351         annotations.
20353 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20354             Steve Ellcey  <sellcey@imgtec.com>
20356         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20357         in order to avoid strict alias warnings.
20358         (iruserok_af): Ditto for ra.
20360 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20362         [BZ #17581]
20363         * malloc/hooks.c
20364         (magicbyte): Convert to a function and avoid returning 0x01.
20365         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20366         (mem2chunk_check): Fix unsigned comparisons to zero.
20367         Hoist defs of sz and magic.
20369 2015-05-19  Richard Henderson  <rth@redhat.com>
20371         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20373         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20375 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20377         [BZ #16159]
20378         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20379         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20380         (reused_arena): Find a non-corrupt arena.
20381         (heap_trim): Pass arena to unlink.
20382         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20383         malloc_printerr.
20384         (top_check): Likewise.
20385         (free_check): Likewise.
20386         (realloc_check): Likewise.
20387         * malloc/malloc.c (malloc_printerr): Add arena argument.
20388         (unlink): Likewise.
20389         (munmap_chunk): Adjust.
20390         (ARENA_CORRUPTION_BIT): New macro.
20391         (arena_is_corrupt): Likewise.
20392         (set_arena_corrupt): Likewise.
20393         (sysmalloc): Use mmap if there are no usable arenas.
20394         (_int_malloc): Likewise.
20395         (__libc_malloc): Don't fail if arena_get returns NULL.
20396         (_mid_memalign): Likewise.
20397         (__libc_calloc): Likewise.
20398         (__libc_realloc): Adjust for additional argument to
20399         malloc_printerr.
20400         (_int_free): Likewise.
20401         (malloc_consolidate): Likewise.
20402         (_int_realloc): Likewise.
20403         (_int_memalign): Don't touch corrupt arenas.
20404         * malloc/tst-malloc-backtrace.c: New test case.
20406         * Makefile (summarize-tests): Fix return value on success.
20408         * manual/string.texi (Envz Functions): Add envz_remove.
20410 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20412         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20413         (invalid_name): New function, broken out of ...
20414         (__opendirat): ... here.  Call it.
20415         (need_isdir_precheck): New function, broken out of ...
20416         (__opendirat): ... here.  Call it.
20417         Use __fxstatat64, not __xstatat64.
20418         (opendir_oflags): New function, broken out of ...
20419         (__opendirat): ... here.  Call it.
20420         (opendir_tail): New function, broken out of ...
20421         (__opendirat): ... here.  Call it.
20422         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20423         opendir_tail, rather than punting to __opendirat.
20424         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20426 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20428         * .gitignore: Ignore generated *.pyc.
20430 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20432         * include/stdio.h: Define __need_wint_t.
20433         * test-skeleton.c: Avoid `for' loop initial declaration.
20434         * nptl/tst-initializers1.c: Use test-skeleton.c.
20436 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20438         [BZ #18418]
20439         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20441 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20443         [BZ #16352]
20444         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20445         (__ieee754_atanh): Force underflow exception for results with
20446         small absolute value.
20447         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20448         (__ieee754_atanhf): Force underflow exception for results with
20449         small absolute value.
20450         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20451         (__ieee754_atanh): Force underflow exception for results with
20452         small absolute value.
20453         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20454         (__ieee754_atanhf): Force underflow exception for results with
20455         small absolute value.
20456         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20457         (__ieee754_atanhl): Force underflow exception for results with
20458         small absolute value.
20459         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20460         (__ieee754_atanhl): Force underflow exception for results with
20461         small absolute value.
20462         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20463         (__ieee754_atanhl): Force underflow exception for results with
20464         small absolute value.
20465         * math/auto-libm-test-in: Do not allow missing underflow
20466         exceptions from atanh.
20467         * math/auto-libm-test-out: Regenerated.
20469         [BZ #18221]
20470         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20471         2**-28 as threshold for returning x or +/- 1/x.
20472         * math/auto-libm-test-in: Add more tests of tan.
20473         * math/auto-libm-test-out: Regenerated.
20475         [BZ #18220]
20476         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20477         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20478         * math/auto-libm-test-in: Add another test of lgamma.
20479         * math/auto-libm-test-out: Regenerated.
20481 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20483         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20484         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20485         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20486         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20487         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20488         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20489         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20490         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20491         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20492         (log1): Use fabs.  (my_log2): Use fabs.
20493         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20494         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20495         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20496         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20498         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20499         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20500         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20501         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20502         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20503         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20505 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20507         [BZ #18217]
20508         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20509         as threshold for returning 1 - x.
20510         * math/auto-libm-test-in: Add more tests of erfc.
20511         * math/auto-libm-test-out: Regenerated.
20513 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20515         [BZ #18196]
20516         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20517         threshold for large arguments.
20518         * math/auto-libm-test-in: Add another test of atan.
20519         * math/auto-libm-test-out: Regenerated.
20521         [BZ #16339]
20522         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20523         (__log1p): Force underflow exception for results with small
20524         absolute value.
20525         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20526         (__log1pf): Force underflow exception for results with small
20527         absolute value.
20528         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20529         (__log1p): Force underflow exception for results with small
20530         absolute value.
20531         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20532         (__log1pf): Force underflow exception for results with small
20533         absolute value.
20534         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20535         (__log1pl): Force underflow exception for results with small
20536         absolute value.
20537         * math/auto-libm-test-in: Do not allow missing underflow
20538         exceptions from log1p.
20539         * math/auto-libm-test-out: Regenerated.
20541 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20542             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20544         [BZ #16704]
20545         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20547 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20549         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20550         (libmvec): New variable.
20551         * configure.ac: Added option for mathvec build.
20552         * configure: Regenerated.
20553         * mathvec/Depend: New file.
20554         * mathvec/Makefile: New file.
20555         * shlib-versions: Added libmvec.
20556         * math/Makefile: Added rule for libm.so installation.
20558         * bits/math-vector.h: New file.
20559         * bits/libm-simd-decl-stubs.h: New header.
20560         * math/Makefile (headers): Added new header
20561         libm-simd-decl-stubs.h.
20562         * math/math.h (__MATHCALL_VEC): New macro.
20564         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20565         for conditions in testing functions.
20566         * math/Makefile: Added call of libm-have-vector-test.sh.
20567         * math/libm-test.inc (HAVE_VECTOR): New macros.
20569         * math/libm-test.inc: START refactored.
20570         * math/test-double.c (TEST_MATHVEC): Add define.
20571         * math/test-float.c: Likewise.
20572         * math/test-idouble.c: Likewise.
20573         * math/test-ifloat.c: Likewise.
20574         * math/test-ildoubl.c: Likewise.
20575         * math/test-ldouble.c: Likewise.
20576         * sysdeps/generic/math-tests-arch.h
20577         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20578         architecture check.
20580         * math/test-double.c (FUNC_TEST): New macro.
20581         * math/test-float.c: Likewise.
20582         * math/test-idouble.c: Likewise.
20583         * math/test-ifloat.c: Likewise.
20584         * math/test-ildoubl.c: Likewise.
20585         * math/test-ldouble.c: Likewise.
20586         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20588 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20590         * sysdeps/nacl/fdopendir.c: New file.
20592         * dirent/scandir-tail.c: New file.
20593         * dirent/scandir64-tail.c: New file.
20594         * dirent/Makefile (routines): Add them.
20595         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20596         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20597         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20598         [!SCANDIR] (SCANDIR_TAIL): New macro.
20599         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20600         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20601         (SCANDIRAT): Macro removed.
20602         (SCANDIR_TAIL): New macro.
20603         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20604         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20605         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20606         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20607         (READDIR): Macro removed.
20608         (SCANDIR_TAIL): New macro.
20609         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20610         (SCANDIR_TAIL): New macro.
20612         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20613         * dirent/scandir-cancel.c: ... to this new file.
20614         * dirent/Makefile (routines): Add it.
20615         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20616         * sysdeps/unix/sysv/linux/i386/scandir64.c
20617         (SKIP_SCANDIR_CANCEL): Macro removed.
20618         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20620         * dirent/tst-scandir.c: New file.
20621         * dirent/tst-scandir64.c: New file.
20622         * dirent/Makefile (tests): Add them.
20624 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20626         [BZ #18409]
20627         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20629 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20631         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20632         list.
20634 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20636         * benchtests/bench-strcoll.c: New benchmark.
20637         * benchtests/Makefile: Generate locales and run benchmark.
20638         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20639         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20640         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20641         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20642         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20643         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20644         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20645         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20646         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20647         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20648         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20649         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20650         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20651         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20652         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20653         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20654         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20655         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20656         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20657         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20658         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20659         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20660         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20661         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20663 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20665         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20666         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20668 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20670         * posix/uname-values.h: New file.
20671         * posix/uname.c: Include that instead of <config-name.h>.
20672         * sysdeps/nacl/uname-values.h: New file.
20673         * sysdeps/arm/nacl/uname-values.h: New file.
20675 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20677         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20678         splitting into fields.
20680 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20682         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20683         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20684         * locale/localeinfo.h: Add enum collation_encoding_type.
20685         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20686         * programs/ld-collate.c (collate_output): Add encoding type info.
20687         * string/strcoll_l.c (STRDIFF): New function.
20688         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20689         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20691 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20693         [BZ #18397]
20694         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20695         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20696         <fpu_control.h> instead of <math/fpu_control.c>.
20697         * sysdeps/mips/mips32/fpu/Makefile: New file.
20699 2015-05-11  Andreas Schwab  <schwab@suse.de>
20701         [BZ #18007]
20702         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20703         nss_endgrent.
20704         (_nss_compat_endgrent): Call nss_endgrent.
20705         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20706         nss_endpwent.
20707         (_nss_compat_endpwent): Call nss_endpwent.
20708         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20709         needent, call nss_setspent only if non-zero.
20710         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20711         (internal_endspent): Don't call nss_endspent.
20712         (_nss_compat_endspent): Call nss_endspent.
20713         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20714         Remove.  All uses removed.
20715         (internal_setent): Remove parameter stayopen, add parameter
20716         stream.  Use it instead of global variable.
20717         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20718         (internal_endent, internal_getent): Add parameter stream.  Use it
20719         instead of global variable.
20720         (CONCAT(_nss_files_end,ENTNAME))
20721         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20722         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20723         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20724         uses removed.
20725         (internal_setent, internal_endent): Add parameter stream.  Use it
20726         instead of global variable.
20727         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20728         stream.
20729         (get_next_alias): Add parameter stream.
20730         (_nss_files_getaliasent_r): Pass global stream.
20731         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20732         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20733         (_nss_files_gethostbyname4_r): Pass local stream to
20734         internal_setent, internal_getent and internal_endent.  Remove
20735         locking.
20737 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20739         * tst-strfmon1.c (tests): Update expected currency symbol.
20741 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20743         * sysdeps/nacl/gethostname.c: New file.
20745 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20747         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20748         and sinh.
20749         * math/auto-libm-test-out: Regenerated.
20750         * sysdeps/i386/fpu/libm-test-ulps: Update.
20751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20753 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20755         [BZ #18125]
20756         * stdlib/tst-setcontext3.c: New file.
20757         * stdlib/tst-setcontext3.sh: New file.
20758         * stdlib/Makefile (tests): Add tst-setcontext3.
20759         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20760         to verify test program created output file.
20761         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20762         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20763         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20764         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20766 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20768         [BZ #18383]
20769         * elf/tst-tlsalign.c: New file.
20770         * elf/tst-tlsalign-static.c: New file.
20771         * elf/tst-tlsalign-lib.c: New file.
20772         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20773         (tests-static): Add tst-tlsalign-static.
20774         (modules-names): Add tst-tlsalign-lib.
20775         (test-xfail-tst-tlsalign): New variable.
20776         (test-xfail-tst-tlsalign-static): New variable.
20778         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20779         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20781 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20783         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20784         csqrt, erfc, sin and sincos.
20785         * math/auto-libm-test-out: Regenerated.
20786         * sysdeps/i386/fpu/libm-test-ulps: Update.
20787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20789 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20791         * sysdeps/aarch64/libm-test-ulps: Update.
20793 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20795         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20796         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20797         * math/auto-libm-test-out: Regenerated.
20798         * sysdeps/i386/fpu/libm-test-ulps: Update.
20799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20801 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20803         [BZ #18265]
20804         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20805         (wcsncpy): Likewise.
20807 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20809         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20810         Assume __ASSUME_FALLOCATE is always true.
20811         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20812         (__posix_fallocate64_l64): Likweise.
20813         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20814         (posix_fallocate): Likewise.
20815         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20816         (__posix_fallocate64_l64): Likewise.
20817         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20818         [!__ASSUME_FALLOCATE]: Add comment.
20820 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20822         * sysdeps/unix/sysv/linux/i386/Makefile
20823         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20824         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20825         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20826         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20827         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20828         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20829         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20831 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20833         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20834         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20835         tgamma.
20836         * math/auto-libm-test-out: Regenerated.
20837         * sysdeps/i386/fpu/libm-test-ulps: Update.
20838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20840 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20842         * math/auto-libm-test-in: Add more tests of tgamma.
20843         * math/auto-libm-test-out: Regenerated.
20844         * sysdeps/i386/fpu/libm-test-ulps: Update.
20845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20847         * math/auto-libm-test-in: Add more tests of tanh.
20848         * math/auto-libm-test-out: Regenerated.
20849         * sysdeps/i386/fpu/libm-test-ulps: Update.
20850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20852         * math/auto-libm-test-in: Add more tests of tan.
20853         * math/auto-libm-test-out: Regenerated.
20854         * sysdeps/i386/fpu/libm-test-ulps: Update.
20855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20857         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20858         * math/auto-libm-test-out: Regenerated.
20859         * sysdeps/i386/fpu/libm-test-ulps: Update.
20860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20862         * math/auto-libm-test-in: Add another test of pow.
20863         * math/auto-libm-test-out: Regenerated.
20864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20866         * math/auto-libm-test-in: Add more tests of lgamma.
20867         * math/auto-libm-test-out: Regenerated.
20868         * sysdeps/i386/fpu/libm-test-ulps: Update.
20869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20871         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20872         log1p.
20873         * math/auto-libm-test-out: Regenerated.
20874         * sysdeps/i386/fpu/libm-test-ulps: Update.
20875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20877 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20879         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20880         Elf64_Chdr structs and ELFCOMPRESS constants.
20882 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20884         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20885         expm1.
20886         * math/auto-libm-test-out: Regenerated.
20887         * sysdeps/i386/fpu/libm-test-ulps: Update.
20888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20890         * math/auto-libm-test-in: Add more tests of erf and erfc.
20891         * math/auto-libm-test-out: Regenerated.
20892         * sysdeps/i386/fpu/libm-test-ulps: Update.
20893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20895 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20897         * config.h.in (HAVE_AARCH64_BE): Add.
20899 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20901         * math/auto-libm-test-in: Add more tests of csqrt.
20902         * math/auto-libm-test-out: Regenerated.
20903         * sysdeps/i386/fpu/libm-test-ulps: Update.
20904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20906         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20907         * math/auto-libm-test-out: Regenerated.
20908         * sysdeps/i386/fpu/libm-test-ulps: Update.
20909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20911         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20913 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20915         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20916         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20918         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20919         (euidaccess, eaccess): Define as weak aliases.
20921         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20922         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20923         but __suseconds_t is often 'long int' so some sources assume that
20924         type is being used (e.g. they use %ld to print tv_usec).
20926 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20928         [BZ #18007]
20929         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20930         (CVE-2014-8121)
20931         * nss/tst-nss-getpwent.c: New file.
20932         * nss/Makefile (tests): Add new test.
20934 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20936         [BZ #18346]
20937         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20938         exponents less than 48 as cases where high part of mantissa needs
20939         examining to determine whether argument is integral.
20940         * math/libm-test.inc (round_test_data): Add more tests.
20942 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20944         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20946 2015-04-27  David S. Miller  <davem@davemloft.net>
20948         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20949         __tls_get_addr.
20950         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20952 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20954         [BZ#18333]
20955         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20957 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20959         [BZ#18333]
20960         * time/tzset.c (parse_tzname): Return error on memory allocation
20961         failure.
20962         * test-skeleton.c (struct temp_name_list): Change type of name
20963         member to non-const.
20964         (add_temp_file): Create a copy of the file name.
20965         (delete_temp_files): Deallocate memory.
20966         (create_temp_file): Add comment.
20968 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20970         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20971         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20973 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20975         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20976         * sysdeps/arm/configure: Regenerated.
20978 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20980         [BZ #17715]
20981         * time/tzfile.c (__tzfile_read): Check for large values of
20982         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20983         * time/tzset.c (__tzstring_len): New function, based on the old
20984         __tzstring function.
20985         (__tzstring): Call __tzstring_len.
20986         (parse_tzname): New helper function extracted from
20987         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20988         the input string.
20989         (parse_offset): New helper function extracted from
20990         __tzset_parse_tz.  Replace switch with fallthrough with
20991         initialization before sscanf.
20992         (parse_rule): Likewise.
20993         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20994         new-style function definition.
20995         * timezone/Makefile (tests): Add tst-tzset.
20996         (tst-tzset.out): Dependencies on time zone files.
20997         (tst-tzset-ENV): Set TZDIR.
20998         (testdata/XT%): Copy crafted time zone files.
20999         * timezone/README: Mention crafted time zone files.
21000         * timezone/testdata/XT1, timezone/testdata/XT2,
21001         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21002         files.
21003         * timezone/tst-tzset.c: New test.
21005 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21007         * Makeconfig (+gccwarn): Remove -Winline.
21009 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21011         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21013 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21015         * NEWS: Mention sysconf() cache information support for s390.
21016         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21018 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21020         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21021         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21022         (__nearbyint): Likewise.
21023         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21024         (copysignl): Likewise.
21026 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21028         [BZ #18287]
21029         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21030         based on padding.  (CVE-2015-1781)
21032 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21034         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21035         libc-vdso.h.
21036         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21037         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21038         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21039         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21040         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21041         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21042         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21043         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21044         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21045         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21046         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21047         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21048         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21049         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21050         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21051         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21052         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21053         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21054         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21055         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21056         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21057         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21058         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21060 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21062         * stdlib/setenv.c (__add_to_environ):
21063         Dump core quickly if setenv (..., NULL, ...) is called.
21064         This time, do it the right way, and pacify GCC with a pragma.
21066 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21068         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21069         IMAP->l_prev cannot be null, and #if out the code for the contrary
21070         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21071         believe that NS (&_dl_ns[NSID]) could point outside the array.
21073         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21074         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21075         before using NSID as an index.
21077 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21079         [BZ #17825]
21080         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21081         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21082         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21084 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21086         Add preliminary port to Google Native Client on ARM.
21087         * abi-tags (.*-.*-nacl.*): New entry.
21088         * sysdeps/arm/nacl: New directory.
21089         * sysdeps/nacl: New directory.
21091 2015-04-16  David S. Miller  <davem@davemloft.net>
21093         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21094         lowlevellock-futex.h
21096 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21098         * sysdeps/tile/configure.ac: New file.
21099         * sysdeps/tile/configure: Regenerated.
21101 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21103         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21104         conditionals for weak_alias and libc_hidden_weak.
21105         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21106         libc_hidden_weak and weak_alias.
21107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21108         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21109         and weak_alias for static one.
21111 2015-04-15  David S. Miller  <davem@davemloft.net>
21113         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21115 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21117         [BZ #18206]
21118         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21119           Use signed comparision instead of substraction to avoid
21120           overflow bug.
21121         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21122           Take the sign of ret.
21123         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21124           Do not expect precise return values. Only the sign matters.
21125         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21126         * wcsmbs/test-wcsncmp.c: New File.
21127         * string/test-strncmp.c: Add wcsncmp support.
21129 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21131         [BZ #6792]
21132         * math/w_log1p.c: New file.
21133         * math/w_log1pf.c: Likewise.
21134         * math/w_log1pl.c: Likewise.
21135         * math/Makefile (libm-calls): Add w_log1p.
21136         * math/s_log1pl.c (log1pl): Remove weak_alias.
21137         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21138         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21139         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21140         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21141         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21142         [NO_LONG_DOUBLE] (log1pl): Likewise.
21143         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21144         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21145         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21146         (log1p): Remove long_double_symbol.
21147         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21148         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21149         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21150         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21151         remove weak_alias for corresponding log1p function.
21152         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21153         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21154         * sysdeps/ia64/fpu/w_log1p.c: New file.
21155         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21156         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21157         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21159 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21161         [BZ #18247]
21162         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21163         decimal exponent by 1.
21164         * stdlib/tst-strtod-round-data: Add more tests.
21165         * stdlib/tst-strtod-round.c (tests): Regenerated.
21167 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21169         * math/auto-libm-test-in: Add more tests of clog and clog10.
21170         * math/auto-libm-test-out: Regenerated.
21171         * sysdeps/i386/fpu/libm-test-ulps: Update.
21172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21174 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21176         * Makeconfig (module-cppflags): Exclude all .v.i files.
21177         (skip-module-cppflags): Variable removed.
21179         * configure.ac (libc_config_ok): Initialize before reading
21180         preconfigure scripts, not after.
21181         * configure: Regenerated.
21183         * test-skeleton.c (TIMEOUT): Move #define to top level.
21184         (main): Grok environment variable TEST_DIRECT.  If set, print
21185         test expectation details into that file and then behave as if
21186         given --direct.
21188 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21190         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21191         warning on 32-bit.
21193 2015-04-08  David S. Miller  <davem@davemloft.net>
21195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21197 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21199         * math/auto-libm-test-in: Add more tests of atanh.
21200         * math/auto-libm-test-out: Regenerated.
21201         * sysdeps/i386/fpu/libm-test-ulps: Update.
21202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21204         * math/auto-libm-test-in: Add more tests of atan.
21205         * math/auto-libm-test-out: Regenerated.
21206         * sysdeps/i386/fpu/libm-test-ulps: Update.
21207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21209 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21211         * elf/pldd.c (main): Rewrite to use struct
21212         scratch_buffer instead of extend_alloca.
21213         * elf/pldd-xx.c (find_maps): Likewise.
21214         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21215         <alloca.h>.
21216         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21217         scratch_buffer instead of extend_alloca.
21218         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21219         grp/compat-initgroups.c.
21220         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21221         Rewrite to use struct scratch_buffer instead of extend_alloca.
21222         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21223         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21225 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21227         * math/auto-libm-test-in: Add more tests of cbrt.
21228         * math/auto-libm-test-out: Regenerated.
21229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21231         * math/auto-libm-test-in: Add more tests of cabs.
21232         * math/auto-libm-test-out: Regenerated.
21233         * sysdeps/i386/fpu/libm-test-ulps: Update.
21234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21236         [BZ #18210]
21237         [BZ #18211]
21238         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21239         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21240         computations.
21241         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21242         clog10.
21243         * math/auto-libm-test-out: Regenerated.
21244         * sysdeps/i386/fpu/libm-test-ulps: Update.
21245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21247         [BZ #18197]
21248         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21249         (atan): Set FE_TONEAREST mode for internal computations.
21250         * math/auto-libm-test-in: Add more tests of atan.
21251         * math/auto-libm-test-out: Regenerated.
21253 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21255         [BZ #17930]
21256         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21258 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21260         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21262 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21264         * include/scratch_buffer.h: New file.
21265         * malloc/scratch_buffer_grow.c: Likewise.
21266         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21267         * malloc/scratch_buffer_set_array_size.c: Likewise.
21268         * malloc/tst-scratch_buffer.c: Likewise.
21269         * malloc/Makefile (routines): Add scratch_buffer_grow.
21270         (tests): Add test case.
21271         * malloc/Versions (GLIBC_PRIVATE): Export
21272         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21273         __libc_scratch_buffer_set_array_size.
21275 2015-04-06  Richard Henderson  <rth@redhat.com>
21277         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21278         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21280         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21281         unsigned int before printing.
21283 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21285         [BZ #17596]
21286         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21287         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21289 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21291         * include/libc-internal.h (libc_max_align_t): Define.
21293 2015-04-02  Andreas Schwab  <schwab@suse.de>
21295         [BZ #16850]
21296         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21298 2015-04-02  Mel Gorman  <mgorman@suse.de>
21300         [BZ #17195]
21301         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21302         as well as the main arena.
21304 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21306         [BZ #18185]
21307         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21308         sharing L2 cache to 2 for Silvermont/Knights Landing.
21310 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21312         [BZ #17711]
21313         * config.make.in (have-protected-data): New.
21314         * configure.ac: Check linker support for protected data symbol.
21315         * configure: Regenerated.
21316         * elf/Makefile (modules-names): Add tst-protected1moda and
21317         tst-protected1modb if $(have-protected-data) is yes.
21318         (tests): Add tst-protected1a and tst-protected1b if
21319         $(have-protected-data) is yes.
21320         ($(objpfx)tst-protected1a): New.
21321         ($(objpfx)tst-protected1b): Likewise.
21322         (tst-protected1modb.so-no-z-defs): Likewise.
21323         * elf/tst-protected1a.c: New file.
21324         * elf/tst-protected1b.c: Likewise.
21325         * elf/tst-protected1mod.h: Likewise.
21326         * elf/tst-protected1moda.c: Likewise.
21327         * elf/tst-protected1modb.c: Likewise.
21329 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21331         [BZ #17711]
21332         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21333         indicates it is called from do_lookup_x on relocation against
21334         protected data, skip the data definion in the executable from
21335         copy reloc.
21336         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21337         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21338         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21339         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21340         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21341         otherwise to 0.
21342         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21343         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21344         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21345         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21346         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21347         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21349 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21351         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21352         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21354 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21356         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21357         THREAD_SETMEM_NC.
21358         * sysdeps/x86_64/nptl/tls.h: Ditto.
21360 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21362         * dlfcn/tststatic.c (main): Converted to ...
21363         (do_test): ... this.
21364         (TEST_FUNCTION): New macro.
21365         Include test-skeleton.c.
21367 2015-03-26  Alan Modra  <amodra@gmail.com>
21369         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21370         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21371         zero for undefined weak.
21372         (elf_machine_plt_conflict): Similarly.
21374 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21376         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21377         atanh.
21378         * math/auto-libm-test-out: Regenerated.
21379         * sysdeps/i386/fpu/libm-test-ulps: Update.
21380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382         * math/auto-libm-test-in: Add another test of asin.
21383         * math/auto-libm-test-out: Regenerated.
21384         * sysdeps/i386/fpu/libm-test-ulps: Update.
21385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21387         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21388         Remove macro.
21389         (LLL_EBX_REG): Likewise.
21390         (LLL_ENTER_KERNEL): Likewise.
21392         * math/auto-libm-test-in: Add more tests of asin.
21393         * math/auto-libm-test-out: Regenerated.
21394         * sysdeps/i386/fpu/libm-test-ulps: Update.
21395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21397         [BZ #18138]
21398         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21399         libc_do_syscall_args): New structure.
21400         (INTERNAL_SYSCALL_MAIN_0): New macro.
21401         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21402         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21403         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21404         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21405         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21406         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21407         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21408         Replace conditional definitions by conditional definitions of ....
21409         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21410         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21411         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21412         (libpthread-sysdep_routines): Add libc-do-syscall.
21413         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21414         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21415         to __NR_futex not 240.
21417 2015-03-25  Alan Modra  <amodra@gmail.com>
21419         * NEWS: Advertise TLS optimization.
21420         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21421         (DT_PPC_NUM): Increment.
21422         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21423         (CHECK_STATIC_TLS): Use here.
21424         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21425         TLS descriptors.
21426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21427         * sysdeps/powerpc/dl-tls.c: New file.
21428         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21429         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21430         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21431         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21436 2015-03-25  Alan Modra  <amodra@gmail.com>
21438         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21439         for overlapping .opd entries" to "support...".
21440         * sysdeps/powerpc/powerpc64/configure: Regenerate
21442 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21444         * math/auto-libm-test-in: Add more tests of acos.
21445         * math/auto-libm-test-out: Regenerated.
21446         * sysdeps/i386/fpu/libm-test-ulps: Update.
21447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21449         * math/auto-libm-test-in: Add more tests of expm1.
21450         * math/auto-libm-test-out: Regenerated.
21451         * sysdeps/i386/fpu/libm-test-ulps: Update.
21452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21454 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21456         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21457         * math/auto-libm-test-out: Regenerated.
21458         * sysdeps/i386/fpu/libm-test-ulps: Update.
21459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21461         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21464         * math/auto-libm-test-in: Add more tests of log2.
21465         * math/auto-libm-test-out: Regenerated.
21466         * sysdeps/i386/fpu/libm-test-ulps: Update.
21467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21469 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21471         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21472         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21473         _IO_IS_APPENDING bit in READ_WRITE instead.
21475 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21477         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21478         (__determine_cpumask_size): Replace extend_alloca with a
21479         variable-length array.  Do not treat res == 0 as an error.
21481 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21483         [BZ #18100]
21484         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21485         and integer overflow.
21486         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21487         (main): Add integer overflow tests.
21488         * manual/pattern.texi (Calling Wordexp): Document additional use
21489         for WRDE_SYNTAX.
21491 2015-03-23  Alan Modra  <amodra@gmail.com>
21493         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21494         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21495         and false branch of conditional.
21496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21497         Likewise.
21499 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21501         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21502         libc-modules.h
21503         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21504         unused declaration of _hurd_intr_rpc_msg_in_trap.
21505         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21506         defined instead of whether it is non-zero.
21507         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21508         input constraint instead of both input and output constraint.  Use ecx
21509         clobber instead of %ecx.
21510         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21511         mutex_unlock): Use a statement expression instead of an expression list.
21512         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21513         type to vm_size_t instead of vm_address_t.
21514         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21515         defined instead of whether it is non-zero.
21516         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21517         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21518         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21519         comparisons with mapaddr.
21520         * nscd/nscd-client.h: Include <time.h>.
21521         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21522         9th parameter to __vm_region instead of int.
21523         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21524         * scripts/check-local-headers.sh (exclude): Add device/,
21525         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21526         cthreads.h.
21528 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21530         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21531         to account for alignment padding.
21532         * sysdeps/arm/memmove.S: Likewise.
21534 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21536         * sysdeps/unix/sysv/linux/generic/README: New file.
21538 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21540         [BZ #18138]
21541         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21542         (futex_abstimed_wait)
21543         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21544         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21545         of lll_futex_timed_wait.
21547 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21549         [BZ #17542]
21550         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21552 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21554         [BZ #17090]
21555         [BZ #17620]
21556         [BZ #17621]
21557         [BZ #17628]
21558         * NEWS: Update.
21559         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21560         entries with Static TLS too.  Skip entries past the end of the
21561         allocated DTV, from Alan Modra.
21562         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21563         Static TLS DTV entry set up from...
21564         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21565         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21566         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21567         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21568         for Static TLS.
21569         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21570         that the slot we find is associated with the given map before
21571         using its generation count.
21572         * nptl_db/db_info.c: Include ldsodefs.h.
21573         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21574         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21575         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21576         (link_map::l_tls_offset): New struct field.
21577         (dtv_t::counter): Likewise.
21578         (rtld_global): New struct.
21579         (_rtld_global): New rtld variable.
21580         (dl_tls_dtv_slotinfo_list): New rtld global field.
21581         (dtv_slotinfo_list): New struct.
21582         (dtv_slotinfo): Likewise.
21583         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21584         (td_lookup): Rename to...
21585         (td_mod_lookup): ... this.  Use new mod parameter instead of
21586         LIBPTHREAD_SO.
21587         * nptl_db/td_thr_tlsbase.c: Include link.h.
21588         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21589         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21590         addresses even if the DTV is out of date or missing them.
21591         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21592         index zero-length arrays.
21593         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21594         (td_lookup): Make it a macro implemented in terms of...
21595         (td_mod_lookup): ... this declaration.
21596         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21597         (DB_MAIN_VARIABLE): Likewise.
21599 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21601         [BZ #18134]
21602         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21604 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21606         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21608 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21610         [BZ #18128]
21611         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21612         (atomic_add, atomic_increment_and_test)
21613         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21615 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21617         * stdlib/setenv.c (__add_to_environ):
21618         Dump core quickly if setenv (..., NULL, ...) is called.
21620 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21622         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21623         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21624         all the necessary asm magic in one place.
21625         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21626         using those.
21628 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21630         [BZ #14906]
21631         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21632         traced file mtime. Use consistent log message.
21633         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21634         (register_traced_file): Call install_watches. Always set mtime.
21635         (invalidate_cache): Iterate over all trace files. Call install_watches.
21636         (inotify_check_files): Don't inline. Handle watching parent
21637         directories and configuration file movement in and out.
21638         (handle_inotify_events): New function.
21639         (main_loop_poll): Call handle_inotify_events.
21640         (main_loop_epoll): Likewise.
21641         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21642         (struct traced_file): Use array of inotify fds. Add parent directory,
21643         and basename.
21644         (struct database_dyn): Remove unused file_mtime.
21645         (init_traced_file): New inline function.
21646         (define_traced_file): New macro.
21647         * nss/nss_db/db-init.c: Use define_traced_file.
21648         (_nss_db_init): Use init_traced_file.
21649         * nss/nss_files/files-init.c: Use define_traced_file.
21650         (_nss_files_init): Use init_traced_file.
21652 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21654         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21655         [_LIBC]: Do not include <stdlib.h>.
21656         [!_LIBC] (abort): Remove declaration.
21657         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21658         _FP_STATIC_ASSERT instead of conditionally calling abort.
21659         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21660         (_FP_EXTEND_CNAN): Likewise.
21661         (FP_TRUNC): Likewise.
21662         (__FP_CLZ): Likewise.
21663         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21665 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21667         * manual/string.texi (XPG basename): Fix prototype.
21669 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21671         [BZ #18080]
21672         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21673         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21674         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21675         (__setcontext): Likewise.
21676         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21677         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21678         Call rt_sigprocmask syscall one time to set new signal mask
21679         and retrieve the current signal mask instead of two calls.
21680         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21681         (__swapcontext): Likewise.
21682         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21683         * stdlib/tst-setcontext2.c: New file.
21685 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21687         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21689 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21691         [BZ #18093]
21692         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21693         the wrong size.
21695 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21697         [BZ #18043]
21698         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21700 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21702         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21703         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21704         Remove define.
21705         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21706         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21707         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21708         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21709         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21710         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21711         define.
21712         * nptl_db/td_symbol_list.c (td_lookup): Remove
21713         HAVE_ASM_GLOBAL_DOT_NAME code.
21714         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21715         HAVE_ASM_GLOBAL_DOT_NAME check.
21716         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21717         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21718         (DOT_LABEL): Remove define.
21719         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21720         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21721         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21722         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21723         (__TLS_GET_ADDR): Likewise.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21725         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21727 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21729         [BZ #18111]
21730         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21731         (_FPU_SETCW): Initialize cw from fpsr before storing.
21732         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21733         (fesetexceptflag): Rewrite using fpu_control.h.
21734         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21736 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21738         [BZ #18110]
21739         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21740         asms.
21741         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21743 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21745         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21746         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21747         abort.
21748         (_FP_FMA): Likewise.
21749         (_FP_DIV): Likewise.
21751 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21753         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21754         with 0 in that case.
21755         * Makefile (summarize-tests): New canned sequence, factored out of
21756         commands for targets tests and xtests.  Display summary lines that
21757         don't start with PASS: or XFAIL: rather than ones that do start with
21758         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21759         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21760         do start with ERROR: or FAIL:.
21761         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21762         (except for [$(build-shared) = yes]).
21763         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21764         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21765         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21766         * nptl/Makefile: Revert 2015-03-04 changes.
21767         [$(CXX) empty] (tests-unsupported): New variable.
21768         * debug/Makefile: Likewise.
21770         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21771         gnulib file.  Replace __attribute with __attribute__ throughout.
21773 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21775         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21777 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21779         [BZ #18104]
21780         * math/auto-libm-test-in: Add another test of pow.
21781         * math/auto-libm-test-out: Regenerated.
21783 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21785         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21786         $(config-cflags-nofma).
21788 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21790         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21791         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21792         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21793         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21794         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21795         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21796         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21797         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21798         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21799         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21800         Add comment on closing #endif.
21802 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21804         * posix/wordexp.c (CHAR_IN_SET): New macro.
21805         (parse_param): Use it.
21807 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21809         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21811 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21813         [BZ #18043]
21814         * posix/wordexp.c (parse_param): Fix buffer overflow.
21815         * posix/wordexp-test.c (test_case): Add test case.
21817 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21819         [BZ #18042]
21820         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21821         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21823 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21825         [BZ #18043]
21826         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21827         (do_bz18043): Delete.
21828         (at_page_end): New.
21829         (testit): Refactor to have words at the edge of unreadable page.
21831 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21833         [BZ #16734]
21834         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21835         Cleanup read-only streams as well.
21836         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21838 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21840         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21841         <bits/libc-lockP.h>
21843 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21845         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21846         on [__KERNEL__].
21847         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21848         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21849         * soft-fp/op-common.h (_FP_DECL): Likewise.
21851 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21853         * elf/ifuncdep2.c (global): Replace
21854         __attribute__((visibility("protected"))) with
21855         asm (".protected global").
21856         * elf/ifuncmod1.c (global): Likewise.
21857         * elf/ifuncmod5.c (global): Likewise.
21859 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21861         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21862         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21864 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21866         * manual/install.texi (Configuring and compiling):
21867         Document test-wrapper-env-only.
21868         * INSTALL: Regenerated.
21870 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21872         [BZ #18043]
21873         * posix/wordexp.c (parse_param): Fix buffer overflow.
21874         * posix/wordexp-test.c (do_bz18043): Add test case.
21876 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21878         * time/tst-strptime2.c (do_test): Ensure failing tests are
21879         reported correctly.
21880         * time/tst-strptime3.c (do_test): Likewise.
21882 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21884         Fix aio_error thread-safety.
21885         * sysdeps/pthread/aio_error.c: New file
21886         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21887         synchronization.
21889 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21891         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21892         (group_number, vfprintf): Use it.
21893         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21894         (JUMP, REF): Use it.
21895         (WORK_BUFFER_SIZE): New enum constant.
21896         (process_arg, vfprintf): Use it.
21898 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21900         * manual/errno.texi (Error Messages): Complete example function
21901         by adding missing #define.
21902         (program_invocation_name): Add statement indicating GNU
21903         extension and reference which header file declares the variable.
21904         (program_invocation_short_name): Likewise.
21906 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21908         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21909         compatibility note.
21911 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21913         * Makeconfig (test-wrapper-env-only): New variable.
21914         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21915         then use that with $(test-wrapper-env-only) rather than using
21916         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21918 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21920         [BZ #18082]
21921         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21922         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21923         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21924         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21925         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21926         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21927         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21928         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21929         Likewise.
21930         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21931         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21932         Likewise.
21933         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21934         Likewise.
21935         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21936         Likewise.
21937         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21938         Likewise.
21939         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21940         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21941         Likewise.
21942         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21943         Likewise.
21944         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21945         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21947 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21949         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21950         (ETH_ALEN): New macro.
21951         (struct ether_addr): Use it for length of ether_addr_octet.
21953         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21954         (setdb): Don't call __nss_configure_lookup for "rpc".
21955         (do_test): Don't call test_rpc.
21956         (output_rpcent, test_rpc): Functions moved ...
21957         * sunrpc/test-rpcent.c: ... to this new file.
21958         * sunrpc/Makefile (tests): Add it.
21960         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21961         __xpg_sigpause.
21962         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21963         * nptl/tst-signal6.c: Likewise.
21964         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21965         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21967         * configure.ac (libc_cv_cxx_link_ok): New check.
21968         Reset CXX to empty if it fails to link.
21969         * configure: Regenerated.
21970         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21971         bug-atexit3-lib only if $(CXX) is nonempty.
21972         * nptl/Makefile (tests): Likewise for tst-cancel24.
21973         (tests, tests-static): Likewise for tst-cancel24-static.
21974         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21975         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21976         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21977         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21979 2015-03-04  Andreas Schwab  <schwab@suse.de>
21981         [BZ #17631]
21982         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21983         for non-GCC compilers.
21984         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21985         Likewise.
21987 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21989         [BZ #17776]
21990         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21991         integer before bitwise and assembly operations.
21992         (feclearexcept): Likewise.
21993         * math/test-fenvinline.c: New file.
21994         * math/Makefile: Add test-fenvinline test.
21996 2015-03-03  Alan Modra  <amodra@gmail.com>
21998         [BZ #16512]
21999         * scripts/localplt.awk: Strip off symbol version.
22000         * NEWS: Mention bug fix.
22002 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22004         * sysdeps/pthread/timer_routines.c
22005         (timer_free_list, thread_free_list, thread_active_list): Make static.
22007 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22009         [BZ #17779]
22010         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22011         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22012         Undefine.
22013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22014         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22015         Likewise.
22016         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22017         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22018         Likewise.
22020 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22022         [BZ #18036]
22023         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22024         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22026 2015-03-02  Andreas Schwab  <schwab@suse.de>
22028         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22029         variable name.
22031 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22033         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22034         Return error status.
22036 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22038         [BZ #15969]
22039         * locale/findlocale.c (_nl_find_locale): Introduce const
22040         version of loc_name and drop unsafe type casts.
22042 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22044         * dlfcn/tststatic2.c (main): Converted to ...
22045         (do_test): ... this.
22046         (TEST_FUNCTION): New macro.
22047         Include test-skeleton.c.
22049 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22051         [BZ #17711]
22052         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22053         (tests-pie): Add vismain.
22054         (CFLAGS-vismain.c): New.
22055         * elf/vismain.c: Add comments for PIE requirement.
22057 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22059         [BZ #18046]
22060         [BZ #18047]
22061         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22062         0x1p-56L as threshold for just returning the argument.
22063         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22064         0x1p-32L as threshold for just returning the argument.
22065         * math/auto-libm-test-in: Add more tests of atanh.
22066         * math/auto-libm-test-out: Regenerated.
22067         * sysdeps/i386/fpu/libm-test-ulps: Update.
22068         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22070 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22072         * string/bcopy.c (bcopy): Call memmove for performance.
22074 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22076         * string/bzero.c (__bzero): Call memset for performance.
22078 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22080         [BZ #18068]
22081         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22082         to 00100000.
22084 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22086         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22088 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22090         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22091         (__kernel_standard): Use CSTR macro when setting exc.name.
22092         * sysdeps/ieee754/Makefile [$(subdir) = math]
22093         (CFLAGS-k_standard.c): Remove variable.
22095         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22096         setting p and q from "else if" to "else".
22097         (qzero): Likewise.
22098         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22099         (qone): Likewise.
22100         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22101         (qzerof): Likewise.
22102         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22103         (qonef): Likewise.
22104         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22105         (qzero): Likewise.
22106         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22107         (qone): Likewise.
22109         [BZ #18038]
22110         [BZ #18039]
22111         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22112         return pi/2 for arguments below 0x1p-113L.
22113         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22114         return pi/2 for arguments below 0x1p-106L.
22115         * math/auto-libm-test-in: Add more tests of acos.
22116         * math/auto-libm-test-out: Regenerated.
22118         [BZ #16351]
22119         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22120         (MO): New macro.
22121         (__ieee754_asin): Force underflow exception for results with small
22122         absolute value.
22123         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22124         (MO): New macro.
22125         (__ieee754_asinf): Force underflow exception for results with
22126         small absolute value.
22127         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22128         (__ieee754_asin): Force underflow exception for results with small
22129         absolute value.
22130         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22131         (__ieee754_asinf): Force underflow exception for results with
22132         small absolute value.
22133         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22134         (__ieee754_asinl): Force underflow exception for results with
22135         small absolute value.
22136         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22137         (__ieee754_asinl): Force underflow exception for results with
22138         small absolute value.
22139         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22140         (__ieee754_asinl): Force underflow exception for results with
22141         small absolute value.
22142         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22143         Include <math.h>.
22144         * math/auto-libm-test-in: Do not mark underflow exceptions as
22145         possibly missing for bug 16351.
22146         * math/auto-libm-test-out: Regenerated.
22148         [BZ #18030]
22149         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22150         of power of 2 down when low part has opposite sign.
22151         * math/libm-test.inc (logb_test_data): Add more tests.
22153 2015-02-26  Andreas Schwab  <schwab@suse.de>
22155         [BZ #18032]
22156         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22157         over collating symbol inside a bracket expression.  Minor cleanup.
22158         * posix/tst-fnmatch3.c (do_test): Add test case.
22160 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22162         [BZ #18029]
22163         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22164         Adjust exponent of power of 2 down when low part has opposite
22165         sign.
22166         * math/libm-test.inc (ilogb_test_data): Add more tests.
22168 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22170         [BZ #15969]
22171         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22172         the previous change.
22174         [BZ #15969]
22175         * locale/findlocale.c (_nl_find_locale): Retry archive search
22176         after alias expansion.
22178 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22180         * iconv/tst-iconv3.c (main): Converted to ...
22181         (do_test): ... this.
22182         (TEST_FUNCTION): New macro.
22183         Include test-skeleton.c.
22185         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22186         (convert): Make function static.
22187         (test_unalign): Likewise.  Add const to argument pointee types.
22188         (main): Replace with static function do_test.
22189         Print "Succeeded." only if RET is zero.
22190         (TEST_FUNCTION): New macro.
22191         Include test-skeleton.c.
22193         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22194         returns a null pointer.
22196 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22198         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22199         to __memcpy_ppc only for static builds.
22201 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22203         [BZ #18020]
22204         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22205         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22206         * math/auto-libm-test-in: Add more tests of asinh.
22207         * math/auto-libm-test-out: Regenerated.
22208         * sysdeps/i386/fpu/libm-test-ulps: Update.
22209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22211 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22213         [BZ #15850]
22214         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22215         and ip6_mtuinfo definitions here.
22216         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22217         in this define too.  Update comment.
22219 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22221         * elf/sprof.c (load_shobj): Tweak error message to match others.
22223 2015-02-24  Kevin Easton  <kevin@guarana.org>
22225         [BZ #16145] (partial fix)
22226         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22227         to reduce lock contention.
22229 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22231         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22232         (struct timex): Update time comment.
22233         (ADJ_SETOFFSET): Define.
22235 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22237         [BZ #18019]
22238         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22239         2**56 not 2**28 as threshold for log (2x) formula.
22240         * math/auto-libm-test-in: Add more tests of acosh.
22241         * math/auto-libm-test-out: Regenerated.
22242         * sysdeps/i386/fpu/libm-test-ulps: Update.
22243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22245 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22247         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22248         parenthesis around the buf assignment.
22249         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22251 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22253         [BZ #16783]
22254         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22255         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22256         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22257         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22258         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22259         * math/libm-test.inc (scalb_test_data): Add more tests.
22261 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22263         [BZ #17916]
22264         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22265         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22267 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22269         [BZ #17523]
22270         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22271         * io/bits/fcntl2.h (open): Use it.
22272         (openat): Likewise.
22273         * io/open.c (__libc_open): Likewise.
22274         * io/open64.c (__libc_open64): Likewise.
22275         * io/open64_2.c (__open64_2): Likewise.
22276         * io/open_2.c (__open_2): Likewise.
22277         * io/openat.c (__openat): Likewise.
22278         * io/openat64.c (__openat64): Likewise.
22279         * io/openat64_2.c (__openat64_2): Likewise.
22280         * io/openat_2.c (__openat_2): Likewise.
22281         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22282         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22283         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22284         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22285         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22286         (__open_nocancel): Likewise.
22287         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22288         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22289         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22291 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22293         [BZ #14841]
22294         * resolv/gethnamaddr.c (getanswer): Skip logging if
22295         RES_USE_DNSSEC is set.
22296         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22298 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22300         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22302 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22304         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22305         201304L, for Unicode 7.
22307 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22309         [BZ #17836]
22310         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22311         shared library.  Add gmon-start.os otherwise.
22312         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22313         $(objpfx)gmon-start.os if builing shared library.
22314         ($(objpfx)g$(static-start-installed-name)): Likewise.
22316 2015-02-23  Andreas Schwab  <schwab@suse.de>
22318         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22320 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22322         [BZ #17269]
22323         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22324         (enlarge_userbuf): Likewise.
22326 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22328         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22329         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22330         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22331         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22333 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22335         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22336         expression inside statement expression.
22338 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22340         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22341         <sysdeps/nptl/lowlevellock.h> and remove macros and
22342         functions that are now defined there.
22343         (SYS_futex): Remove.
22344         (lll_compare_and_swap): Remove.
22345         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22347 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22349         [BZ #17999]
22350         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22351         instead of scandirat.
22352         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22353         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22354         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22355         __scandirat.
22356         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22357         (__scandirat): Declare.  Use libc_hidden_proto.
22358         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22359         Remove variable.
22360         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22362 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22364         [BZ #15319]
22365         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22366         (MO): New macro.
22367         (__ieee754_atan2): For results with small absolute value, force
22368         underflow exception and remove excess range and precision from
22369         return value.
22370         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22371         (MO): New macro.
22372         (__ieee754_atan2f): For results with small absolute value, force
22373         underflow exception and remove excess range and precision from
22374         return value.
22375         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22376         (MO): New macro.
22377         (__atan): For results with small absolute value, force underflow
22378         exception and remove excess range and precision from return value.
22379         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22380         (MO): New macro.
22381         (__atanf): For results with small absolute value, force underflow
22382         exception and remove excess range and precision from return value.
22383         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22384         <math.h>.
22385         (__ieee754_atan2): Force underflow exception for results with
22386         small absolute value.
22387         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22388         <math_private.h>.
22389         (atan): Force underflow exception for results with small absolute
22390         value.
22391         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22392         (__atanf): Force underflow exception for results with small
22393         absolute value.
22394         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22395         <math.h>.
22396         (__atanl): Force underflow exception for results with small
22397         absolute value.
22398         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22399         (__atanl): Force underflow exception for results with small
22400         absolute value.
22401         * sysdeps/x86/fpu/bits/mathinline.h
22402         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22403         (__ieee754_atan2): Only define inline for long double.
22404         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22405         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22406         * math/auto-libm-test-in: Do not mark underflow exceptions as
22407         possibly missing for bug 15319.  Add more tests of atan2.
22408         * math/auto-libm-test-out: Regenerated.
22409         * math/libm-test.inc (casin_test_data): Do not mark underflow
22410         exceptions as possibly missing for bug 15319.
22411         (casinh_test_data): Likewise.
22412         * sysdeps/i386/fpu/libm-test-ulps: Update.
22414 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22416         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22417         * sysdeps/mips/bits/endian.h: Fix comments.
22419 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22421         [BZ #17996]
22422         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22423         (hdestroy_r): Likewise.
22424         (hsearch_r): Likewise.
22425         (__hcreate_r): Declare and use libc_hidden_proto.
22426         (__hdestroy_r): Likewise.
22427         (__hsearch_r): Likewise.
22428         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22429         (hcreate): Call __hcreate_r instead of hcreate_r.
22430         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22431         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22432         as weak alias of __hcreate_r.
22433         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22434         __hdestroy_r.
22435         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22436         __hsearch_r.
22437         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22438         Remove variable.
22439         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22440         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22441         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22442         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22444 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22446         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22447         arena_lock into a single arena_get.
22449 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22451         * dl-reloc.c: Inlucde libc-internal.h.
22452         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22453         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22454         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22455         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22456         (grow_heap): Likewise.
22457         * malloc/malloc.c: Include libc-internal.h.
22458         (do_check_malloc): Call powerof2.
22459         (sysmalloc): Use pagesize. Call ALIGN_UP.
22460         (systrim): Use pagesize.
22461         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22462         (__libc_valloc): Use pagesize.
22463         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22465 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22467         [BZ #17991]
22468         * include/sys/resource.h (__getrlimit64): Declare.  Use
22469         libc_hidden_proto.
22470         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22471         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22472         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22473         getrlimit64.
22474         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22475         __getrlimit64.
22476         [!getrlimit64] (getrlimit64): Define as weak alias of
22477         __getrlimit64.  Use libc_hidden_weak.
22478         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22479         using __getrlimit64 not __new_getrlimit64.
22480         (__GI_getrlimit64): Likewise.
22481         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22482         Likewise.
22483         (__GI_getrlimit64): Likewise.
22484         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22486         (getrlimit): Add __getrlimit64 alias.
22487         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22488         Likewise.
22489         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22490         Remove variable.
22491         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22492         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22494 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22496         * libio/fileops.c: Add missing sys/mman.h
22497         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22499 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22501         * manual/math.texi (Errors in Math Functions): Clarify goals
22502         regarding inexact and underflow exceptions.
22504 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22506         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22507         * sysdeps/mips/memset.S: Ditto.
22509 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22511         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22513 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22515         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22516         (__v1longjmp): Remove versioned symbol.
22517         (__v1siglongjmp): Remove alias and versioned symbol.
22518         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22519         (__v2siglongjmp): Likewise.
22521 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22523         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22525 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22527         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22529 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22531         [BZ #17987]
22532         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22533         zero result does not depend on the sign resulting from
22534         subtraction.
22535         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22536         Likewise.
22537         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22538         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22539         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22540         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22541         * math/libm-test.inc (remquo_test_data): Add more tests.
22543 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22545         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22546         Problem reported by J William Piggott.
22548 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22550         [BZ #17978]
22551         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22552         products 4 * y and 2 * y where those would overflow.
22553         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22554         Likewise.
22555         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22556         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22557         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22558         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22559         * math/libm-test.inc (remquo_test_data): Add more tests.
22561         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22563         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22564         [defined _COMPILING_NEWLIB].
22565         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22566         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22568         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22569         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22571 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22573         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22574         acquired.
22576 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22578         [BZ #17792]
22579         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22580         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22581         HOST_STACK_END_ADDR): Likewise.
22583 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22585         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22586         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22587         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22589 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22591         * sysdeps/generic/c++-types.data: New file.
22592         * sysdeps/generic/ld.abilist: New file.
22593         * sysdeps/generic/libBrokenLocale.abilist: New file.
22594         * sysdeps/generic/libanl.abilist: New file.
22595         * sysdeps/generic/libc.abilist: New file.
22596         * sysdeps/generic/libcrypt.abilist: New file.
22597         * sysdeps/generic/libdl.abilist: New file.
22598         * sysdeps/generic/libm.abilist: New file.
22599         * sysdeps/generic/libpthread.abilist: New file.
22600         * sysdeps/generic/libresolv.abilist: New file.
22601         * sysdeps/generic/librt.abilist: New file.
22603 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22605         [BZ #17569]
22606         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22607         Compute absolute value of x as modified by fmod, not original
22608         value of x.
22609         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22610         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22611         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22612         RUN_TEST_ffI_f1_mod8.
22613         (remquo_test_data): Add more tests.
22615 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22617         * sysdeps/init_array/pt-crti.S: New file.
22619 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22621         [BZ #17967]
22622         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22623         __builtin_fmaf instead of relying on contraction of a * b + c.
22625 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22627         [BZ #17969]
22628         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22629         node.
22631 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22633         [BZ #17964]
22634         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22635         __builtin_fma instead of relying on contraction of a * b + c.
22637 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22639         * Makeconfig (ASFLAGS): Add -Werror=undef.
22640         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22641         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22642         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22644         * Makeconfig (after-link): New variable.
22645         (+link-pie, +link-pie-tests): Use it.
22646         (+link-static, +link-static-tests): Likewise.
22647         (+link, +link-tests): Likewise.
22648         * Makerules (build-module, build-module-asneeded): Likewise.
22649         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22650         Likewise.
22651         * elf/Makefile ($(objpfx)ld.so): Likewise.
22653 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22655         [BZ #17965]
22656         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22657         both struct timeval and struct timespec.
22659 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22661         [BZ #16560]
22662         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22663         and redefine.
22664         (__ieee754_exp2l): Do not multiply small fractional parts by
22665         M_LN2l.
22666         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22667         small argument.
22668         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22669         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22670         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22671         * math/auto-libm-test-in: Add more tests of exp2.
22672         * math/auto-libm-test-out: Regenerated.
22674 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22676         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22677         unaligned path.
22679 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22681         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22682         little endian.
22684 2015-02-12  Andreas Schwab  <schwab@suse.de>
22686         [BZ #15790]
22687         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22688         Filter out elision flags from value returned in kind.
22689         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22690         * nptl/tst-pthread-mutexattr.c: New file.
22692 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22694         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22695         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22696         into gnu-gnu, and update comment to refer to abi-tags.
22698 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22700         [BZ #15467]
22701         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22702         (__sincos): Set errno to EDOM for infinite argument.
22703         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22704         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22705         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22706         (__sincosl): Set errno to EDOM for infinite argument.
22707         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22708         (__sincosl): Set errno to EDOM for infinite argument.
22709         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22710         (__sincosl): Set errno to EDOM for infinite argument.
22711         * math/libm-test.inc (sincos_test_data): Test errno setting.
22713 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22715         * string/strxfrm_l.c: Remove #define STRCMP.
22716         * string/strcoll_l.c: Remove #define STRLEN.
22717         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22718         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22720 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22722         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22723         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22724         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22725         * sysdeps/mips/mips64/Makefile: ... here.
22726         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22727         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22728         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22729         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22730         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22731         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22732         * sysdeps/mips/mips64/n64/Implies: Likewise.
22734 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22736         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22737         <sys/time.h>, <string.h>, and <errno.h>.
22738         (dest_offset, dest_address, value, zero): Remove unused variables.
22739         (ldouble): Remove typedef.
22740         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22741         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22742         1).  Fix code style.
22743         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22744         (check): Function removed.
22745         (CHECK): New macro.
22746         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22747         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22748         Don't call set_sigaction_FP and remove_sigaction_FP here.
22749         (ldouble_test): Just use 'long double' as macro argument, no need for
22750         the 'ldouble' typedef.
22751         (do_test): Set up SIGFPE handler at start, using plain signal rather
22752         than sigaction.  Fix code style.
22754 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22756         [BZ #17949]
22757         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22758         jump label.
22760 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22762         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22763         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22765         * sysdeps/powerpc/configure.ac: Remove file.
22766         * sysdeps/powerpc/configure: Likewise.
22768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22769         [sysdep_routines]: Remove wordcopy-power6 object.
22770         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22771         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22772         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22773         (__memmove_ppc32): Likewise.
22774         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22775         file.
22776         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22777         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22778         Remove preprocessor.
22780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22781         [sysdep_routines]: Remove wide chars objects.
22782         [wcsmbs]: New rule for wide char objects.
22784         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22785         Remove wordcopy-power6 obejct.
22786         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22787         Use local call for wordcopy and memcpy symbols.
22788         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22789         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22790         implementation for loader.
22791         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22793         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22794         Remove wordcopy-power7 object.
22795         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22796         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22797         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22798         (_wordcopy_fwd_dest_aligned): Likewise.
22799         (_wordcopy_bwd_aligned): Likewise.
22800         (_wordcopy_bwd_dest_aligned): Likewise.
22802         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22803         Rewrite to call __memmove_ppc instead of include default
22804         implementation.
22806         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22807         Remove wide chars objects.
22808         [wcsmbs]: New rule for wide char objects.
22810 2015-02-09  Andreas Schwab  <schwab@suse.de>
22812         [BZ #17912]
22813         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22814         in terms of __O_DIRECTORY.
22816 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22818         * time/getdate.c: Include <stdbool.h>.
22819         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22820         call PTR_MANGLE.
22821         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22822         PTR_DEMANGLE.
22824 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22826         Add ersatz _Static_assert on older C hosts
22827         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22828         pre-C11 C platform that is not known to support _Static_assert.
22830 2015-02-07  Richard Braun  <rbraun@sceen.net>
22832         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22833         sigstate.
22834         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22836 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22838         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22839         priority against unexistent AIO_PRIO_DELTA_MAX.
22840         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22841         instead of int.
22842         * misc/fchflags.c (fchflags): Likewise.
22843         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22844         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22845         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22846         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22847         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22848         Declare macros.
22849         [__USE_MISC] (chflags, fchflags): Declare functions.
22850         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22851         EINVAL when nfds is greater than FD_SETSIZE.
22852         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22853         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22854         45.
22855         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22856         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22857         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22858         MACH_RCV_TIMED_OUT.
22859         * hurd/hurd/signal.h (_hurd_self_sigstate,
22860         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22861         Explicit casts from void *.
22862         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22863         * abi-tags: Rename gnu-gnu os into gnu.
22865         [BZ #4719]
22866         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22867         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22868         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22869         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22870         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22871         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22873         [BZ #17944]
22874         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22875         duplicates ADDR->sun_path with sockaddr LEN limitation.
22876         * sysdeps/mach/hurd/connect.c: Include <string.h>
22877         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22878         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22879         * sysdeps/mach/hurd/sendto.c: Likewise.
22880         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22881         implementing it by hand.
22883 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22885         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22886         Use sfi_breg on ldr.
22887         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22888         Likewise.
22890         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22891         it's defined.
22892         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22893         Test SIGSETXID only if it's defined.
22895         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22897         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22898         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22900         * nptl/tst-align2.c: Moved ...
22901         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22902         * nptl/Makefile (tests): Remove tst-align2.
22903         * sysdeps/unix/sysv/linux/Makefile
22904         [$(subdir) = nptl] (tests): Add tst-align-clone.
22905         * nptl/tst-getpid1.c: Moved ...
22906         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22907         * nptl/tst-getpid2.c: Moved ...
22908         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22909         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22910         * sysdeps/unix/sysv/linux/Makefile
22911         [$(subdir) = nptl] (tests): ... here.
22912         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22913         * sysdeps/unix/sysv/linux/Makefile
22914         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22916         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22917         Drop trailing \n from perror argument.  Use return rather than exit.
22919         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22920         on [SA_SIGINFO].
22921         * nptl/tst-cancel21.c (do_test): Likewise.
22922         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22923         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22924         [!SA_SIGINFO]: Make it a stub test.
22926         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22927         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22929         * posix/tst-getlogin.c: Move to ...
22930         * login/tst-getlogin.c: ... here.
22931         * posix/Makefile (tests): Move tst-getlogin to ...
22932         * login/Makefile (tests): ... here.
22934         * libio/tst-atime.c (do_test): Move local variables SV and E
22935         inside [ST_NOATIME] conditional.
22937         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22939         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22941         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22942         (wait_code): New function replaces macro.
22943         Call nanosleep rather than syscall.
22945         * nptl/pt-system.c: Rewritten.  Put everything under
22946         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22947         Use IFUNC to redirect when possible.
22949         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22950         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22951         Use IFUNC to redirect when possible.
22953         * nptl/pt-fork.c: Rewritten.  Put everything under
22954         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22955         Use IFUNC to redirect when possible.
22956         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22958         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22959         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22960         unconditionally nowadays.  This included the only reference to
22961         __vdso_clock_gettime that appears outside libc proper.
22962         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22963         Remove version set (containing only __vdso_clock_gettime).
22964         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22965         Add attribute_hidden.
22966         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22967         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22968         libc_hidden_data_def.
22969         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22970         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22972         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22973         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22974         setrpcent, and getrpcport to ...
22975         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22976         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22977         getrpcbynumber_r, and getrpcent_r to ...
22978         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22979         * inet/getrpcbyname.c: Moved ...
22980         * sunrpc/getrpcbyname.c: ... here.
22981         * inet/getrpcbyname_r.c: Moved ...
22982         * sunrpc/getrpcbyname_r.c: ... here.
22983         * inet/getrpcbynumber.c: Moved ...
22984         * sunrpc/getrpcbynumber.c: ... here.
22985         * inet/getrpcbynumber_r.c: Moved ...
22986         * sunrpc/getrpcbynumber_r.c: ... here.
22987         * inet/getrpcent.c: Moved ...
22988         * sunrpc/getrpcent.c: ... here.
22989         * inet/getrpcent_r.c: Moved ...
22990         * sunrpc/getrpcent_r.c: ... here.
22991         * inet/Makefile (routines): Move those to ...
22992         * sunrpc/Makefile (routines): ... here.
22993         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22994         the $(subdirs) list.
22995         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22996         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22997         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22998         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23000         * elf/Makefile (routines): Include $(all-dl-routines), not just
23001         $(dl-routines).
23002         (rtld-routines): Likewise.  Use = rather than :=.
23003         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23004         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23005         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23006         * sysdeps/arm/Makefile: Likewise.
23007         * sysdeps/i386/Makefile: Likewise.
23008         * sysdeps/x86_64/Makefile: Likewise.
23009         * sysdeps/hppa/Makefile [$(subdir) = elf]
23010         (sysdep_routines, sysdep-rtld-routines): Don't add
23011         $(sysdep-dl-routines) to these.
23012         * sysdeps/ia64/Makefile: Likewise.
23013         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23014         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23015         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23016         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23017         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23018         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23019         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23020         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23021         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23022         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23023         these; sysdep-dl-routines alone is enough.
23025 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23027         [BZ #17932]
23028         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23029         where multiplication results in zero and third argument is finite
23030         and nonzero.
23031         * math/auto-libm-test-in: Add more tests of fma.
23032         * math/auto-libm-test-out: Regenerated.
23034         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23035         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23036         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23037         (_FP_CMP_EQ): Likewise.
23038         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23040         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23041         extra argument CHECK_NAN.  Redefine as wrapper around
23042         _FP_EXTEND_CNAN.
23044 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23046         * version.h (RELEASE): Set to "stable".
23047         (VERSION): Set to "2.21"
23048         * include/features.h (__GLIBC_MINOR__): Set to 21.
23050         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23052 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23053             Paul Eggert  <eggert@cs.ucla.edu>
23055         [BZ #16618]
23056         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23057         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23058         size in bytes. Store needed elements in wpmax. Use needed size
23059         in bytes for extend_alloca.
23061 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23063         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23064         binutls 2.25, and texinfo 5.2.
23065         * INSTALL: Regenerate.
23066         * sysdeps/nios2/configure: Regenerate.
23067         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23068         * manual/contrib.texi: Update.
23069         * po/be.po: Update.
23070         * po/bg.po: Update.
23071         * po/ca.po: Update.
23072         * po/cs.po: Update.
23073         * po/da.po: Update.
23074         * po/de.po: Update.
23075         * po/el.po: Update.
23076         * po/eo.po: Update.
23077         * po/es.po: Update.
23078         * po/fi.po: Update.
23079         * po/fr.po: Update.
23080         * po/gl.po: Update.
23081         * po/hr.po: Update.
23082         * po/hu.po: Update.
23083         * po/ia.po: Update.
23084         * po/id.po: Update.
23085         * po/it.po: Update.
23086         * po/ja.po: Update.
23087         * po/ko.po: Update.
23088         * po/lt.po: Update.
23089         * po/nb.po: Update.
23090         * po/nl.po: Update.
23091         * po/pl.po: Update.
23092         * po/pt_BR.po: Update.
23093         * po/ru.po: Update.
23094         * po/rw.po: Update.
23095         * po/sk.po: Update.
23096         * po/sl.po: Update.
23097         * po/sv.po: Update.
23098         * po/tr.po: Update.
23099         * po/uk.po: Update.
23100         * po/vi.po: Update.
23101         * po/zh_CN.po: Update.
23102         * po/zh_TW.po: Update.
23104         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23105         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23106         * sysdeps/hppa/dl-irel.h: Remove #warning.
23107         * sysdeps/hppa/entry.h: Provide prototype for
23108         __canonicalize_funcptr_for_compare and cast argument.
23109         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23110         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23111         * sysdeps/hppa/sotruss-lib.c: New file.
23112         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23113         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23114         (atomic_compare_and_exchange_bool_acq): Likewise.
23115         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23116         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23118         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23119         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23120         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23122 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23124         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23125         called function in non-PIC case.
23127 2015-01-31  David S. Miller  <davem@davemloft.net>
23129         * sysdeps/sparc/sparc32/bits/atomic.h
23130         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23131         unlock not after it.
23132         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23133         volatile register usage warnings from the compiler.
23135         * sysdeps/sparc/nptl/sem_init.c: Delete.
23136         * sysdeps/sparc/nptl/sem_post.c: Delete.
23137         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23138         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23139         * sysdeps/sparc/sparc32/sem_init.c: New file.
23140         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23141         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23142         padding explicitly initialized.
23143         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23144         padding for in-semaphore spinlock.
23145         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23146         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23147         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23148         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23149         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23150         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23151         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23152         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23153         version.
23154         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23155         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23157 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23159         [BZ #17801]
23160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23161         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23162         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23163         New.
23164         (index_AVX_Fast_Unaligned_Load): Likewise.
23165         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23166         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23167         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23168         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23169         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23170         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23171         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23172         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23173         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23175 2015-01-29  Andreas Schwab  <schwab@suse.de>
23177         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23179 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23181         [BZ #17892]
23182         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23184 2015-01-28  Martin Sebor  <msebor@redhat.com>
23186         * math/README.libm-test: Clarify. Add "How to read the test output."
23188 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23190         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23191         Define to 0.
23193 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23195         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23196         (__HAVE_64B_ATOMICS): Define to 0.
23198 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23200         [BZ #17885]
23201         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23202         value to set as new flag.
23204         [BZ #16576]
23205         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23206         and use _ARCH_PPCSQ instead.
23207         (__ieee754_sqrt): Likewise.
23208         (__ieee754_sqrtf): Likewise.
23209         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23210         _ARCH_PPCSQ is defined.
23211         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23212         fsqrt instruction.
23213         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23214         _ARCH_PPCSQ is defined.
23215         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23216         fsqrts instruction.
23217         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23219 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23221         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23222         bug (GCC BZ #64739).
23224 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23226         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23227         Mark _retval as used.
23228         (lll_futex_wake_unlock): Likewise.
23229         (lll_futex_timed_wait_requeue_pi): Likewise.
23231         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23232         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23233         register variables.
23235         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23236         libm_hidden_def.
23238         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23239         (__bswap_64): Mark as __always_inline.
23241 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23243         [BZ #15378]
23244         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23245         when none of the search directories exist.
23247 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23249         [BZ #17869]
23250         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23251         power8 in .machine directive.
23253         [BZ #17868]
23254         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23255         set dependency from opd value.
23257 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23260         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23261         architecture.
23263 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23265         [BZ #17870]
23266         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23267         with uint64_t.
23268         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23269         (uint64_t) 1.
23270         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23271         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23272         Replace 1UL with (uint64_t) 1.
23273         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23274         int with uint64_t.
23276 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23278         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23279         (if_freenameindex): Likewise.
23281         * resource/getrlimit64.c: Add missing libc_hidden_def.
23283 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23285         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23286         __label__.
23287         (_FP_FMA): Likewise.
23288         (_FP_TO_INT_ROUND): Likewise.
23289         (_FP_FROM_INT): Likewise.
23291 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23293         [BZ #16418]
23294         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23295         Make code racy and cancel safe.
23297 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23299         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23300         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23301         attribution.
23303         * pwd/tst-getpw.c: Rewrite.
23305         [BZ #17702]
23306         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23307         (modules-names): Add moddummy1 and moddummy2.
23308         ($(objpfx)tst-rec-dlopen): Define.
23309         * dlfcn/moddummy1.c: New file.
23310         * dlfcn/moddummy2.c: New file.
23311         * dlfcn/tst-rec-dlopen.c: New file.
23312         * elf/dl-cache.c (_dl_load_cache_lookup):
23313         Return char*. Copy result with alloca/strcpy/strdup.
23314         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23315         returns char*. Free cached. If not saving realname
23316         free cached.
23317         * elf/dl-open.c (dl_open_worker): Do not assert that
23318         _r_debug->r_state is RT_CONSISTENT.
23319         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23320         returns char*.
23322 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23323             Carlos O'Donell  <carlos@redhat.com>
23325         [BZ #12674]
23326         * nptl/sem_waitcommon.c: New file.
23327         * nptl/sem_wait.c: Include sem_waitcommon.c.
23328         (__sem_wait_cleanup, do_futex_wait): Remove.
23329         (__new_sem_wait): Adapt.
23330         (__new_sem_trywait): New function.
23331         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23332         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23333         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23334         (sem_timedwait): Adapt.
23335         * nptl/sem_post.c (__new_sem_post): Adapt.
23336         (futex_wake): New function.
23337         (__old_sem_post): Add release MO fence.
23338         * nptl/sem_open.c (sem_open): Adapt.
23339         * nptl/sem_init.c (__new_sem_init): Adapt.
23340         (futex_private_if_supported): New function.
23341         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23342         (__old_sem_getvalue): Add using previous code.
23343         * sysdeps/nptl/internaltypes.h: Adapt.
23344         * nptl/tst-sem13.c (do_test): Adapt.
23345         * nptl/tst-sem11.c (main): Adapt.
23346         * nptl/sem_trywait.c: Remove.
23347         * nptl/DESIGN-sem.txt: Remove.
23348         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23349         (gen-as-const-headers): Remove structsem.sym.
23350         * nptl/structsem.sym: Remove.
23351         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23352         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23353         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23354         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23355         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23356         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23357         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23358         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23359         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23360         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23361         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23362         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23363         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23364         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23365         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23366         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23367         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23368         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23369         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23370         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23371         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23372         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23374 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23376         * INSTALL: Regenerated.
23378         * po/libc.pot: Regenerated.
23380 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23381             Sandra Loosemore  <sandra@codesourcery.com>
23382             Andrew Jenner  <andrew@codesourcery.com>
23383             Joseph Myers  <joseph@codesourcery.com>
23384             Nathan Sidwell  <nathan@codesourcery.com>
23386         * NEWS: Mention new Nios II port.
23387         * sysdeps/nios2/Implies: New file.
23388         * sysdeps/nios2/Makefile: New file.
23389         * sysdeps/nios2/Subdirs: New file.
23390         * sysdeps/nios2/Versions: New file.
23391         * sysdeps/nios2/__longjmp.S: New file.
23392         * sysdeps/nios2/abort-instr.h: New file.
23393         * sysdeps/nios2/backtrace.c: New file.
23394         * sysdeps/nios2/bits/endian.h: New file.
23395         * sysdeps/nios2/bits/fenv.h: New file.
23396         * sysdeps/nios2/bits/link.h: New file.
23397         * sysdeps/nios2/bits/setjmp.h: New file.
23398         * sysdeps/nios2/bsd-_setjmp.S: New file.
23399         * sysdeps/nios2/bsd-setjmp.S: New file.
23400         * sysdeps/nios2/configure: New generated file.
23401         * sysdeps/nios2/configure.ac: New file.
23402         * sysdeps/nios2/crti.S: New file.
23403         * sysdeps/nios2/crtn.S: New file.
23404         * sysdeps/nios2/dl-init.c: New file.
23405         * sysdeps/nios2/dl-machine.h: New file.
23406         * sysdeps/nios2/dl-sysdep.h: New file.
23407         * sysdeps/nios2/dl-tls.h: New file.
23408         * sysdeps/nios2/dl-trampoline.S: New file.
23409         * sysdeps/nios2/gccframe.h: New file.
23410         * sysdeps/nios2/gmp-mparam.h: New file.
23411         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23412         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23413         * sysdeps/nios2/ldsodefs.h: New file.
23414         * sysdeps/nios2/libc-tls.c: New file.
23415         * sysdeps/nios2/libm-test-ulps: New file.
23416         * sysdeps/nios2/machine-gmon.h: New file.
23417         * sysdeps/nios2/math-tests.h: New file.
23418         * sysdeps/nios2/math_private.h: New file.
23419         * sysdeps/nios2/memusage.h: New file.
23420         * sysdeps/nios2/nptl/Makefile: New file.
23421         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23422         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23423         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23424         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23425         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23426         * sysdeps/nios2/nptl/tls.h: New file.
23427         * sysdeps/nios2/preconfigure: New file.
23428         * sysdeps/nios2/s_fma.c: New file.
23429         * sysdeps/nios2/s_fmaf.c: New file.
23430         * sysdeps/nios2/setjmp.S: New file.
23431         * sysdeps/nios2/sfp-machine.h: New file.
23432         * sysdeps/nios2/sotruss-lib.c: New file.
23433         * sysdeps/nios2/stackguard-macros.h: New file.
23434         * sysdeps/nios2/stackinfo.h: New file.
23435         * sysdeps/nios2/start.S: New file.
23436         * sysdeps/nios2/sysdep.h: New file.
23437         * sysdeps/nios2/tls-macros.h: New file.
23438         * sysdeps/nios2/tst-audit.h: New file.
23439         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23440         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23441         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23442         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23443         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23444         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23445         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23446         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23447         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23448         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23449         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23450         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23451         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23452         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23453         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23454         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23455         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23456         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23457         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23458         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23459         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23460         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23461         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23462         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23463         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23464         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23465         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23466         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23467         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23468         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23469         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23470         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23471         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23472         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23473         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23474         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23475         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23476         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23477         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23478         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23479         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23480         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23481         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23482         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23484 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23486         [BZ #17844]
23487         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23488         (getutent): Use weak_alias in non SHARED case
23489         and default_symbol_version in SHARED case.
23490         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23491         (getutent_r, pututline): Likewise.
23492         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23493         (getutid): Likewise.
23494         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23495         (getutid_r): Likewise.
23496         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23497         (getutline): Likewise.
23498         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23499         (getutline_r): Likewise.
23500         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23501         (updwtmp): Likewise.
23503 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23505         [BZ #17848]
23506         * sysdeps/s390/s390-32/memcmp.S
23507         (memcmp_g5): Rename to __memcmp_g5.
23508         * sysdeps/s390/s390-32/memcpy.S
23509         (memcpy_g5): Rename to __memcpy_g5.
23510         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23511         (memcpy_mvcle) Rename to __memcpy_mvcle.
23512         * sysdeps/s390/s390-32/memset.S
23513         (memset_g5): Rename to __memset_g5.
23514         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23515         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23516         and use prefixed functions.
23517         * sysdeps/s390/s390-32/multiarch/memcmp.S
23518         (memcmp_z196): Rename to __memcmp_z196.
23519         (memcmp_z10): Rename to __memcmp_z10.
23520         (memcmp): Set alias to __memcmp_g5.
23521         (bcmp): Set alias to __memcmp_g5.
23522         * sysdeps/s390/s390-32/multiarch/memcpy.S
23523         (memcpy_z196): Rename to __memcpy_z196.
23524         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23525         (memcpy_z10): Rename to __memcpy_z10.
23526         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23527         (memcpy): Set alias to __memcpy_g5.
23528         * sysdeps/s390/s390-32/multiarch/memset.S
23529         (memset_z196): Rename to __memset_z196.
23530         Jump to __memset_mvcle instead of memset_mvcle.
23531         (memset_z10): Rename to __memset_z10.
23532         Jump to __memset_mvcle instead of memset_mvcle.
23533         (memset_mvcle) Rename to __memset_mvcle.
23534         (memset): Set alias to __memset_g5.
23535         * sysdeps/s390/s390-64/memcmp.S
23536         (memcmp_z900): Rename to __memcmp_z900.
23537         * sysdeps/s390/s390-64/memcpy.S
23538         (memcpy_z900): Rename to __memcpy_z900.
23539         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23540         (memcpy_mvcle) Rename to __memcpy_mvcle.
23541         * sysdeps/s390/s390-64/memset.S
23542         (memset_z900): Rename to __memset_z900.
23543         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23544         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23545         and use prefixed functions.
23546         * sysdeps/s390/s390-64/multiarch/memcmp.S
23547         (memcmp_z196): Rename to __memcmp_z196.
23548         (memcmp_z10): Rename to __memcmp_z10.
23549         (memcmp): Set alias to __memcmp_z900.
23550         (bcmp): Set alias to __memcmp_z900.
23551         * sysdeps/s390/s390-64/multiarch/memcpy.S
23552         (memcpy_z196): Rename to __memcpy_z196.
23553         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23554         (memcpy_z10): Rename to __memcpy_z10.
23555         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23556         (memcpy): Set alias to __memcpy_z900.
23557         * sysdeps/s390/s390-64/multiarch/memset.S
23558         (memset_z196): Rename to __memset_z196.
23559         Jump to __memset_mvcle instead of memset_mvcle.
23560         (memset_z10): Rename to __memset_z10.
23561         Jump to __memset_mvcle instead of memset_mvcle.
23562         (memset_mvcle) Rename to __memset_mvcle.
23563         (memset): Set alias to __memset_z900.
23565 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23567         [BZ #17748]
23568         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23569         __fesetenv instead of fesetenv.
23571 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23573         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23574         macro.
23576 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23578         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23579         regression on LE.
23581         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23582         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23583         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23584         strncmp-power8 object.
23585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23586         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23587         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23588         * NEWS: Update.
23590 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23591             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23593         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23594         trailing byte check.
23596 2015-01-13  David S. Miller  <davem@davemloft.net>
23598         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23600 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23602         * login/logout.c (logout): Use memset rather than bzero.
23603         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23604         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23605         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23606         (_gethtbyaddr): Likewise.
23607         * locale/programs/simple-hash.c (bcopy): Macro removed.
23609 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23611         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23612         Add strcmp-power8 object.
23613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23614         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23615         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23616         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23617         __strcmp_power8 implementation.
23618         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23619         * NEWS: Update.
23621         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23622         Add strncpy-power8 and stpncpy-power8 objects.
23623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23624         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23625         implementations.
23626         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23627         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23628         __stpncpy_power8 implementation.
23629         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23630         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23631         __strncpy_power8 implementation.
23632         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23633         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23634         * NEWS: Update.
23636         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23637         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23638         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23640         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23641         strncat-power8 object.
23642         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23643         __strcat_power8 implementation.
23644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23645         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23646         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23647         optimized strcat for power8.
23649         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23650         strcpy-power8 and stpcpy-power8 objects.
23651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23652         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23653         implementations.
23654         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23655         multiarch stpcpy implementation for POWER8.
23656         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23657         multiarch strcpy implementation for POWER8.
23658         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23659         __strcpy_power8 function.
23660         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23661         stpcpy for POWER8.
23662         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23663         strcpy for POWER8.
23664         * NEWS: Update.
23666 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23668         [BZ #16009]
23669         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23670         weights and rules. Use do_xfrm_cached if data fits in cache,
23671         do_xfrm otherwise.  Moved former main loop to...
23672         * (do_xfrm_cached): New function.
23673         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23674         find_idx, find_position and stack_push.
23675         * (find_idx): New function.
23676         * (find_position): Likewise.
23677         * localedata/sort-test.sh: Added test run for do_xfrm.
23678         * localedata/xfrm-test.c (main): Added command line option
23679         -nocache to run the test with strings that are too large for
23680         the STRXFRM cache.
23682 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23684         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23685         variable to lll_futex_wake call, not the value itself.
23687 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23689         [BZ #17803]
23690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23691         twom64.  Adjust value to 0x1p-64L.
23692         (__scalblnl): Only return standard underflowing result for K <=
23693         -64 not K <= -63; adjust exponent for underflowing result by 64
23694         not 63.
23695         * math/libm-test.inc (scalbn_test_data): Add more tests.
23696         (scalbln_test_data): Likewise.
23698         [BZ #17834]
23699         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23700         0x1p63L.
23701         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23702         not HX.
23703         * math/libm-test.inc (scalbn_test_data): Add more tests.
23704         (scalbln_test_data): Likewise.
23706 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23707             Stefani Seibold  <stefani@seibold.net>
23709         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23710         (sysdep_routines): Add dl-vdso here, ...
23711         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23712         (sysdep_routines): ... not here.
23713         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23714         fallback when vDSO is not presented.
23715         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23716         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23717         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23718         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23719         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23720         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23721         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23722         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23723         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23724         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23725         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23726         fallback configurable symbol when vDSO is not available.
23727         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23728         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23729         be able to redefine fallback symbol when vDSO is not available.
23730         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23731         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23733 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23735         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23736         (TLS_INIT_TP): Add tm_capable initialization.
23737         (TLS_DEFINE_INIT_TP): Likewise.
23738         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23739         TCB.
23740         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23741         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23742         calculation.
23743         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23744         transactoion is lock elision is built and TCB tm_capable is set.
23745         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23747         (INTERNAL_SYSCALL_NCS): Likewise.
23748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23749         (INTERNAL_SYSCALL_NCS): Likewise.
23750         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23752         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23753         for powerpc.
23754         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23755         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23756         and remove it for 32 bits case.
23757         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23758         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23759         initialization.
23760         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23761         Disable lock elision with rdlocks if elision is not available.
23763         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23764         (sysdep_routines): Add lock elision objects.
23765         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23766         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23767         [pthread_mutex_t] (__elision): Add field.
23768         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23769         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23770         elision definitions for powerpc.
23771         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23772         implementation of lock elision for powerpc.
23773         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23774         implementation of timed lock elision for powerpc.
23775         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23776         implementation of trylock with lock elision for powerpc.
23777         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23778         implementaion of unlock for lock elision for powerpc.
23779         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23780         automatic enable lock elision for mutexes.
23781         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23782         transaction execution definitions for powerpc.
23783         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23784         definitions.
23785         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23786         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23787         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23788         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23789         * NEWS: Update.
23791 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23793         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23794         for #include of <shm-directory.h>.
23796 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23798         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23799         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23801 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23803         [BZ #17791]
23804         * NEWS: Mention bug fix.
23805         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23806         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23807         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23809 2015-01-09  Torvald Riegel <triegel@redhat.com>
23811         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23813 2015-01-09  Torvald Riegel <triegel@redhat.com>
23815         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23817 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23819         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23820         pointer and cast to uintptr_t.
23822 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23824         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23825         removed.
23826         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23828 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23830         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23831         of 0.
23833 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23835         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23836         <nptl/pthreadP.h> instead.
23837         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23839         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23840         already defined.
23841         [__SIGRTMIN] (init): Function removed.
23842         [__SIGRTMIN] (initialized): Variable removed.
23843         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23844         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23845         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23846         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23847         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23848         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23849         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23850         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23851         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23852         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23853         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23854         * sysdeps/nptl/allocrtsig.c: New file.
23855         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23856         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23857         * sysdeps/generic/testrtsig.h: File removed.
23859         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23860         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23862         * nptl/nptl-init.c (pthread_functions): Conditionalize
23863         .ptr__nptl_setxid initialization on [SIGSETXID].
23865         * sysdeps/nptl/sys/procfs.h: New file.
23866         * nptl_db/Makefile (headers): Add it.
23867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23869         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23870         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23871         * nptl/pthread_attr_setaffinity.c: Include it.
23872         * nptl/pthread_setattr_default_np.c: Likewise.
23873         * nptl/check-cpuset.h: New file.
23875 2015-01-08  Richard Henderson  <rth@redhat.com>
23877         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23878         (CFLAGS-tst-execstack-prog.c): Likewise.
23879         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23881 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23882             Sandra Loosemore  <sandra@codesourcery.com>
23883             Andrew Jenner  <andrew@codesourcery.com>
23884             Joseph Myers  <joseph@codesourcery.com>
23885             Nathan Sidwell  <nathan@codesourcery.com>
23887         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23888         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23889         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23890         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23891         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23892         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23893         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23894         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23895         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23896         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23897         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23898         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23899         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23900         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23901         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23902         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23903         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23905 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23907         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23908         timespec struct member in syscall macro.
23909         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23910         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23911         first timeval struct member in syscall macro.
23912         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23914 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23916         [BZ #17748]
23917         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23918         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23919         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23920         __feupdateenv and define as weak alias of __feupdateenv.  Use
23921         libm_hidden_weak.
23922         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23923         libm_hidden_def.
23924         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23925         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23926         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23927         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23928         libm_hidden_def.
23929         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23930         __feupdateenv and define as weak alias of __feupdateenv.  Use
23931         libm_hidden_weak.
23932         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23933         libm_hidden_def.
23934         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23935         __feupdateenv and define as weak alias of __feupdateenv.  Use
23936         libm_hidden_weak.
23937         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23938         libm_hidden_def.
23939         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23940         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23941         (__feupdateenv): Likewise.
23942         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23943         __feupdateenv and define as weak alias of __feupdateenv.  Use
23944         libm_hidden_weak.
23945         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23946         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23947         libm_hidden_def.
23948         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23949         function.
23950         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23951         libm_hidden_def.
23952         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23953         __feupdateenv instead of feupdateenv.
23954         (default_libc_feupdateenv_test): Likewise.
23955         (libc_feresetround_ctx): Likewise.
23957 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23959         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23960         prototype.
23962 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23964         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23965         COLL_SYM in a couple of places to avoid uninitialized variable
23966         wanings on tilegx gcc 4.8.2.
23968 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23970         * sysdeps/aarch64/strcpy.S: New file.
23971         * sysdeps/aarch64/stpcpy.S: New file.
23972         * NEWS: Updated.
23974 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23976         * sysdeps/aarch64/strrchr.S: New file.
23977         * NEWS: Updated.
23979 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23981         [BZ #17658]
23982         * stdlib/setenv.c: Fix memory leak when setting large,
23983         duplicate string.
23985 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23987         [BZ #17273]
23988         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23989         and tabs from buffer before parsing fstab entry.
23990         * misc/tst-mntent.c (main): Add test for mount entry with
23991         trailing spaces and tabs.
23993 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23995         [BZ #17748]
23996         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23997         * math/fesetround.c (fesetround): Rename to __fesetround and
23998         define as weak alias of __fesetround.  Use libm_hidden_weak.
23999         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24000         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24001         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24002         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24003         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24004         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24005         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24006         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24007         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24008         __fesetround_inline.
24009         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24010         __fesetround_inline instead of __fesetround.
24011         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24012         __fesetround and define as weak alias of __fesetround.  Use
24013         libm_hidden_weak.  Call __fesetround_inline instead of
24014         __fesetround.
24015         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24016         __fesetround and define as weak alias of __fesetround.  Use
24017         libm_hidden_weak.
24018         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24019         Likewise.
24020         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24021         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24022         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24023         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24024         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24025         __fesetround and define as weak alias of __fesetround.  Use
24026         libm_hidden_weak.
24027         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24028         __fesetround instead of fesetround.
24029         (default_libc_feholdexcept_setround): Likewise.
24030         (libc_feholdsetround_ctx): Likewise.
24031         (libc_feholdsetround_noex_ctx): Likewise.
24033         [BZ #17748]
24034         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24035         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24036         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24037         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24038         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24039         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24040         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24041         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24042         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24043         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24044         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24045         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24046         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24047         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24048         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24049         libm_hidden_def.
24050         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24051         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24052         Likewise.
24053         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24054         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24055         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24056         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24057         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24058         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24059         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24060         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24061         __fesetenv instead of fesetenv.
24062         (libc_feresetround_noex_ctx): Likewise.
24063         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24064         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24065         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24066         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24067         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24068         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24069         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24070         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24071         (__feupdateenv): Likewise.
24072         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24073         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24074         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24075         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24077 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24079         [BZ #17806]
24080         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24081         addresses have been freed.
24083 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24085         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24086         and nservall.
24088 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24090         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24091         Clean up check_pf allocation pattern. addresses
24093 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24095         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24096         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24097         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24098         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24099         * nptl/pthread_join.c (pthread_join): Likewise.
24100         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24101         * sysdeps/posix/waitid.c (__waitid): Likewise.
24102         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24103         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24104         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24105         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24106         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24107         Likewise.
24108         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24109         (__libc_pread64): Likewise.
24110         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24111         (__libc_pwrite): Likewise.
24112         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24113         (__libc_pwrite64): Likewsie.
24114         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24115         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24116         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24117         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24118         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24119         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24120         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24122         Likewise.
24123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24124         (__libc_pread64): Likewise.
24125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24126         Likewise.
24127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24128         (__libc_pwrite64): Likewise.
24129         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24130         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24131         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24132         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24133         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24134         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24135         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24136         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24137         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24138         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24139         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24140         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24141         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24142         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24143         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24144         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24145         Likewise.
24147 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24149         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24150         (CFLAGS-test-double.c): Likewise.
24151         (CFLAGS-test-ldouble.c): Likewise.
24152         (CPPFLAGS-test-ifloat.c): Likewise.
24153         (CPPFLAGS-test-idouble.c): Likewise.
24154         (CPPFLAGS-test-ildoubl.c): Likewise.
24155         (CFLAGS-test-test-fenv.c): Remove variable.
24156         (CFLAGS-test-misc.c): Likewise.
24158 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24160         [BZ #17797]
24161         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24162         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24163         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24164         CLOCKS_PER_SEC == 1000000.
24165         * time/clocktest.c (main): Replace %ld with %jd and cast to
24166         intmax_t.
24168 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24170         * sysdeps/generic/unwind-resume.h: New file.
24171         * sysdeps/gnu/unwind-resume.c: Include it.
24172         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24173         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24174         argument list.
24175         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24176         global rather than static.
24177         (_Unwind_Resume): Update user.
24178         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24179         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24180         rather than static.  Add __attribute__ ((cold)).
24181         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24182         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24183         * sysdeps/arm/arm-unwind-resume.S: New file.
24184         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24185         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24186         * sysdeps/arm/Makefile [$(subdir) = csu]
24187         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24188         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24189         Add rt-arm-unwind-resume.
24190         [$(subdir) = nptl]
24191         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24192         Add pt-arm-unwind-resume.
24193         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24194         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24196 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24198         [BZ #17748]
24199         * include/fenv.h (__feholdexcept): Declare.  Use
24200         libm_hidden_proto.
24201         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24202         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24203         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24204         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24205         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24206         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24207         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24208         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24209         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24210         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24211         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24212         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24213         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24214         (feholdexcept): Likewise.
24215         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24216         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24217         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24218         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24219         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24220         __feholdexcept instead of feholdexcept.
24221         (default_libc_feholdexcept_setround): Likewise.
24223 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24225         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24226         to avoid using stl/str to align destination.
24228 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24230         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24232 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24234         [BZ #17796]
24235         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24236         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24237         Define as weak alias not strong alias.
24239 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24241         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24242         bltzal with addiupc.
24243         (RTLD_START): Ditto.
24245 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24247         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24248         for __vdso_* functions in declarations.
24249         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24250         definitions.
24251         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24252         INTERNAL_VSYSCALL): Use struct return types to check for error.
24254         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24255         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24256         function with cast from llround().
24257         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24258         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24259         Define.
24261 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24263         [BZ #17793]
24264         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24265         Define as weak alias not strong alias.
24267         [BZ #17635]
24268         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24269         ...
24270         * ctype/ctype-extn.c: ... here.
24271         (__isblank_l): Move to ...
24272         * ctype/ctype-c99_l.c: ... here.  New file.
24273         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24274         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24275         Remove variable.
24276         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24277         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24278         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24279         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24280         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24282         [BZ #17777]
24283         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24284         (posix_fadvise64): Define as weak alias not strong alias.
24285         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24286         (posix_fallocate64): Likewise.
24287         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24288         Remove variable.
24289         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24290         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24291         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24292         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24293         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24295 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24297         [BZ #16191]
24298         * NEWS: Mention bug fix.
24299         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24300         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24301         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24302         (HOST_STACK_END_ADDR): Likewise.
24304 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24306         [BZ #17748]
24307         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24308         * math/fegetround.c (fegetround): Rename to __fegetround and
24309         define as weak alias of __fegetround.  Use libm_hidden_weak.
24310         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24311         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24312         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24313         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24314         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24315         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24316         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24317         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24318         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24319         Undefine after rather than before function definition; use
24320         parentheses around function name in definition.
24321         (__fegetround): Also undefine macro after function definition.
24322         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24323         __fegetround and define as weak alias of __fegetround.  Use
24324         libm_hidden_weak.  Do not undefine as macro.
24325         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24326         Likewise.
24327         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24328         __fegetround and define as weak alias of __fegetround.  Use
24329         libm_hidden_weak.
24330         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24331         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24332         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24333         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24334         __fegetround and define as weak alias of __fegetround.  Use
24335         libm_hidden_weak.
24336         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24337         __fegetround instead of fegetround.
24339         [BZ #17782]
24340         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24341         Condition macro definition on [__USE_MISC].
24343         [BZ #17781]
24344         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24345         (struct sigaction): Change type of sa_flags field to int.
24347         [BZ #17780]
24348         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24349         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24350         __glibc_reserved0.
24352         * nptl/version.c (banner): Use single year in copyright notice.
24354         * NEWS: Update copyright dates.
24355         * catgets/gencat.c (print_version): Likewise.
24356         * csu/version.c (banner): Likewise.
24357         * debug/catchsegv.sh: Likewise.
24358         * debug/pcprofiledump.c (print_version): Likewise.
24359         * debug/xtrace.sh (do_version): Likewise.
24360         * elf/ldconfig.c (print_version): Likewise.
24361         * elf/ldd.bash.in: Likewise.
24362         * elf/pldd.c (print_version): Likewise.
24363         * elf/sotruss.sh: Likewise.
24364         * elf/sprof.c (print_version): Likewise.
24365         * iconv/iconv_prog.c (print_version): Likewise.
24366         * iconv/iconvconfig.c (print_version): Likewise.
24367         * locale/programs/locale.c (print_version): Likewise.
24368         * locale/programs/localedef.c (print_version): Likewise.
24369         * login/programs/pt_chown.c (print_version): Likewise.
24370         * malloc/memusage.sh (do_version): Likewise.
24371         * malloc/memusagestat.c (print_version): Likewise.
24372         * malloc/mtrace.pl: Likewise.
24373         * manual/libc.texinfo: Likewise.
24374         * nptl/version.c (banner): Likewise.
24375         * nscd/nscd.c (print_version): Likewise.
24376         * nss/getent.c (print_version): Likewise.
24377         * nss/makedb.c (print_version): Likewise.
24378         * posix/getconf.c (main): Likewise.
24379         * scripts/test-installation.pl: Likewise.
24380         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24382 2015-01-02  Will Newton  <will.newton@linaro.org>
24384         * sysdeps/arm/armv7/configure: Removed.
24385         * sysdeps/arm/armv7/configure.ac: Likewise.
24387 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24389         * All files with FSF copyright notices: Update copyright dates
24390         using scripts/update-copyrights.
24391         * intl/plural.c: Regenerated.
24392         * locale/programs/charmap-kw.h: Likewise.
24393         * locale/programs/locfile-kw.h: Likewise.
24395 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24397         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24399 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24401         [BZ #17748]
24402         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24403         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24404         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24405         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24406         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24407         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24408         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24409         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24410         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24411         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24412         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24413         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24414         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24415         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24416         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24417         libm_hidden_def.
24418         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24419         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24420         Likewise.
24421         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24422         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24423         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24424         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24425         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24426         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24427         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24428         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24429         __fegetenv instead of fegetenv.
24430         (libc_feholdsetround_noex_ctx): Likewise.
24432 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24434         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24435         (Elf_MIPS_ABIFlags_v0): New structure.
24436         (EF_MIPS_FP64): Define.
24437         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24438         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24439         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24440         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24441         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24442         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24443         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24444         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24445         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24446         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24447         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24448         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24449         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24450         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24451         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24452         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24453         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24454         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24455         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24456         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24457         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24458         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24459         field.
24460         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24461         EF_MIPS_FP64.
24462         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24463         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24464         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24465         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24466         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24467         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24468         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24469         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24470         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24471         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24472         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24473         record the current FP ABI extension.
24474         (mips-mode-switch): Define to show if kernel headers support mode
24475         switching.
24476         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24477         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24478         supported SYSV ABI version to 3.
24479         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24480         feature.
24482 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24483             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24485         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24486         path.
24487         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24489 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24491         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24492         __fegetround and redefine to call __fegetround.  Remove condition
24493         on [!__NO_MATH_INLINES].
24494         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24495         function.
24496         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24497         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24498         Remove macro.
24499         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24500         instead of <fenv_libc.h>.
24501         (__llrintl): Call fegetround instead of __fegetround.
24502         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24503         instead of <fenv_libc.h>.
24504         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24505         (__lrintl): Call fegetround instead of __fegetround.
24506         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24507         instead of <fenv_libc.h>.
24508         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24509         (__rintl): Call fegetround instead of __fegetround.
24511 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24513         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24514         arrays.
24516 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24518         [BZ #17775]
24519         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24520         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24521         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24523 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24525         * sysdeps/i386/tls-macros.h: Include <features.h>.
24526         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24527         (TLS_IE): Likewise.
24528         (TLS_LD): Likewise.
24529         (TLS_GD): Likewise.
24530         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24531         define for GCC >= 5.0.
24533 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24535         * math/test-fenv.c (test_single_exception, set_single_exc,
24536         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24537         feexcp_mask_test, feenable_test, fe_single_test): Add
24538         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24539         case where they are not used.
24540         * math/libm-test.inc: Likewise.
24541         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24542         unused in the absence of FP rounding/exception support.
24543         * stdio-common/tst-printf-round.c: Likewise.
24544         * stdlib/tst-strtod-round.c: Likewise.
24545         * stdlib/tst-strtod-underflow.c: Likewise.
24547 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24549         [BZ #17723]
24550         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24551         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24552         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24553         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24554         libm_hidden_weak.
24555         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24556         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24557         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24558         libm_hidden_def.
24559         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24560         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24561         libm_hidden_weak.
24562         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24563         Likewise.
24564         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24565         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24566         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24567         libm_hidden_weak.
24568         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24569         libm_hidden_def.
24570         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24571         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24572         (__feraiseexcept): Likewise.
24573         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24574         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24575         libm_hidden_weak.
24576         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24577         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24578         libm_hidden_def.
24579         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24580         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24581         Use libm_hidden_def.
24582         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24583         libm_hidden_def.
24584         (feraiseexcept): Define as weak not strong alias.  Use
24585         libm_hidden_weak.
24586         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24587         New inline function.  Factored out of ...
24588         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24589         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24590         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24591         feraiseexcept.
24592         * math/w_acos.c (__acos): Likewise.
24593         * math/w_asin.c (__asin): Likewise.
24594         * math/w_ilogb.c (__ilogb): Likewise.
24595         * math/w_j0.c (y0): Likewise.
24596         * math/w_j1.c (y1): Likewise.
24597         * math/w_jn.c (yn): Likewise.
24598         * math/w_log.c (__log): Likewise.
24599         * math/w_log10.c (__log10): Likewise.
24600         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24601         * sysdeps/aarch64/fpu/math_private.h
24602         (libc_feupdateenv_test_aarch64): Likewise.
24603         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24604         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24605         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24606         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24607         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24608         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24609         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24610         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24611         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24612         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24614 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24616         [BZ #17732]
24617         * io/test-utime.c (main): Replace %ld with %jd and cast to
24618         intmax_t.
24619         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24620         * nptl/tst-mutex5.c: Include <stdint.h>.
24621         (do_test): Replace %ld with %jd and cast to intmax_t.
24622         * posix/tst-regex.c (run_test): Likewise.
24623         (run_test_backwards): Likewise.
24624         * rt/tst-clock.c: Include <stdint.h>.
24625         (clock_test): Replace %ld with %jd and cast to intmax_t.
24626         * rt/tst-cpuclock1.c: Include <stdint.h>.
24627         (do_test): Replace %lu with %ju and cast to uintmax_t.
24628         * rt/tst-cpuclock2.c: Include <stdint.h>.
24629         (do_test): Replace %lu with %ju and cast to uintmax_t.
24630         * rt/tst-mqueue1.c: Include <stdint.h>.
24631         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24632         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24633         intmax_t.
24634         * rt/tst-mqueue4.c (do_test): Likewise.
24635         * rt/tst-timer4.c: Include <stdint.h>.
24636         (check_ts): Replace %ld with %jd and cast to intmax_t.
24637         (do_test): Likewise.
24638         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24639         and cast to intmax_t.
24640         * sysdeps/pthread/tst-timer.c (main): Likewise.
24641         * time/clocktest.c (main): Likewise.
24642         * time/tst-posixtz.c (do_test): Likewise.
24643         * timezone/tst-timezone.c (main): Likewise.
24645 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24646             H.J. Lu  <hongjiu.lu@intel.com>
24648         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24649         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24650         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24651         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24652         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24653         version if bit_Fast_Unaligned_Load is set.
24654         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24655         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24656         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24657         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24658         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24659         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24661         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24662         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24663         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24664         to 4.
24665         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24666         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24667         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24668         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24670 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24672         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24673         instead of #if to avoid a Wundef warning.
24674         * stdlib/tst-limits.c (do_test): Likewise.
24676         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24677         parallel other exception macros.
24678         (fegetenv): Convert from macro to extern inline so that it applies
24679         retroactively to inline functions already seen by the compiler.
24680         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24682         * posix/Makefile (before-compile): Use $(objpfx) for
24683         posix-conf-vars-def.h.
24685 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24687         * posix/getconf.c (main): Use size_t for type of I.
24688         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24689         NSPEC.
24691         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24692         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24693         * posix/posix-envs.def: Likewise.
24694         * sysdeps/posix/sysconf.c: Likewise.
24695         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24696         (specs): Remove array.
24697         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24698         array.
24700         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24701         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24702         (__sysconf): Use CONF_IS_* macros.
24704         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24705         ($(objpfx)posix-conf-vars-def.h): New target.
24706         * posix/posix-conf-vars.list: New file.
24707         * posix/posix-conf-vars.h: New file.
24708         * posix/confstr.c: Include posix-conf-vars.h.
24709         (confstr): Use CONF_IS_* macros.
24710         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24711         CONF_IS_* macros.
24712         * scripts/gen-posix-conf-vars.awk: New file.
24714 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24716         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24717         fegetround): Add no-op macros to avoid linknamespace issues.
24719         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24720         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24722         * sysdeps/unix/sysv/linux/tile/sysdep.h
24723         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24724         assembly-specific section to avoid a redefinition warning.
24726         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24727         long before casting to pointer to avoid a cast warning.
24729 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24731         * sysdeps/tile/tilegx/Implies: New file.
24733 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24735         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24737 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24739         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24741 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24743         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24744         not define.
24745         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24746         <kernel-features.h>.
24747         (__utimes) [__NR_utimes]: Make code unconditional.
24748         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24749         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24750         (__ASSUME_UTIMES): Do not undefine.
24751         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24752         (__ASSUME_UTIMES): Likewise.
24753         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24754         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24755         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24756         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24758 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24760         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24762 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24764         [BZ #17747]
24765         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24766         alias to weak alias for j0l, y0l.
24767         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24768         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24770         [BZ #17746]
24771         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24772         conversion.
24774 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24776         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24777         to zero if not already defined.
24779 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24781         [BZ #17724]
24782         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24783         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24784         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24785         (char *) casts added.
24786         * sysdeps/ieee754/k_standardf.c: New file.
24787         * sysdeps/ieee754/k_standardl.c: Likewise.
24788         * math/Makefile (libm-support): Remove k_standard.
24789         (libm-calls): Add k_standard.
24791 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24793         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24794         Optimize to avoid an unnecessary FPCR read.
24796 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24798         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24799         Optimize to reduce FPCR/FPSR accesses.
24801 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24803         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24804         Call libc_fetestexcept_aarch64.
24806 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24808         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24809         Call libc_fesetround_aarch64.
24811 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24813         [BZ #17733]
24814         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24815         (__bind): Do not define as weak alias.
24816         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24817         define.
24818         (__getsockname): Do not define as weak alias.
24820 2014-12-22  Will Newton  <will.newton@linaro.org>
24822         * manual/install.texi: Document that we require bison 2.7
24823         or above.
24824         * INSTALL: Regenerate.
24825         * configure.ac: Use AC_CHECK_PROG_VER instead of
24826         AC_PATH_PROG when checking for bison and check for
24827         version 2.7 or above.
24828         * configure: Regenerate.
24830 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24832         [BZ #17745]
24833         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24834         * sysdeps/tile/ffsll.c (ffsll): To here.
24836         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24838 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24840         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24841         if not defined.
24842         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24843         definition.
24844         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24845         hidden ___tls_get_addr.
24846         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24847         hidden __tls_get_addr.
24848         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24849         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24850         Likewise.
24852 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24854         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24855         _dl_init call.
24857 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24859         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24860         from "call _dl_init@PLT".
24861         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24863 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24865         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24866         guarantees.
24868 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24870         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24872 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24874         [BZ #17744]
24875         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24876         strnlen.
24878 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24880         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24881         of multu on MIPSr6.
24882         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24883         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24884         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24885         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24886         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24888 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24890         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24891         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24892         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24893         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24894         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24895         mips32r6/mips64r6.
24896         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24898 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24900         * string/strncat.c (STRNCAT): Simplify implementation.
24902 2014-12-19  David S. Miller  <davem@davemloft.net>
24904         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24905         access the quad as both a long double and as a series of 4 words.
24907         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24908         link_map->l_info array access.
24910 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24912         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24914         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24915         * math/atest-exp2.c (TIMEOUT): Likewise.
24916         * math/atest-sincos.c (TIMEOUT): Likewise.
24918 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24920         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24921         -Wno-error with -fno-builtin-lround.
24923 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24925         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24926         Contains futex constants and functions moved over from ...
24927         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24928         <lowlevellock-futex.h>.
24929         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24930         (lll_timedwait_tid): Add comments and parentheses around macro
24931         arguments.
24933 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24935         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24936         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24937         (__lll_private_flag): Remove.
24938         (lll_futex_wait): Likewise.
24939         (lll_futex_timed_wait): Likewise.
24940         (lll_futex_wake): Likewise.
24941         (lll_futex_requeue): Likewise.
24942         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24943         (__lll_timedwait_tid): Spell out argument names.
24944         (lll_timedwait_tid): Add comments and parentheses around macro
24945         arguments.
24946         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24947         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24949 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24951         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24952         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24953         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24954         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24955         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24956         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24957         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24958         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24959         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24960         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24961         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24962         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24963         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24964         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24965         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24966         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24967         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24968         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24969         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24971 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24973         * sysdeps/x86_64/x32/Makefile: New file.
24975 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24977         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24978         1L with (mp_limb_t) 1.
24980 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24982         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24983         * nptl/libc_pthread_init.c: ... here.
24984         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24985         * nptl/register-atfork.c: ... here.
24987         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24988         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24989         Use assert_perror to check its return value.
24990         (__gai_create_helper_thread): Likewise.
24992         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24994         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24996 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24998         [BZ #17725]
24999         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25000         __profil_counter.
25001         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25002         Likewise.
25003         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25004         Likewise.
25005         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25006         Likewise.
25007         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25008         (profil_counter): Likewise.
25009         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25010         (profil_counter): Likewise.
25011         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25012         Likewise.
25013         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25014         Likewise.
25015         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25016         (profil_counter): Likewise.
25017         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25018         Likewise.
25019         [!__profil_counter] (profil_counter): Define as weak alias of
25020         __profil_counter.
25021         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25022         (profil_counter): Rename to __profil_counter.
25023         [!__profil_counter] (profil_counter): Define as weak alias of
25024         __profil_counter.
25025         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25026         (profil_counter): Rename to __profil_counter.
25027         [!__profil_counter] (profil_counter): Define as weak alias of
25028         __profil_counter.
25029         * sysdeps/posix/profil.c: Update comment referring to
25030         profil_counter.
25031         (__profil): Use __profil_counter instead of profil_counter.
25032         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25033         __profil_counter.  Use __profil_counter_ushort and
25034         __profil_counter_uint in definitions.
25035         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25036         instead of profil_counter_uint and profil_counter_ushort.
25038         [BZ #17722]
25039         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25040         define as weak alias of __inet_makeaddr.
25041         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25042         as weak alias of __inet_addr.
25043         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25044         as weak alias of __inet_pton.  Use libc_hidden_weak.
25045         * include/arpa/inet.h (__inet_pton): Declare.  Use
25046         libc_hidden_proto.
25047         (inet_makeaddr): Don't use libc_hidden_proto.
25048         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25049         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25050         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25051         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25052         Remove variable.
25053         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25054         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25056 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25058         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25060 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25062         * stdio-common/bug-vfprintf-nargs.c (do_test):
25063         Cast value to intptr_t to avoid format warning
25064         for usage with PRIdPTR printing macro.
25066 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25068         * libio/tst-widetext.c (do_test):
25069         Use format type %td instead of %Zd for ptrdiff_t
25070         in order to avoid format warning.
25072 2014-12-17  Andreas Schwab  <schwab@suse.de>
25074         * nscd/mem.c (gc): Add size_t cast to match printf format.
25076 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25078         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25079         (init): Apply PTR_MANGLE to pointers before storing them.
25080         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25081         before using them.
25083 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25085         [BZ #17719]
25086         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25087         define as weak alias of __memrchr.
25088         (__memrchr): Do not define as strong alias of memrchr.
25089         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25090         Remove variable.
25091         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25092         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25093         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25095         [BZ #17717]
25096         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25097         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25098         (if_indextoname): Rename to __if_indextoname and define as weak
25099         alias of __if_indextoname.  Use libc_hidden_weak.
25100         (if_freenameindex): Rename to __if_freenameindex and define as
25101         weak alias of __if_freenameindex.
25102         (if_nameindex): Rename to __if_nameindex and define as weak alias
25103         of __if_nameindex.
25104         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25105         __if_nametoindex and define as weak alias of __if_nametoindex.
25106         Use libc_hidden_weak.
25107         (if_freenameindex): Rename to __if_freenameindex and define as
25108         weak alias of __if_freenameindex.
25109         (if_nameindex): Rename to __if_nameindex and define as weak alias
25110         of __if_nameindex.
25111         (if_indextoname): Rename to __if_indextoname and define as weak
25112         alias of __if_indextoname.  Use libc_hidden_weak.
25113         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25114         __if_nametoindex and define as weak alias of __if_nametoindex.
25115         Use libc_hidden_weak.
25116         (if_freenameindex): Rename to __if_freenameindex and define as
25117         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25118         (if_nameindex_netlink): Use __if_freenameindex instead of
25119         if_freenameindex.
25120         (if_nameindex): Rename to __if_nameindex and define as weak alias
25121         of __if_nameindex.  Use libc_hidden_weak.
25122         (if_indextoname): Rename to __if_indextoname and define as weak
25123         alias of __if_indextoname.  Use libc_hidden_weak.
25124         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25125         libc_hidden_proto.
25126         [!_ISOMAC] (__if_freenameindex): Likewise.
25127         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25128         if_nametoindex.
25129         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25130         variable.
25131         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25132         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25133         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25134         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25135         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25136         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25137         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25139         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25140         Remove variable.
25141         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25142         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25144 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25146         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25147         subscript above bounds'
25149         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25150         bounds.
25152 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25154         * libio/tst-fopenloc.c: Use test-skeleton.c.
25156         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25157         (entry): Rename to ITEM.
25158         (do_test, comp): Adjust.
25160         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25162 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25164         * string/tester.c: Include <libc-internal.h>.
25165         (test_memset): Ignore -Wmemset-transposed-args.
25167 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25169         * misc/tst-mntent2.c (do_test): Fix warning.
25171 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25173         * elf/tst-unique4lib.cc(a): Mark as used.
25175 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25177         [BZ #17630]
25178         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25179         names.
25181 2014-12-16  Allan McRae  <allan@archlinux.org>
25183         * stdio-common/Makefile (tests): Re-add bug26.
25185 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25187         [BZ #17657]
25188         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25189         static array.
25191 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25193         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25194         (__lll_lock_wait): Likewise.
25195         (__lll_timedlock_wait): Likewise.
25196         (__lll_timedwait_tid): Likewise.
25197         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25198         (__lll_robust_timedlock_wait): Likewise.
25199         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25200         (lll_cond_trylock): Likewise.
25201         (__lll_lock): Likewise.
25202         (__lll_robust_lock): Likewise.
25203         (__lll_cond_lock): Likewise.
25204         (lll_robust_cond_lock): Likewise.
25205         (__lll_timedlock): Likewise.
25206         (__lll_robust_timedlock): Likewise.
25207         (__lll_unlock): Likewise.
25208         (__lll_robust_unlock): Likewise.
25209         (lll_wait_tid): Likewise.
25210         (lll_timedwait_tid): Likewise.
25212 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25214         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25216 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25218         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25220 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25222         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25223         * stdio-common/tst-sprintf.c: Likewise.
25225 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25227         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25229 2014-12-15  Jeff Law  <law@redhat.com>
25231         [BZ #16617]
25232         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25233         on the heap.  (CVE-2012-3406)
25234         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25235         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25236         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25238 2014-12-15  Will Newton  <will.newton@linaro.org>
25240         * manual/install.texi: Bump required version of texinfo
25241         to 4.7 from 4.5.
25242         * INSTALL: Regenerated.
25243         * configure.ac: Check for makeinfo version 4.7 and above.
25244         * configure: Regenerated.
25246 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25248         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25249         PREFIX, string constant to insert between directory and name.
25250         * sysdeps/posix/shm_open.c: Update caller.
25251         * sysdeps/posix/shm_unlink.c: Likewise.
25252         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25253         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25254         (SEM_SHM_PREFIX): New macro.
25255         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25256         [$(have-thread-library) = no].
25257         * nptl/Makefile (libpthread-routines): Add shm-directory.
25258         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25259         * sysdeps/nptl/shm-directory.h: New file.
25260         * sysdeps/posix/shm-directory.c
25261         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25262         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25263         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25264         INTERNAL_SYSCALL.
25265         (__where_is_shmfs): Function removed.
25266         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25267         Variables removed.
25268         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25269         Use SHM_GET_NAME.
25270         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25272         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25273         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25274         unconditional for use inside libpthread.
25275         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25277 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25279         * nptl/pthread_getaffinity.c: New file.
25280         * nptl/pthread_setaffinity.c: New file.
25281         * nptl/pthread_getname.c: New file.
25282         * nptl/pthread_setname.c: New file.
25284         * nptl/pthread_create.c (START_THREAD_DEFN)
25285         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25287 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25288             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25290         * resolv/res_send.c (send_vc): Disable warning resplen may
25291         be used uninitialized.
25293 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25295         * nptl/tst-mutex6.c
25296         (ATTR_NULL): New define checks ATTR against NULL.
25297         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25298         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25300 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25302         [BZ #17581]
25303         * malloc/hooks.c
25304         (mem2mem_check): Revert my previous change.
25305         (malloc_check_get_size): Revert my previous change.
25306         (mem2chunk_check): Revert my previous change.
25308 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25310         * sysdeps/posix/shm-directory.c: New file.
25311         * sysdeps/posix/shm-directory.h: New file.
25312         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25313         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25314         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25315         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25316         Transmute EPERM to EACCES.
25317         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25318         from ...
25319         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25320         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25322 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25324         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25325         pointer and cast to uintptr_t.
25326         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25327         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25328         Add cast to avoid warning.
25329         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25331 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25333         * nptl/semaphore.h: Move to ...
25334         * sysdeps/pthread/semaphore.h: ... here.
25335         * Makefile (installed-headers): Change nptl/semaphore.h to
25336         sysdeps/pthread/semaphore.h.
25338 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25340         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25341         generated error format strings.
25343         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25344         -Wformat-extra-args warnings for scanf formats.
25345         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25346         test of zero-length format (duh).
25347         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25348         corner-case scanf format test.
25349         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25350         generated fprintf format string.
25351         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25352         corner-case sprintf format tests.
25353         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25354         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25355         -Wformat-extra-args warnings throughout.
25356         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25357         (CFLAGS-scanf4.c): Likewise.
25358         (CFLAGS-scanf7.c): Likewise.
25359         (CFLAGS-tst-sprintf.c): Likewise.
25360         (CFLAGS-tst-printf.c): Likewise.
25361         (CFLAGS-tst-printfsz.c): Likewise.
25363 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25365         * include/cpio.h: New file.
25366         * include/fmtmsg.h: Likewise.
25368         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25369         corresponding format argument to size_t.
25370         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25371         arguments.
25372         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25373         corresponding format argument to size_t.
25374         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25375         arguments.
25376         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25377         corresponding format argument to size_t.
25378         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25379         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25380         (CFLAGS-tst-mbswcs2.c): Likewise.
25381         (CFLAGS-tst-mbswcs3.c): Likewise.
25382         (CFLAGS-tst-mbswcs4.c): Likewise.
25383         (CFLAGS-tst-mbswcs5.c): Likewise.
25384         (CFLAGS-tst-trans.c): Likewise.
25386 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25388         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25389         rather than assuming they won't contain any '%'s.
25391 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25393         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25394         inhibit_loop_to_libcall to avoid recursive calls.
25395         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25396         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25398 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25400         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25401         prototype.
25403 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25405         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25406         integer value instead of boolean.
25408 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25410         * malloc/malloc.c: Fix powerof2 check.
25412 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25414         * locale/programs/locfile.h (maybe_swap_uint32):
25415         Remove inline and add unused attribute.
25417 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25419         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25420         Truncating assembler expression to a .long expression.
25422 2014-12-11  Andreas Schwab  <schwab@suse.de>
25424         * elf/rtld.c (struct map_args): Constify str member.
25425         (do_preload): Constify fname argument.
25427 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25429         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25430         constants definition.
25432 2014-12-11  Andreas Schwab  <schwab@suse.de>
25434         [BZ #16657]
25435         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25436         FORCE_ELISION instead of DO_ELISION.
25437         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25438         Remove.
25439         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25440         Likewise.
25442         * iconvdata/gconv-modules: Remove duplicate entry.
25444 2014-12-11  Will Newton  <will.newton@linaro.org>
25446         Merge gettext 0.19.3 into intl/.
25448         This involves a number of cosmetic changes to comments
25449         and ANSI function definitions and prototypes throughout
25450         all the files. The gettext copyright header is used but
25451         with the date ranges taken from the glibc copy.
25453         * NEWS: Add gettext merge to 2.21.
25454         * intl/bindtextdom.c: Switch to gettext copyright.
25455         Use ANSI definitions and prototypes.
25456         Use gl_* locking primitives rather than __libc_* ones.
25457         Use __builtin_expect rather than __glibc_likely/unlikely.
25458         * intl/dcgettext.c: Switch to gettext copyright.
25459         Use ANSI definitions and prototypes.
25460         * intl/dcigettext.c: Switch to gettext copyright.
25461         Use ANSI definitions and prototypes.
25462         (INTDIV0_RAISES_SIGFPE): New define.
25463         Use gl_* locking primitives rather than __libc_* ones.
25464         Include eval-plural.h instead of plural-eval.c.
25465         Use __builtin_expect rather than __glibc_likely/unlikely.
25466         * intl/dcngettext.c: Switch to gettext copyright.
25467         Use ANSI definitions and prototypes.
25468         * intl/dgettext.c: Likewise.
25469         * intl/dngettext.c: Likewise.
25470         * intl/plural-eval.c: Renamed to...
25471         * intl/eval-plural.h: ...this.
25472         * intl/explodename.c: Switch to gettext copyright.
25473         Use ANSI definitions and prototypes.
25474         (_nl_explode_name): Use strchr instead of __rawmemchr.
25475         * intl/finddomain.c: Switch to gettext copyright.
25476         Use ANSI definitions and prototypes.
25477         Use gl_* locking primitives rather than __libc_* ones.
25478         (_nl_find_domain): Use malloc rather than alloca for
25479         allocation of temporary locale name.
25480         * intl/gettext.c: Switch to gettext copyright.
25481         Use ANSI definitions and prototypes.
25482         * intl/gettextP.h: Switch to gettext copyright.
25483         Use ANSI definitions and prototypes.
25484         Use gl_* locking primitives rather than __libc_* ones.
25485         * intl/gmo.h: Switch to gettext copyright.
25486         (struct sysdep_string): Move struct segment_pair outside of
25487         struct definition.
25488         * intl/hash-string.c: Use ANSI definitions and prototypes.
25489         * intl/hash-string.h: Switch to gettext copyright.
25490         Use ANSI definitions and prototypes.
25491         * intl/l10nflist.c: Switch to gettext copyright.
25492         Use ANSI definitions and prototypes.
25493         (_nl_normalize_codeset): Avoid integer overflow.
25494         * intl/loadinfo.h: Switch to gettext copyright.
25495         Use ANSI definitions and prototypes.
25496         (LIBINTL_DLL_EXPORTED): New define.
25497         (PATH_SEPARATOR): New define.
25498         * intl/loadmsgcat.c: Switch to gettext copyright.
25499         * intl/localealias.c: Switch to gettext copyright.
25500         Use ANSI definitions and prototypes.
25501         (_nl_expand_alias): Use PATH_SEPARATOR.
25502         * intl/ngettext.c: Switch to gettext copyright.
25503         Use ANSI definitions and prototypes.
25504         * intl/plural-exp.c: Likewise.
25505         * intl/plural-exp.h: Switch to gettext copyright.
25506         Use ANSI definitions and prototypes.
25507         (struct expression): Move definition of enum operator outside
25508         of struct definition.
25509         * intl/plural.c: Regenerate.
25510         * intl/plural.y: Switch to gettext copyright.
25511         Use ANSI definitions and prototypes.
25512         Port to bison 3.0.
25513         * intl/textdomain.c: Switch to gettext copyright.
25514         Use ANSI definitions and prototypes.
25515         Use gl_* locking primitives rather than __libc_* ones.
25517 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25519         * debug/warning-nop.c: Add used atrribute.
25521 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25523         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25525         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25526         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25527         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25529 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25530             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25532         [BZ #17634]
25533         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25534         Undefine after defining function.  Define as weak alias of
25535         __wcschr.  Use libc_hidden_weak.
25536         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25537         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25538         (libc_hidden_def): Also define __GI___wcschr alias.
25539         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25540         __wcschr and define as weak alias of __wcschr.
25541         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25542         __wcschr.
25543         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25544         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25545         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25546         libc_hidden_weak.  Do not use libc_hidden_def.
25547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25548         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25549         __GI___wcschr alias.
25550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25551         [IS_IN (libc)] (wcschr): Define as macro expanding to
25552         __redirect_wcschr.
25553         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25554         [IS_IN (libc)] (__wcschr_power6): Likewise.
25555         [IS_IN (libc)] (__wcschr_power7): Likewise.
25556         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25557         instead of wcschr.
25558         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25559         __libc_wcschr.
25560         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25561         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25562         __wcschr and define as weak alias of __wcschr.  Use
25563         libc_hidden_builtin_def.
25564         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25565         as weak alias of __wcschr.  Use libc_hidden_weak.
25566         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25567         wcschr.
25568         * time/era.c (_nl_init_era_entries): Likewise.
25569         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25570         variable.
25571         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25572         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25574 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25576         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25577         format for long int variable.
25579 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25581         [BZ #10672]
25582         * manual/search.texi: (Array Sort Function): Remove claim how to make
25583         qsort stable.
25585 2014-12-10  Andreas Schwab  <schwab@suse.de>
25587         [BZ #12847]
25588         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25589         user-controlled locks.
25591 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25593         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25594         register.
25596 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25598         * configure.ac (--disable-werror): New configure option.
25599         (enable_werror): New AC_SUBST.
25600         * configure: Regenerated.
25601         * config.make.in (enable-werror): New variable.
25602         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25603         -Wno-error=undef.
25604         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25605         * manual/install.texi (Configuring and compiling): Document
25606         --disable-werror.
25607         * INSTALL: Regenerated.
25608         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25609         (CFLAGS-tst-chk2.c): Likewise.
25610         (CFLAGS-tst-chk3.c): Likewise.
25611         (CFLAGS-tst-chk4.cc): Likewise.
25612         (CFLAGS-tst-chk5.cc): Likewise.
25613         (CFLAGS-tst-chk6.cc): Likewise.
25614         (CFLAGS-tst-lfschk1.c): Likewise.
25615         (CFLAGS-tst-lfschk2.c): Likewise.
25616         (CFLAGS-tst-lfschk3.c): Likewise.
25617         (CFLAGS-tst-lfschk4.cc): Likewise.
25618         (CFLAGS-tst-lfschk5.cc): Likewise.
25619         (CFLAGS-tst-lfschk6.cc): Likewise.
25621         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25622         (main): Disable -Wdeprecated-declarations around calls to
25623         register_printf_function.
25625         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25626         (do_test): Disable -Wdiv-by-zero around some calls to
25627         fwrite_unlocked and fread_unlocked.
25629         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25630         (DIAG_POP_NEEDS_COMMENT): Likewise.
25631         (_DIAG_STR1): Likewise.
25632         (_DIAG_STR): Likewise.
25633         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25634         * stdio-common/bug21.c: Include <libc-internal.h>.
25635         (do_test): Disable -Wformat around call to sscanf.
25636         * stdio-common/scanf14.c: Include <libc-internal.h>.
25637         (main): Disable -Wformat around some calls to scanf functions.
25639 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25641         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25643 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25645         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25646         stack variable alignment.
25648 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25650         [BZ #17682]
25651         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25652         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25653         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25654         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25655         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25656         __getrlimit instead of getrlimit.
25657         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25658         __gettimeofday instead of gettimeofday.
25659         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25660         Likewise.
25661         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25662         Likewise.
25663         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25664         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25665         Remove variable.
25666         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25667         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25669 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25671         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25672         for wide-character tests.
25674 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25676         * io/openat64.c: #include <libc-internal.h>
25677         (__openat64): Prototypify.  Use ignore_value on MODE.
25678         * io/openat.c: Likewise.
25679         * misc/reboot.c: #include <libc-internal.h>
25680         (reboot): Prototypify.  Use ignore_value on HOWTO.
25681         * misc/ptrace.c: #include <libc-internal.h>
25682         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25684 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25686         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25687         XPG4, UNIX98 and XOPEN2K.
25688         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25689         Remove variable.
25690         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25692 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25694         * libio/fileops.c: Use ISO C style for function definitions.
25695         * libio/iofopen.c: Likewise.
25696         * libio/wfileops.c: Likewise.
25698         [BZ #17653]
25699         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25700         offset on EOF.
25701         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25702         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25703         (fgets_func): Function pointer to fgets and fgetws.
25704         (do_ftell_test): Add test to verify ftell value after read
25705         EOF.
25706         (do_test): Set fgets_func.
25708         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25709         O_TRUNC flag for w and w+ modes.
25710         (do_rewind_test): Likewise.
25711         (do_ftell_test): Likewise.
25712         (do_write_test): Likewise.
25714         [BZ #17647]
25715         * libio/fileops.c (do_ftell): Seek only when there are
25716         unflushed writes.
25717         * libio/wfileops.c (do_ftell_wide): Likewise.
25718         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25719         test case.
25720         (do_one_test): Call it.
25722 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25724         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25725         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25726         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25727         Remove variable.
25728         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25729         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25730         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25732 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25734         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25735         Remove variable.
25736         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25738         [BZ #17668]
25739         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25740         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25741         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25742         __freeifaddrs.  Use libc_hidden_weak.
25743         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25744         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25745         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25746         __freeifaddrs.  Use libc_hidden_weak.
25747         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25748         __getifaddrs and define as weak alias of __getifaddrs.  Use
25749         libc_hidden_weak.
25750         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25751         __freeifaddrs.  Use libc_hidden_weak.
25752         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25753         Remove variable.
25754         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25755         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25757 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25759         [BZ #17601]
25760         * sysdeps/mips/start.S (__start): Use indirect jump to call
25761         __libc_start_main.
25763 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25765         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25767         * nptl/tst-mutex1.c: Include <stdbool.h>.
25768         [!ATTR] (ATTR_NULL): New macro.
25769         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25770         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25771         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25773         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25774         to char *.
25776         [BZ #17665]
25777         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25778         Change conditional to [__USE_MISC].
25780         [BZ #17664]
25781         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25782         fgets_unlocked.
25783         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25784         __fgets_unlocked.
25785         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25786         fgets_unlocked.
25787         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25788         Remove variable.
25789         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25790         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25791         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25792         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25793         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25794         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25795         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25796         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25797         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25799         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25801 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25803         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25804         Remove strpbrk objects.
25805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25806         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25807         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25808         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25809         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25810         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25812         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25813         Remove strcspn objects.
25814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25815         (__libc_ifunc_impl_list): Remove strcspn implementation.
25816         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25817         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25818         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25819         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25821         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25822         Remove strspn objetcs.
25823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25824         (__libc_ifunc_impl_list): Remove strspn implementation.
25825         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25826         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25827         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25828         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25830 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25832         [BZ #17581]
25833         * malloc/hooks.c
25834         (mem2mem_check): Add a terminator to the chain of checking blocks.
25835         (malloc_check_get_size): Use it here.
25836         (mem2chunk_check): Ditto.
25838 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25840         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25841         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25843 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25845         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25847         * nptl/nptl-init.c: Include libc-internal.h.
25848         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25850         * elf/ldconfig.c (search_dir): Expand comment.
25852 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25854         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25855         variable.
25856         (linknamespace-symlist-stdlibs-tests): Likewise.
25857         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25858         instead of $(objpfx)symlist-stdlibs.
25859         (linknamespace-libs-isoc): New variable.
25860         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25861         (linknamespace-libs-ISO): New variable.
25862         (linknamespace-libs-ISO99): Likewise.
25863         (linknamespace-libs-ISO11): Likewise.
25864         (linknamespace-libs-XPG3): Likewise.
25865         (linknamespace-libs-XPG4): Likewise.
25866         (linknamespace-libs-POSIX): Likewise.
25867         (linknamespace-libs-UNIX98): Likewise.
25868         (linknamespace-libs-XOPEN2K): Likewise.
25869         (linknamespace-libs-POSIX2008): Likewise.
25870         (linknamespace-libs-XOPEN2K8): Likewise.
25871         ($(objpfx)symlist-stdlibs): Replace by
25872         $(linknamespace-symlist-stdlibs-tests).  Use
25873         $(linknamespace-libs-$*) as set of libraries.
25874         ($(linknamespace-header-tests)): Update dependencies.  Use
25875         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25876         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25877         * conform/linknamespace.pl: Remove comment about considering
25878         definitions of symbols from irrelevant libraries.
25880 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25882         [BZ #13862]
25883         * elf/dl-tls.c: Include <atomic.h>.
25884         (oom): Remove #ifdef SHARED/#endif.
25885         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25886         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25887         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25888         big enough.
25889         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25890         * nptl/Makefile (tests): Add tst-stack4.
25891         (modules-names): Add tst-stack4mod.
25892         ($(objpfx)tst-stack4): New.
25893         (tst-stack4mod.sos): Likewise.
25894         ($(objpfx)tst-stack4.out): Likewise.
25895         ($(tst-stack4mod.sos)): Likewise.
25896         (clean): Likewise.
25897         * nptl/tst-stack4.c: New file.
25898         * nptl/tst-stack4mod.c: Likewise.
25900 2014-11-27  J. Brown  <jb999@gmx.de>
25902         * sysdeps/x86/bits/string.h: Add recent CPUs.
25904 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25906         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25907         sigblock.
25909         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25910         feof.
25912         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25913         variable.
25915 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25917         * nscd/connections.c: Include libc-internal.h because of macro
25918         usage ignore_value.
25920 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25922         * string/bits/string3.h (__warn_memset_zero_len): Don't
25923         declare for gcc newer than 5.0.
25924         (memset): Don't test for zero-length __LEN for gcc newer than
25925         5.0.
25927 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25929         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25930         size_t for %zu format.
25932         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25933         difference, not %ju.
25935 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25937         * include/libc-internal.h (ignore_value): New macro.
25938         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25939         with ignore_value.
25941         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25942         definition.
25944         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25945         pthread_cleanup_push to void *.
25947         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25948         Undefine.
25950         [BZ #16619]
25951         [BZ #16740]
25952         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25953         instead of 1L << 52.
25955         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25956         * libio/bug-rewind2.c (do_test): Likewise.
25958         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25959         * debug/test-strcpy_chk-ifunc.c: Likewise.
25960         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25961         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25962         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25963         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25964         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25965         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25966         * Rules [$(multi-arch) = no] (tests): Do not filter out
25967         $(tests-ifunc).
25968         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25969         * debug/Makefile (tests-ifunc): Remove variable.
25970         (tests): Do not add $(tests-ifunc).
25971         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25972         (tests): Do not add $(tests-ifunc).
25973         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25974         [TEST_IFUNC]: Remove conditionals.
25975         * string/test-string.h (TEST_IFUNC): Remove macro.
25976         [TEST_IFUNC]: Remove conditionals.
25978         * string/test-strchr.c [!WIDE] (L): New macro.
25979         [WIDE] (L): Likewise.
25980         (check1): Use CHAR instead of char.  Use L on string and character
25981         constants.
25983 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25985         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25986         tests.
25987         * sysdeps/powerpc/bits/atomic.h
25988         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25989         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25990         (atomic_exchange_and_add_acq): Likewise.
25991         (atomic_exchange_and_add_rel): Likewise.
25992         * sysdeps/powerpc/powerpc32/bits/atomic.h
25993         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25994         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25995         * sysdeps/powerpc/powerpc64/bits/atomic.h
25996         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25997         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25999 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26001         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26002         Change synchronization of __sched_fifo_min_prio and
26003         __sched_fifo_max_prio.
26004         * nptl/pthread_mutexattr_getprioceiling.c
26005         (pthread_mutexattr_getprioceiling): Likewise.
26006         * nptl/pthread_mutexattr_setprioceiling.c
26007         (pthread_mutexattr_setprioceiling): Likewise.
26008         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26009         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26010         Likewise.
26012 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26014         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26015         void.
26017 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26019         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26020         third argument const.
26022 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26024         fnmatch: work around GCC compiler warning bug with uninit var
26025         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26026         This works around a bug with x86-64 GCC 4.9.2 and earlier
26027         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26028         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26029         used uninitialized in this function [-Wmaybe-uninitialized]".
26031 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26033         * posix/bug-regex31.c (main): Return RES not 0.
26035 2014-11-25  Anton Blanchard <anton@samba.org>
26037         * sysdeps/powerpc/bits/atomic.h
26038         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26040 2014-11-24  Sterling Augustine  <saugustine@google.com>
26042         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26044 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26046         [BZ #17608]
26047         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26049 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26051         [BZ #17633]
26052         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26053         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26054         variable.
26055         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26056         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26058 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26060         * string/strncpy.c (strncpy): Improve performance by using memset.
26062 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26064         * string/strcpy.c (strcpy):
26065         Improve performance by using strlen and memcpy.
26067 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26069         * string/strcoll_l.c (get_next_seq): __always_inline.
26070         * string/strcoll_l.c (do_compare): __always_inline.
26072 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26074         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26075         defined.
26076         * include/mqueue.h: Likewise.
26077         * include/stdlib.h: Likewise.
26079         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26080         (get_null_defines): Adjust.
26081         * sunrpc/Makefile: Adjust comment.
26082         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26083         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26084         (CFLAGS-interp.c): Likewise.
26085         (CFLAGS-ldconfig.c): Likewise.
26086         (CPPFLAGS-.os): Likewise.
26087         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26088         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26089         * extra-modules.mk (extra-modules.mk): Likewise.
26090         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26091         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26092         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26093         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26094         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26095         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26096         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26097         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26098         * iconvdata/Makefile (CPPFLAGS): Likewise.
26099         (cpp-srcs-left): Add libof for all iconvdata routines.
26100         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26101         * include/assert.h: Likewise.
26102         * include/ctype.h: Likewise.
26103         * include/errno.h: Likewise.
26104         * include/libc-symbols.h: Likewise.
26105         * include/math.h: Likewise.
26106         * include/netdb.h: Likewise.
26107         * include/resolv.h: Likewise.
26108         * include/stdio.h: Likewise.
26109         * include/stdlib.h: Likewise.
26110         * include/string.h: Likewise.
26111         * include/sys/stat.h: Likewise.
26112         * include/wctype.h: Likewise.
26113         * intl/l10nflist.c: Likewise.
26114         * libidn/idn-stub.c: Likewise.
26115         * libio/libioP.h: Likewise.
26116         * nptl/libc_multiple_threads.c: Likewise.
26117         * nptl/pthreadP.h: Likewise.
26118         * posix/regex_internal.h: Likewise.
26119         * resolv/res_hconf.c: Likewise.
26120         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26121         * sysdeps/arm/memmove.S: Likewise.
26122         * sysdeps/arm/sysdep.h: Likewise.
26123         * sysdeps/generic/_itoa.h: Likewise.
26124         * sysdeps/generic/symbol-hacks.h: Likewise.
26125         * sysdeps/gnu/errlist.awk: Likewise.
26126         * sysdeps/gnu/errlist.c: Likewise.
26127         * sysdeps/i386/i586/memcpy.S: Likewise.
26128         * sysdeps/i386/i586/memset.S: Likewise.
26129         * sysdeps/i386/i686/memcpy.S: Likewise.
26130         * sysdeps/i386/i686/memmove.S: Likewise.
26131         * sysdeps/i386/i686/mempcpy.S: Likewise.
26132         * sysdeps/i386/i686/memset.S: Likewise.
26133         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26134         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26135         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26136         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26137         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26138         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26139         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26140         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26141         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26142         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26143         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26144         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26145         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26146         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26147         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26148         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26149         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26150         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26151         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26152         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26153         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26154         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26155         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26156         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26157         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26158         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26159         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26160         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26161         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26162         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26163         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26164         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26166         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26167         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26168         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26169         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26170         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26171         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26172         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26173         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26176         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26177         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26178         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26179         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26180         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26182         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26185         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26186         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26187         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26188         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26189         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26190         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26191         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26192         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26193         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26194         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26195         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26196         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26197         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26198         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26199         * sysdeps/posix/closedir.c: Likewise.
26200         * sysdeps/posix/opendir.c: Likewise.
26201         * sysdeps/posix/readdir.c: Likewise.
26202         * sysdeps/posix/rewinddir.c: Likewise.
26203         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26204         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26205         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26206         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26207         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26208         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26209         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26213         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26214         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26215         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26216         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26217         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26218         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26219         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26220         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26221         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26222         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26223         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26224         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26225         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26226         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26227         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26228         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26229         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26230         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26231         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26232         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26238         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26239         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26240         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26241         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26242         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26243         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26244         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26245         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26246         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26247         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26248         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26249         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26250         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26251         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26252         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26253         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26254         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26255         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26256         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26257         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26258         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26259         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26260         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26261         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26262         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26263         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26264         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26265         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26266         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26267         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26268         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26269         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26270         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26271         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26272         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26273         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26274         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26275         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26276         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26277         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26278         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26279         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26280         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26281         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26282         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26283         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26284         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26285         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26286         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26287         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26288         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26289         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26290         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26291         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26292         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26293         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26294         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26295         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26296         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26297         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26298         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26299         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26300         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26301         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26302         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26303         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26304         * sysdeps/unix/alpha/sysdep.S: Likewise.
26305         * sysdeps/unix/alpha/sysdep.h: Likewise.
26306         * sysdeps/unix/make-syscalls.sh: Likewise.
26307         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26308         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26309         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26310         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26311         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26312         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26313         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26314         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26315         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26316         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26317         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26318         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26319         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26320         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26321         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26322         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26323         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26324         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26325         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26326         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26327         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26328         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26329         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26330         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26331         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26332         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26333         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26336         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26337         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26338         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26339         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26340         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26341         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26345         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26346         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26347         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26348         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26349         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26350         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26351         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26352         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26354         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26355         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26356         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26357         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26358         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26359         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26360         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26361         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26362         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26363         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26365         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26366         * sysdeps/x86_64/memcpy.S: Likewise.
26367         * sysdeps/x86_64/memmove.c: Likewise.
26368         * sysdeps/x86_64/memset.S: Likewise.
26369         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26370         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26371         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26372         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26373         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26374         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26375         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26376         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26377         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26378         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26379         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26380         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26381         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26382         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26383         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26384         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26385         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26386         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26387         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26388         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26389         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26390         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26391         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26392         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26393         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26394         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26395         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26396         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26397         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26398         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26399         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26400         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26401         * sysdeps/x86_64/strcmp.S: Likewise.
26403         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26405         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26406         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26407         * elf/rtld-Rules: Likewise.
26408         * elf/setup-vdso.h: Likewise.
26409         * include/assert.h: Likewise.
26410         * include/bits/stdlib-float.h: Likewise.
26411         * include/errno.h: Likewise.
26412         * include/sys/stat.h: Likewise.
26413         * include/unistd.h: Likewise.
26414         * sysdeps/aarch64/setjmp.S: Likewise.
26415         * sysdeps/alpha/setjmp.S: Likewise.
26416         * sysdeps/arm/__longjmp.S: Likewise.
26417         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26418         * sysdeps/arm/setjmp.S: Likewise.
26419         * sysdeps/arm/sysdep.h: Likewise.
26420         * sysdeps/generic/_itoa.h: Likewise.
26421         * sysdeps/generic/dl-sysdep.h: Likewise.
26422         * sysdeps/generic/ldsodefs.h: Likewise.
26423         * sysdeps/i386/dl-tls.h: Likewise.
26424         * sysdeps/i386/setjmp.S: Likewise.
26425         * sysdeps/m68k/setjmp.c: Likewise.
26426         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26427         * sysdeps/mach/hurd/opendir.c: Likewise.
26428         * sysdeps/posix/getcwd.c: Likewise.
26429         * sysdeps/posix/opendir.c: Likewise.
26430         * sysdeps/posix/profil.c: Likewise.
26431         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26432         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26433         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26434         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26435         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26436         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26437         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26438         * sysdeps/s390/dl-tls.h: Likewise.
26439         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26440         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26441         * sysdeps/sh/sh3/setjmp.S: Likewise.
26442         * sysdeps/sh/sh4/setjmp.S: Likewise.
26443         * sysdeps/unix/alpha/sysdep.h: Likewise.
26444         * sysdeps/unix/arm/sysdep.S: Likewise.
26445         * sysdeps/unix/i386/sysdep.S: Likewise.
26446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26447         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26448         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26449         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26450         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26451         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26452         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26453         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26454         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26455         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26456         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26457         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26458         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26461         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26463         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26464         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26465         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26466         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26467         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26468         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26469         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26470         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26471         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26472         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26473         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26474         * sysdeps/x86_64/setjmp.S: Likewise.
26476         * include/math.h: Use IS_IN instead of IS_IN_libm.
26477         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26478         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26479         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26480         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26481         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26482         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26483         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26484         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26485         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26486         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26487         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26488         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26489         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26490         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26491         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26492         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26493         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26494         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26495         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26496         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26497         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26498         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26499         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26500         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26501         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26502         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26503         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26504         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26505         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26506         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26507         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26508         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26509         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26511         Likewise.
26512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26513         Likewise.
26514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26515         Likewise.
26516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26517         Likewise.
26518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26519         Likewise.
26520         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26521         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26522         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26523         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26524         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26525         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26531         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26532         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26533         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26534         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26535         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26536         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26537         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26538         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26539         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26540         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26541         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26542         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26543         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26544         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26546         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26548         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26549         * nptl/pthreadP.h: Likewise.
26550         * nptl_db/structs.def: Likewise.
26551         * sysdeps/arm/sysdep.h: Likewise.
26552         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26553         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26554         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26555         * sysdeps/unix/alpha/sysdep.h: Likewise.
26556         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26558         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26559         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26560         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26561         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26562         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26563         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26564         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26565         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26566         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26567         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26568         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26569         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26573         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26574         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26576         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26577         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26578         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26579         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26580         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26581         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26583         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26584         * nptl/pthreadP.h: Likewise.
26585         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26586         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26587         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26588         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26589         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26590         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26591         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26592         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26593         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26594         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26595         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26596         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26598         Likewise.
26599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26600         Likewise.
26601         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26602         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26603         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26604         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26605         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26606         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26607         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26608         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26610         * dlfcn/dladdr.c: Use IS_IN.
26611         * dlfcn/dladdr1.c: Likewise.
26612         * dlfcn/dlclose.c: Likewise.
26613         * dlfcn/dlerror.c: Likewise.
26614         * dlfcn/dlinfo.c: Likewise.
26615         * dlfcn/dlmopen.c: Likewise.
26616         * dlfcn/dlopen.c: Likewise.
26617         * dlfcn/dlsym.c: Likewise.
26618         * dlfcn/dlvsym.c: Likewise.
26620         * include/ifaddrs.h: Use IS_IN.
26621         * inet/check_pf.c: Likewise.
26622         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26623         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26625         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26626         IS_IN_ldconfig.
26627         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26628         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26630         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26631         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26632         IS_IN (libc).
26634         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26636         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26637         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26638         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26639         * include/libc-symbols.h (IS_IN_LIB): New macro.
26640         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26641         * include/netdb.h: Likewise.
26642         * include/stap-probe.h: Remove all uses of IN_LIB.
26644         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26645         instead of IN_MODULE.
26646         * include/libc-symbols.h (IN_MODULE): Define using
26647         MODULE_NAME.
26648         (PASTE_NAME, PASTE_NAME1): New macros.
26649         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26650         of IN_LIB.
26651         (STAP_PROBE_ASM): Likewise.
26653 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26655         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26656         __mach_init in dlopened libc.
26658 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26660         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26661         * sysdeps/arm/preconfigure: Regenerate.
26663 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26665         * nptl/pthread_create.c (__pthread_create_2_1): Set
26666         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26667         when copying values from IATTR into PD.
26669 2014-11-21  Will Newton  <will.newton@linaro.org>
26670             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26672         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26673         Refactor inline-asm.  Also add comment.
26675         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26676         ElfW macro instead of hardcoded Elf64 types.
26677         (la_aarch64_gnu_pltenter): Likewise.
26678         * sysdeps/aarch64/dl-machine.h
26679         (elf_machine_runtime_setup): Use ElfW(Addr).
26681         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26682         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26683         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26684         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26685         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26686         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26687         (R_AARCH64_TLS_DTPMOD): This.
26688         (R_AARCH64_TLS_DTPREL64): Rename to ...
26689         (R_AARCH64_TLS_DTPREL): This.
26690         (R_AARCH64_TLS_TPREL64): Rename to ...
26691         (R_AARCH64_TLS_TPREL): This.
26692         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26693         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26694         R_AARCH64_TLS_TPREL64.
26695         (elf_machine_rela): Likewise.
26697 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26699         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26700         by setting it to 0.  64b atomics are not supported currently.
26702 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26704         [BZ #16469]
26705         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26706         search domain names.
26708 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26710         [BZ #16469]
26711         * NEWS: Update.
26712         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26713         trailing dot.
26714         * posix/tst-getaddrinfo5.c: New.
26715         * posix/Makefile (tests): Add it.
26717 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26719         [BZ #14498]
26720         * NEWS: Fixed.
26721         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26722         after parsing line but before break_if_match.
26723         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26724         if there is a protocol mismatch.
26726 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26728         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26729         because the potential race is on the user-supplied stream.
26731 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26733         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26734         string literal if not passed a buffer.
26735         * manual/job.texi (ctermid): Update reasoning, note deviation
26736         from posix, suggest mtasurace when not passed a buffer, for
26737         future non-preliminary safety notes.
26739 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26741         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26742         of not passing it a buffer.
26743         Reported by Peng Haitao.
26745 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26747         * manual/Makefile ($(objpfx)stamp-summary): Require
26748         check-safety.sh to pass.
26749         * manual/check-safety.sh: Wish for verification that every
26750         @deftypefn and @deftypefun is followed by a @safety remark.
26752 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26754         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26756         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26757         PTHREAD_CANCEL_ASYNCHRONOUS.
26758         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26759         send SIGCANCEL.
26761         * nptl/default-sched.h: New file.
26762         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26763         * nptl/pthread_create.c: Include it.
26764         (__pthread_create_2_1): Use collect_default_sched instead of making
26765         Linux syscalls here directly.
26767 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26769         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26770         __pthread_once): Use C11 atomics.
26772 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26774         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26776 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26778         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26779         atomic_thread_fence_acquire, atomic_thread_fence_release,
26780         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26781         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26782         atomic_compare_exchange_weak_relaxed,
26783         atomic_compare_exchange_weak_acquire,
26784         atomic_compare_exchange_weak_release,
26785         atomic_exchange_acquire, atomic_exchange_release,
26786         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26787         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26788         atomic_fetch_and_acquire,
26789         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26791 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26793         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26794         USE_ATOMIC_COMPILER_BUILTINS): Define.
26795         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26796         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26797         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26798         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26799         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26800         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26801         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26802         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26803         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26804         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26805         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26806         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26807         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26808         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26809         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26810         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26811         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26812         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26813         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26814         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26815         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26816         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26817         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26818         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26819         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26820         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26821         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26822         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26823         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26824         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26825         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26826         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26827         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26828         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26829         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26830         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26831         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26832         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26833         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26834         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26836 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26838         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26839         the sched_priority value here.  It was already checked when the user
26840         called pthread_attr_setschedparam.
26842         * nptl/tst-bad-schedattr.c: New file.
26843         * nptl/Makefile (tests): Add it.
26845 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26846             Florian Weimer  <fweimer@redhat.com>
26847             Joseph Myers  <joseph@codesourcery.com>
26848             Adam Conrad  <adconrad@0c3.net>
26849             Andreas Schwab  <schwab@suse.de>
26850             Brooks  <bmoses@google.com>
26852         [BZ #17625]
26853         * wordexp-test.c (__dso_handle): Add prototype.
26854         (__register_atfork): Likewise.
26855         (__app_register_atfork): New function.
26856         (registered_forks): New global.
26857         (register_fork): New function.
26858         (test_case): Add 3 new tests for WRDE_CMDSUB.
26859         (main): Call __app_register_atfork.
26860         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26861         fork count is non-zero fail the test.
26862         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26863         is set.
26864         (parse_dollars): Remove check for WRDE_NOCMD.
26865         (parse_dquote): Likewise.
26867 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26869         * Makeconfig (built-modules): List non-library modules to be
26870         built.
26871         (module-cppflags): Include libc-modules.h for
26872         everything except shlib-versions.v.i.
26873         (CPPFLAGS): Use it.
26874         (before-compile): Add libc-modules.h.
26875         ($(common-objpfx)libc-modules.h,
26876         $(common-objpfx)libc-modules.stmp): New targets.
26877         (common-generated): Add libc-modules.h and libc-modules.stmp.
26878         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26879         * include/libc-symbols.h: Don't include libc-modules.h.
26880         * include/libc-modules.h: Remove file.
26881         * scripts/gen-libc-modules.awk: New script to generate
26882         libc-modules.h.
26883         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26884         Depend on libc-modules.stmp.
26886         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26888         * Makeconfig (in-module): Get value of libof set for the
26889         translation unit.
26890         (CPPFLAGS): Use $(in-module).
26891         * Makerules: Don't suffix routine names for nonlib.
26892         * include/libc-modules.h: New file.
26893         * include/libc-symbols.h: Include libc-modules.h
26894         (IS_IN): New macro to replace IS_IN_* macros.
26895         * elf/Makefile: Set libof-* for each routine.
26896         * elf/rtld-Rules: Likewise.
26897         * extra-modules.mk: Likewise.
26898         * iconv/Makefile: Likewise.
26899         * iconvdata/Makefile: Likewise.
26900         * locale/Makefile: Likewise.
26901         * malloc/Makefile: Likewise.
26902         * nss/Makefile: Likewise.
26903         * sysdeps/gnu/Makefile: Likewise.
26904         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26905         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26906         * sysdeps/s390/s390-64/Makefile: Likewise.
26907         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26908         CPPFLAGS for nscd instead of nonlib.
26910 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26912         * nptl/createthread.c: New file.
26914         * nptl/createthread.c: Moved ...
26915         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26917         * nptl/createthread.c: Add proper top-line comment.
26918         (do_clone): Folded into ...
26919         (create_thread): ... here.  Take new arguments STOPPED_START and
26920         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26921         increment __nptl_threads, do event-reporting logic, do
26922         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26923         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26924         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26925         just send SIGCANCEL.
26926         * nptl/pthread_create.c: Forward-declare create_thread before
26927         including createthread.c.
26928         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26929         declaration, and new macro START_THREAD_SELF to replace argument.
26930         Remove return statement.
26931         (report_thread_creation): New function.
26932         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26933         synchronization logic, and __nptl_nthreads increment here, around
26934         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26935         PD->parent_cancelhandling here, before create_thread.  When
26936         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26937         __deallocate_stack, and ENOMEM translation here.
26939 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26941         [BZ #17616]
26942         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26943         (mptwo): Rename to __mptwo.
26944         (__inv): Use __mptwo instead of mptwo.
26945         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26946         (mptwo): Rename to __mptwo.
26947         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26948         of mpone and __mptwo instead of mptwo.
26949         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26950         instead of mpone.
26951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26952         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26953         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26954         of mpone and __mptwo instead of mptwo.
26955         (__mpranred): Use __mpone instead of mpone.
26956         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26957         variable.
26958         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26959         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26960         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26961         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26962         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26963         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26964         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26965         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26966         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26967         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26968         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26969         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26970         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26971         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26972         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26973         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26974         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26975         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26976         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26978 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26980         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26981         replace BSD Handler xref with BSD Signal Handling.
26983 2014-11-17  Richard Henderson  <rth@redhat.com>
26985         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26986         (_FP_PACK_RAW_2): Remove.
26987         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26988         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26989         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26990         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26991         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26992         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26993         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26994         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26995         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26996         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26997         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26998         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26999         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27000         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27001         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27002         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27004 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27006         * signal/signal.h [__USE_MISC]
27007         (struct sigvec): Remove type.
27008         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27009         (sigvec): Remove declaration.
27010         * sysdeps/posix/sigvec.c: Moved ...
27011         * signal/sigvec.c: ... here, replacing old file.
27012         (struct sigvec): New type, copied from old signal.h definition.
27013         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27014         (__sigvec): Convert definition to prototype.
27015         (sigvec): Replace weak_alias with compat_symbol.
27016         * signal/Versions (libc: GLIBC_2.21): New version set.
27017         * include/signal.h: Remove __sigvec declaration.
27018         * sysdeps/unix/bsd/sigvec.c: Remove file.
27019         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27020         * manual/signal.texi (BSD Handler): Remove subsection.
27021         Move siginterrupt up to ...
27022         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27023         (Blocking in BSD): Fold subsection into its parent.
27024         * NEWS: Mention sigvec removal.
27026 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27028         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27029         (DLA_FMS): Make definition conditional only on [__FMA4__].
27030         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27031         definition.
27033         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27034         Make definition conditional only on [PROF].
27035         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27036         definition.
27037         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27038         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27040         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27041         !__GNUC__].
27042         * include/signal.h (__sigpause): Move declaration above call to
27043         libc_hidden_proto.
27044         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27045         variable.
27046         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27047         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27049 2014-11-14  David S. Miller  <davem@davemloft.net>
27051         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27052         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27054 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27056         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27057         * configure: Regenerated.
27058         * manual/install.texi (Tools for Compilation): Document a
27059         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27060         compiler verified to work.
27061         * INSTALL: Regenerated.
27063         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27064         redeclare with asm name.
27065         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27066         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27067         including <string.h>.
27068         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27069         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27070         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27071         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27072         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27073         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27074         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27076 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27078         * stdlib/strtol.c (__strtol): Use prototype definition.
27080         [BZ #17594]
27081         * stdlib/strtol.c (SYM__): New macro.
27082         (SYM__1): Likewise.
27083         (__strtol): Likewise.
27084         (strtol): Rename to __strtol and define as weak alias of
27085         __strtol.  Use libc_hidden_weak.
27087 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27089         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27090         Use numbered labels in inline assembly.
27092 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27094         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27095         Add setjmp LIBC_PROBE.
27096         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27097         Likewise.
27098         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27099         Add longjmp, longjmp_target LIBC_PROBE.
27100         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27101         Likewise.
27103 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27105         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27106         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27107         to get rid of unused variable warning.
27109 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27111         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27112         Check for unwind_backtrace ==  NULL only in SHARED case.
27113         (__backchain_backtrace): Compile only in SHARED case.
27114         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27115         Likewise.
27116         (__backchain_backtrace): Declare as static.
27118 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27120         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27121         (__libc_multiple_threads_ptr): Variable moved ...
27122         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27124 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27126         * conform/GlibcConform.pm: New file.
27127         * conform/conformtest.pl: Use GlibcConform module.
27128         * conform/linknamespace.pl: New file.
27129         * conform/list-header-symbols.pl: Likewise.
27130         * conform/Makefile (linknamespace-symlists-base): New variable.
27131         (linknamespace-symlists-tests): Likewise.
27132         (linknamespace-header-base): Likewise.
27133         (linknamespace-header-tests): Likewise.
27134         (tests-special): Add new tests.
27135         ($(linknamespace-symlists-tests)): New rule.
27136         (linknamespace-libs): New variable.
27137         ($(objpfx)symlist-stdlibs): New rule.
27138         ($(linknamespace-header-tests)): Likewise.
27139         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27140         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27141         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27142         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27143         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27144         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27145         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27146         (test-xfail-ISO/math.h/linknamespace): Likewise.
27147         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27148         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27149         (test-xfail-ISO/time.h/linknamespace): Likewise.
27150         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27151         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27152         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27153         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27154         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27155         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27156         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27157         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27158         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27159         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27160         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27161         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27162         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27163         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27164         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27165         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27166         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27167         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27168         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27169         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27170         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27171         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27172         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27173         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27174         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27175         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27176         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27177         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27178         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27179         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27180         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27181         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27182         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27183         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27184         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27185         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27186         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27187         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27188         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27189         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27190         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27191         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27192         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27193         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27194         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27195         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27196         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27197         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27198         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27199         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27200         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27201         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27202         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27203         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27204         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27205         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27206         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27207         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27208         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27209         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27210         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27211         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27212         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27213         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27214         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27215         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27216         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27217         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27218         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27219         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27220         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27221         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27222         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27223         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27224         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27225         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27226         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27227         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27228         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27229         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27230         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27231         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27232         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27233         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27234         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27235         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27236         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27237         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27238         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27239         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27240         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27241         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27242         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27243         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27244         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27245         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27246         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27247         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27248         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27249         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27250         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27251         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27252         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27253         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27254         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27255         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27256         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27257         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27258         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27259         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27260         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27261         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27262         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27263         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27264         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27265         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27266         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27267         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27268         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27269         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27270         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27271         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27272         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27273         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27274         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27275         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27276         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27277         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27278         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27279         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27280         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27281         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27282         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27283         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27284         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27285         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27286         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27287         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27288         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27289         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27290         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27291         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27292         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27293         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27294         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27295         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27296         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27297         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27298         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27299         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27301         [BZ #17589]
27302         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27303         of fgets_unlocked.
27305         [BZ #17585]
27306         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27307         (memmem): Rename to __memmem and define as weak alias of
27308         __memmem.  Use libc_hidden_weak.
27309         (__memmem): Use libc_hidden_def.
27310         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27311         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27312         memmem.
27314         [BZ #17582]
27315         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27316         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27317         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27318         and define as weak alias of __fgets_unlocked.  Use
27319         libc_hidden_weak.
27320         (__fgets_unlocked): Use libc_hidden_def.
27321         * include/stdio.h (__fgets_unlocked): Declare.  Use
27322         libc_hidden_proto.
27323         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27324         __fgets_unlocked instead of fgets_unlocked.
27325         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27326         (GET_NPROCS_CONF_PARSER): Likewise.
27327         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27328         (GET_NPROCS_CONF_PARSER): Likewise.
27330         [BZ #17574]
27331         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27332         weak alias of __wmemset.  Use libc_hidden_weak.
27333         (__wmemset): Use libc_hidden_def.
27334         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27335         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27336         of wmemset.
27338         [BZ #17573]
27339         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27340         with asm name __mempcpy.
27341         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27343         [BZ #17572]
27344         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27345         and define as weak alias of __rawmemchr.
27346         (__rawmemchr): Do not define as strong alias of rawmemchr.
27348         [BZ #17571]
27349         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27350         alias of __qsort_r.
27351         (qsort): Call __qsort_r instead of qsort_r.
27352         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27353         (__qsort_r): Declare.  Call libc_hidden_proto.
27354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27355         instead of qsort_r.
27356         * nscd/gai.c (__qsort_r): Define to qsort_r.
27357         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27358         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27359         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27361         [BZ #17570]
27362         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27363         define as weak alias of __malloc_info.
27365         [BZ #17584]
27366         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27367         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27368         (__rewinddir): Use libc_hidden_def.
27369         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27370         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27371         (__rewinddir): Use libc_hidden_def.
27372         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27373         weak alias of __rewinddir.  Don't use libc_hidden_def.
27374         (__rewinddir): Use libc_hidden_def.
27375         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27376         (__rewinddir): Use libc_hidden_proto.
27377         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27378         rewinddir.
27379         (__getcwd): Use __rewinddir instead of rewinddir.
27381         [BZ #17583]
27382         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27383         alias of __fileno.  Use libc_hidden_weak.
27384         (__fileno): Use libc_hidden_def.
27385         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27386         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27387         alias of __ftello.
27388         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27389         __ftello.
27390         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27391         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27392         libc_hidden_def.
27393         (fread_unlocked): Don't use libc_hidden_ver.
27394         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27395         and define as weak alias of __fread_unlocked.  Don't use
27396         libc_hidden_def.
27397         (__fread_unlocked): Use libc_hidden_def.
27398         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27399         (ftello): Don't use libc_hidden_proto.
27400         (__ftello): Declare.  Use libc_hidden_proto.
27401         (fread_unlocked): Don't use libc_hidden_proto.
27402         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27403         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27404         and __ftello instead of fileno, fread_unlocked and ftello.
27406 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27408         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27409         GOT12.
27410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27411         Likewise.
27412         (_dl_start_user): Likewise.
27413         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27415 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27416             Siddhesh Poyarekar  <siddhesh@redhat.com>
27418         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27419         Move argv and envp down instead of moving argc up.
27420         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27422 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27424         [BZ #17506]
27425         * test-skeleton.c (main): Return successful if one of
27426         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27427         * string/tst-strcoll-overflow.c: Define expected status.
27429 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27431         [BZ #17475]
27432         * locale/iso-639.def: Define Bhili and Tulu language codes.
27434 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27436         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27438 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27440         [BZ #17555]
27441         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27443 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27445         * configure.ac: Updated check of minimal required version to
27446         2.22.
27447         * manual/install.texi (Tools for Compilation): Updated version
27448         number.
27449         * configure: Regenerated.
27450         * INSTALL: Likewise.
27452 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27454         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27455         __tls_get_addr.
27457 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27459         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27460         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27461         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27462         libc_hidden_weak.
27463         (waitpid): Define as alias of __waitpid.
27464         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27465         __waitpid.
27466         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27467         libc_hidden_weak.
27468         (waitpid): Define as alias of __waitpid.
27469         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27470         __libc_waitpid alias.
27471         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27472         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27473         Likewise.
27474         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27475         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27476         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27477         alias.
27478         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27479         __waitpid.
27480         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27481         libc_hidden_weak.
27482         (waitpid): Define as alias of __waitpid.
27484 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27486         * manual/llio.texi: Add comment that write safety has been
27487         fixed in Linux.
27489         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27490         (localplt-build-dso): Add elf/ld.so.
27491         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27492         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27493         and free for ld.so.
27494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27495         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27497         Likewise.
27498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27499         Likewise.
27500         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27501         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27502         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27503         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27504         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27505         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27506         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27507         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27508         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27509         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27510         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27512 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27514         [BZ #14132]
27515         * include/libc-symbols.h (INTUSE): Remove macro.
27516         (INTDEF): Likewise.
27517         (INTVARDEF): Likewise.
27518         (_INTVARDEF): Likewise.
27519         (INTDEF2): Likewise.
27520         (INTVARDEF2): Likewise.
27521         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27522         rtld_hidden_def instead of INTVARDEF.
27523         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27524         (_dl_starting_up_internal): Remove declaration.
27525         (_dl_starting_up): Use rtld_hidden_proto.
27526         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27527         declaration.
27528         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27529         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27530         _dl_starting_up.
27531         * elf/dl-writev.h (_dl_writev): Likewise.
27532         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27533         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27534         _dl_starting_up_internal.
27536 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27538         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27539         test-skeleton.c.
27541 2014-11-05  Will Newton  <will.newton@linaro.org>
27543         * benchtests/Makefile: (bench-malloc): Add malloc thread
27544         scalability benchmark.
27545         * benchtests/bench-malloc-threads.c: New file.
27547 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27549         * sysdeps/aarch64/strchrnul.S: New file.
27551 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27553         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27554         definition.
27555         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27556         Likwise.
27557         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27558         Likewise.
27559         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27560         Likewise.
27561         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27562         Likewise.
27563         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27564         Likewise.
27566 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27568         * catgets/test-gencat.c: Use test-skeleton.c.
27569         * catgets/tst-catgets.c: Likewise.
27570         * csu/tst-empty.c: Likewise.
27571         * elf/tst-audit2.c: Likewise.
27572         * elf/tst-global1.c: Likewise.
27573         * elf/tst-pathopt.c: Likewise.
27574         * elf/tst-piemod1.c: Likewise.
27575         * elf/tst-tls10.c: Likewise.
27576         * elf/tst-tls11.c: Likewise.
27577         * elf/tst-tls12.c: Likewise.
27578         * gnulib/tst-gcc.c: Likewise.
27579         * iconvdata/tst-e2big.c: Likewise.
27580         * iconvdata/tst-loading.c: Likewise.
27581         * iconv/tst-iconv1.c: Likewise.
27582         * iconv/tst-iconv2.c: Likewise.
27583         * inet/test-inet6_opt.c: Likewise.
27584         * inet/tst-gethnm.c: Likewise.
27585         * inet/tst-network.c: Likewise.
27586         * inet/tst-ntoa.c: Likewise.
27587         * intl/tst-codeset.c: Likewise.
27588         * intl/tst-gettext2.c: Likewise.
27589         * intl/tst-gettext3.c: Likewise.
27590         * intl/tst-ngettext.c: Likewise.
27591         * intl/tst-translit.c: Likewise.
27592         * io/test-stat.c: Likewise.
27593         * libio/test-fmemopen.c: Likewise.
27594         * libio/tst-freopen.c: Likewise.
27595         * libio/tst-sscanf.c: Likewise.
27596         * libio/tst-ungetwc1.c: Likewise.
27597         * libio/tst-ungetwc2.c: Likewise.
27598         * libio/tst-widetext.c: Likewise.
27599         * localedata/tst-ctype.c: Likewise.
27600         * localedata/tst-digits.c: Likewise.
27601         * localedata/tst-leaks.c: Likewise.
27602         * localedata/tst-mbswcs1.c: Likewise.
27603         * localedata/tst-mbswcs2.c: Likewise.
27604         * localedata/tst-mbswcs3.c: Likewise.
27605         * localedata/tst-mbswcs4.c: Likewise.
27606         * localedata/tst-mbswcs5.c: Likewise.
27607         * localedata/tst-setlocale.c: Likewise.
27608         * localedata/tst-trans.c: Likewise.
27609         * localedata/tst-wctype.c: Likewise.
27610         * localedata/tst-xlocale1.c: Likewise.
27611         * login/tst-grantpt.c: Likewise.
27612         * malloc/tst-calloc.c: Likewise.
27613         * malloc/tst-malloc.c: Likewise.
27614         * malloc/tst-mallocstate.c: Likewise.
27615         * malloc/tst-mcheck.c: Likewise.
27616         * malloc/tst-mtrace.c: Likewise.
27617         * malloc/tst-obstack.c: Likewise.
27618         * math/atest-exp2.c: Likewise.
27619         * math/atest-exp.c: Likewise.
27620         * math/atest-sincos.c: Likewise.
27621         * math/test-matherr.c: Likewise.
27622         * math/test-misc.c: Likewise.
27623         * math/test-powl.c: Likewise.
27624         * math/tst-definitions.c: Likewise.
27625         * misc/tst-dirname.c: Likewise.
27626         * misc/tst-efgcvt.c: Likewise.
27627         * misc/tst-fdset.c: Likewise.
27628         * misc/tst-hsearch.c: Likewise.
27629         * misc/tst-mntent2.c: Likewise.
27630         * nptl/tst-sem7.c: Likewise.
27631         * nptl/tst-sem8.c: Likewise.
27632         * nptl/tst-sem9.c: Likewise.
27633         * nss/test-netdb.c: Likewise.
27634         * posix/tst-fnmatch.c: Likewise.
27635         * posix/tst-getlogin.c: Likewise.
27636         * posix/tst-gnuglob.c: Likewise.
27637         * posix/tst-mmap.c: Likewise.
27638         * pwd/tst-getpw.c: Likewise.
27639         * resolv/tst-inet_ntop.c: Likewise.
27640         * rt/tst-timer.c: Likewise.
27641         * stdio-common/test-fseek.c: Likewise.
27642         * stdio-common/test-popen.c: Likewise.
27643         * stdio-common/test-vfprintf.c: Likewise.
27644         * stdio-common/tst-cookie.c: Likewise.
27645         * stdio-common/tst-fileno.c: Likewise.
27646         * stdio-common/tst-gets.c: Likewise.
27647         * stdio-common/tst-obprintf.c: Likewise.
27648         * stdio-common/tst-perror.c: Likewise.
27649         * stdio-common/tst-sprintf2.c: Likewise.
27650         * stdio-common/tst-sprintf3.c: Likewise.
27651         * stdio-common/tst-sprintf.c: Likewise.
27652         * stdio-common/tst-swprintf.c: Likewise.
27653         * stdio-common/tst-tmpnam.c: Likewise.
27654         * stdio-common/tst-unbputc.c: Likewise.
27655         * stdio-common/tst-wc-printf.c: Likewise.
27656         * stdlib/tst-environ.c: Likewise.
27657         * stdlib/tst-fmtmsg.c: Likewise.
27658         * stdlib/tst-limits.c: Likewise.
27659         * stdlib/tst-rand48-2.c: Likewise.
27660         * stdlib/tst-rand48.c: Likewise.
27661         * stdlib/tst-random2.c: Likewise.
27662         * stdlib/tst-random.c: Likewise.
27663         * stdlib/tst-strtol.c: Likewise.
27664         * stdlib/tst-strtoll.c: Likewise.
27665         * stdlib/tst-tls-atexit.c: Likewise.
27666         * stdlib/tst-xpg-basename.c: Likewise.
27667         * string/test-ffs.c: Likewise.
27668         * string/tst-bswap.c: Likewise.
27669         * string/tst-inlcall.c: Likewise.
27670         * string/tst-strtok.c: Likewise.
27671         * string/tst-strxfrm.c: Likewise.
27672         * sysdeps/x86_64/tst-audit10.c: Likewise.
27673         * sysdeps/x86_64/tst-audit3.c: Likewise.
27674         * sysdeps/x86_64/tst-audit4.c: Likewise.
27675         * sysdeps/x86_64/tst-audit5.c: Likewise.
27676         * time/tst-ftime_l.c: Likewise.
27677         * time/tst-getdate.c: Likewise.
27678         * time/tst-mktime3.c: Likewise.
27679         * time/tst-mktime.c: Likewise.
27680         * time/tst-posixtz.c: Likewise.
27681         * time/tst-strptime2.c: Likewise.
27682         * time/tst-strptime3.c: Likewise.
27683         * wcsmbs/tst-btowc.c: Likewise.
27684         * wcsmbs/tst-mbrtowc.c: Likewise.
27685         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27686         * wcsmbs/tst-wchar-h.c: Likewise.
27687         * wcsmbs/tst-wcpncpy.c: Likewise.
27688         * wcsmbs/tst-wcrtomb.c: Likewise.
27689         * wcsmbs/tst-wcsnlen.c: Likewise.
27690         * wcsmbs/tst-wcstof.c: Likewise.
27692 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27694         [BZ #14132]
27695         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27696         INTDEF.
27697         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27698         declaration.
27699         (_dl_mcount): Use rtld_hidden_proto.
27700         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27701         _dl_mcount.
27702         * elf/rtld.c (_rtld_global_ro): Likewise.
27704         [BZ #14132]
27705         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27706         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27707         of _dl_init_internal.
27708         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27709         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27710         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27711         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27712         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27713         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27714         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27715         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27716         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27717         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27718         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27719         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27720         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27721         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27722         * sysdeps/tile/dl-start.S (_start): Likewise.
27723         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27724         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27726         [BZ #14132]
27727         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27728         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27729         (rtld_progname): Make macro definition unconditional.
27730         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27731         INTDEF.
27732         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27733         (dl_main): Likewise.
27734         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27735         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27736         instead of _dl_argv_internal.
27737         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27738         __GI__dl_argv instead of INTUSE(_dl_argv).
27739         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27740         __GI__dl_argv instead of _dl_argv_internal.
27742         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27743         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27744         macro.
27745         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27746         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27747         New macro.
27748         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27749         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27750         macro.
27751         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27752         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27754 2014-11-04  Andreas Schwab  <schwab@suse.de>
27756         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27758 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27760         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27761         mtvsrd instruction in binary form.
27763 2014-11-03  Andreas Schwab  <schwab@suse.de>
27765         [BZ #17522]
27766         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27767         for less than MB_LEN_MAX use a local buffer of that size.
27768         * libio/tst-fputws.c: New file.
27769         * libio/Makefile (tests): Add tst-fputws.
27771 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27773         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27774         the size of the fpu_fr.fpu_dregs[] array.
27776 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27778         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27779         (__nanosleep): Do not define as alias.
27780         (nanosleep): Define as alias of __nanosleep.
27781         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27782         __libc_nanosleep name.
27784 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27786         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27787         install.texi in comment.
27789 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27791         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27792         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27793         ... add here and use lwsync or sync ...
27794         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27795         ... and add here using lwsync.
27797 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27799         * elf/dl-machine-reject-phdr.h: New file.
27800         * elf/dl-load.c: #include that.
27801         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27802         if that returned true.
27804 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27806         [BZ #17496]
27807         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27808         gen-as-const-headers chunk.  Add a big scare comment after the last
27809         safe place to touch before-compile.
27811 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27813         * manual/install.texi (Tools for Compilation): Update autoconf
27814         version requirements.
27815         * INSTALL: Regenerated.
27817         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27818         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27819         (__libc_pselect): Likewise.
27821         [BZ #14138]
27822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27827 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27829         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27830         correct barrier instruction.
27831         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27832         Likewise.
27833         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27834         Likewise.
27836 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27838         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27839         after defining inlines.  Instead, just use parens to defeat macro
27840         expansion of __isctype in its declaration.
27842 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27844         * include/sys/uio.h (__libc_readv): Remove declaration.
27845         (__libc_writev): Likewise.
27846         * misc/readv.c (__libc_readv): Rename to __readv.
27847         (__readv): Do not define as alias.
27848         (readv): Define as alias of __readv.
27849         * misc/writev.c (__libc_writev): Rename to __writev.
27850         (__writev): Do not define as alias.
27851         (writev): Define as alias of __writev.
27852         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27853         (__readv): Do not define as alias.
27854         (readv): Define unconditionally as alias of __readv.
27855         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27856         (__writev): Do not define as alias.
27857         (writev): Define unconditionally as alias of __writev.
27858         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27859         name.
27860         (writev): Do not define __libc_writev name.
27862 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27864         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27865         (convert_charseq): New function, broken out of ...
27866         (use_from_charmap): ... here.  Call it.
27867         (use_to_charmap): Use convert_charseq and free instead of duplicating
27868         its code with a variable-length stack struct.
27870 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27872         * include/fcntl.h (__libc_creat): Remove declaration.
27873         * io/creat.c (__libc_creat): Rename to creat.
27874         (creat): Do not define as alias.
27875         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27876         of creat instead of __libc_creat.
27877         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27878         to creat.
27879         (creat): Do not define as alias.
27880         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27881         __libc_creat.
27882         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27883         __libc_creat name.
27884         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27885         Likewise.
27887 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27889         * manual/llio.texi: Add comments discussing why write() may be
27890         considered MT-unsafe on Linux.
27892 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27894         * dl-load.c (local_strdup): Remove.
27895         (expand_dynamic_string_token): Use __strdup.
27896         (decompose_rpath): Likewise.
27897         (_dl_map_object): Likewise.
27899 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27901         [BZ #14132]
27902         * sysdeps/generic/unwind-dw2-fde.c
27903         (__register_frame_info_bases_internal): Do not declare.
27904         (__register_frame_info_table_bases_internal): Likewise.
27905         (__deregister_frame_info_bases_internal): Likewise.
27906         (__register_frame_info_bases): Declare and use hidden_proto before
27907         definition.  Use hidden_def instead of INTDEF.
27908         (__register_frame_info_table_bases): Likewise.
27909         (__deregister_frame_info_bases): Likewise.
27910         (__register_frame_info): Do not use INTUSE.
27911         (__register_frame): Likewise.
27912         (__register_frame_info_table): Likewise.
27913         (__register_frame_table): Likewise.
27914         (__deregister_frame_info): Likewise.
27915         (__deregister_frame): Likewise.
27917 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27919         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27920         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27921         not undefine.
27922         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27923         Likewise.
27924         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27925         Likewise.
27927 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27929         [BZ #14138]
27930         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27931         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27932         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27933         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27934         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27935         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27936         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27937         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27938         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27939         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27940         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27941         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27942         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27943         syscall.
27944         (setfsuid): Likewise.
27945         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27946         (setfsuid): Likewise.
27947         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27948         (setfsuid): Likewise.
27949         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27950         Likewise.
27951         (setfsuid): Likewise.
27952         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27953         (setfsuid): Likewise.
27954         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27955         Likewise.
27956         (setfsuid): Likewise.
27958 2014-10-27  Andreas Schwab  <schwab@suse.de>
27960         [BZ #17501]
27961         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27962         check for Slow_SSE4_2 feature bit.
27963         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27964         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27965         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27966         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27968 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27970         * configure.ac: Validate compiler version with a empirical test of
27971         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27972         $CC -v output.
27973         * configure: Regenerated.
27975         * inet/htons.c (htons): Prototypify.
27976         * inet/htonl.c (htonl): Likewise.
27978 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27980         * string/strncat.c (strncat): Improve performance by using strlen.
27982 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27984         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27986 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27988         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27989         Call libc_fetestexcept_aarch64.
27991 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27993         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27994         Call libc_feholdexcept_aarch64.
27996 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27998         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27999         Call get_rounding_mode.
28001 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28003         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28004         Simplify logic.
28006 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28008         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28009         Simplify logic.
28011 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28013         [BZ #14138]
28014         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28015         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28016         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28017         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28018         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28019         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28020         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28021         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28022         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28023         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28024         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28025         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28026         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28027         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28028         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28029         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28030         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28031         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28032         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28033         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28034         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28035         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28036         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28037         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28038         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28039         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28040         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28041         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28042         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28043         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28044         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28045         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28046         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28047         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28048         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28049         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28050         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28051         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28052         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28053         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28054         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28055         syscall.
28056         (geteuid): Likewise.
28057         (getgid): Likewise.
28058         (getuid): Likewise.
28059         (getresgid): Likewise.
28060         (getresuid): Likewise.
28061         (getgroups): Likewise.
28062         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28063         (geteuid): Likewise.
28064         (getgid): Likewise.
28065         (getuid): Likewise.
28066         (getresgid): Likewise.
28067         (getresuid): Likewise.
28068         (getgroups): Likewise.
28069         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28070         (geteuid): Likewise.
28071         (getgid): Likewise.
28072         (getuid): Likewise.
28073         (getresgid): Likewise.
28074         (getresuid): Likewise.
28075         (getgroups): Likewise.
28076         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28077         Likewise.
28078         (geteuid): Likewise.
28079         (getgid): Likewise.
28080         (getuid): Likewise.
28081         (getresgid): Likewise.
28082         (getresuid): Likewise.
28083         (getgroups): Likewise.
28084         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28085         (geteuid): Likewise.
28086         (getgid): Likewise.
28087         (getuid): Likewise.
28088         (getresgid): Likewise.
28089         (getresuid): Likewise.
28090         (getgroups): Likewise.
28091         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28092         Likewise.
28093         (geteuid): Likewise.
28094         (getgid): Likewise.
28095         (getuid): Likewise.
28096         (getgroups): Likewise.
28098         [BZ #14138]
28099         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28100         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28101         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28102         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28103         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28104         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28105         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28106         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28107         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28108         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28109         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28110         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28111         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28112         __chown.
28113         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28114         (lchown): Likewise.
28115         (fchown): Likewise.
28116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28117         Likewise.
28118         (lchown): Likewise.
28119         (fchown): Likewise.
28120         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28121         (lchown): Likewise.
28122         (fchown): Likewise.
28123         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28124         Likewise.
28125         (lchown): Likewise.
28126         (fchown): Likewise.
28128 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28130         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28131         Simplify logic.
28133 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28135         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28136         Cleanup logic.
28138 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28140         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28141         Remove unused include.
28143 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28145         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28146         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28147         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28148         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28150 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28151             Helge Deller <deller@gmx.de>
28153         [BZ #17508]
28154         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28155         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28156         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28158 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28160         [BZ #14132]
28161         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28162         Remove macro definition.
28163         (__ashrdi3_v_glibc20): Likewise.
28164         (__lshrdi3_v_glibc20): Likewise.
28165         (__cmpdi2_v_glibc20): Likewise.
28166         (__ucmpdi2_v_glibc20): Likewise.
28167         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28168         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28169         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28170         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28171         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28172         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28174 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28176         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28177         old GNU extension [0] syntax.
28178         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28179         alloca rather than an array member with variable length.
28180         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28181         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28182         (parse_opt): ... here.  Likewise use alloca there.
28183         Validate the -i argument before checking for rootness.
28184         (send_shutdown): New function, broken out of ...
28185         (parse_opt): ... here.
28187 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28189         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28190         macro to get at the _rt_local_ro field.
28191         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28192         ([PIC] case) or _dl_hwcap ([!PIC] case).
28193         * sysdeps/arm/setjmp.S: Likewise.
28195         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28196         * sysdeps/arm/configure.ac: New check to define it.
28197         * sysdeps/arm/configure: Regenerated.
28198         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28199         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28200         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28201         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28202         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28203         Use move/movt pair instead of a load.
28204         (LDST_GLOBAL): Macro removed.
28205         (LDR_GLOBAL): New macro replaces it.
28206         (LDR_HIDDEN): New macro.
28207         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28208         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28210         * setjmp/tst-setjmp-static.c: New file.
28211         * setjmp/Makefile (tests): Add it.
28212         (tests-static): New variable.
28214 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28216         [BZ #17485]
28217         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28219 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28221         [BZ #14132]
28222         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28224 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28226         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28228 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28230         * io/fts.c (dirent_not_directory): New function.
28231         (fts_build): Call it.
28233 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28235         * nptl/version.c (__nptl_main): Use normal __write rather than
28236         INTERNAL_SYSCALL.
28237         (banner): Update copyright years.
28239         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28240         gettimeofday.
28241         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28242         * nptl/pthread_cond_timedwait.c: Likewise.
28243         * nptl/pthread_mutex_timedlock.c: Likewise.
28244         * nptl/sem_timedwait.c: Likewise.
28246         * sysdeps/nptl/bits/libc-lock.h
28247         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28248         (__libc_lock_init_recursive): Return void, not 0.
28249         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28250         (__libc_rwlock_init): Likewise.
28251         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28253 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28255         [BZ #15215]
28256         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28257         (__pthread_once_slow): ... here.
28258         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28259         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28261 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28263         [BZ #15215]
28264         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28265         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28266         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28267         * nptl/pthread_once.c (__pthread_once): Likewise.
28268         Update comments.
28270 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28272         [BZ #14138]
28273         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28274         name.
28275         (writev): Use __libc_writev as strong name.
28276         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28277         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28279 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28281         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28283         * sysdeps/i386/nptl/tls.h
28284         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28285         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28286         New macros.
28287         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28288         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28289         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28290         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28291         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28292         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28294         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28295         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28296         on [__NR_futex].
28297         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28298         broken out of ...
28299         (__pthread_mutex_init): ... here.  Call it.
28300         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28301         Conditionalize PI cases on [__NR_futex].
28302         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28303         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28304         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28306         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28307         conditional on [SIGSETXID].
28308         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28309         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28310         is defined.  Likewise for SIGSETXID.
28311         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28312         Conditionalize definitions on [SIGSETXID].
28313         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28314         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28315         unblocking on [SIGCANCEL].
28317         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28318         [__NR_set_robust_list].
28320 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28322         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28323         (do_compare): Likewise.
28325 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28327         [BZ #15884]
28328         * string/strcoll_l.c: Don't include stdio.h.
28329         (coll_seq): Remove members idxarr and rulearr.
28330         (get_next_seq_cached): Remove function.
28331         (get_next_seq): Likewise.
28332         (get_next_seq_nocache): Rename to get_next_seq.
28333         (do_compare): Remove function.
28334         (do_compare_nocache): Rename to do_compare.
28335         (STRCOLL): Remove weight and rules cache.
28337 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28339         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28340         * sysdeps/arm/sfp-machine.h: ... to here.
28341         * sysdeps/arm/Implies: Remove arm/soft-fp.
28343 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28345         * conform/data/sys/utsname.h-data (*_t): Allow.
28346         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28347         [POSIX] (WEXITED): Do not expect constant.
28348         [POSIX] (WSTOPPED): Likewise.
28349         [POSIX] (WNOHANG): Likewise.
28350         [POSIX] (WNOWAIT): Likewise.
28351         [POSIX] (siginfo_t): Do not expect type or elements.
28352         [POSIX] (pid_t): Do not expect type.
28353         [POSIX] (signal.h): Do not allow header.
28354         [POSIX] (sys/resource.h): Likewise.
28355         [POSIX] (si_*): Do not allow pattern.
28356         [POSIX] (W*): Likewise.
28357         [POSIX] (P_*): Likewise.
28358         [POSIX] (BUS_*): Likewise.
28359         [POSIX] (CLD_*): Likewise.
28360         [POSIX] (FPE_*): Likewise.
28361         [POSIX] (ILL_*): Likewise.
28362         [POSIX] (POLL_*): Likewise.
28363         [POSIX] (SEGV_*): Likewise.
28364         [POSIX] (SI_*): Likewise.
28365         [POSIX] (TRAP_*): Likewise.
28366         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28367         variable.
28369 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28371         [BZ #12926]
28372         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28373         infinite loop when __recvmsg returns 0.
28375 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28377         * CANCEL-FCT-WAIVE: Remove file.
28378         * CANCEL-FILE-WAIVE: Likewise.
28380         [BZ #14132]
28381         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28382         instead of INTVARDEF.
28383         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28384         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28385         rtld_hidden_data_def instead of INTVARDEF.
28386         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28387         * elf/dl-deps.c (expand_dst): Likewise.
28388         * elf/dl-load.c (_dl_dst_count): Likewise.
28389         (_dl_dst_substitute): Likewise.
28390         (decompose_rpath): Likewise.
28391         (_dl_init_paths): Likewise.
28392         (open_path): Likewise.
28393         (_dl_map_object): Likewise.
28394         * elf/rtld.c (dl_main): Likewise.
28395         (process_dl_audit): Likewise.
28396         (process_envvars): Likewise.
28397         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28398         Remove declaration.
28399         (__libc_enable_secure): Use rtld_hidden_proto.
28401 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28403         * elf/dl-load.c
28404         (add_path): New function broken out of _dl_rtld_di_serinfo.
28405         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28407 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28409         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28410         parentheses around macro arguments.
28411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28413         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28414         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28415         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28416         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28417         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28419         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28420         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28421         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28422         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28423         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28424         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28425         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28426         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28427         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28428         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28429         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28439         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28440         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28441         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28442         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28443         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28444         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28445         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28446         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28447         Likewise.
28448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28449         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28453         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28454         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28455         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28456         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28457         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28458         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28459         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28460         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28462         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28463         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28464         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28465         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28466         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28467         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28469         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28470         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28471         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28472         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28473         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28474         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28475         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28476         (_FP_FRAC_SRS_1): Likewise.
28477         (_FP_FRAC_CLZ_1): Likewise.
28478         (_FP_MUL_MEAT_1_imm): Likewise.
28479         (_FP_MUL_MEAT_1_wide): Likewise.
28480         (_FP_MUL_MEAT_1_hard): Likewise.
28481         (_FP_SQRT_MEAT_1): Likewise.
28482         (_FP_FRAC_ASSEMBLE_1): Likewise.
28483         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28484         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28485         (__FP_CLZ_2): Likewise.
28486         (_FP_MUL_MEAT_2_wide): Likewise.
28487         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28488         (_FP_MUL_MEAT_2_gmp): Likewise.
28489         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28490         (_FP_SQRT_MEAT_2): Likewise.
28491         (_FP_FRAC_ASSEMBLE_2): Likewise.
28492         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28493         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28494         (_FP_FRAC_CLZ_4): Likewise.
28495         (_FP_MUL_MEAT_4_wide): Likewise.
28496         (_FP_MUL_MEAT_4_gmp): Likewise.
28497         (_FP_SQRT_MEAT_4): Likewise.
28498         (_FP_FRAC_ASSEMBLE_4): Likewise.
28499         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28500         * soft-fp/op-common.h (_FP_CMP): Likewise.
28501         (_FP_CMP_EQ): Likewise.
28502         (_FP_CMP_UNORD): Likewise.
28503         (_FP_TO_INT): Likewise.
28504         (_FP_FROM_INT): Likewise.
28505         [!__FP_CLZ] (__FP_CLZ): Likewise.
28506         (_FP_DIV_HELP_imm): Likewise.
28507         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28508         Likewise.
28509         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28512         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28513         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28514         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28515         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28516         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28517         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28518         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28519         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28520         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28521         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28522         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28523         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28524         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28525         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28526         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28527         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28529         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28530         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28531         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28532         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28533         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28534         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28535         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28536         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28537         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28538         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28539         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28540         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28541         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28542         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28543         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28544         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28545         (FP_UNPACK_RAW_SP): Likewise.
28546         (FP_PACK_RAW_S): Likewise.
28547         (FP_PACK_RAW_SP): Likewise.
28548         (FP_UNPACK_S): Likewise.
28549         (FP_UNPACK_SP): Likewise.
28550         (FP_UNPACK_SEMIRAW_S): Likewise.
28551         (FP_UNPACK_SEMIRAW_SP): Likewise.
28552         (FP_PACK_S): Likewise.
28553         (FP_PACK_SP): Likewise.
28554         (FP_PACK_SEMIRAW_S): Likewise.
28555         (FP_PACK_SEMIRAW_SP): Likewise.
28556         (_FP_SQRT_MEAT_S): Likewise.
28557         (FP_CMP_S): Likewise.
28558         (FP_CMP_EQ_S): Likewise.
28559         (FP_CMP_UNORD_S): Likewise.
28560         (FP_TO_INT_S): Likewise.
28561         (FP_FROM_INT_S): Likewise.
28563         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28565         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28566         (FP_EX_INVALID_IMZ): Likewise.
28567         (FP_EX_INVALID_IMZ_FMA): Likewise.
28568         (FP_EX_INVALID_ISI): Likewise.
28569         (FP_EX_INVALID_ZDZ): Likewise.
28570         (FP_EX_INVALID_IDI): Likewise.
28571         (FP_EX_INVALID_SQRT): Likewise.
28572         (FP_EX_INVALID_CVI): Likewise.
28573         (FP_EX_INVALID_VC): Likewise.
28574         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28575         "invalid" exceptions.
28576         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28577         (_FP_ADD_INTERNAL): Likewise.
28578         (_FP_MUL): Likewise.
28579         (_FP_FMA): Likewise.
28580         (_FP_DIV): Likewise.
28581         (_FP_CMP_CHECK_NAN): Likewise.
28582         (_FP_SQRT): Likewise.
28583         (_FP_TO_INT): Likewise.
28584         (FP_EXTEND): Likewise.
28586 2014-10-09  Allan McRae  <allan@archlinux.org>
28588         * po/fr.po: Update French translation from translation project.
28590 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28592         [BZ #14132]
28593         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28594         of INTDEF.
28595         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28596         (__cxa_atexit): Use libc_hidden_proto.
28597         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28599         [BZ #14132]
28600         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28601         declaration.
28602         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28603         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28604         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28605         [!_ISOMAC] (__iswctype_internal): Likewise.
28606         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28607         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28608         alias.
28609         (fcntl): Remove __fcntl_internal alias.
28610         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28611         __connect_internal alias.
28612         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28613         Likewise.
28615         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28616         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28617         FP_DENORM_ZERO.
28618         (_FP_CHECK_FLUSH_ZERO): New macro.
28619         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28620         (_FP_CMP): Likewise.
28621         (_FP_CMP_EQ): Likewise.
28622         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28623         FP_DENORM_ZERO.
28624         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28625         (FP_TRUNC): Likewise.
28627         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28628         treated as invalid conversion, not as normal exponent.
28630         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28631         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28632         (_FP_CMP_EQ): Likewise.
28633         (_FP_CMP_UNORD): Likewise.
28634         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28635         (FP_CMP_EQ_D): Likewise.
28636         (FP_CMP_UNORD_D): Likewise.
28637         * soft-fp/extended.h (FP_CMP_E): Likewise.
28638         (FP_CMP_EQ_E): Likewise.
28639         (FP_CMP_UNORD_E): Likewise.
28640         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28641         (FP_CMP_EQ_Q): Likewise.
28642         (FP_CMP_UNORD_Q): Likewise.
28643         * soft-fp/single.h (FP_CMP_S): Likewise.
28644         (FP_CMP_EQ_S): Likewise.
28645         (FP_CMP_UNORD_S): Likewise.
28646         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28647         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28648         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28649         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28650         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28651         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28652         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28653         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28654         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28655         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28656         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28657         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28658         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28659         to FP_CMP_Q.
28660         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28661         FP_CMP_Q.
28662         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28663         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28664         FP_CMP_EQ_Q.
28665         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28666         FP_CMP_Q.
28667         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28668         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28669         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28670         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28671         FP_CMP_EQ_Q.
28672         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28673         FP_CMP_Q.
28674         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28675         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28676         FP_CMP_EQ_Q.
28677         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28678         FP_CMP_Q.
28679         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28680         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28681         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28682         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28683         FP_CMP_EQ_Q.
28685         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28686         a subnormal result, set the underflow exception if trapping on
28687         underflow is enabled.
28688         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28689         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28690         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28691         redefine to 0.
28692         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28693         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28694         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28695         * soft-fp/extendxftf2.c (__extendxftf2): Use
28696         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28698         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28699         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28700         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28701         FP_HANDLE_EXCEPTIONS.
28702         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28703         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28704         FP_HANDLE_EXCEPTIONS.
28705         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28706         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28707         FP_HANDLE_EXCEPTIONS.
28708         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28709         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28710         FP_HANDLE_EXCEPTIONS.
28712 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28714         [BZ #14132]
28715         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28716         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28717         use INTUSE.
28718         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28719         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28720         Remove alias.
28721         (__adjtimex): Define using libc_hidden_ver.
28722         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28723         Remove declaration.
28724         (ntp_gettime): Call __adjtimex directly.
28725         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28726         Remove declaration.
28727         (ntp_gettimex): Call __adjtimex directly.
28728         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28729         __adjtimex_internal alias.
28731 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28733         [BZ #17460]
28734         * nscd/nscd.c (more_help): Rewrite list of tables collection
28735         using xstrdup and asprintf.
28737         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28739 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28740             Roland McGrath  <roland@hack.frob.com>
28742         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28743         (do_lookup_unique): ... local function 'enter' here; update callers.
28745 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28747         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28748         compat_symbol calls on [SHARED].
28749         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28750         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28751         Remove.
28752         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28753         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28754         (oldsetrlimit): Remove.
28755         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28757         (lchown): New syscall entry.
28758         (oldsetrlimit): Remove.
28759         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28760         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28761         (oldsetrlimit): Remove.
28762         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28764         [BZ #14138]
28765         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28766         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28767         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28768         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28769         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28770         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28771         (fchown): Likewise.
28772         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28773         (fchown): Likewise.
28774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28775         Likewise.
28777 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28779         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28780         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28781         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28782         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28783         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28784         Likewise.
28785         (__old_sem_post): Likewise.
28787 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28789         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28790         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28791         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28792         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28793         Use INLINE_VSYSCALL macro.
28794         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28795         __vdso_clock_gettime.
28796         * sysdeps/unix/sysv/linux/tile/init-first.c
28797         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28798         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28799         __vdso_clock_gettime.
28801         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28802         to set up frame more cleanly.
28804         * sysdeps/tile/memcmp.c: New file.
28806         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28808         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28809         * sysdeps/tile/tilegx/strcasestr.c: New file.
28810         * sysdeps/tile/tilegx/strnlen.c: New file.
28811         * sysdeps/tile/tilegx/strstr.c: New file.
28813         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28815 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28817         * nptl/tst-setuid3.c: Write errors to stdout.
28819 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28821         * elf/dl-deps.c
28822         (preload): New functions broken out of _dl_map_object_deps.
28823         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28825 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28827         [BZ #14138]
28828         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28829         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28831 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28833         * sysdeps/mips/strcmp.S: New.
28835 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28837         [BZ #14138]
28838         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28839         (linkat): Likewise.
28840         (mkdirat): Likewise.
28841         (readlinkat): Likewise.
28842         (renameat): Likewise.
28843         (symlinkat): Likewise.
28844         (unlinkat): Likewise.
28845         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28846         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28847         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28848         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28849         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28850         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28851         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28853 2014-09-30  Will Newton  <will.newton@linaro.org>
28855         * math/math.h: Define long double math functions if
28856         _LIBC_TEST is defined.
28857         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28859         * localedata/Makefile: Move assignment to tests-special
28860         into an ifdef testing run-built-tests.
28861         * timezone/Makefile: Likewise.
28863 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28865         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28866         with $(BASH) not $(SHELL).
28868 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28869             Matthew LeGendre  <legendre1@llnl.gov>
28871         [BZ #17411]
28872         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28873         l_reloc_result.
28875 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28877         * stdio-common/printf_fp.c
28878         (hack_digit): New function, broken out of ...
28879         (__printf_fp): ... local function here.  Update call sites.
28880         hack_digit now takes an additional parameter that is a pointer
28881         to a struct of the referenced locals.  Those locals moved inside
28882         the struct and references updated.
28884 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28886         * aclocal.m4: Require autoconf 2.69.
28887         * configure: Regenerated.
28888         * sysdeps/aarch64/configure: Likewise.
28889         * sysdeps/alpha/configure: Likewise.
28890         * sysdeps/arm/armv7/configure: Likewise.
28891         * sysdeps/arm/configure: Likewise.
28892         * sysdeps/ia64/configure: Likewise.
28893         * sysdeps/mach/configure: Likewise.
28894         * sysdeps/mips/configure: Likewise.
28895         * sysdeps/s390/configure: Likewise.
28896         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28899         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28900         file.
28901         * sysdeps/ia64/configure.ac: Likewise.
28903 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28906         specify symbol version for ld.so.  Do not include entry for
28907         libpthread.
28908         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28909         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28910         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28912         [BZ #14171]
28913         * Makeconfig [$(build-shared) = yes]
28914         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28915         makefiles.
28916         [$(build-shared) = yes && $(soversions.mk-done) = t]
28917         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28918         [$(build-shared) = yes && $(soversions.mk-done) = t]
28919         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28920         to Makerules.
28921         [$(build-shared) = yes && $(soversions.mk-done) = t]
28922         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28923         here.
28924         [$(build-shared) = yes && $(soversions.mk-done) = t]
28925         (common-generated): Don't append gnu/lib-names.h and
28926         gnu/lib-names.stmp here.
28927         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28928         (lib-names-h-abi): New variable.
28929         [$(build-shared) = yes && $(soversions.mk-done) = t]
28930         (lib-names-stmp-abi): Likewise.
28931         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28932         abi-variants] (before-compile): Append
28933         $(common-objpfx)$(lib-names-h-abi).
28934         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28935         abi-variants] (common-generated): Append gnu/lib-names.h.
28936         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28937         abi-variants] (install-others-nosubdir): Depend on
28938         $(inst_includedir)/$(lib-names-h-abi).
28939         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28940         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28941         [$(build-shared) = yes && $(soversions.mk-done) = t]
28942         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28943         [$(build-shared) = yes && $(soversions.mk-done) = t]
28944         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28945         [$(build-shared) = yes && $(soversions.mk-done) = t]
28946         (common-generated): Append $(lib-names-h-abi) and
28947         $(lib-names-stmp-abi).
28948         * scripts/lib-names.awk: Do not handle multi being set.
28949         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28950         Remove variable.
28951         (abi-lp64_be-ld-soname): Likewise.
28952         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28953         Likewise.
28954         (abi-hard-ld-soname): Likewise.
28955         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28956         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28957         Remove variable.
28958         (abi-o32_hard-ld-soname): Likewise.
28959         (abi-o32_soft_2008-ld-soname): Likewise.
28960         (abi-o32_hard_2008-ld-soname): Likewise.
28961         (abi-n32_soft-ld-soname): Likewise.
28962         (abi-n32_hard-ld-soname): Likewise.
28963         (abi-n32_soft_2008-ld-soname): Likewise.
28964         (abi-n32_hard_2008-ld-soname): Likewise.
28965         (abi-n64_soft-ld-soname): Likewise.
28966         (abi-n64_hard-ld-soname): Likewise.
28967         (abi-n64_soft_2008-ld-soname): Likewise.
28968         (abi-n64_hard_2008-ld-soname): Likewise.
28969         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28970         Likewise.
28971         (abi-64-v2-ld-soname): Likewise.
28972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28973         ld.so entries.
28974         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28975         variable.
28976         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28977         entry.
28978         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28979         variable.
28980         (abi-64-ld-soname): Likewise.
28981         (abi-x32-ld-soname): Likewise.
28982         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28983         entry.
28984         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28986 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28988         [BZ #14138]
28989         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28990         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28991         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28992         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28993         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28994         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28995         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28996         syscall entry for GLIBC_2.2 symbol version.
28997         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28998         Likewise.
28999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29000         (setrlimit): Likewise.
29001         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29002         Likewise.
29004 2014-09-23  Will Newton  <will.newton@linaro.org>
29006         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29007         _LINUX_ARM_SYSDEP_H include guard too.
29008         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29009         define.
29011 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29013         * sysdeps/unix/sysv/linux/eventfd.c:
29014         Make first argument unsigned.
29015         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29016         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29018 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29020         [BZ #16852]
29021         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29022         * socket/sys/socket.h: Likewise.
29023         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29025 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29027         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29029 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29031         * time/tst-ftime.c: New test.
29032         * time/Makefile (tests): Add tst-ftime.
29034 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29036         * soft-fp/extended.h: Fix comment formatting.
29037         * soft-fp/op-1.h: Likewise.
29038         * soft-fp/op-2.h: Likewise.
29039         * soft-fp/op-4.h: Likewise.
29040         * soft-fp/op-8.h: Likewise.
29041         * soft-fp/op-common.h: Likewise.
29042         * soft-fp/soft-fp.h: Likewise.
29044         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29046 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29048         [BZ #6652]
29049         * Makeconfig (soversions-default-setname): Remove variable.
29050         ($(common-objpfx)soversions.i): Don't pass default_setname to
29051         soversions.awk.
29052         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29053         oldest_abi to abi-versions.awk.
29054         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29055         * config.make.in (oldest-abi): Remove variable.
29056         * configure.ac (--enable-oldest-abi): Remove configure option.
29057         * configure: Regenerated.
29058         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29059         text.
29060         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29061         * scripts/soversions.awk: Do not handle default_setname variable.
29062         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29063         variable.
29064         * sysdeps/mach/hurd/configure: Regenerated.
29065         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29066         variable.
29067         * sysdeps/unix/sysv/linux/configure: Regenerated.
29069 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29071         * elf/Makefile (CFLAGS-interp.c): Remove.
29072         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29073         path string.
29074         * elf/interp.c: Include generated runtime-linker.h
29076         * Makerules (lib%.so): Don't include $(+interp) in
29077         prerequisites.
29078         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29079         * dlfcn/eval.c: Remove file.
29081         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29082         macros.
29084         [BZ #17266]
29085         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29086         4.2 and newer.
29088         [BZ #17370]
29089         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29091 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29092             Jakub Jelinek  <jakub@redhat.com>
29094         [BZ #17266]
29095         * libio/stdio.h: Check definition of __fortify_function
29096         instead of __extern_always_inline to include bits/stdio2.h.
29097         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29098         check if __extern_always_inline is defined.
29099         [__USE_MISC || __USE_XOPEN]: Likewise.
29100         [__USE_ISOC99] Likewise.
29101         * misc/sys/cdefs.h (__fortify_function): Define only if
29102         __extern_always_inline is defined.
29103         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29104         __extern_always_inline and __extern_inline only for g++-4.3
29105         and newer or a compatible gcc.
29107 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29109         [BZ #17371]
29110         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29111         last change to handle zero prefix length.
29113 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29115         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29116         _SC_REGEX_VERSION.
29118         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29119         _POSIX_RAW_SOCKETS.
29121 2014-09-13  Allan McRae  <allan@archlinux.org>
29123         * po/ru.po: Update Russian translation from translation project.
29125 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29127         * locale/programs/locale.c (show_locale_vars): Inline local function
29128         into its sole call site.  Clean up some style nits.
29129         (print_item): New function, broken out of ...
29130         (show_info): ... local function here.  Clean up style nits.
29132         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29133         out of ...
29134         (set_class_defaults): ... local function set_default here.
29135         Define set_default as a macro locally to pass constant parameters.
29136         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29137         rather than a shared local.
29139         * stdlib/rpmatch.c (try): New function, broken out of ...
29140         (rpmatch): ... local function here.  Also, prototypify definition.
29142 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29144         * scripts/soversions.awk: Do not handle configuration names.
29145         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29146         vendor and os variables to soversions.awk.
29147         * configure.ac: Do not modify gnu-* host_os.
29148         * configure: Regenerated
29149         * shlib-versions: Remove first column with configuration names.
29150         * nptl/shlib-versions: Likewise.
29151         * nptl_db/shlib-versions: Likewise.
29152         * sysdeps/hppa/shlib-versions: Likewise.
29153         * sysdeps/m68k/shlib-versions: Likewise.
29154         * sysdeps/mach/hurd/shlib-versions: Likewise.
29155         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29156         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29157         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29158         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29159         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29160         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29161         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29162         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29164         Likewise.
29165         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29166         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29167         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29168         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29169         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29170         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29171         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29172         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29175         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29177         Regenerated.
29178         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29180         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29182         * shlib-versions: Remove OS-specific entries.  Moved to files in
29183         sysdeps.
29184         * sysdeps/mach/hurd/shlib-versions: New file.
29185         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29187         * nptl/shlib-versions: Remove architecture-specific entries.
29188         Moved to files in sysdeps.
29189         * shlib-versions: Likewise.
29190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29191         file.
29192         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29193         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29194         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29195         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29197         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29198         (UDP_NO_CHECK6_RX): Likewise.
29200 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29202         * sysdeps/posix/sysconf.c (__sysconf): Spell
29203         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29205 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29207         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29208         loading.
29209         * iconv/Versions (__gconv_transliterate): Export for use from
29210         gconv modules.
29211         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29212         (struct __gconv_trans_data, __gconv_trans_fct,
29213         __gconv_trans_context_fct, __gconv_trans_query_fct,
29214         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29215         definitions.
29216         (struct __gconv_step_data): Remove __trans member.
29217         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29218         longer hidden.  Remove unused trans_data argument.
29219         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29220         (__gconv_translit_find): Remove declaration.
29221         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29222         prototype.
29223         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29224         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29225         trans_data argument.  Add hidden definition.
29226         (__gconv_translit_find): Remove.
29227         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29228         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29229         * iconv/skeleton.c: Remove transliteration initialization.
29230         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29231         __gconv_step_data initialization.
29232         * libio/iofwide.c (__libio_translit_): Remove.
29233         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29234         * wcsmbs/btowc.c (__btowc): Likewise.
29235         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29236         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29237         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29238         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29239         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29240         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29241         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29242         * wcsmbs/wctob.c (wctob): Likewise.
29244 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29246         [BZ #16194]
29247         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29248         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29249         register usage.
29250         * sysdeps/x86/Makefile: Adjust.
29252 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29253             Roland McGrath  <roland@hack.frob.com>
29255         * locale/weight.h: Add include guard.
29256         (findidx): Make static rather than auto; take new parameters
29257         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29258         * locale/weightwc.h: Likewise.
29259         * posix/fnmatch_loop.c
29260         (FCT): Change type of EXTRA from int32_t to wint_t.
29261         Don't include either header inside the function.
29262         Call FINDIDX rather than findidx, and pass new arguments.
29263         #undef FINDIDX at the end of the file.
29264         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29265         FINDIDX before including fnmatch_loop.c for the non-wide version.
29266         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29267         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29268         for the wide version.
29269         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29270         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29271         Pass new arguments to findidx.
29272         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29273         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29274         Don't #include it inside the function.  Pass new arguments to findidx.
29275         * posix/regex_internal.h
29276         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29277         (re_string_elem_size_at): Don't #include it inside the function.
29278         Pass new arguments to findidx.
29279         * string/strcoll_l.c: #include WEIGHT_H at top level.
29280         (get_next_seq): Don't #include it inside the function.
29281         Pass new arguments to findidx.
29282         (get_next_seq_nocache): Likewise.
29283         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29284         (STRXFRM): Don't #include it inside the function.
29285         Pass new arguments to findidx.
29287 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29289         [BZ #17344]
29290         * malloc/malloc.c (unlink): Turn asserts into a call to
29291         malloc_printerr.
29293 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29295         [BZ #17370]
29296         * libio/wfileops (do_ftell_wide): Free OUT.
29298 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29300         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29302 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29304         [BZ #17363]
29305         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29306         group if the current group is empty.
29308 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29310         * benchtests/bench-memset.c (test_main): Add more test from size
29311         from 32 to 512 bytes.
29312         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29313         Add POWER8 memset object.
29314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29315         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29316         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29317         implementation.
29318         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29319         Likewise.
29320         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29321         multiarch POWER8 memset optimization.
29322         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29323         POWER8 memset optimization.
29325         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29326         Remove bzero multiarch objects.
29327         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29328         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29329         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29330         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29331         Remove define.
29332         [__bzero]: Redefine to specific name.
29333         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29334         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29335         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29336         define.
29337         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29338         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29340 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29342         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29343         warnings into errors.
29345         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29346         __cxa_thread_atexit_impl prototype.
29348 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29350         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29351         Fix capitalization of error message.
29353 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29355         * sysdeps/mips/preconfigure: Modify ABI tests.
29357 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29359         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29361 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29362             Carlos O'Donell  <carlos@systemhalted.org>
29364         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29365         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29366         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29367         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29368         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29369         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29370         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29371         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29372         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29373         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29374         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29375         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29376         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29377         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29378         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29379         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29380         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29381         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29382         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29383         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29384         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29385         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29386         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29387         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29388         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29389         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29390         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29391         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29392         Deconditionalize the code that was previously under [RESET_PID].
29393         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29394         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29395         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29396         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29397         include sysdep.h.
29399 2014-09-08  Allan McRae  <allan@archlinux.org>
29401         * version.h (RELEASE): Set to "development".
29402         (VERSION): Set to "2.20.90"
29404 2014-09-07  Allan McRae  <allan@archlinux.org
29406         * version.h (RELEASE): Set to "stable".
29407         (VERSION): Set to "2.20"
29408         * include/features.h (__GLIBC_MINOR__): Set to 20.
29410         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29411         Liebler.
29413         * po/ko.po: Update Korean translation from translation project.
29415 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29417         [BZ #17354]
29418         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29419         macro for handling signed relocations.
29421 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29423         [BZ #17325]
29424         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29425         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29426         assert.
29427         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29428         * iconvdata/ibm935.c (BODY): Likewise.
29429         * iconvdata/ibm937.c (BODY): Likewise.
29430         * iconvdata/ibm939.c (BODY): Likewise.
29431         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29432         assert.
29433         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29434         script.
29435         * iconvdata/run-iconv-test.sh: New test loop for checking for
29436         decoder crashers.
29438 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29440         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29441         libm_hidden_ver.
29443 2014-09-01  Allan McRae  <allan@archlinux.org>
29445         * po/eo.po: Update Esperanto translation from translation project.
29447         * po/ca.po: Update Catalan translation from translation project.
29449 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29451         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29452         __proc_dostop call.
29454 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29456         [BZ #17319]
29457         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29458         to call set_thread_area instead of hand written asm.
29459         (__NR_set_thread_area): Removed define.
29460         (TLS_FLAG_WRITABLE): Likewise.
29461         (__ASSUME_SET_THREAD_AREA): Remove check.
29462         (TLS_EBX_ARG): Remove define.
29463         (TLS_LOAD_EBX): Likewise.
29465 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29467         Simplify atomicity of socket creation in bind.
29469         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29470         looking up the name after linking the file.
29472 2014-08-27  Allan McRae  <allan@archlinux.org>
29474         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29476 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29478         [BZ #17187]
29479         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29480         trans_compare, open_translit, __gconv_translit_find):
29481         Remove module loading code.
29483 2014-08-26  Allan McRae  <allan@archlinux.org>
29485         * po/vi.po: Update Vietnamese translation from translation project.
29487         * po/uk.po: Update Ukrainian translation from translation project.
29489         * po/fr.po: Update French translation from translation project.
29491         * po/ru.po: Update Russian translation from translation project.
29493         * po/pl.po: Update Polish translation from translation project.
29495         * po/cs.po: Update Czech translation from translation project.
29497         * po/de.po: Update German translation from translation project.
29499         * po/bg.po: Update Bulgarian translation from translation project.
29501         * po/sv.po: Update Sweedish translation from translation project.
29503         * po/nl.po: Update Dutch translation from translation project.
29505         * po/es.po: Update Spanish translation from translation project.
29507 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29509         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29511         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29512         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29513         (CPPFLAGS-iconvconfig): Likewise.
29514         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29516         * include/libc-symbols.h: Remove unnecessary check for
29517         NOT_IN_libc.
29518         * nptl/pthreadP.h: Likewise.
29519         * sysdeps/aarch64/setjmp.S: Likewise.
29520         * sysdeps/alpha/setjmp.S: Likewise.
29521         * sysdeps/arm/sysdep.h: Likewise.
29522         * sysdeps/i386/setjmp.S: Likewise.
29523         * sysdeps/m68k/setjmp.c: Likewise.
29524         * sysdeps/posix/getcwd.c: Likewise.
29525         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29526         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29527         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29528         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29529         * sysdeps/sh/sh3/setjmp.S: Likewise.
29530         * sysdeps/sh/sh4/setjmp.S: Likewise.
29531         * sysdeps/unix/alpha/sysdep.h: Likewise.
29532         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29534         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29535         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29538         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29540         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29542         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29543         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29544         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29545         * sysdeps/x86_64/setjmp.S: Likewise.
29547 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29549         [BZ #17263]
29550         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29551         <stdint.h>.
29552         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29553         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29555 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29557         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29559         [BZ #17262]
29560         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29561         and __x86_64__ when disabling x87 inline functions.
29563 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29565         [BZ #17259]
29566         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29567         asm statement with __cpuid_count.
29569 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29571         * configure.ac: Change __ehdr_start code to dereference the struct.
29572         Run readelf on the output to look for relocations.
29573         * configure: Regenerated.
29575 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29577         [BZ #17261]
29578         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29579         value to 0.
29580         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29582 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29584         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29586 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29588         [BZ #16892]
29589         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29590         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29592 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29594         * malloc/malloc.c: Fix typo in comment.
29596 2014-08-09  Allan McRae  <allan@archlinux.org>
29598         * Regenerate libc.po.
29600 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29602         * intl/tst-gettext2.sh: Check every lang file for creation.
29604 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29606         * sysdeps/aarch64/fpu/math_private.h
29607         (libc_feholdsetround_noex_aarch64_ctx): New function.
29609 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29611         * sysdeps/arm/armv6/strcpy.S (strcpy):
29612         Fix performance issue in misaligned cases.
29614 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29616         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29617         Move definition from termios.h.
29618         (struct termio): Likewise.
29619         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29620         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29621         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29622         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29623         Likewise.
29624         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29625         Move definition to ioctl-types.h
29626         (struct termio): Likewise.
29627         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29628         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29629         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29630         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29631         Likewise.
29633 2014-08-05  Richard Henderson  <rth@redhat.com>
29635         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29636         exceptions.
29637         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29638         Add fraiseexcpt.
29639         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29640         Use __feraiseexcept.
29641         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29642         Protect libm symbols with IS_IN_libm.
29644         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29646 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29648         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29650 2014-08-04  Will Newton  <will.newton@linaro.org>
29652         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29653         file.
29655 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29657         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29658         variants for each function.
29660 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29662         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29663         appended ...
29664         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29665         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29666         appended ...
29667         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29668         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29669         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29670         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29671         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29672         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29673         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29674         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29675         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29676         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29677         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29678         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29679         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29680         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29681         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29682         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29683         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29684         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29685         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29686         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29687         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29688         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29689         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29690         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29691         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29692         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29693         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29694         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29695         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29696         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29697         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29698         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29699         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29700         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29701         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29702         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29703         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29704         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29705         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29706         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29707         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29708         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29709         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29710         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29711         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29712         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29713         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29714         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29715         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29716         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29717         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29718         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29719         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29720         Update #include.
29721         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29722         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29724 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29726         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29727         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29728         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29729         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29730         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29731         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29733 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29735         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29736         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29737         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29738         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29740 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29742         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29743         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29744         (__libc_vfork): Define function under this name.
29745         (__vfork): Define as an alias.
29746         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29747         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29749 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29751         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29752         that was previously under [RESET_PID].
29753         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29755 2014-08-04  Andreas Schwab  <schwab@suse.de>
29757         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29759 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29761         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29762         (main): Likewise.
29764 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29766         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29768 2014-08-01  Richard Henderon  <rth@redhat.com>
29770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29771         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29772         typo in exact zero test.
29773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29774         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29775         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29777 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29779         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29780         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29781         * sysdeps/arm/sysdep.h: ... here.
29782         [!__ASSEMBLER__]: Include <stdint.h>.
29784 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29786         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29787         (HAVE_WCTYPE_H): Likewise.
29788         (HAVE_ISWCTYPE): Likewise.
29789         (ENABLE_NLS): Likewise.
29790         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29791         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29793         * posix/regex_internal.c: Check if DEBUG is defined and is
29794         set.
29796         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29797         (HAVE_MBSRTOWCS): Likewise.
29798         * posix/fnmatch.c: Include string.h unconditionally.
29800 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29802         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29803         reversal.
29805 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29807         * sysdeps/generic/safe-fatal.h: New file.
29808         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29809         * nptl/forward.c: Include it.
29810         (__pthread_unwind): Use __safe_fatal as default action, rather
29811         than a bogus use of INTERNAL_SYSCALL that could never work.
29813         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29814         * configure.ac (libc_cv_builtin_trap): New test.
29815         * configure: Regenerated.
29816         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29817         (ABORT_INSTRUCTION): Define using __builtin_trap.
29819         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29820         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29821         * sysdeps/nptl/nptl-signals.h: New file.
29822         * nptl/pthreadP.h: Include <nptl-signals.h>.
29824 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29826         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29827         (ONE_DIRECTION): Define.
29828         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29829         (ONE_DIRECTION): Define.
29830         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29831         (ONE_DIRECTION): Define.
29833 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29835         * sysdeps/s390/Makefile: Delete file.
29836         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29837         * sysdeps/s390/__longjmp.c: Delete file.
29838         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29839         Remove fields __flags and __reserved.
29840         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29841         and add versioning.
29842         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29843         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29844         * sysdeps/s390/rtld-setjmp.S: Likewise.
29845         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29846         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29847         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29848         * sysdeps/s390/s390-32/setjmp.S: ... here.
29849         Add versioning.
29850         (__sigsetjmp): Remove setting __flags field.
29851         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29852         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29853         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29854         * sysdeps/s390/s390-64/setjmp.S: ... here.
29855         Add versioning.
29856         (__sigsetjmp): Remove setting __flags field.
29857         * sysdeps/s390/setjmp.S: Delete file.
29858         * sysdeps/s390/sigjmp.c: Likewise.
29859         * sysdeps/s390/v1-longjmp.c: Likewise.
29860         * sysdeps/s390/v1-setjmp.h: Likewise.
29861         * sysdeps/s390/v1-sigjmp.c: Likewise.
29862         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29863         Remove v1-longjmp_chk.
29864         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29865         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29866         Include debug/longjmp_chk.c and add versioning.
29867         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29868         Include nptl/pt-longjmp.c and add versioning.
29869         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29870         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29871         Include __longjmp.c.
29872         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29873         Move to ...
29874         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29875         (__getcontext): Remove setting __flags field.
29876         Add versioning.
29877         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29878         Don't restore upper high grps.
29879         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29880         Likewise.
29881         (__swapcontext): Remove setting uc_flags field.
29882         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29883         Delete file.
29884         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29885         Include __longjmp.c.
29886         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29887         Move to ...
29888         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29889         (__getcontext): Remove setting __flags field.
29890         Add versioning.
29891         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29892         (__swapcontext): Remove setting uc_flags field.
29893         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29894         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29895         Remove fields uc_high_gprs and __reserved.
29896         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29897         New file with reverted content.
29898         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29899         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29900         Regenerated.
29901         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29902         Regenerated.
29904 2014-07-31  Andreas Schwab  <schwab@suse.de>
29906         * config.h.in (HAVE_IFUNC): Define to 0.
29907         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29908         definedness.
29910 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29913         memmove-avx-unaligned, memcpy-avx-unaligned and
29914         mempcpy-avx-unaligned.
29915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29916         Add tests for AVX memcpy functions.
29917         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29918         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29919         memcpy_chk.
29920         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29921         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29922         memmove_chk.
29923         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29924         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29925         mempcpy_chk.
29926         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29927         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29928         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29930 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29932         [BZ #17213]
29933         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29934         powerpc64le.
29936 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29938         [BZ #16839]
29939         * manual/llio.texi: Add section about open file description locks.
29940         * manual/examples/ofdlocks.c: Example of open file description
29941         lock usage.
29942         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29943         F_OFD_SETLK, and F_OFD_SETLKW.
29945 2014-07-23  Allan McRae  <allan@archlinux.org>
29947         * po/es.po: Update Spanish translation from translation project.
29949 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29951         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29953 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29955         [BZ #17078]
29956         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29957         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29958         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29960 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29962         [BZ #17088]
29963         * math/fesetenv.c (__fesetenv)
29964         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29965         * math/feupdateenv.c (__feupdateenv)
29966         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29968         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29969         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29970         (__ASSUME_SOCKETCALL): Do not define.
29972         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29973         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29974         (__ASSUME_SOCKETCALL): Do not define.
29975         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29976         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29977         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29978         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29979         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29980         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29981         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29982         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29984         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29985         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29986         (__ASSUME_SOCKETCALL): Do not define.
29987         (__ASSUME_IPC64): Define unconditionally.
29988         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29989         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29990         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29991         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29992         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29993         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29994         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29995         Likewise.
29997         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29998         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29999         (__ASSUME_SOCKETCALL): Do not define.
30000         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30001         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30002         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30003         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30004         (__ASSUME_REQUEUE_PI): Define unconditionally.
30005         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30006         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30007         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30008         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30009         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30010         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30012         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30013         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30014         (__ASSUME_SOCKETCALL): Do not define.
30015         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30016         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30017         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30018         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30019         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30020         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30022         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30023         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30024         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30025         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30026         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30027         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30028         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30029         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30030         (__ASSUME_GETCPU_SYSCALL): Likewise.
30032         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30033         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30034         cases for individual architectures.
30035         * sysdeps/gnu/configure: Regenerated.
30036         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30037         LIBC_SLIBDIR_RTLDDIR.
30038         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30039         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30040         LIBC_SLIBDIR_RTLDDIR.
30041         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30043         LIBC_SLIBDIR_RTLDDIR.
30044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30045         Regenerated.
30046         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30047         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30048         file.
30049         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30050         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30051         file.
30052         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30053         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30054         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30055         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30057         * sysdeps/aarch64/shlib-versions: Move to ...
30058         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30059         * sysdeps/alpha/shlib-versions: Move to ...
30060         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30061         * sysdeps/arm/shlib-versions: Move to ...
30062         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30063         * sysdeps/hppa/shlib-versions: Move all contents except for
30064         libgcc_s entry to ...
30065         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30066         entry from ...
30067         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30068         * sysdeps/ia64/shlib-versions: Move to ...
30069         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30070         entry from ...
30071         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30072         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30073         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30074         * sysdeps/microblaze/shlib-versions: Move to ...
30075         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30076         * sysdeps/mips/shlib-versions: Move to ...
30077         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30078         entry from ...
30079         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30080         * sysdeps/tile/shlib-versions: Move to ...
30081         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30082         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30083         from ...
30084         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30085         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30086         entry from ...
30087         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30089 2014-07-17  Will Newton  <will.newton@linaro.org>
30091         * sysdeps/arm/bits/atomic.h
30092         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30093         (__arch_compare_and_exchange_bool_16_int): Likewise.
30094         (__arch_compare_and_exchange_bool_64_int): Likewise.
30096         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30097         into an #else block.
30099 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30101         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30102         just Linux configurations.  Test empirically that the compiler sets
30103         __ARM_EABI__, rather than using the tuple to decide.
30104         * sysdeps/arm/preconfigure: Regenerated.
30105         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30106         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30107         contents appended ...
30108         * sysdeps/arm/configure.ac: ... here.
30109         * sysdeps/arm/configure: Regenerated.
30111 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30113         * nptl/pthread_kill.c: New file.
30114         * nptl/pthread_sigmask.c: New file.
30115         * nptl/pthread_sigqueue.c: New file.
30117         * sysdeps/nptl/lowlevellock.h: New file.
30118         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30119         * sysdeps/nptl/lowlevellock-futex.h: New file.
30121         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30122         Remove dead declarations.
30124 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30126         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30127         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30128         config-cflags-avx2.
30129         * sysdeps/x86_64/configure.ac: Likewise.
30130         * sysdeps/i386/configure: Regenerated.
30131         * sysdeps/x86_64/configure: Likewise.
30132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30133         memset-avx2 only if config-cflags-avx2 is yes.
30134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30135         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30136         defined.
30137         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30138         only if HAVE_AVX2_SUPPORT is defined.
30139         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30141 2014-07-14  Alan Modra  <amodra@gmail.com>
30143         [BZ #17153]
30144         * elf/elf.h (DT_PPC64_NUM): Correct value.
30145         * NEWS: Add to fixed bug list.
30147 2014-07-13  Jim Meyering  <meyering@fb.com>
30149         [BZ 17150]
30150         regex: don't deref NULL upon heap allocation failure
30151         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30152         failure in one more place.
30153         To trigger the segfault, configure grep -with-included-regex,
30154         build it, and run these commands:
30155         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30157 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30159         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30161 2014-07-11  Richard Henderson  <rth@redhat.com>
30163         * sysdeps/aarch64/libm-test-ulps: Update.
30165 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30167         [BZ #17135]
30168         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30169         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30170         (__nptl_setxid): Initialize error member.  Call
30171         __nptl_setxid_error.
30172         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30173         * nptl/descr.h (struct xid_command): Add error member.
30174         * nptl/tst-setuid3.c: New file.
30175         * nptl/Makefile (tests): Add it.
30177 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30179         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30180         New define.
30181         (__lll_trylock): Use __lll_base_trylock.
30182         (__lll_cond_trylock): Likewise.
30184 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30186         * nptl/pthread_create.c (start_thread): Use atomic_or and
30187         lll_futex_wake directly rather than lll_robust_dead.
30188         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30189         (lll_robust_dead): Macro removed.
30190         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30191         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30192         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30193         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30194         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30195         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30196         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30197         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30198         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30199         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30200         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30201         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30202         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30203         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30204         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30206         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30207         Use atomic_compare_and_exchange_val_acq directly rather than
30208         lll_robust_trylock.
30209         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30210         (__lll_robust_trylock, lll_robust_trylock): Removed.
30211         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30212         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30213         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30214         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30215         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30216         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30217         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30218         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30219         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30220         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30221         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30222         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30223         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30224         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30226 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30228         * manual/locale.texi (Locale Names): New section documenting
30229         locale name syntax.  Adjust menu and node chaining accordingly.
30230         (Choosing Locale): Reference Locale Names, Locale Categories.
30231         Mention setting LC_ALL=C.  Reflect that name syntax is now
30232         documented.
30233         (Locale Categories): New section title.  Reference Locale Names.
30234         LC_ALL is an environment variable, but not a category.
30235         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30236         description, now in Locale Name.  Reference that section.  Locale
30237         name syntax is now documented.
30239 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30241         [BZ #17137]
30242         * locale/findlocale.c (name_present, valid_locale_name): New
30243         functions.
30244         (_nl_find_locale): Use the loc_name variable to store name
30245         candidates.  Call name_present and valid_locale_name to check and
30246         validate locale names.  Return an error if the locale is invalid.
30248 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30250         * locale/setlocale.c (setlocale): Use strdup for allocating
30251         composite name copy.
30253 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30255         Sync up with gnulib.
30256         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30257         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30258         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30259         and _GL_ARG_NONNULL.
30260         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30261         [!_LIBC]: Include code for Windows and Cygwin.
30262         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30263         Include prototype for int strerror_r.
30264         [!_LIBC] (is_open): New function.
30265         (flush_stdout): New function.
30266         (print_errno_message): Use it.
30267         (error): Likewise.
30268         (error_at_line): Likewise.
30269         (error_tail) Add function attribute macros.  Use
30270         __builtin_expect.
30272         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30274         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30276         * io/ftw.c: Include sys/param.h unconditionally.
30278         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30280         [BZ #17125]
30281         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30282         libc_freeres_ptr.
30283         (freecache): New function to free CACHE on exit.
30285         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30286         initialization.
30288 2014-07-09  David S. Miller  <davem@davemloft.net>
30290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30292         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30293         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30294         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30295         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30296         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30297         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30298         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30299         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30300         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30301         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30302         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30303         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30304         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30306 2014-07-09  Andreas Schwab  <schwab@suse.de>
30308         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30309         output.
30310         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30311         (do_test): Likewise.
30313         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30315 2014-07-09  Will Newton  <will.newton@linaro.org>
30317         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30318         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30319         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30320         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30321         * sysdeps/hppa/start.S (_start): Likewise.
30323 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30325         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30327         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30328         defined.
30330 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30332         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30333         after checking that it is non-NULL.
30335         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30337 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30339         * sysdeps/powerpc/memmove.c: Remove file.
30340         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30341         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30342         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30343         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30344         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30345         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30346         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30347         string memmove instead of removed powerpc one.
30349         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30350         [weak_alias]: Fix compiler warning due trailing data.
30351         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30352         [weak_alias]: Likewise.
30353         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30354         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30357         (__libc_ifunc_impl_list): Add memmove functions.
30359 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30361         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30362         Remove code.
30363         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30364         Likewise.
30365         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30366         Likewise.
30367         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30368         Likewise.
30369         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30370         Likewise.
30371         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30372         Likewise.
30373         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30374         Likewise.
30375         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30376         Likewise.
30377         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30378         Likewise.
30379         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30380         Likewise.
30381         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30382         Likewise.
30383         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30384         Likewise.
30385         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30386         Likewise.
30387         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30388         Likewise.
30389         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30390         Likewise.
30391         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30392         Likewise.
30393         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30394         Likewise.
30396 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30398         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30399         to avoid alignment traps in non-cacheable memory.
30400         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30403         multiarch objects.
30404         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30405         file: multiarch power7 memmove.
30406         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30407         multiarch default memmove.
30408         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30409         multiarch memove for powerpc32/power4.
30411         * string/bcopy.c: Use full path to include memmove.c.
30412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30413         multiarch objects.
30414         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30415         bcopy for powerpc64.
30416         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30417         bcopy for powerpc64.
30418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30419         and memmove implementations.
30420         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30421         optimized multiarch memmove for POWER7/powerpc64.
30422         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30423         default multiarch memmove for powerpc64.
30424         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30425         multiarch for powerpc64.
30426         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30427         for POWER7/powerpc64.
30428         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30429         memmove for POWER7/powerpc64.
30431         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30432         glibc default one.
30434         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30435         __ELF_NATIVE_CLASS equal to 64.
30437 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30439         * sysdeps/nptl/lowlevellock.h: File removed.
30441         * NEWS: NPTL is no longer an add-on!
30442         * nptl/internaltypes.h: Moved ...
30443         * sysdeps/nptl/internaltypes.h: ... here.
30444         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30445         * sysdeps/nptl/fork.c: Likewise.
30446         * sysdeps/nptl/gai_misc.h: Likewise.
30447         * sysdeps/nptl/librt-cancellation.c: Likewise.
30448         * sysdeps/nptl/jmp-unwind.c: Likewise.
30449         * sysdeps/nptl/setxid.h: Likewise.
30450         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30451         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30452         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30453         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30454         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30455         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30456         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30457         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30458         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30459         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30460         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30461         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30462         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30463         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30464         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30465         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30466         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30467         * nptl/Makeconfig: Moved ...
30468         * sysdeps/nptl/Makeconfig: ... here.
30469         * nptl/configure: File removed.
30470         * nptl/ANNOUNCE: File removed.
30471         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30472         * sysdeps/unix/sysv/linux/configure: Regenerated.
30474         * nptl/Makefile (routines): Add libc_pthread_init,
30475         libc_multiple_threads, register-atfork and unregister-atfork.
30476         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30477         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30478         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30479         pthread-pi-defines.sym, structsem.sym.
30480         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30481         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30482         [$(subdir) = nptl] (tests): Add tst-setgetname.
30483         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30484         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30485         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30486         [!LIBC_SIGACTION]: Remove aliases.
30487         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30488         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30489         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30490         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30491         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30492         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30493         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30494         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30495         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30496         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30497         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30498         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30499         __libc_allocate_rtsig_private.
30500         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30501         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30502         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30503         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30504         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30505         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30506         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30507         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30508         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30509         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30510         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30511         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30512         * nptl/internaltypes.h: ... here.
30513         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30514         * sysdeps/nptl/jmp-unwind.c: ... here.
30515         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30516         * nptl/libc-lowlevellock.c: ... here.
30517         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30518         * nptl/libc_multiple_threads.c: ... here.
30519         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30520         * nptl/libc_pthread_init.c: ... here.
30521         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30522         * nptl/lowlevelbarrier.sym: ... here.
30523         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30524         * nptl/lowlevelcond.sym: ... here.
30525         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30526         * nptl/lowlevellock.c: ... here.
30527         * nptl/lowlevellock.h: Moved ...
30528         * sysdeps/nptl/lowlevellock.h: ... here.
30529         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30530         * nptl/lowlevelrobustlock.c: ... here.
30531         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30532         * nptl/lowlevelrobustlock.sym: ... here.
30533         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30534         * nptl/lowlevelrwlock.sym: ... here.
30535         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30536         * nptl/pt-fork.c: ... here.
30537         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30538         * nptl/pthread-pi-defines.sym: ... here.
30539         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30540         * nptl/pthread_attr_getaffinity.c: ... here.
30541         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30542         * nptl/pthread_attr_setaffinity.c: ... here.
30543         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30544         * nptl/pthread_mutex_cond_lock.c: ... here.
30545         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30546         Update #include.
30547         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30548         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30549         * nptl/pthread_once.c: ... here, replacing old file.
30550         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30551         * nptl/pthread_yield.c: ... here.
30552         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30553         * nptl/register-atfork.c: ... here.
30554         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30555         * nptl/sem_post.c: ... here.
30556         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30557         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30558         * nptl/sem_timedwait.c: ... here.
30559         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30560         * nptl/sem_trywait.c: ... here.
30561         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30562         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30563         * nptl/sem_wait.c: ... here.
30564         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30565         * nptl/structsem.sym: ... here.
30566         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30567         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30568         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30569         * nptl/unregister-atfork.c: ... here.
30570         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30571         * nptl/unwindbuf.sym: ... here.
30572         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30573         * sysdeps/nptl/fork.c: ... here.
30574         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30575         * sysdeps/nptl/fork.h: ... here.
30576         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30577         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30578         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30579         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30580         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30581         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30582         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30583         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30584         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30585         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30586         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30587         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30588         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30589         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30590         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30591         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30592         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30593         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30594         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30595         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30596         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30597         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30598         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30599         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30600         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30601         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30602         * sysdeps/unix/sysv/linux/raise.c: ... here.
30603         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30604         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30605         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30606         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30607         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30608         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30609         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30610         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30611         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30612         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30613         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30614         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30615         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30616         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30617         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30619 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30621         * sysdeps/generic/memcopy.h: Add comment for
30622         MEMCPY_OK_FOR_FWD_MEMMOVE.
30624 2014-07-04  Will Newton  <will.newton@linaro.org>
30626         * string/memchr.c: Merge from gnulib.
30627         [_LIBC]: Remove conditionals.
30628         (__ptr_t): Remove define.
30629         (LONG_MAX_32_BITS): Likewise.
30630         (LONG_MAX): Likewise.
30631         (MEMCHR): Use ANSI prototype and optimize algorithm.
30633         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30635 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30637         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30638         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30640         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30641         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30642         in a bare environment with no <stdlib.h> installed.
30643         * sysdeps/nptl/configure: Regenerated.
30645         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30647         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30648         AC_EGREP_CPP for kernel header checks, so they only succeed if
30649         including <linux/version.h> actually works right.
30650         * sysdeps/unix/sysv/linux/configure: Regenerated.
30652         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30653         value so it's not diagnosed as unused.
30655         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30656         thing) with "ifeq ($(subdir),rt)".
30658 2014-07-03  Richard Henderson  <rth@redhat.com>
30660         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30661         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30662         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30664         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30665         (math_force_eval): New.
30667         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30668         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30670         * sysdeps/alpha/fpu/s_round.c: Remove file.
30671         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30673         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30674         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30675         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30676         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30677         (_dl_start, print_statistics): Likewise.
30678         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30679         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30681         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30682         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30683         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30684         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30685         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30686         (HP_SMALL_TIMING_AVAIL): Define.
30687         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30688         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30689         (HP_SMALL_TIMING_AVAIL): Define.
30690         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30691         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30693         * sysdeps/aarch64/hp-timing.h: New file.
30695         * sysdeps/generic/hp-timing.h: Remove dead comment.
30696         * sysdeps/generic/hp-timing-common.h: New file.
30697         * sysdeps/alpha/hp-timing.h: Include it.
30698         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30699         * sysdeps/i386/i686/hp-timing.h: Likewise.
30700         * sysdeps/ia64/hp-timing.h: Likewise.
30701         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30702         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30703         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30704         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30705         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30706         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30707         (hp_timing_t): New.
30709         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30710         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30711         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30712         * elf/rtld.c (_dl_start_final): Likewise.
30713         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30714         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30715         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30716         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30717         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30718         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30719         (HP_TIMING_DIFF_INIT): Remove.
30720         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30721         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30722         (HP_TIMING_DIFF_INIT): Remove.
30723         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30724         * sysdeps/i386/i686/hp-timing.c: Remove file.
30725         * sysdeps/x86_64/hp-timing.c: Remove file.
30726         * sysdeps/ia64/hp-timing.c: Remove file.
30727         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30728         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30729         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30730         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30732         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30733         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30734         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30735         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30736         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30737         (HP_TIMING_ACCUM): Remove.
30738         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30740         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30742         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30743         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30744         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30745         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30746         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30747         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30748         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30749         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30751         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30753 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30755         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30757 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30759         Sync up with gettext.
30760         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30761         [_MSC_VER]: Include malloc.h
30762         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30763         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30764         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30765         TEMP_FAILURE_RETRY.  Cast return of alloca.
30766         [!_LIBC] Call gl_rwlock_init.
30767         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30769 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30771         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30772         before checking its value.
30774 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30776         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30778         * debug/memcpy_chk.c: Don't include pagecopy.h.
30779         * debug/mempcpy_chk.c: Likewise.
30780         * string/memcpy.c: Likewise.
30781         * string/memmove.c: Likewise.
30782         * sysdeps/powerpc/memmove.c: Likewise.
30783         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30784         definition of PAGE_COPY_FWD_MAYBE here...
30785         * sysdeps/generic/pagecopy.h: ... from here.
30786         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30788 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30789             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30791         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30793         optimizations.
30794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30795         (__libc_ifunc_impl_list): Likewise.
30796         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30797         multiarch strcat for PPC64.
30798         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30799         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30801 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30803         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30805 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30807         * intl/loadmsgcat.c: Remove declaration of
30808         get_sysdep_segment_value.
30809         (get_sysdep_segment_value): Use ISO C style.
30810         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30811         semicolon.  Fix typo and formatting in comment.
30812         (_nl_unload_domain): Use ISO C style.
30814         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30816 2014-07-02  Will Newton  <will.newton@linaro.org>
30818         * malloc/obstack.c: Merge from gnulib master.
30819         [HAVE_CONFIG_H]: Remove conditional code.
30820         [!_LIBC]: Include config.h.
30821         [!ELIDE_CODE]: Don't include inttypes.h, include
30822         stdint.h unconditionally.
30823         (print_and_abort): Mark as _Noreturn.
30824         (_obstack_allocated_p): Mark as __attribute_pure__.
30825         (obstack_free): Rename to __obstack_free.
30826         [!__attribute__]: Remove conditional code.
30827         * malloc/obstack.h: Merge from gnulib master.
30828         [__cplusplus]: Move conditional down.
30829         [!__attribute_pure__]: Define __attribute_pure__ here
30830         if it is not already defined.
30831         (_obstack_memory_used): Mark as __attribute_pure__.
30832         [!__obstack_free]: Define as obstack_free.
30833         [__GNUC__]: Remove check for ancient NeXT gcc.
30835 2014-07-02  Will Newton  <will.newton@linaro.org>
30836             Paul Eggert  <eggert@cs.ucla.edu>
30838         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30840 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30842         * resolv/gethnamaddr.c: Add comment warning that the file is
30843         not maintained.
30845 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30847         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30848         entries.
30850         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30851         entry for aio_cancel and aio_cancel64.
30852         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30853         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30854         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30855         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30856         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30857         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30858         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30859         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30860         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30861         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30862         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30863         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30864         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30866 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30868         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30869         * nptl/pthread_mutex_lock.c: Likewise.
30870         * nptl/pthread_mutex_timedlock.c: Likewise.
30871         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30873 2014-07-01  Richard henderson  <rth@redhat.com>
30875         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30876         (__isnan, __isnanl): Remove.
30877         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30879         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30881 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30883         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30885 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30887         * resolv/nss_dns/dns-host.c (getanswer_r)
30888         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30890 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30892         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30893         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30894         undefine.
30895         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30896         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30898 2014-07-01  Roland McGrath <roland@hack.frob.com>
30900         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30901         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30903         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30904         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30906         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30907         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30908         ... here.
30909         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30910         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30912         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30913         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30914         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30915         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30917         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30918         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30919         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30920         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30921         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30922         Moved ...
30923         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30924         ... here.
30925         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30926         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30927         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30928         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30929         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30930         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30931         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30932         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30933         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30934         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30935         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30936         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30937         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30938         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30939         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30940         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30941         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30942         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30943         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30944         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30945         ... here.
30946         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30947         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30948         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30949         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30950         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30951         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30952         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30953         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30955 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30957         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30958         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30959         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30960         Add sysdep.
30962 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30966 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30968         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30969         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30971         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30973         * sysdeps/arm/libm-test-ulps: Regenerated.
30975 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30976             Roland McGrath <roland@hack.frob.com>
30978         * test-skeleton.c (signal_handler): Kill the whole process group
30979         before killing the child individually.
30980         (main): Report any failure on `setpgid'.
30982 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30984         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30985         from _TLS_H to _ARM_NPTL_TLS_H.
30986         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30987         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30989 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30991         [BZ #16539]
30992         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30993         (__expm1l): Return argument unchanged when small but not
30994         subnormal.
30996         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30997         include macro name.
30998         (_FP_UNPACK_RAW_1_P): Likewise.
30999         (_FP_PACK_RAW_1): Likewise.
31000         (_FP_PACK_RAW_1_P): Likewise.
31001         (_FP_MUL_MEAT_1_wide): Likewise.
31002         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31003         (_FP_MUL_MEAT_1_hard): Likewise.
31004         (_FP_DIV_MEAT_1_imm): Likewise.
31005         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31006         (_FP_DIV_MEAT_1_udiv): Likewise.
31007         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31008         (_FP_UNPACK_RAW_2): Likewise.
31009         (_FP_UNPACK_RAW_2_P): Likewise.
31010         (_FP_PACK_RAW_2): Likewise.
31011         (_FP_PACK_RAW_2_P): Likewise.
31012         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31013         (_FP_MUL_MEAT_2_wide): Likewise.
31014         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31015         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31016         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31017         (_FP_MUL_MEAT_2_gmp): Likewise.
31018         (_FP_DIV_MEAT_2_udiv): Likewise.
31019         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31020         (_FP_FRAC_SRL_4): Likewise.
31021         (_FP_FRAC_SRST_4): Likewise.
31022         (_FP_FRAC_SRS_4): Likewise.
31023         (_FP_UNPACK_RAW_4): Likewise.
31024         (_FP_UNPACK_RAW_4_P): Likewise.
31025         (_FP_PACK_RAW_4): Likewise.
31026         (_FP_PACK_RAW_4_P): Likewise.
31027         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31028         (_FP_MUL_MEAT_4_wide): Likewise.
31029         (_FP_MUL_MEAT_4_gmp): Likewise.
31030         (umul_ppppmnnn): Likewise.
31031         (_FP_DIV_MEAT_4_udiv): Likewise.
31032         (__FP_FRAC_ADD_4): Likewise.
31033         (__FP_FRAC_SUB_3): Likewise.
31034         (__FP_FRAC_SUB_4): Likewise.
31035         (__FP_FRAC_DEC_3): Likewise.
31036         (__FP_FRAC_DEC_4): Likewise.
31037         (__FP_FRAC_ADDI_4): Likewise.
31038         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31039         (_FP_FRAC_SRL_8): Likewise.
31040         (_FP_FRAC_SRS_8): Likewise.
31042         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31043         include macro name.
31044         (FP_UNPACK_RAW_EP): Likewise.
31045         (FP_PACK_RAW_E): Likewise.
31046         (FP_PACK_RAW_EP): Likewise.
31047         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31048         (_FP_ISSIGNAN): Likewise.
31049         (_FP_ADD_INTERNAL): Likewise.
31050         (_FP_FMA): Likewise.
31051         (_FP_CMP): Likewise.
31052         (_FP_SQRT): Likewise.
31053         (_FP_TO_INT): Likewise.
31054         (_FP_FROM_INT): Likewise.
31055         (FP_EXTEND): Likewise.
31056         (_FP_DIV_MEAT_N_loop): Likewise.
31058 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31060         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31061         throughout.
31063 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31065         [BZ #17097]
31066         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31067         result with correct sign in case of exponents that produce
31068         overflow except for X very close to 1.
31070 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31072         mktime: merge #if/#ifdef usage from glibc
31073         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31074         as that works with both Glibc's and Gnulib's style.
31075         See thread starting at Siddhesh Poyarekar's bug report at:
31076         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31078 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31080         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31081         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31082         * sysdeps/tile/tilegx/memmove.c: Remove file.
31084 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31086         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31087         abi-name definition.
31088         * scripts/soversions.awk: Do not handle or generate ABI lines.
31089         * shlib-versions: Remove ABI entries.
31090         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31091         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31093 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31096         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31097         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31098         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31099         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31100         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31102         Moved ...
31103         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31104         ... here.
31105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31106         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31107         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31108         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31110         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31112         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31114         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31116         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31118         Moved ...
31119         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31120         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31121         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31122         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31123         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31124         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31125         Moved ...
31126         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31128         Moved ...
31129         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31130         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31131         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31132         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31133         Moved ...
31134         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31136         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31138         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31140         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31142         Moved ...
31143         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31145         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31146         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31147         Moved ...
31148         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31149         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31150         Moved ...
31151         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31152         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31153         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31154         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31155         Moved ...
31156         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31157         ... here.
31158         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31159         Identical file removed.
31160         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31161         Moved ...
31162         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31163         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31164         Identical file removed.
31165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31166         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31168         Moved ...
31169         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31170         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31171         Identical file removed.
31172         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31173         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31175         Identical file removed.
31176         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31177         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31178         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31179         Identical file removed.
31180         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31181         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31182         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31183         Identical file removed.
31184         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31185         Moved ...
31186         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31187         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31188         Identical file removed.
31189         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31190         Moved ...
31191         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31193         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31195         Identical file removed.
31196         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31197         Moved ...
31198         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31199         ... here.
31200         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31201         Identical file removed.
31202         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31203         Moved ...
31204         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31205         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31206         Identical file removed.
31207         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31208         Moved ...
31209         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31210         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31211         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31212         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31213         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31214         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31215         Moved ...
31216         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31217         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31218         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31220         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31221         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31222         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31223         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31224         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31226 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31228         [BZ #17092]
31229         * nscd/nscd.c (monitor_child): Return exit status of child
31230         instead of return value from wait syscall.
31232 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31234         * configure.ac (libc_commonpagesize): Remove variable.
31235         (libc_relro_required): Likewise.
31236         (libc_cv_z_relro): Remove configure test.
31237         * configure: Regenerated.
31238         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31239         variable.
31240         (libc_relro_required): Likewise.
31241         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31242         (libc_relro_required): Likewise.
31243         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31244         (libc_relro_required): Likewise.
31245         * sysdeps/arm/preconfigure: Regenerated.
31246         * sysdeps/ia64/preconfigure: Remove file.
31247         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31248         variable.
31249         (libc_relro_required): Likewise.
31251         [BZ #16561]
31252         [BZ #16562]
31253         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31254         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31255         recompute overflowing results in original rounding mode.
31256         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31257         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31258         recompute overflowing results in original rounding mode.
31259         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31260         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31261         recompute overflowing results in original rounding mode.
31262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31263         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31264         recompute overflowing results in original rounding mode.
31265         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31266         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31267         recompute overflowing results in original rounding mode.
31268         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31269         (libc_feholdsetround_ctx): New macro.
31270         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31271         * sysdeps/i386/fpu/libm-test-ulps: Update.
31272         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31274 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31276         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31277         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31278         corresponding .cpsetup call.
31280 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31282         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31283         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31284         * sysdeps/arm/Makefile [$(subdir) = csu]
31285         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31286         (static-only-routines): Add aeabi_read_tp here.
31287         (shared-only-routines): Add libc-aeabi_read_tp here.
31288         (CFLAGS-libc-start.c): Add -fexceptions here.
31289         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31290         (sysdep_routines, static-only-routines, shared-only-routines):
31291         Don't add to these here.
31292         (CFLAGS-libc-start.c): Likewise.
31294         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31295         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31296         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31297         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31298         * sysdeps/arm/Makefile [$(subdir) = rt]
31299         (librt-sysdep_routines, librt-shared-only-routines):
31300         Append rt-aeabi_unwind_cpp_pr1 here.
31301         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31302         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31303         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31304         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31305         Append nptl-aeabi_unwind_cpp_pr1 here.
31306         (tests): Filter out tst-cleanupx4 here.
31307         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31308         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31309         Don't do those here.
31311 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31313         * scripts/list-sources.sh: Do not handle ports specially.
31315 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31317         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31318         * sysdeps/arm/feupdateenv.c: Likewise.
31320         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31322 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31324         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31325         trailing whitespace removed.
31326         * scripts/config.guess: Update to version 2014-03-23.
31327         * scripts/config.sub: Update to version 2014-05-01
31328         * scripts/install-sh: Update to version 2013-12-25.23.
31329         * scripts/move-if-change: Update from gnulib.
31331 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31333         * debug/memmove_chk.c: Remove pagecopy.h include.
31335 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31337         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31338         identical to gnulib mktime.
31340 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31342         * configure.ac: Do not test for machine being rs6000.  Do not test
31343         for powerpc*-*soft.
31344         * configure: Regenerated.
31346         [BZ #11505]
31347         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31348         test.
31349         * configure: Regenerated.
31350         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31351         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31352         Remove configure test.
31353         * sysdeps/arm/configure: Regenerated.
31354         * sysdeps/nptl/configure.ac: Do not check
31355         libc_cv_asm_cfi_directives.
31356         * sysdeps/nptl/configure: Regenerated.
31357         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31358         * sysdeps/x86_64/nptl/configure: Remove generated file.
31359         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31360         unconditional.
31361         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31363 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31365         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31366         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31367         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31368         it is defined.
31370         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31371         instead of whether it is defined.
31372         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31373         * sysdeps/hppa/dl-machine.h: Likewise.
31374         * sysdeps/ia64/dl-machine.h: Likewise.
31375         * sysdeps/m68k/dl-machine.h: Likewise.
31376         * sysdeps/microblaze/dl-machine.h: Likewise.
31377         * sysdeps/mips/dl-machine.: Likewise.
31378         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31379         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31380         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31381         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31382         * sysdeps/sh/dl-machine.h: Likewise.
31383         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31384         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31385         * sysdeps/tile/dl-machine.h: Likewise.
31386         * sysdeps/x86_64/dl-machine.h: Likewise.
31388         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31389         code.
31390         (verify_persistent_db): Likewise.
31392 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31395         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31397         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31399         Moved ...
31400         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31401         ... here.
31402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31403         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31405         Identical file removed.
31406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31407         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31409         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31411         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31413         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31415         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31417         Moved ...
31418         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31420         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31422         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31424         Moved ...
31425         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31427         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31429         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31431         Identical file removed.
31432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31433         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31435         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31437         Moved ...
31438         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31439         ... here.
31440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31441         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31443         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31445         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31447         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31449         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31451         Moved ...
31452         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31454         Moved ...
31455         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31457         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31459         Moved ...
31460         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31462         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31464         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31465         folded into ...
31466         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31467         * sysdeps/unix/sysv/linux/s390/Versions
31468         (libpthread: GLIBC_2.19): New version set.
31469         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31470         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31471         (librt: GLIBC_2.3.3): New version set.
31472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31473         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31474         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31475         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31476         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31477         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31478         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31480         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31481         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31482         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31483         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31484         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31485         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31486         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31487         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31488         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31489         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31490         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31491         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31492         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31493         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31494         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31495         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31496         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31497         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31498         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31499         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31500         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31502         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31503         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31504         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31505         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31506         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31507         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31508         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31510         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31511         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31512         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31513         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31514         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31516         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31518         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31519         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31520         (__libc_vfork): Define the function under this name.
31521         [!NOT_IN_libc] (__vfork): Make this an alias.
31522         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31523         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31524         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31525         (__libc_vfork): Define the function under this name.
31526         [!NOT_IN_libc] (__vfork): Make this an alias.
31527         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31528         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31529         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31530         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31531         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31532         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31534         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31535         code that was previously under [RESET_PID].
31536         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31537         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31538         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31540         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31541         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31542         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31543         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31544         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31545         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31546         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31547         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31548         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31549         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31550         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31551         Moved ...
31552         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31553         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31554         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31555         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31556         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31557         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31558         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31559         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31560         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31561         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31562         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31563         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31564         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31565         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31566         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31567         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31568         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31569         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31570         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31571         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31572         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31573         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31574         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31575         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31576         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31577         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31578         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31579         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31580         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31582 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31584         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31585         that was previously under [RESET_PID].
31586         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31588 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31590         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31591         not undefine and redefine.
31592         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31593         [O_CLOEXEC]: Make code unconditional.
31594         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31595         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31596         <kernel-features.h>.
31597         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31598         conditional variable definition.
31599         (shm_open) [O_CLOEXEC]: Make code unconditional.
31600         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31601         code.
31603         * configure.ac (USE_REGPARMS): Don't define here.
31604         * configure: Regenerated.
31605         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31606         * sysdeps/i386/configure: Regenerated.
31608         * nptl/createthread.c: Don't include kernel-features.h.
31609         * nptl/pthread_cancel.c: Likewise.
31610         * nptl/pthread_condattr_setclock.c: Likewise.
31611         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31612         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31613         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31614         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31615         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31616         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31617         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31620         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31621         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31622         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31623         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31624         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31625         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31626         * nscd/gai.c: Likewise.
31627         * nss/nss_db/db-open.c: Likewise.
31628         * sysdeps/generic/ldsodefs.h: Likewise.
31629         * sysdeps/sh/nptl/tls.h: Likewise.
31630         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31631         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31632         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31633         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31634         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31635         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31636         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31637         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31638         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31639         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31640         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31641         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31642         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31643         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31644         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31645         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31646         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31647         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31648         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31649         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31652         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31653         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31654         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31655         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31658         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31659         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31660         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31661         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31662         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31663         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31664         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31665         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31666         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31667         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31668         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31669         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31670         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31671         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31672         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31673         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31674         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31675         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31676         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31677         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31678         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31679         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31680         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31681         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31682         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31683         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31684         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31685         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31686         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31687         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31710         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31711         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31712         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31713         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31714         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31715         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31716         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31717         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31718         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31719         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31720         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31721         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31722         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31723         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31724         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31725         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31726         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31727         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31728         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31729         * sysdeps/unix/sysv/linux/system.c: Likewise.
31730         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31731         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31732         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31733         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31734         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31735         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31736         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31738         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31739         * configure: Regenerated.
31740         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31742         * configure.ac (base_machine): Do not set specially for particular
31743         machines here.
31744         * configure: Regenerated.
31745         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31746         settings from configure.ac.
31747         * sysdeps/i386/preconfigure: New file.
31748         * sysdeps/s390/preconfigure: Likewise.
31749         * sysdeps/sh/preconfigure: Likewise.
31750         * sysdeps/sparc/preconfigure: Likewise.
31752 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31754         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31755         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31756         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31757         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31758         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31759         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31760         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31761         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31762         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31763         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31764         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31765         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31766         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31767         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31768         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31769         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31770         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31771         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31772         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31774         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31775         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31776         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31777         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31778         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31779         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31780         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31781         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31782         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31783         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31784         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31785         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31786         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31787         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31788         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31789         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31790         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31791         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31792         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31793         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31795         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31796         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31797         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31798         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31799         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31800         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31801         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31802         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31803         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31804         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31805         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31806         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31807         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31808         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31809         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31810         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31811         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31814         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31816         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31818         Moved ...
31819         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31820         ... here.
31821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31822         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31824         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31826         Moved ...
31827         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31829         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31831         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31833         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31835         Moved ...
31836         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31838         Moved ...
31839         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31841         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31843         Moved ...
31844         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31846         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31848         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31850         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31852         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31854         Moved ...
31855         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31856         ... here.
31857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31858         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31860         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31862         Moved ...
31863         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31865         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31867         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31869         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31871         Moved ...
31872         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31874         Moved ...
31875         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31877         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31879         Moved ...
31880         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31882         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31884         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31886 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31888         * timezone/checktab.awk: Update from tzcode 2014e.
31889         * timezone/private.h: Likewise.
31890         * timezone/tzfile.h: Likewise.
31891         * timezone/zdump.c: Likewise.
31892         * timezone/zic.c: Likewise.
31894         * sysdeps/unix/sysv/linux/kernel-features.h
31895         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31896         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31897         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31898         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31899         Remove conditional code.
31901 2014-06-25  Will Newton  <will.newton@linaro.org>
31903         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31904         (_dl_arm_cap_flags): Add HWCAP2 values.
31905         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31906         (_DL_HWCAP_COUNT): Increase to 37.
31907         (_DL_HWCAP_LAST): New define.
31908         (_DL_HWCAP2_LAST): New define.
31909         (_dl_procinfo): Add support for printing
31910         AT_HWCAP2 entries.
31911         (_dl_string_hwcap): Use _dl_hwcap_string.
31913 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31917 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31919         * README: Do not mention ports directory.
31921         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31922         Remove macro.
31923         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31924         <kernel-features.h>.
31925         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31926         conditional variable definition.
31927         (__futimes): Update comment.
31928         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31929         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31931         [BZ #16560]
31932         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31933         arguments close to 0.
31934         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31935         Likewise.
31936         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31937         Likewise.
31938         * math/auto-libm-test-in: Add more tests of exp10.
31939         * math/auto-libm-test-out: Regenerated.
31940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31942         * sysdeps/unix/sysv/linux/kernel-features.h
31943         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31944         * sysdeps/unix/sysv/linux/readv.c: Do not include
31945         <kernel-features.h>.
31946         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31947         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31948         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31949         unconditional.
31950         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31951         conditional code.
31952         * sysdeps/unix/sysv/linux/writev.c: Do not include
31953         <kernel-features.h>.
31954         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31955         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31956         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31957         unconditional.
31958         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31959         conditional code.
31961 2014-06-25  Will Newton  <will.newton@linaro.org>
31963         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31964         comment changes throughout the file.  Remove checks
31965         for HAVE_*_H definitions that are not required.
31966         (__gen_tempname): Call abort if an unknown kind value is
31967         passed.
31969 2014-06-25  Andreas Schwab  <schwab@suse.de>
31971         [BZ #17086]
31972         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31973         scalbln, scalblnf, scalblnl in libc.
31975 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31977         [BZ #17086]
31978         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31979         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31980         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31982 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31984         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31985         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31986         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31987         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31988         Update #include.
31989         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31990         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31991         Update #include.
31992         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31993         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31994         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31995         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31996         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31997         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31998         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31999         * sysdeps/x86/bits/semaphore.h: ... here.
32000         * sysdeps/x86/nptl/elide.h: Moved ...
32001         * sysdeps/x86/elide.h: ... here.
32002         * sysdeps/x86_64/nptl/Implies: File removed.
32003         * sysdeps/i386/nptl/Implies: File removed.
32005 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32007         [BZ #16539]
32008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32009         return the argument for normal arguments with exponent below -64.
32010         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32011         Likewise.
32012         * math/auto-libm-test-in: Add another test of expm1.
32013         * math/auto-libm-test-out: Regenerated.
32015         [BZ #16287]
32016         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32017         calling __erfcl for arguments at least 16.
32018         * math/auto-libm-test-in: Add more tests of erf.
32019         * math/auto-libm-test-out: Regenerated.
32021         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32022         individual architectures.
32023         * sysdeps/unix/sysv/linux/configure: Regenerated.
32024         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32025         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32026         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32027         (ldd_rewrite_script): Define variable.
32028         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32030         file.
32031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32032         generated file.
32033         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32034         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32035         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32036         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32037         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32038         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32039         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32040         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32042 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32044         [BZ #17084]
32045         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32046         Rename member __data.d to __data.__elision_data.
32048 2014-06-24  Wilco  <wdijkstr@arm.com>
32050         * NEWS: Add 16918 to fixed bug list.
32052 2014-06-24  Wilco  <wdijkstr@arm.com>
32054         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32056 2014-06-24  Wilco  <wdijkstr@arm.com>
32058         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32059         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32060         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32061         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32062         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32063         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32064         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32065         Use _FPU_MASK_RM.
32067 2014-06-24  Wilco  <wdijkstr@arm.com>
32069         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32071 2014-06-24  Wilco  <wdijkstr@arm.com>
32073         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32074         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32075         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32076         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32078 2014-06-24  Wilco  <wdijkstr@arm.com>
32080         [BZ #16918]
32081         * sysdeps/arm/feupdateenv.c (feupdateenv):
32082         Rewrite to reduce FPSCR accesses and fix return value.
32084 2014-06-24  Wilco  <wdijkstr@arm.com>
32086         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32087         Optimize to avoid unnecessary FPSCR writes.
32088         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32089         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32090         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32091         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32093 2014-06-24  Wilco  <wdijkstr@arm.com>
32095         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32096         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32097         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32098         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32099         Call libc_fetestexcept_vfp.
32100         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32101         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32102         __SOFTFP__ ifdef so that they can be built for softfp.
32104 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32106         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32107         argument type signed char.
32109         * Makerules (check-abi): Dump diff of symlist if the test
32110         fails.
32112 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32114         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32115         using abort.
32117         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32118         Remove unused variable ST.
32120 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32122         [BZ #16354]
32123         [BZ #17061]
32124         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32125         small arguments before calling __expm1.
32126         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32127         small arguments before calling __expm1f.
32128         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32129         small arguments before calling __expm1l.
32130         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32131         Likewise.
32132         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32133         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32134         spurious underflow for some cosh tests.
32135         * math/auto-libm-test-out: Regenerated.
32136         * sysdeps/i386/fpu/libm-test-ulps: Update.
32138         [BZ #17050]
32139         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32140         (__ieee754_y1): Set errno if return value overflows.
32141         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32142         (__ieee754_y1f): Set errno if return value overflows.
32143         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32144         (__ieee754_y1l): Set errno if return value overflows.
32145         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32146         (__ieee754_y1l): Set errno if return value overflows.
32147         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32148         * math/auto-libm-test-out: Regenerated.
32150         * math/gen-auto-libm-tests.c: Document use of
32151         ignore-zero-inf-sign.
32152         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32153         (input_flags): Add ignore-zero-inf-sign.
32154         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32155         * math/gen-libm-test.pl (generate_testfile): Handle
32156         ignore-zero-inf-sign.
32157         * math/auto-libm-test-in: Mark some cpow tests with
32158         ignore-zero-inf-sign and some with xfail-rounding.
32159         * math/auto-libm-test-out: Regenerated.
32160         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32161         * sysdeps/i386/fpu/libm-test-ulps: Update.
32162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32164         [BZ #16315]
32165         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32166         overflowing or underflowing operations take place with sign of
32167         result.
32168         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32169         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32170         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32171         (__ieee754_pow): Recompute overflowing and underflowing results in
32172         original rounding mode.
32173         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32174         (__powl_helper): Allow negative argument X and scale negated value
32175         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32176         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32177         overflowing or underflowing operations take place with sign of
32178         result.
32179         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32180         Include <math.h>.
32181         * math/auto-libm-test-in: Add more tests of pow.
32182         * math/auto-libm-test-out: Regenerated.
32183         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32184         (pow_tonearest_test_data): Remove.
32185         (pow_test_tonearest): Likewise.
32186         (pow_towardzero_test_data): Likewise.
32187         (pow_test_towardzero): Likewise.
32188         (pow_downward_test_data): Likewise.
32189         (pow_test_downward): Likewise.
32190         (pow_upward_test_data): Likewise.
32191         (pow_test_upward): Likewise.
32192         (main): Don't call removed functions.
32193         * sysdeps/i386/fpu/libm-test-ulps: Update.
32194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32196 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32199         Moved ...
32200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32202         Moved ...
32203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32205         Moved ...
32206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32208         Moved ...
32209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32211         File removed.
32212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32213         File removed.
32214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32215         File removed.
32216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32217         File removed.
32218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32219         File removed.
32220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32221         File removed.
32222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32223         File removed.
32224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32225         File removed.
32226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32227         File removed.
32228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32229         File removed.
32230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32231         File removed.
32232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32233         File removed.
32234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32235         Moved ...
32236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32238         Moved ...
32239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32240         ... here.
32241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32242         Moved ...
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32245         Moved ...
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32248         Moved ...
32249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32251         Moved ...
32252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32254         Moved ...
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32257         Moved ...
32258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32260         Moved ...
32261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32264         ... here.
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32266         Moved ...
32267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32269         Moved ...
32270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32271         ... here.
32272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32273         Moved ...
32274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32275         ... here.
32276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32277         Moved ...
32278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32279         ... here.
32280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32281         Moved ...
32282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32284         Moved ...
32285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32289         Moved ...
32290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32291         ... here.
32292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32293         Moved ...
32294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32295         ... here.
32296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32297         Moved ...
32298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32300         Moved ...
32301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32303         Moved ...
32304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32306         Moved ...
32307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32309         Moved ...
32310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32311         ... here.
32312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32313         Moved ...
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32316         Moved ...
32317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32319         Moved ...
32320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32322         Moved ...
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32327         Moved ...
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32330         Moved ...
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32333         Moved ...
32334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32335         ... here.
32336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32337         Moved ...
32338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32339         ... here.
32340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32341         Moved ...
32342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32343         ... here.
32344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32345         Moved ...
32346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32348         Moved ...
32349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32351         Moved ...
32352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32354         Moved ...
32355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32356         ... here.
32357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32358         Moved ...
32359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32360         ... here.
32361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32362         Moved ...
32363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32364         ... here.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32366         Moved ...
32367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32369         Moved ...
32370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32372 2014-06-23  Will Newton  <will.newton@linaro.org>
32373             Wilco  <wdijkstr@arm.com>
32375         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32376         implementation.  Include get-rounding-mode.h.
32377         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32378         [!libc_feholdsetround_noex_ctx]: Define
32379         libc_feholdsetround_noex_ctx.
32380         [!libc_feholdsetround_noexf_ctx]: Define
32381         libc_feholdsetround_noexf_ctx.
32382         [!libc_feholdsetround_noexl_ctx]: Define
32383         libc_feholdsetround_noexl_ctx.
32384         (libc_feholdsetround_ctx): New function.
32385         (libc_feresetround_ctx): New function.
32386         (libc_feholdsetround_noex_ctx): New function.
32387         (libc_feresetround_noex_ctx): New function.
32389 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32391         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32392         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32393         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32394         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32395         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32396         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32398         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32399         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32400         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32401         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32402         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32403         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32404         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32405         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32406         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32407         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32408         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32409         Moved ...
32410         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32411         ... here.
32412         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32413         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32415         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32416         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32417         Moved ...
32418         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32420         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32421         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32422         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32423         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32424         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32426         Moved ...
32427         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32428         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32429         Moved ...
32430         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32431         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32432         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32434         Moved ...
32435         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32436         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32437         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32438         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32439         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32440         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32441         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32442         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32443         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32444         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32445         Moved ...
32446         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32447         ... here.
32448         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32449         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32450         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32451         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32452         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32453         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32454         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32455         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32456         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32457         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32458         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32459         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32460         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32461         Moved ...
32462         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32463         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32464         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32465         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32466         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32467         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32468         Moved ...
32469         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32470         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32471         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32472         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32473         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32475         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32476         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32477         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32478         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32479         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32480         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32481         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32482         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32483         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32484         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32485         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32486         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32487         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32488         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32489         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32490         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32491         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32492         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32493         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32494         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32495         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32496         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32497         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32498         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32499         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32500         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32501         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32502         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32504 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32506         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32507         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32508         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32509         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32510         (IPV6_PMTUDISC_INTERFACE): Likewise.
32511         (IPV6_PMTUDISC_OMIT): Likewise.
32513 2014-06-23  Andreas Schwab  <schwab@suse.de>
32515         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32516         Remove unused errout label.
32518 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32520         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32521         macro: hardware supports Vector Crypto instructions.
32523 2014-06-23  Will Newton  <will.newton@linaro.org>
32525         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32526         rather than __builtin_expect.
32528         * elf/dl-lookup.c (undefined_msg): Remove variable.
32529         (_dl_lookup_symbol_x): Replace undefined_msg with string
32530         literal.
32532         * elf/dl-lookup.c (do_lookup_unique): New function.
32533         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32534         to a separate function.
32536 2014-06-23  Andreas Schwab  <schwab@suse.de>
32538         [BZ #17079]
32539         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32540         before reading the next line.
32542 2014-06-23  Will Newton  <will.newton@linaro.org>
32544         * test-skeleton.c (signal_handler): Use printf and %m
32545         rather than perror.  Use printf rather than fprintf to
32546         stderr.  Use puts rather than fputs to stderr.
32547         (main): Likewise.
32549 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32551         * nscd/nscd.c (thread_info_t): Remove typedef.
32552         (thread_info): Remove variable.
32554 2014-06-21  Allan McRae  <allan@archlinux.org>
32556         * NEWS: Mention CVE-2014-4043.
32558 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32560         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32561         * nptl/smp.h: ... here.
32563         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32565         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32566         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32567         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32568         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32570         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32571         * nptl/stack-aliasing.h: New file.
32572         * sysdeps/i386/i686/stack-aliasing.h: New file.
32573         * sysdeps/i386/i686/nptl/Makefile: File removed.
32574         * sysdeps/x86_64/stack-aliasing.h: New file.
32575         * sysdeps/x86_64/nptl/Makefile
32576         (CFLAGS-pthread_create.c): Variable removed.
32578         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32579         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32580         old file.
32581         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32582         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32583         old file.
32585 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32588         (__ASSUME_SIGFRAME_V2): Remove macro.
32589         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32590         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32591         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32592         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32593         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32594         Declare as function.  Remove conditional macro definitions.
32595         (__default_rt_sa_restorer): Likewise.
32596         (__default_sa_restorer_v1): Remove declaration.
32597         (__default_sa_restorer_v2): Likewise.
32598         (__default_rt_sa_restorer_v1): Likewise.
32599         (__default_rt_sa_restorer_v2): Likewise.
32600         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32601         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32602         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32604 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32606         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32607         (libpthread-routines): Add sysdep.
32608         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32609         * sysdeps/unix/sysv/linux/sparc/Versions
32610         (libpthread: GLIBC_2.3.3): New version set.
32611         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32612         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32613         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32614         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32615         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32616         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32617         Moved ...
32618         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32619         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32620         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32621         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32622         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32623         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32624         * sysdeps/sparc/nptl/sem_init.c: ... here.
32625         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32626         * sysdeps/sparc/nptl/sem_post.c: ... here.
32627         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32628         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32629         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32630         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32631         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32632         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32633         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32634         (libpthread-routines): Add cpu_relax.
32635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32636         File removed.
32637         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32638         (librt: GLIBC_2.3.3): New version set.
32639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32640         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32641         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32642         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32645         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32647         Moved ...
32648         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32650         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32652         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32654         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32656         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32658         Moved ...
32659         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32660         Update #include.
32661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32662         Moved ...
32663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32664         Update #include.
32665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32666         Moved ...
32667         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32668         Update #include.
32669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32670         Moved ...
32671         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32672         Update #include.
32673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32674         Moved ...
32675         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32676         Update #include.
32677         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32678         Moved ...
32679         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32680         Update #include.
32681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32682         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32684         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32688         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32690         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32692         Moved ...
32693         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32695         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32697         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32699 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32701         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32702         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32703         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32704         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32705         * nscd/nscd.c: Likewise.
32706         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32707         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32708         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32709         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32711         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32712         <kernel-features.h>.
32713         (init_mq_netlink): Remove conditional have_sock_cloexec
32714         definitions.  Remove code conditional on have_sock_cloexec < 0.
32715         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32716         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32717         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32718         <kernel-features.h>.
32719         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32720         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32722 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32725         Add tests for memset_chk and memset.
32727         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32728         with AVX2_Usable.
32730 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32732         [BZ #16046]
32733         * elf/tst-dl-iter-static.c: New file.
32734         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32736         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32737         error.
32739 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32741         * sysdeps/unix/sysv/linux/kernel-features.h
32742         (__ASSUME_F_GETOWN_EX): Remove macro.
32743         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32744         <kernel-features.h>.
32745         (miss_F_GETOWN_EX): Remove variable or macro.
32746         (do_fcntl): Do not check miss_F_GETOWN_EX.
32747         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32749         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32750         Remove macro.
32751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32752         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32753         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32755         * sysdeps/unix/sysv/linux/kernel-features.h
32756         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32757         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32758         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32759         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32761 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32763         [BZ #17075]
32764         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32765         Fix calculation of the symbol's value.
32766         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32767         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32768         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32769         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32770         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32771         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32772         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32773         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32774         (modules-names): Add `tst-armtlsdescmod',
32775         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32776         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32777         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32778         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32779         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32780         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32781         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32782         ($(objpfx)tst-armtlsdescloc): New dependency.
32783         ($(objpfx)tst-armtlsdescextnow): Likewise.
32784         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32785         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32786         TLS scheme support.
32787         * sysdeps/arm/configure: Regenerate.
32789 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32791         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32792         (__atfct_seterrno_2): Likewise.
32793         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32794         <kernel-features.h>.
32795         (__ASSUME_ATFCTS): Do not undefine and redefine.
32796         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32797         (__have_atfcts): Remove conditional definition.
32798         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32799         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32800         unreachable if [__ASSUME_ATFCTS].
32801         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32802         not undefine and redefine.
32803         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32804         <kernel-features.h>.
32805         (faccessat) [__NR_faccessat]: Make code unconditional.
32806         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32807         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32808         <kernel-features.h>.
32809         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32810         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32811         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32812         <kernel-features.h>.
32813         (fchownat) [__NR_fchownat]: Make code unconditional.
32814         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32815         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32816         <kernel-features.h>.
32817         (futimesat) [__NR_futimesat]: Make code unconditional.
32818         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32819         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32820         <kernel-features.h>.
32821         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32822         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32823         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32824         <kernel-features.h>.
32825         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32826         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32827         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32828         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32829         <kernel-features.h>.
32830         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32831         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32832         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32833         <kernel-features.h>.
32834         (linkat) [__NR_linkat]: Make code unconditional.
32835         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32836         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32837         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32838         <kernel-features.h>.
32839         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32840         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32841         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32842         <kernel-features.h>.
32843         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32844         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32845         * sysdeps/unix/sysv/linux/openat.c: Do not include
32846         <kernel-features.h>.
32847         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32848         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32849         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32850         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32851         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32852         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32853         <kernel-features.h>.
32854         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32855         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32856         result of INLINE_SYSCALL directly, not via int variable.
32857         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32858         <kernel-features.h>.
32859         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32860         (renameat) [__NR_renameat]: Make code unconditional.
32861         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32862         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32863         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32864         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32865         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32866         (__ASSUME_ATFCTS): Do not undefine and redefine.
32867         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32868         <kernel-features.h>.
32869         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32870         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32871         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32872         <kernel-features.h>.
32873         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32874         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32875         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32876         (__ASSUME_ATFCTS): Do not undefine and redefine.
32877         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32878         <kernel-features.h>.
32879         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32880         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32881         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32882         <kernel-features.h>.
32883         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32884         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32886 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32888         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32890 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32892         [BZ #17069]
32893         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32894         constructed tree before returning error.
32895         * posix/bug-regexp36.c: Expand test case.
32897 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32899         [BZ #6803]
32900         * math/libm-test.inc (scalbln_test_date):
32901         Add errno expectations.
32902         * math/w_scalblnf.c: New File.
32903         Add wrapper which checks for setting errno to ERANGE.
32904         Add weak_alias for corresponding scalbln function.
32905         * math/w_scalbln.c: Likewise.
32906         * math/w_scalblnl.c: Likewise.
32907         * math/Makefile (libm-calls): Add w_scalbln.
32908         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32909         Remove weak_alias for corresponding scalbln function.
32910         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32911         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32912         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32913         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32914         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32915         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32916         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32917         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32918         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32919         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32920         Remove long_double_symbol for scalblnl function in libm, libc.
32921         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32922         Add wrapper which checks for setting errno to ERANGE.
32923         Add long_double_symbol for scalblnl function in libm, libc.
32924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32925         Remove long_double_symbol for scalblnl in libm.
32926         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32927         Add wrapper which checks for setting errno to ERANGE.
32928         Add long_double_symbol for scalblnl function in libm.
32929         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32930         Do not use wrapper because of own implementation.
32932 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32934         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32935         3 bytes for __pad1 for x32.
32936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32938 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32939             H.J. Lu  <hongjiu.lu@intel.com>
32941         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32942         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32943         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32944         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32945         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32947 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32949         [BZ #17069]
32950         * posix/regcomp.c (parse_expression): Deallocate partially
32951         constructed tree before returning error.
32952         * posix/Makefile.c (tests): Add bug-regex36.
32953         (generated): Add bug-regex36.mtrace.
32954         (tests-special): Add $(objpfx)bug-regex36-mem.out
32955         (bug-regex36-ENV): New variable.
32956         ($(objpfx)bug-regex36-mem.out): New rule.
32957         * posix/bug-regex36.c: New file.
32959 2014-06-19  Will Newton  <will.newton@linaro.org>
32961         * malloc/malloc.c (systrim): If extra is zero then return
32962         early.
32964 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32966         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32968 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32970         * sysdeps/aarch64/strchr.S: New file.
32972 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32974         [BZ #17022]
32975         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32976         from arguments -2 or below.
32977         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32978         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32980 2014-06-18  Andreas Schwab  <schwab@suse.de>
32982         [BZ #17062]
32983         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32984         of a bracket expr not to run off the end of the string.
32985         * posix/Makefile (tests): Add tst-fnmatch3.
32986         * posix/tst-fnmatch3.c: New file.
32988 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32990         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32991         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32992         [$(cross-compiling) = no]: Likewise.
32993         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32994         [$(cross-compiling) = no]: Likewise.
32996 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32998         [BZ #17031]
32999         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33000         double, adjusted for any remainder from the high double.
33001         * math/libm-test.inc (nearbyint): Add tests.
33002         (rint): Likewise.
33004 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33006         * nptl/sysdeps/powerpc/Makefile: Moved ...
33007         * sysdeps/powerpc/nptl/Makefile: ... here.
33008         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33009         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33010         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33011         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33012         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33013         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33014         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33015         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33016         * nptl/sysdeps/powerpc/tls.h: Moved ...
33017         * sysdeps/powerpc/nptl/tls.h: ... here.
33019 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33021         [BZ #16681]
33022         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33023         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33024         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33025         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33026         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33027         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33028         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33029         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33030         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33032 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33034         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33036 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33038         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33039         defined operator.
33041         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33042         $TIMEOUTFACTOR.
33044 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33046         [BZ #17058]
33047         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33048         non-executed part of the test.
33050 2014-06-16  Andreas Schwab  <schwab@suse.de>
33052         * string/bits/string2.h (strdup, strndup): Update feature guard.
33054 2014-06-14  David S. Miller  <davem@davemloft.net>
33056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33058 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33060         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33061         that was previously under [RESET_PID].
33062         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33064         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33065         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33066         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33067         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33068         (__libc_vfork): New strong alias.
33069         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33071 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33073         * sysdeps/generic/elide.h: New file.
33075 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33077         * Makefile (installed-headers): Adjust path of pthread.h header.
33079 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33081         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33082         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33083         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33084         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33086         * nptl/sysdeps/s390/Makefile: Moved ...
33087         * sysdeps/s390/nptl/Makefile: ... here.
33088         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33089         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33090         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33091         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33092         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33093         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33094         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33095         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33096         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33097         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33098         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33099         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33100         * nptl/sysdeps/s390/tls.h: Moved ...
33101         * sysdeps/s390/nptl/tls.h: ... here.
33103         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33104         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33106 2014-06-13  David S. Miller  <davem@davemloft.net>
33108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33111         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33115         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33116         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33117         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33118         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33119         Remove RESET_PID cpp guards.
33120         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33121         Remove RESET_PID cpp guards.
33122         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33124 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33126         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33127         __sp to uintptr_t.
33129 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33131         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33132         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33134         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33135         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33136         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33137         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33138         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33139         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33140         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33141         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33142         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33143         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33144         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33145         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33146         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33147         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33148         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33149         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33150         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33152         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33153         (pthread_rwlock_rdlock): Add elision.
33154         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33155         (pthread_rwlock_wrlock): Add elision.
33156         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33157         (pthread_rwlock_trywrlock): Add elision.
33158         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33159         (pthread_rwlock_tryrdlock): Add elision.
33160         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33161         (pthread_rwlock_tryrdlock): Add elision unlock.
33162         * nptl/sysdeps/pthread/pthread.h:
33163         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33164         (PTHREAD_RWLOCK_INITIALIZER,
33165         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33166         Handle new elision field.
33167         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33168         * sysdeps/arm/nptl/bits/pthreadtypes.h
33169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33170         * sysdeps/sh/nptl/bits/pthreadtypes.h
33171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33172         * sysdeps/tile/nptl/bits/pthreadtypes.h
33173         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33174         * sysdeps/a/nptl/bits/pthreadtypes.h
33175         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33176         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33177         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33178         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33179         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33180         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33182         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33184         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33185         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33186         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33188         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33189         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33190         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33191         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33192         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33193         (elision_init): Set try_xbegin to zero when no RTM.
33194         * sysdeps/x86/nptl/bits/pthreadtypes.h
33195         (pthread_rwlock_t): Change __pad1 to __rwelision.
33196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33198 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33200         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33201         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33202         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33203         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33205 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33207         [BZ #16996]
33208         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33209         that the cached result has been set before returning it.
33211 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33213         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33214         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33215         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33216         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33217         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33218         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33220         * nptl/sysdeps/sparc/Makefile: Moved ...
33221         * sysdeps/sparc/nptl/Makefile: ... here.
33222         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33223         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33224         * nptl/sysdeps/sparc/tls.h: Moved ...
33225         * sysdeps/sparc/nptl/tls.h: ... here.
33226         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33227         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33228         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33229         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33230         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33231         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33232         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33233         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33234         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33235         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33236         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33237         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33238         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33239         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33240         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33241         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33242         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33244         Update #include.
33245         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33246         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33247         Update #include.
33248         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33249         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33250         Update #include.
33251         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33252         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33253         Update #include.
33255         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33257         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33258         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33260         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33261         (struct list_links): Type removed.
33262         (struct thread_node, struct timer_node): Replace struct list_links
33263         with struct list_head.
33264         (list_unlink_ip): Likewise.
33265         * sysdeps/pthread/timer_routines.c
33266         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33267         (list_append, list_insbefore): Likewise.
33268         (list_init): Function removed.
33269         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33270         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33271         * sysdeps/pthread/Makefile: ... here, new file.
33273         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33274         * sysdeps/nptl/Implies: ... here.
33275         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33276         * nptl/sysdeps/pthread/list.h: Moved ...
33277         * include/list.h: ... here.
33278         * nptl/sysdeps/pthread/createthread.c: Moved ...
33279         * nptl/createthread.c: ... here.
33280         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33281         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33282         * nptl/pt-longjmp.c: ... here.
33283         * nptl/sysdeps/pthread/Makefile: Moved ...
33284         * sysdeps/nptl/Makefile: ... here.
33285         * nptl/sysdeps/pthread/Subdirs: Moved ...
33286         * sysdeps/nptl/Subdirs: ... here.
33287         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33288         * sysdeps/nptl/aio_misc.h: ... here.
33289         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33290         * sysdeps/nptl/bits/libc-lock.h: ... here.
33291         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33292         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33293         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33294         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33295         * nptl/sysdeps/pthread/configure: Moved ...
33296         * sysdeps/nptl/configure: ... here.
33297         * nptl/sysdeps/pthread/configure.ac: Moved ...
33298         * sysdeps/nptl/configure.ac: ... here.
33299         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33300         * sysdeps/nptl/gai_misc.h: ... here.
33301         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33302         * sysdeps/nptl/librt-cancellation.c: ... here.
33303         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33304         * sysdeps/nptl/malloc-machine.h: ... here.
33305         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33306         * sysdeps/nptl/pthread-functions.h: ... here.
33307         * nptl/sysdeps/pthread/pthread.h: Moved ...
33308         * sysdeps/nptl/pthread.h: ... here.
33309         * nptl/sysdeps/pthread/setxid.h: Moved ...
33310         * sysdeps/nptl/setxid.h: ... here.
33311         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33312         * sysdeps/nptl/sigfillset.c: ... here.
33313         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33314         * sysdeps/nptl/tcb-offsets.h: ... here.
33315         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33316         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33317         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33318         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33319         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33320         * sysdeps/pthread/allocalim.h: ... here.
33321         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33322         * sysdeps/pthread/bits/sigthread.h: ... here.
33323         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33324         * sysdeps/pthread/flockfile.c: ... here.
33325         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33326         * sysdeps/pthread/ftrylockfile.c: ... here.
33327         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33328         * sysdeps/pthread/funlockfile.c: ... here.
33329         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33330         * sysdeps/pthread/posix-timer.h: ... here.
33331         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33332         * sysdeps/pthread/timer_create.c: ... here.
33333         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33334         * sysdeps/pthread/timer_delete.c: ... here.
33335         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33336         * sysdeps/pthread/timer_getoverr.c: ... here.
33337         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33338         * sysdeps/pthread/timer_gettime.c: ... here.
33339         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33340         * sysdeps/pthread/timer_routines.c: ... here.
33341         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33342         * sysdeps/pthread/timer_settime.c: ... here.
33343         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33344         * sysdeps/pthread/tst-timer.c: ... here.
33345         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33346         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33348         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33349         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33351         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33352         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33353         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33354         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33355         Update #include target.
33356         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33357         * sysdeps/i386/i686/nptl/Makefile: ... here.
33358         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33359         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33360         Update #include target.
33361         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33362         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33363         * nptl/sysdeps/i386/Makefile: Moved ...
33364         * sysdeps/i386/nptl/Makefile: ... here.
33365         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33366         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33367         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33368         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33369         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33370         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33371         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33372         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33373         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33374         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33375         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33376         * nptl/sysdeps/i386/tls.h: Moved ...
33377         * sysdeps/i386/nptl/tls.h: ... here.
33379         * sysdeps/sh/Makefile [$(subdir) = csu]
33380         (gen-as-const-headers): Add tcb-offsets.sym.
33381         * nptl/sysdeps/sh/Makefile: File removed.
33382         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33383         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33384         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33385         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33386         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33387         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33388         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33389         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33390         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33391         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33392         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33393         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33394         * nptl/sysdeps/sh/tls.h: Moved ...
33395         * sysdeps/sh/nptl/tls.h: ... here.
33396         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33397         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33398         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33399         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33400         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33401         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33402         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33403         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33404         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33405         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33406         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33407         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33408         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33409         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33410         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33411         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33412         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33413         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33414         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33415         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33416         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33417         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33418         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33419         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33421         Moved ...
33422         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33423         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33424         Moved ...
33425         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33426         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33427         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33428         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33429         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33430         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33431         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33432         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33433         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33434         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33435         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33436         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33437         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33438         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33439         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33440         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33441         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33442         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33443         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33445 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33447         * posix/spawn_faction_addopen.c: Include string.h.
33449 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33451         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33452         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33453         * nptl/sysdeps/x86_64/Makefile: Moved ...
33454         * sysdeps/x86_64/nptl/Makefile: ... here.
33455         * nptl/sysdeps/x86_64/configure: Moved ...
33456         * sysdeps/x86_64/nptl/configure: ... here.
33457         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33458         * sysdeps/x86_64/nptl/configure.ac: ... here.
33459         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33460         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33461         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33462         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33463         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33464         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33465         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33466         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33467         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33468         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33469         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33470         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33471         * nptl/sysdeps/x86_64/tls.h: Moved ...
33472         * sysdeps/x86_64/nptl/tls.h: ... here.
33473         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33474         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33475         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33476         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33478         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33480 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33484 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33486         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33487         type.
33488         [POSIX] (off_t): Likewise.
33489         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33490         [POSIX] (S_ISBLK): Require macro.
33491         [POSIX] (S_ISCHR): Likewise.
33492         [POSIX] (S_ISDIR): Likewise.
33493         [POSIX] (S_ISFIFO): Likewise.
33494         [POSIX] (S_ISREG): Likewise.
33495         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33496         optional-macro.
33497         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33498         type.
33499         [POSIX] (time_t): Likewise.
33500         [POSIX] (timer_t): Likewise.
33502 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33504         [BZ #17048]
33505         * posix/spawn_int.h (struct __spawn_action): Make the path string
33506         non-const to support deallocation.
33507         * posix/spawn_faction_addopen.c
33508         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33509         * posix/spawn_faction_destroy.c
33510         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33511         path in all spawn_do_open actions.
33512         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33513         posix_spawn_file_actions_addopen.
33515 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33517         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33518         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33519         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33520         conditional code always true.
33521         (__libc_vfork): New alias.
33523 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33525         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33526         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33528         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33530         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33531         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33533         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33534         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33536         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33537         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33539 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33541         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33542         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33543         multiarch strcmp for PPC64.
33544         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33545         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33547         multiarch optimizations.
33548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33549         (__libc_ifunc_impl_list): Likewise.
33551 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33553         * benchtests/scripts/validate_benchout.py: New script.
33554         * benchtests/Makefile (bench-func): Call it.
33555         * benchtests/scripts/benchout.schema.json: New file.
33557 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33559         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33560         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33561         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33562         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33563         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33564         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33565         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33566         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33567         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33568         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33569         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33570         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33571         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33572         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33573         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33574         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33576         Moved ...
33577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33578         ... here.
33579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33580         Moved ...
33581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33583         Moved ...
33584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33585         ... here.
33586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33587         Moved ...
33588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33589         ... here.
33590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33591         Moved ...
33592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33594         Moved ...
33595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33596         ... here.
33597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33598         Moved ...
33599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33600         ... here.
33601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33602         Moved ...
33603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33605         Moved ...
33606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33607         ... here.
33608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33609         Moved ...
33610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33611         ... here.
33612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33613         Moved ...
33614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33615         ... here.
33616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33617         Moved ...
33618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33620         Moved ...
33621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33622         ... here.
33623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33624         Moved ...
33625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33626         ... here.
33627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33628         Moved ...
33629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33630         ... here.
33631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33632         Moved ...
33633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33635         Moved ...
33636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33637         ... here.
33638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33639         Moved ...
33640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33641         ... here.
33642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33643         Moved ...
33644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33646         Moved ...
33647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33648         ... here.
33649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33650         Moved ...
33651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33653         Moved ...
33654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33656         Moved ...
33657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33658         ... here.
33659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33660         Moved ...
33661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33662         ... here.
33663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33664         Moved ...
33665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33666         ... here.
33667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33668         Moved ...
33669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33671         Moved ...
33672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33673         ... here.
33674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33675         Moved ...
33676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33677         ... here.
33678         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33679         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33680         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33681         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33682         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33683         Moved ...
33684         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33685         ... here.
33686         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33687         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33688         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33689         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33690         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33691         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33692         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33693         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33694         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33695         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33696         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33697         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33698         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33699         Moved ...
33700         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33702         Moved ...
33703         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33704         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33705         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33706         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33707         Moved ...
33708         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33710         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33711         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33712         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33713         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33714         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33716 2014-06-10  Wilco  <wdijkstr@arm.com>
33718         * math/test-fenv-return.c: New file.
33719         * math/Makefile: Add new test test-fenv-return.
33721 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33723         [BZ #17042]
33724         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33725         when x - 1 is zero.
33726         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33727         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33728         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33729         0.0L for an argument of 1.0L.
33730         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33731         Likewise.
33732         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33733         value when x - 1 is zero.
33734         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33735         * sysdeps/i386/fpu/libm-test-ulps: Update.
33736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33738 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33740         [BZ #15119]
33741         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33743 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33745         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33746         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33748 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33750         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33751         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33753         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33754         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33756         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33757         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33759         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33760         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33762         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33763         if not already defined.
33764         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33765         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33766         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33767         (TLS_INIT_TP): Use it.
33768         (TLS_DEFINE_INIT_TP): New macro.
33769         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33771 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33773         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33774         constant.
33775         [POSIX] (IXANY): Likewise.
33776         [POSIX] (OLCUC): Likewise.
33777         [POSIX || POSIX2008] (CBAUD): Do not allow.
33778         [POSIX || POSIX2008] (DEFECHO): Likewise.
33779         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33780         [POSIX || POSIX2008] (ECHOKE): Likewise.
33781         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33782         [POSIX || POSIX2008] (EXTA): Likewise.
33783         [POSIX || POSIX2008] (EXTB): Likewise.
33784         [POSIX || POSIX2008] (FLUSHO): Likewise.
33785         [POSIX || POSIX2008] (LOBLK): Likewise.
33786         [POSIX || POSIX2008] (PENDIN): Likewise.
33787         [POSIX || POSIX2008] (SWTCH): Likewise.
33788         [POSIX || POSIX2008] (VDISCARD): Likewise.
33789         [POSIX || POSIX2008] (VDSUSP): Likewise.
33790         [POSIX || POSIX2008] (VLNEXT): Likewise.
33791         [POSIX || POSIX2008] (VREPRINT): Likewise.
33792         [POSIX || POSIX2008] (VSTATUS): Likewise.
33793         [POSIX || POSIX2008] (VWERASE): Likewise.
33794         (B*): Change to B[0123456789]*.
33795         * conform/data/time.h-data [POSIX || UNIX98]
33796         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33797         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33798         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33799         [POSIX] (tm_*): Do not allow.
33801 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33803         * Makefile (install): Don't set LANGUAGE.
33804         * Makefile.in (install): Likewise.
33805         * assert/Makefile (test-assert-ENV): Remove variable.
33806         (test-assert-perr-ENV): Likewise.
33807         * elf/Makefile (neededtest4-ENV): Likewise.
33808         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33809         [$(cross-compiling) = no]: Don't set LANGUAGE.
33810         * io/ftwtest-sh (LANG): Remove variable.
33811         * libio/Makefile (tst-widetext-ENV): Likewise.
33812         * manual/install.texi (Running make install): Don't refer to
33813         environment settings for make install.
33814         * INSTALL: Regenerated.
33815         * nptl/tst-tls6.sh: Don't set LANG.
33816         * posix/globtest.sh (LANG): Remove variable.
33817         * string/Makefile (tester-ENV): Likewise.
33818         (inl-tester-ENV): Likewise.
33819         (noinl-tester-ENV): Likewise.
33820         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33821         [$(cross-compiling) = no]: Don't set LANGUAGE.
33822         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33823         without explicit environment settings.
33825 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33827         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33828         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33829         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33830         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33832 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33834         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33835         other files in the crypt directory.
33836         * crypt/crypt.c: Remove duplicate includes.
33837         * crypt/crypt-entry.c: Likewise.
33838         * crypt/crypt_util.c: Likewise.
33840 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33842         * Makeconfig (run-program-env): New variable.
33843         (run-program-prefix-before-env): Likewise.
33844         (run-program-prefix-after-env): Likewise.
33845         (run-program-prefix): Define in terms of new variables.
33846         (built-program-cmd-before-env): New variable.
33847         (built-program-cmd-after-env): Likewise.
33848         (built-program-cmd): Define in terms of new variables.
33849         (test-program-prefix-before-env): New variable.
33850         (test-program-prefix-after-env): Likewise.
33851         (test-program-prefix): Define in terms of new variables.
33852         (test-program-cmd-before-env): New variable.
33853         (test-program-cmd-after-env): Likewise.
33854         (test-program-cmd): Define in terms of new variables.
33855         * Rules (make-test-out): Use $(run-program-env).
33856         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33857         (help): Do not mention environment variables.  Mention
33858         --timeoutfactor option.
33859         (timeoutfactor): New variable.
33860         (blacklist_exports): Remove function.
33861         (exports): Remove variable.
33862         (command): Do not include ${exports}.
33863         * manual/install.texi (Configuring and compiling): Do not mention
33864         test wrappers preserving environment variables.  Mention that last
33865         assignment to a variable must take precedence.
33866         * INSTALL: Regenerated.
33867         * benchtests/Makefile (run-bench): Use $(run-program-env).
33868         * catgets/Makefile ($(objpfx)test1.cat): Use
33869         $(built-program-cmd-before-env), $(run-program-env) and
33870         $(built-program-cmd-after-env).
33871         ($(objpfx)test2.cat): Do not specify environment variables
33872         explicitly.
33873         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33874         $(run-program-env) and $(built-program-cmd-after-env).
33875         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33876         $(run-program-env) and $(test-program-cmd-after-env).
33877         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33878         explicitly.
33879         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33880         run_program_env and test_program_cmd_after_env arguments.
33881         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33882         * elf/tst-pathopt.sh: Use run_program_env argument.
33883         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33884         $(test-wrapper-env) and $(run-program-env).
33885         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33886         run_program_env arguments.
33887         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33888         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33889         $(test-program-prefix-before-env), $(run-program-env) and
33890         $(test-program-prefix-after-env).
33891         ($(objpfx)tst-gettext2.out): Likewise.
33892         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33893         run_program_env and test_program_prefix_after_env arguments.
33894         * intl/tst-gettext2.sh: Likewise.
33895         * intl/tst-gettext4.sh: Do not set environment variables
33896         explicitly.
33897         * intl/tst-gettext6.sh: Likewise.
33898         * intl/tst-translit.sh: Likewise.
33899         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33900         $(test-program-prefix-before-env), $(run-program-env) and
33901         $(test-program-prefix-after-env).
33902         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33903         run_program_env and test_program_prefix_after_env arguments.
33904         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33905         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33906         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33907         explicitly with each use of ${test_wrapper_env}.
33908         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33909         $(test-program-prefix-before-env), $(run-program-env) and
33910         $(test-program-prefix-after-env).
33911         * posix/tst-getconf.sh: Do not set environment variables
33912         explicitly.
33913         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33914         run_program_env and test_program_prefix_after_env arguments.
33915         * stdio-common/tst-printf.sh: Do not set environment variables
33916         explicitly.
33917         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33918         $(test-program-prefix-before-env), $(run-program-env) and
33919         $(test-program-prefix-after-env).
33920         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33921         run_program_env and test_program_prefix_after_env arguments.
33922         Split $test calls into $test_pre and $test.
33923         * timezone/Makefile (build-testdata): Use
33924         $(built-program-cmd-before-env), $(run-program-env) and
33925         $(built-program-cmd-after-env).
33927 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33929         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33930         strlen for non SHARED builds.
33932 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33934         * nptl/allocatestack.c (check_list): Inlined function...
33935         (__reclaim_stacks): ... here.
33937 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33939         [BZ #15698]
33940         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33941         memory overrun.
33943 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33945         * Rules (make-test-out): Include
33946         LOCPATH=$(common-objpfx)localedata in default environment.
33947         * debug/Makefile (tst-chk1-ENV): Remove variable.
33948         (tst-chk2-ENV): Likewise.
33949         (tst-chk3-ENV): Likewise.
33950         (tst-chk4-ENV): Likewise.
33951         (tst-chk5-ENV): Likewise.
33952         (tst-chk6-ENV): Likewise.
33953         (tst-lfschk1-ENV): Likewise.
33954         (tst-lfschk2-ENV): Likewise.
33955         (tst-lfschk3-ENV): Likewise.
33956         (tst-lfschk4-ENV): Likewise.
33957         (tst-lfschk5-ENV): Likewise.
33958         (tst-lfschk6-ENV): Likewise.
33959         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33960         (tst-iconv7-ENV): Likewise.
33961         * intl/Makefile (LOCPATH-ENV): Likewise.
33962         (tst-codeset-ENV): Likewise.
33963         (tst-gettext3-ENV): Likewise.
33964         (tst-gettext5-ENV): Likewise.
33965         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33966         (tst-fopenloc-ENV): Likewise.
33967         (tst-fgetws-ENV): Remove variable.
33968         (tst-ungetwc1-ENV): Likewise.
33969         (tst-ungetwc2-ENV): Likewise.
33970         (bug-ungetwc2-ENV): Likewise.
33971         (tst-swscanf-ENV): Likewise.
33972         (bug-ftell-ENV): Likewise.
33973         (tst-fgetwc-ENV): Likewise.
33974         (tst-fseek-ENV): Likewise.
33975         (tst-ftell-partial-wide-ENV): Likewise.
33976         (tst-ftell-active-handler-ENV): Likewise.
33977         (tst-ftell-append-ENV): Likewise.
33978         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33979         (tst-regexloc-ENV): Likewise.
33980         (bug-regex1-ENV): Likewise.
33981         (tst-regex-ENV): Likewise.
33982         (tst-regex2-ENV): Likewise.
33983         (bug-regex5-ENV): Likewise.
33984         (bug-regex6-ENV): Likewise.
33985         (bug-regex17-ENV): Likewise.
33986         (bug-regex18-ENV): Likewise.
33987         (bug-regex19-ENV): Likewise.
33988         (bug-regex20-ENV): Likewise.
33989         (bug-regex22-ENV): Likewise.
33990         (bug-regex23-ENV): Likewise.
33991         (bug-regex25-ENV): Likewise.
33992         (bug-regex26-ENV): Likewise.
33993         (bug-regex30-ENV): Likewise.
33994         (bug-regex32-ENV): Likewise.
33995         (bug-regex33-ENV): Likewise.
33996         (bug-regex34-ENV): Likewise.
33997         (bug-regex35-ENV): Likewise.
33998         (tst-rxspencer-ENV): Likewise.
33999         (tst-rxspencer-no-utf8-ENV): Likewise.
34000         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34001         (tst-sscanf-ENV): Likewise.
34002         (tst-swprintf-ENV): Likewise.
34003         (tst-swscanf-ENV): Likewise.
34004         (test-vfprintf-ENV): Likewise.
34005         (scanf13-ENV): Likewise.
34006         (bug14-ENV): Likewise.
34007         (tst-grouping-ENV): Likewise.
34008         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34009         (tst-strtod3-ENV): Likewise.
34010         (tst-strtod4-ENV): Likewise.
34011         (tst-strtod5-ENV): Likewise.
34012         (testmb2-ENV): Likewise./
34013         * string/Makefile (tst-strxfrm-ENV): Likewise.
34014         (tst-strxfrm2-ENV): Likewise.
34015         (bug-strcoll1-ENV): Likewise.
34016         (test-strcasecmp-ENV): Likewise.
34017         (test-strncasecmp-ENV): Likewise.
34018         * time/Makefile (tst-strptime-ENV): Likewise.
34019         (tst-ftime_l-ENV): Likewise.
34020         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34021         (tst-mbrtowc-ENV): Likewise.
34022         (tst-wcrtomb-ENV): Likewise.
34023         (tst-mbrtowc2-ENV): Likewise.
34024         (tst-c16c32-1-ENV): Likewise.
34025         (tst-mbsnrtowcs-ENV): Likewise.
34027 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34029         * manual/resource.texi (How to get information about the memory
34030         subsystem?): Fix typo.
34031         Reported by Peon de la Parra Ivan <peon@keba.com>
34033 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34035         [BZ #16882]
34036         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34037         (pthread_spin_lock): Branch out of spin loop to proper location.
34038         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34039         (pthread_spin_lock): Likewise.
34041         * nptl/tst-spin4.c: New test.
34042         * nptl/Makefile (tests): Add tst-spin4.
34044 2014-06-03  Andreas Schwab  <schwab@suse.de>
34046         [BZ #15946]
34047         * resolv/res_send.c (send_dg): Reload file descriptor after
34048         calling reopen.
34050 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34052         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34054 2014-06-03  Richard Henderson  <rth@redhat.com>
34056         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34057         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34058         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34059         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34060         in the SAVE_PID block.
34061         (__libc_vfork): New alias.
34062         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34064         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34065         child in registers, not on the stack.  Remove RESET_PID conditionals.
34066         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34068 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34070         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34072 2014-06-03  Wilco  <wdijkstr@arm.com>
34074         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34075         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34076         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34077         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34078         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34079         Likewise.
34081 2014-06-03  Wilco  <wdijkstr@arm.com>
34083         * sysdeps/aarch64/fpu/math_private.h
34084         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34085         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34086         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34087         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34088         Fix declarations.
34090 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34092         * crypt/crypt-private.h: Include ufc-crypt.h.
34093         (__b64_from_24bit): Declare extern.
34094         * crypt/crypt_util.c(__b64_from_24bit): New function.
34095         (b64t): New static const variable.
34096         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34097         (b64t): Remove variable.
34098         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34099         * crypt/sha256-crypt.c: Include crypt-private.h.
34100         (b64t): Remove variable.
34101         (__sha256_crypt_r): Remove b64_from_24bit and replace
34102         with __b64_from_24bit.
34103         * crypt/sha512-crypt.c: Likewise.
34105 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34107         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34108         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34109         Label the code __libc_vfork rather than __vfork.
34110         [!NOT_IN_libc] (vfork): Define as weak alias.
34111         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34112         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34113         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34115 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34117         * malloc/malloc.c (malloc_info): Fix format specifier for
34118         n_mmaps.
34120 2014-06-02  Wilco  <wdijkstr@arm.com>
34122         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34123         FPCR write.
34125 2014-06-02  Wilco  <wdijkstr@arm.com>
34127         [BZ #17009]
34128         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34129         Rewrite to reduce FPCR/FPSR accesses.
34131 2014-06-01  David S. Miller  <davem@davemloft.net>
34133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34135 2014-05-31  David S. Miller  <davem@davemloft.net>
34137         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34138         to occur in round to nearest mode when |x| >= 2.0
34140 2014-05-30  Richard Henderson  <rth@twiddle.net>
34142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34143         (PSEUDO_RET_NOERRNO): Remove.
34144         (ret): Don't redefine.
34145         (ret_NOERRNO): Define in terms of ret.
34146         (ret_ERRVAL): Likewise.
34148         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34149         use of PSEUDO_RET; perform the error check directly.
34151 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34153         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34154         with __int128_t.
34156 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34158         * malloc/malloc (malloc_info): Fix formatting.
34160 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34161             Roland McGrath  <roland@hack.frob.com>
34163         * malloc/malloc (malloc_info): Also print mmapped statistics.
34165 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34167         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34168         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34170 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34172         * malloc/malloc.c (malloc_info): Inline mi_arena.
34174 2014-05-29  Richard Henderson  <rth@twiddle.net>
34176         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34177         Remove comma before expanding ASM_ARGS_##nr.
34178         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34179         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34180         of ASM_ARGS_##nr.
34181         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34182         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34183         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34184         (ASM_ARGS_1): Add leading comma.
34186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34187         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34188         to __errno_location.
34189         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34190         Remove the expected plt for __errno_location.
34192         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34193         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34194         call to __read_tp.
34196         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34197         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34198         it and break it down.
34199         (DOCARGS_0, DOCARGS_1): Do nothing.
34200         (DOCARGS_2): Update to store into the new stack frame.
34201         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34202         (UNDOCARGS_1): Update to restore from the new stack frame.
34203         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34204         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34206         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34207         (SINGLE_THREAD_P): New parameter for result regno.
34208         (PSEUDO): Update to match; use cbz instead of beq.
34210         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34211         Use ENTRY to define the _nocancel entry point.  Share the syscall
34212         and syscall error check paths with the cancel path.
34213         (PSEUDO_END): New.
34215         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34216         whitespace; tabs before and after asm mnemonics.
34218 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34220         [BZ #15132]
34221         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34222         Call fstat64 or stat64 internally, depending on arguments passed.
34223         Replace stat buffer argument with file descriptor argument.
34224         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34225         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34226         Pass fd to __internal_statvfs instead of calling fstat64.
34227         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34228         Pass fd to __internal_statvfs64 instead of calling fstat64.
34229         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34230         Pass -1 to __internal_statvfs instead of calling stat64.
34231         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34232         Pass -1 to __internal_statvfs64 instead of calling stat64.
34234 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34236         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34237         that was previously under [RESET_PID].
34238         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34240         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34241         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34243 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34245         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34247         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34248         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34250 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34252         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34254 2014-05-27  Andreas Schwab  <schwab@suse.de>
34256         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34257         TLS_INIT_TP macro.
34258         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34259         * elf/rtld.c (init_tls, dl_main): Likewise.
34260         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34261         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34262         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34263         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34264         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34265         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34266         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34267         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34268         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34269         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34270         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34271         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34272         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34273         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34274         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34275         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34276         * sysdeps/generic/tls.h: Update description.
34278 2014-05-27  Will Newton  <will.newton@linaro.org>
34280         [BZ #16990]
34281         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34282         and restore r2 rather than just restoring.
34284 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34286         [BZ #16724]
34287         * libio/tst-ftell-append.c: New test case.
34288         * libio/Makefile (tests): Add test case.
34289         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34290         append mode.
34291         * libio/wfileops.c (do_ftell_wide): Likewise.
34293 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34297         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34298         ...
34299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34301         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34302         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34303         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34304         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34305         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34306         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34308         Moved ...
34309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34311         Moved ...
34312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34313         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34314         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34315         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34316         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34317         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34318         ...
34319         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34320         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34321         Moved ...
34322         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34323         here.
34324         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34325         ...
34326         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34327         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34328         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34330         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34331         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34332         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34333         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34336         merge into ...
34337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34339         ...
34340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34342         ...
34343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34345         Moved ...
34346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34347         here.
34348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34349         Moved ...
34350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34352         Moved ...
34353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34356         conditional [RESET_PID].
34357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34359         removed.
34360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34361         removed.
34363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34364         <tcb-offsets.h>.
34365         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34366         (__libc_vfork): New strong alias.
34367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34368         removed.
34369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34370         Removed.
34372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34373         <tcb-offsets.h>.
34374         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34375         (__libc_vfork): New strong alias.
34376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34377         removed.
34378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34379         removed.
34381 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34383         * malloc/malloc.c (mi_arena): New function.
34384         (malloc_info): Remove nested function mi_arena. Call non-nosted
34385         function mi_arena.
34387 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34389         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34390         by insrwi.
34391         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34392         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34393         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34394         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34395         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34396         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34397         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34399 2014-05-26  Andreas Schwab  <schwab@suse.de>
34401         [BZ #16984]
34402         * locale/programs/repertoire.c (repertoire_read): Add slash
34403         between I18NPATH element and file name.
34404         * locale/programs/locfile.c (locfile_read): Likewise.
34406 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34408         * nptl/pthread_mutexattr_settype.c
34409         (__pthread_mutexattr_settype):
34410         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34412 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34414         * nptl/tst-mutex5 (do_test):
34415         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34417 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34419         * benchtests/README: Document 'init' directive.
34420         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34421         BENCH_INIT.
34422         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34423         (parse_file): Recognize 'init' directive.
34425 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34427         [BZ #16796]
34428         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34429         alignment of struct pthread.
34431 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34433         [BZ #16878]
34434         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34435         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34436         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34437         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34439 2014-05-25  Richard Henderson  <rth@twiddle.net>
34441         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34442         (SINGLE_THREAD_P_PIC): Remove.
34443         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34444         (SINGLE_THREAD_P_PIC): Remove.
34446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34447         branch to syscall error ...
34448         (PSEUDO): ... here.
34449         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34450         from __local_syscall_error to .Lsyscall_error.
34451         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34452         (SYSCALL_ERROR): Update label name.
34454         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34455         Do not use DOARGS/UNDOARGS.
34456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34457         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34458         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34459         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34460         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34462         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34463         block comment.
34465         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34466         define if !NOT_IN_libc.
34467         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34468         define with non-default symbol versions.
34470 2014-05-23  Richard Henderson  <rth@twiddle.net>
34472         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34473         (vfork, __vfork): Define via compat_symbol.
34475         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34476         [!HAVE_IFUNC] (vfork_compat): Remove.
34477         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34479 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34481         [BZ #16978]
34482         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34483         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34484         variable.
34486 2014-05-23  Richard Henderson  <rth@twiddle.net>
34488         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34489         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34490         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34491         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34493         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34494         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34495         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34496         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34497         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34498         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34499         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34500         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34501         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34502         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34503         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34504         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34505         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34506         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34507         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34508         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34509         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34510         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34511         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34512         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34513         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34514         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34515         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34516         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34517         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34518         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34519         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34520         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34521         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34522         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34523         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34524         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34525         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34526         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34527         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34528         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34529         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34530         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34531         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34532         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34533         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34534         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34535         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34536         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34537         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34538         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34539         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34540         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34541         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34542         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34543         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34544         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34545         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34546         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34548         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34550         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34551         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34552         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34553         before exiting on error.
34554         (__libc_vfork): New strong alias.
34555         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34556         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34558         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34559         that was previously under [RESET_PID].
34560         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34562         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34564 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34566         [BZ #16977]
34567         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34568         value when x - 1 is zero.
34569         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34570         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34571         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34572         0.0L for an argument of 1.0L.
34573         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34574         Likewise.
34575         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34576         value when x - 1 is zero.
34577         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34578         * sysdeps/i386/fpu/libm-test-ulps: Update.
34579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34581 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34583         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34584         alphasort and versionsort.
34586 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34588         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34589         macro.
34590         [copysignf]: Likewise.
34592 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34594         * crypt/md5-crypt.c: Fix formatting.
34596 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34598         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34599         (b64_from_24bit): New function.
34601 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34603         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34604         libc_hidden_builtin_def to ifunc.
34605         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34606         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34608 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34610         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34611         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34613 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34615         * nscd/Depend (linuxthreads): Remove.
34616         (nptl): Add.
34617         * resolv/Depend (linuxthreads): Remove.
34618         * rt/Depend (linuxthreads): Remove.
34620         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34621         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34622         $(common-objpfx)elf/.
34623         (link-libc-before-gnulib): Likewise.
34624         (elfobjdir): Remove variable.
34625         * Makefile (install): Use $(elf-objpfx) instead of
34626         $(common-objpfx)elf/.
34627         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34628         $(elfobjdir)/.
34629         (link-libc-deps): Likewise.
34630         ($(common-objpfx)libc.so): Likewise.
34631         ($(common-objpfx)linkobj/libc.so): Likewise.
34632         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34633         instead of $(common-objpfx)elf/.
34634         (symbolic-link-list): Likewise.
34635         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34636         [$(cross-compiling) = no]: Likewise.
34637         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34638         $(elfobjdir)/.
34639         (static-gnulib-arch): Likewise.
34640         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34641         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34642         $(common-objpfx)elf/.
34644 2014-05-21  Richard Henderson  <rth@redhat.com>
34646         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34647         (SINGLE_THREAD_P): Use the correct width load.  Fold
34648         into the ldr offset.
34650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34651         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34653 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34655         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34656         (libgcc_s_resume): Use __attribute_used__.
34657         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34658         Likewise.
34660 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34662         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34663         optimization when used with float constants.
34665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34667 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34669         [BZ #16915]
34670         * locale/nl_langinfo_l.c: Make direct reference to every
34671         _nl_current_CATEGORY symbol.
34672         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34673         (tests-static): Add tst-langinfo-static.
34674         (tests-special): Add tst-langinfo-static.out.
34675         ($(objpfx)tst-langinfo.out): Redirect output.
34676         ($(objpfx)tst-langinfo-static.out): New.
34677         * localedata/tst-langinfo.sh: Send output to stdout.
34678         * localedata/tst-langinfo-static.c: New file.
34680         [BZ #16965]
34681         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34682         when the shift amount is modulo the limb size.
34684 2014-05-20  Richard Henderson  <rth@redhat.com>
34686         [BZ #16967]
34687         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34688         Change type of sa_flags from unsigned int to int.
34690         [BZ #16966]
34691         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34693         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34695 2014-05-20  Will Newton  <will.newton@linaro.org>
34697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34698         Test the return value of the system call in the nocancel case.
34700 2014-05-20  Will Newton  <will.newton@linaro.org>
34701             Yvan Roux  <yvan.roux@linaro.org>
34703         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34704         #include of asm/ptrace.h.
34705         (PTRACE_GET_THREAD_AREA): Remove #undef.
34706         (PTRACE_GETHBPREGS): Likewise.
34707         (PTRACE_SETHBPREGS): Likewise.
34708         (struct user_regs_struct): New structure.
34709         (struct user_fpsimd_struct): New structure.
34710         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34711         #include of asm/ptrace.h and second #include of sys/user.h.
34712         (PTRACE_GET_THREAD_AREA): Remove #undef.
34713         (PTRACE_GETHBPREGS): Likewise.
34714         (PTRACE_SETHBPREGS): Likewise.
34715         (ELF_NGREG): Use new struct user_regs_struct.
34716         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34718 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34723 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34725         [BZ #16958]
34726         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34727         membar to avoid block loads/stores to overlap previous stores.
34729 2014-05-17  Richard Henderson  <rth@redhat.com>
34731         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34732         Create the __##syscall_name##_nocancel entry point.
34733         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34734         Remove; let the sysdep-cancel.h code create it.
34736 2014-05-17  David S. Miller  <davem@davemloft.net>
34738         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34739         Protect with __USE_GNU.
34740         (TIOCSET_TEMPT): Likewise.
34741         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34742         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34743         these are already provided in bits/ioctl-types.h
34745 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34747         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34748         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34750         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34751         Use wait4 regardless of [__NR_waitpid].
34753 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34755         PR libgcc/60166
34756         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34757         (_FP_NANSIGN_Q): Set the quiet bit.
34759 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34761         * benchtests/Makefile
34762         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34763         not $(common-objpfx)math/libm.so.
34764         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34765         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34766         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34767         $(common-objpfx)dlfcn/libdl.so.
34768         ($(objpfx)tst-audit8): Depend on $(libm), not
34769         $(common-objpfx)math/libm.so.
34770         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34771         not $(common-objpfx)dlfcn/libdl.so.
34772         * math/Makefile
34773         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34774         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34775         [$(build-shared) = yes].
34776         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34777         $(common-objpfx)nptl/libpthread.so.
34778         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34779         $(common-objpfx)math/libm.so$(libm.so-version) or
34780         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34781         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34782         $(common-objpfx)dlfcn/libdl.so.
34783         * setjmp/Makefile (link-libm): Remove variable.
34784         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34785         * stdio-common/Makefile (link-libm): Remove variable.
34786         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34787         * stdlib/Makefile (link-libm): Remove variable.
34788         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34789         ($(objpfx)tst-strtod-round): Likewise.
34790         ($(objpfx)tst-tininess): Likewise.
34791         ($(objpfx)tst-strtod-underflow): Likewise.
34792         ($(objpfx)tst-strtod6): Likewise.
34793         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34794         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34795         $(common-objpfx)dlfcn/libdl.so.
34797 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34799         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34800         BSD terminal modes definitions.
34802 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34804         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34805         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34807         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34808         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34809         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34810         Don't do #include_next.
34811         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34812         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34813         Don't do #include_next.
34814         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34815         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34816         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34817         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34819 2014-05-16  Allan McRae  <allan@archlinux.org>
34821         * po/sv.po: Update Swedish translation from translation project.
34823         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34824         in sed expression.
34826 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34828         [BZ #16917]
34829         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34830         errno if the TIOCGPTN ioctl fails with an error different than
34831         EINVAL.
34832         * login/tst-ptsname.c: New file.
34833         * login/Makefile (tests): Add tst-ptsname.
34835         [BZ #16943]
34836         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34837         and prlimit64.
34839 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34841         [BZ #16849]
34842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34843         herrno to return EAI_AGAIN.
34845 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34847         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34848         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34849         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34850         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34851         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34852         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34853         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34854         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34855         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34856         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34857         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34858         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34859         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34860         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34861         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34862         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34863         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34864         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34865         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34866         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34867         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34868         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34869         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34870         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34871         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34872         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34873         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34874         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34875         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34876         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34878         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34880         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34882         Moved ...
34883         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34885         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34887         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34889         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34891         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34893         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34895         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34897         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34899         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34901         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34903         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34905         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34907         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34909         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34911         Moved ...
34912         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34914         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34916         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34918         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34920         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34922         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34924         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34926         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34928         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34930         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34932         Moved ...
34933         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34935         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34937         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34938         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34939         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34940         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34941         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34942         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34943         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34944         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34945         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34946         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34947         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34948         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34949         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34950         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34951         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34952         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34953         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34954         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34955         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34956         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34957         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34958         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34959         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34960         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34961         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34962         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34963         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34964         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34965         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34966         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34967         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34969         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34970         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34972         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34973         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34974         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34975         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34976         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34977         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34978         Moved ...
34979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34980         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34981         Moved ...
34982         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34983         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34984         Moved ...
34985         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34986         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34987         Moved ...
34988         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34989         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34990         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34991         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34992         Moved ...
34993         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34994         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34995         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34996         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34997         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34998         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34999         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35000         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35001         Moved ...
35002         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35003         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35004         Moved ...
35005         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35006         ... here.
35007         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35008         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35009         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35010         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35011         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35012         Moved ...
35013         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35014         ... here.
35015         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35016         Moved ...
35017         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35018         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35019         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35020         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35021         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35022         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35023         Moved ...
35024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35025         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35026         Moved ...
35027         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35028         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35029         Moved ...
35030         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35031         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35032         Moved ...
35033         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35034         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35035         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35036         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35037         Moved ...
35038         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35039         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35040         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35041         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35042         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35043         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35044         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35045         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35046         Moved ...
35047         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35048         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35049         Moved ...
35050         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35051         ... here.
35052         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35053         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35054         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35055         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35056         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35057         Moved ...
35058         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35059         ... here.
35060         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35061         Moved ...
35062         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35063         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35064         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35065         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35066         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35067         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35068         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35069         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35070         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35072         Moved ...
35073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35074         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35075         Moved ...
35076         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35077         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35078         Moved ...
35079         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35080         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35081         Moved ...
35082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35083         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35084         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35085         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35086         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35087         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35088         Moved ...
35089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35090         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35091         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35092         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35093         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35094         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35095         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35096         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35097         Moved ...
35098         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35099         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35100         Moved ...
35101         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35102         ... here.
35103         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35104         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35105         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35106         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35107         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35108         Moved ...
35109         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35110         ... here.
35111         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35112         Moved ...
35113         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35114         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35115         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35116         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35117         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35118         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35119         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35120         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35121         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35122         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35123         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35125         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35126         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35128         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35129         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35131         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35132         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35133         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35134         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35135         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35136         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35137         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35138         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35139         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35140         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35141         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35142         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35144         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35145         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35146         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35147         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35148         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35149         Moved ...
35150         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35151         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35152         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35153         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35154         Moved ...
35155         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35157         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35158         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35159         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35160         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35161         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35162         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35163         Moved ...
35164         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35165         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35166         Moved ...
35167         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35168         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35169         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35170         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35171         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35172         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35173         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35174         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35175         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35176         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35177         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35178         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35179         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35180         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35181         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35182         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35183         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35185         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35186         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35187         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35188         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35189         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35191         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35192         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35193         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35194         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35195         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35196         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35197         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35198         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35199         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35200         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35202         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35205         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35206         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35207         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35208         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35209         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35210         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35211         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35212         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35213         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35214         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35215         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35216         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35217         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35218         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35220         Update #include.
35221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35222         Likewise.
35223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35224         Likewise.
35225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35226         Likewise.
35227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35228         Likewise.
35229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35230         Likewise.
35231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35232         Likewise.
35233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35234         Likewise.
35235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35236         Likewise.
35237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35238         Likewise.
35239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35240         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35241         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35242         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35244         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35245         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35246         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35247         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35248         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35249         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35250         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35251         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35252         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35253         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35255         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35256         that was previously under [RESET_PID].
35257         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35258         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35259         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35261         * sysdeps/i386/nptl/Implies: New file.
35262         * sysdeps/x86_64/nptl/Implies: New file.
35263         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35264         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35265         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35266         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35268         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35269         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35270         (__libc_vfork): New strong alias.
35271         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35272         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35274         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35275         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35276         (__libc_vfork): New strong alias.
35277         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35278         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35280         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35281         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35282         (__libc_vfork): New strong alias.
35283         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35284         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35285         * nptl/pt-vfork.c: New file.
35286         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35287         (libpthread: GLIBC_2.20): New version set (empty).
35289 2014-05-14  Will Newton  <will.newton@linaro.org>
35291         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35292         rather than #if.
35294 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35296         [BZ #16564]
35297         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35298         arguments with exponent 65 or above.
35299         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35300         arguments 0x1p113L or above.
35301         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35302         to arguments 0x1p107L or above.
35303         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35304         positive arguments with exponent 65 or above.
35305         * math/auto-libm-test-in: Add more tests of log1p.
35306         * math/auto-libm-test-out: Regenerated.
35308         [BZ #16928]
35309         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35310         non-finite arguments is +0.
35311         * math/s_cacosf.c (__cacosf): Likewise.
35312         * math/s_cacosl.c (__cacosl): Likewise.
35313         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35314         * sysdeps/i386/fpu/libm-test-ulps: Update.
35315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35317         [BZ #16927]
35318         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35319         value.
35320         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35321         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35322         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35323         for explicit high bit of mantissa when testing for argument equal
35324         to 1.
35325         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35326         * sysdeps/i386/fpu/libm-test-ulps: Update.
35327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35329         [BZ #16516]
35330         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35331         (__erf): Scale by 16 instead of 8 in potentially underflowing
35332         case.  Ensure exception if result actually underflows.
35333         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35334         (__erff): Scale by 16 instead of 8 in potentially underflowing
35335         case.  Ensure exception if result actually underflows.
35336         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35337         (efx8): Remove variable.
35338         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35339         case.  Ensure exception if result actually underflows.
35340         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35341         (efx8): Remove variable.
35342         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35343         case.  Ensure exception if result actually underflows.
35344         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35345         (efx8): Remove variable.
35346         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35347         case.  Ensure exception if result actually underflows.
35348         * math/auto-libm-test-in: Add more tests of erf.
35349         * math/auto-libm-test-out: Regenerated.
35351 2014-05-14  Andreas Schwab  <schwab@suse.de>
35353         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35354         Remove code conditionalized on USE___THREAD.
35356         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35357         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35358         not definedness.
35360 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35363         Define unconditionally.
35364         (__ASSUME_O_CLOEXEC): Likewise.
35365         (__ASSUME_SOCK_CLOEXEC): Likewise.
35366         (__ASSUME_IN_NONBLOCK): Likewise.
35367         (__ASSUME_PIPE2): Likewise.
35368         (__ASSUME_EVENTFD2): Likewise.
35369         (__ASSUME_SIGNALFD4): Likewise.
35370         (__ASSUME_DUP3): Likewise.
35371         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35372         (__ASSUME_DUP3): Do not define.
35373         (__ASSUME_EVENTFD2): Likewise.
35374         (__ASSUME_IN_NONBLOCK): Likewise.
35375         (__ASSUME_O_CLOEXEC): Likewise.
35376         (__ASSUME_PIPE2): Likewise.
35377         (__ASSUME_SIGNALFD4): Likewise.
35378         (__ASSUME_SOCK_CLOEXEC): Likewise.
35379         (__ASSUME_UTIMES): Undefine.
35380         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35381         (__ASSUME_UTIMES): Do not define.
35382         (__ASSUME_O_CLOEXEC): Likewise.
35383         (__ASSUME_SOCK_CLOEXEC): Likewise.
35384         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35385         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35386         0x020621].
35387         (__ASSUME_PIPE2): Likewise.
35388         (__ASSUME_EVENTFD2): Likewise.
35389         (__ASSUME_SIGNALFD4): Likewise.
35390         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35391         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35392         Do not define.
35393         (__ASSUME_EVENTFD2): Likewise.
35394         (__ASSUME_SIGNALFD4): Likewise.
35395         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35396         (__ASSUME_32BITUIDS): Likewise.
35397         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35398         (__ASSUME_IPC64): Likewise.
35399         (__ASSUME_ST_INO_64_BIT): Likewise.
35400         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35401         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35402         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35403         (__ASSUME_UTIMES): Do not define.
35404         (__ASSUME_PSELECT): Likewise.
35405         (__ASSUME_PPOLL): Likewise.
35406         (__ASSUME_O_CLOEXEC): Likewise.
35407         (__ASSUME_SOCK_CLOEXEC): Likewise.
35408         (__ASSUME_IN_NONBLOCK): Likewise.
35409         (__ASSUME_PIPE2): Likewise.
35410         (__ASSUME_EVENTFD2): Likewise.
35411         (__ASSUME_SIGNALFD4): Likewise.
35412         (__ASSUME_DUP3): Likewise.
35413         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35414         (__ASSUME_UTIMES): Likewise.
35415         (__ASSUME_O_CLOEXEC): Likewise.
35416         (__ASSUME_SOCK_CLOEXEC): Likewise.
35417         (__ASSUME_IN_NONBLOCK): Likewise.
35418         (__ASSUME_PIPE2): Likewise.
35419         (__ASSUME_EVENTFD2): Likewise.
35420         (__ASSUME_SIGNALFD4): Likewise.
35421         (__ASSUME_DUP3): Likewise.
35422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35423         (__ASSUME_UTIMES): Likewise.
35424         (__ASSUME_O_CLOEXEC): Likewise.
35425         (__ASSUME_SOCK_CLOEXEC): Likewise.
35426         (__ASSUME_IN_NONBLOCK): Likewise.
35427         (__ASSUME_PIPE2): Likewise.
35428         (__ASSUME_EVENTFD2): Likewise.
35429         (__ASSUME_SIGNALFD4): Likewise.
35430         (__ASSUME_DUP3): Likewise.
35431         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35432         Likewise.
35433         (__ASSUME_UTIMES): Likewise.
35434         (__ASSUME_EVENTFD2): Likewise.
35435         (__ASSUME_SIGNALFD4): Likewise.
35436         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35437         (__ASSUME_O_CLOEXEC): Likewise.
35438         (__ASSUME_SOCK_CLOEXEC): Likewise.
35439         (__ASSUME_IN_NONBLOCK): Likewise.
35440         (__ASSUME_PIPE2): Likewise.
35441         (__ASSUME_EVENTFD2): Likewise.
35442         (__ASSUME_SIGNALFD4): Likewise.
35443         (__ASSUME_DUP3): Likewise.
35444         (__ASSUME_UTIMES): Undefine.
35446         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35447         feclearexcept.  Remove symbol versioning code.
35448         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35449         symbol versioning code.
35450         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35451         symbol versioning code.
35452         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35453         feupdateenv.  Remove symbol versioning code.
35454         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35455         fegetexceptflag.  Remove symbol versioning code.
35456         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35457         fesetexceptflag.  Remove symbol versioning code.
35458         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35459         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35460         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35461         (__posix_fadvise64_l32): Remove prototype.
35462         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35463         code.
35465 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35467         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35468         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35469         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35470         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35472 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35474         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35475         current working directory
35477 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35479         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35480         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35481         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35482         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35483         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35484         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35485         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35486         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35487         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35488         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35489         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35490         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35491         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35492         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35493         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35494         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35495         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35496         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35497         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35498         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35499         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35500         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35501         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35502         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35503         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35504         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35505         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35506         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35507         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35508         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35509         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35510         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35511         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35512         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35513         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35514         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35515         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35516         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35517         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35518         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35519         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35520         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35522         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35523         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35525         * sysdeps/unix/sysv/linux/arm/Makefile
35526         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35527         Add rt-aeabi_unwind_cpp_pr1.
35528         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35529         Add nptl-aeabi_unwind_cpp_pr1.
35530         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35531         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35532         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35533         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35534         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35535         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35537         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35538         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35539         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35540         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35542         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35543         Deconditionalize the code that was previously under [RESET_PID].
35544         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35546         * sysdeps/generic/exit-thread.h: New file.
35547         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35548         * include/unistd.h (__exit_thread): Remove declaration.
35549         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35550         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35551         * csu/libc-start.c: Include <exit-thread.h>.
35552         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35553         * nptl/pthread_create.c: Include <exit-thread.h>.
35554         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35555         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35556         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35557         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35558         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35559         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35560         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35561         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35562         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35563         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35564         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35565         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35566         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35567         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35568         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35569         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35570         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35572 2014-05-13  Andreas Schwab  <schwab@suse.de>
35574         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35576 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35578         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35579         (__ASSUME_UTIMES): Do not condition on kernel version.
35580         (__ASSUME_PSELECT): Define unconditionally.
35581         (__ASSUME_PPOLL): Likewise.
35582         (__ASSUME_ATFCTS): Likewise.
35583         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35584         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35585         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35586         (__ASSUME_UTIMENSAT): Define unconditionally.
35587         (__ASSUME_PRIVATE_FUTEX): Likewise.
35588         (__ASSUME_FALLOCATE): Likewise.
35589         (__ASSUME_O_CLOEXEC): Likewise.
35590         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35591         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35592         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35593         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35594         (__ASSUME_IN_NONBLOCK): Likewise.
35595         (__ASSUME_PIPE2): Likewise.
35596         (__ASSUME_EVENTFD2): Likewise.
35597         (__ASSUME_SIGNALFD4): Likewise.
35598         (__ASSUME_DUP3): Likewise.
35599         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35600         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35601         (__ASSUME_AT_RANDOM): Likewise.
35602         (__ASSUME_PREADV): Likewise.
35603         (__ASSUME_PWRITEV): Likewise.
35604         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35605         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35606         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35607         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35608         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35609         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35610         (__ASSUME_O_CLOEXEC): Define unconditionally.
35611         (__ASSUME_PSELECT): Do not undefine conditionally.
35612         (__ASSUME_PPOLL): Likewise.
35613         (__ASSUME_ATFCTS): Likewise.
35614         (__ASSUME_SET_ROBUST_LIST): Likewise.
35615         (__ASSUME_UTIMENSAT): Likewise.
35616         (__ASSUME_FDATASYNC): Define unconditionally.
35617         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35618         (__ASSUME_SIGFRAME_V2): Likewise.
35619         )__ASSUME_EVENTFD2): Likewise.
35620         (__ASSUME_SIGNALFD4): Likewise.
35621         (__ASSUME_PSELECT): Do not undefine conditionally.
35622         (__ASSUME_PPOLL): Likewise.
35623         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35624         (__ASSUME_PSELECT): Define unconditionally.
35625         (__ASSUME_PPOLL): Likewise.
35626         (__ASSUME_O_CLOEXEC): Likewise.
35627         (__ASSUME_SOCK_CLOEXEC): Likewise.
35628         (__ASSUME_IN_NONBLOCK): Likewise.
35629         (__ASSUME_PIPE2): Likewise.
35630         (__ASSUME_EVENTFD2): Likewise.
35631         (__ASSUME_SIGNALFD4): Likewise.
35632         (__ASSUME_DUP3): Likewise.
35633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35634         (__ASSUME_O_CLOEXEC): Likewise.
35635         (__ASSUME_SOCK_CLOEXEC): Likewise.
35636         (__ASSUME_IN_NONBLOCK): Likewise.
35637         (__ASSUME_PIPE2): Likewise.
35638         (__ASSUME_EVENTFD2): Likewise.
35639         (__ASSUME_SIGNALFD4): Likewise.
35640         (__ASSUME_DUP3): Likewise.
35641         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35642         (__ASSUME_EVENTFD2): Likewise.
35643         (__ASSUME_SIGNALFD4): Likewise.
35644         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35646 2014-05-12  Andreas Schwab  <schwab@suse.de>
35648         [BZ #16932]
35649         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35650         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35651         than maximum RPC packet size.
35652         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35653         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35654         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35655         (_nss_nis_getservbyport_r): Likewise.
35657 2014-05-12  Will Newton  <will.newton@linaro.org>
35659         * malloc/Makefile (tests): Add tst-mallopt.
35660         * malloc/tst-mallopt.c: New file.
35662 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35664         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35665         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35667 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35669         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35670         (tst-tlsmod6.so): Likewise.
35672 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35674         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35676 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35678         [BZ #16064]
35679         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35680         and <dl-procinfo.h>.
35681         (__fegetenv): Save SSE state in envp->__eip if supported.
35682         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35683         envp->__eip if supported.
35684         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35685         and <dl-procinfo.h>.
35686         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35687         __data_offset and __data_selector in environment to 0.  Set SSE
35688         state if supported.
35689         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35690         test-fenv-sse.
35691         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35692         -mfpmath=sse.
35693         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35695 2014-05-09  Will Newton  <will.newton@linaro.org>
35697         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35698         and libc_relro_required for ARM.
35699         * sysdeps/arm/preconfigure: Regenerate.
35701 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35702             Stefan Liebler  <stli@linux.vnet.ibm.com>
35704         * config.make.in (enable-lock-elision): New Makefile variable.
35705         * configure.ac: Likewise.
35706         * configure: Regenerate.
35707         * sysdeps/s390/configure.ac:
35708         Add check for gcc transactions support.
35709         * sysdeps/s390/configure: Regenerate.
35710         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35711         Build elision files if enabled.
35712         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35713         Add lock elision support for s390.
35714         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35715         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35716         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35717         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35718         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35719         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35720         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35721         Likewise.
35722         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35723         Likewise.
35724         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35725         Likewise.
35726         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35727         Likewise.
35728         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35729         (__lll_timedlock_elision, __lll_lock_elision)
35730         (__lll_unlock_elision, __lll_trylock_elision)
35731         (lll_timedlock_elision, lll_lock_elision)
35732         (lll_unlock_elision, lll_trylock_elision): Add.
35733         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35734         (pthread_mutex_t): Add lock elision support for s390.
35736 2014-05-14  Wilco  <wdijkstr@arm.com>
35738         * sysdeps/arm/fclrexcpt.c: Cleanup.
35739         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35740         * sysdeps/arm/feenablxcpt.c: Cleanup.
35741         * sysdeps/arm/fegetenv.c: Cleanup.
35742         * sysdeps/arm/fegetexcept.c: Cleanup.
35743         * sysdeps/arm/fegetround.c: Cleanup.
35744         * sysdeps/arm/feholdexcpt.c: Cleanup.
35745         * sysdeps/arm/fesetenv.c: Cleanup.
35746         * sysdeps/arm/fesetround.c: Cleanup.
35747         * sysdeps/arm/feupdateenv.c: Cleanup.
35748         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35749         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35750         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35751         * sysdeps/arm/ftestexcept.c: Cleanup.
35752         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35753         * sysdeps/arm/setfpucw.c: Cleanup.
35755 2014-05-09  Will Newton  <will.newton@linaro.org>
35757         * sysdeps/arm/armv7/strcmp.S: New file.
35758         * NEWS: Mention addition of ARMv7 optimized strcmp.
35760 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35762         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35763         look for %.ac rather than %.in.
35765         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35766         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35767         * sysdeps/mach/hurd/configure: Regenerated.
35768         * sysdeps/unix/sysv/linux/configure: Regenerated.
35770         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35772 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35774         [BZ# 16922]
35775         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35776         (LONG_SUB): Ditto.
35777         (PTR_SUB): Ditto.
35779 2014-05-07  Andreas Schwab  <schwab@suse.de>
35781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35782         when skipping over non-matching result from nscd.
35784 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35786         [BZ #16876]
35787         * nptl/sockperf.c (client): Check socket return value.
35789         [BZ #16877]
35790         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35791         nscd security class.
35793 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35795         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35796         * sysdeps/arm/unwind.h: ... here.
35798 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35800         [BZ# 16916]
35801         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35802         Define.
35804 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35806         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35807         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35808         multiarch strncpy for PPC64.
35809         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35810         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35812         multiarch optimizations.
35813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35814         (__libc_ifunc_impl_list): Likewise.
35815         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35816         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35817         multiarch stpncpy for PPC64.
35818         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35819         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35821 2014-05-06  Andreas Schwab  <schwab@suse.de>
35823         [BZ #16912]
35824         * gmon/mcount.c (_MCOUNT_DECL): Use
35825         atomic_compare_and_exchange_bool_acq instead of
35826         catomic_compare_and_exchange_bool_acq.
35828 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35830         * elf/Makefile (others, install-bin): Remove pldd.
35831         (pldd-modules): Variable removed.
35832         ($(objpfx)pldd): Target removed.
35833         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35834         (others, install-bin): Append pldd here.
35835         ($(objpfx)pldd): New target.
35837         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35838         to 0, so the first #if test emitted later doesn't see it undefined.
35839         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35840         * sysdeps/gnu/errlist.c: Regenerated.
35842 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35844         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35845         [libc_hidden_builtin_def]: Define to empty value.
35846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35847         [libc_hidden_builtin_def]: Likewise.
35848         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35849         [libc_hidden_builtin_def]: Likewise.
35850         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35851         [libc_hidden_builtin_def]: Likewise.
35852         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35853         __redirect_memcpy and define ifunc as default hidden symbol.
35854         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35855         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35857 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35859         * locale/iso-4217.def: Reintroduce XDR currency.
35861 2014-05-04  Allan McRae  <allan@archlinux.org>
35863         * po/eo.po: Update Esperanto translation from translation project.
35865 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35867         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35868         and FEATURE_INDEX_MAX to 1.
35869         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35871 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35873         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35874         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35875         * iconvdata/big5.c (ONE_DIRECTION): Define.
35876         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35877         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35878         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35879         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35880         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35881         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35882         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35883         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35884         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35885         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35886         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35887         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35888         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35889         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35890         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35891         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35892         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35893         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35894         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35895         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35896         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35897         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35898         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35899         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35900         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35901         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35902         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35903         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35904         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35905         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35906         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35907         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35908         * iconvdata/johab.c (ONE_DIRECTION): Define.
35909         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35910         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35911         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35912         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35913         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35914         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35915         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35916         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35917         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35918         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35920 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35922         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35923         (_IO_JUMPS_OFFSET): Define to 0.
35925         * nptl/sysdeps/pthread/bits/libc-lock.h
35926         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35927         (__libc_lock_define_initialized_recursive): Always define using
35928         initializer.  Modern compilers treat uninitialized (implicit zero) and
35929         explicit zero initializers the same (i.e. put the datum in bss).
35931 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35933         * nscd/nscd-client.h: Include <string.h>.
35935 2014-05-01  David S. Miller  <davem@davemloft.net>
35937         [BZ #16885]
35938         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35939         multiple zero bytes exist at the end of a string.
35940         Reported by Aurelien Jarno <aurelien@aurel32.net>
35942         * string/test-strcmp.c (check): Add explicit test for situations where
35943         there are multiple zero bytes after the first.
35945 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35947         [BZ #16890]
35948         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35949         when compiling wprintf.
35950         * stdio-common/tstdiomisc.c (t3): New function.
35951         (main): Call it.
35953 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35955         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35956         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35957         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35958         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35960 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35962         * stdlib/longlong.h: Updated from GCC.
35964 2014-05-01  Will Newton  <will.newton@linaro.org>
35965             Bernard Ogden  <bernie.ogden@linaro.org>
35967         * NEWS: Update fixed bug list.
35969         [BZ #15119]
35970         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35972 2014-04-30  David S. Miller  <davem@davemloft.net>
35974         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35975         (libc_feholdexcept_setround_sparc_ctx): New function.
35976         (libc_fesetenv_sparc_ctx): Likewise.
35977         (libc_feupdateenv_sparc_ctx): Likewise.
35978         (libc_feholdsetround_sparc_ctx): Likewise.
35979         (libc_feholdexcept_setround_ctx): Define.
35980         (libc_feholdexcept_setroundf_ctx): Likewise.
35981         (libc_feholdexcept_setroundl_ctx): Likewise.
35982         (libc_fesetenv_ctx): Likewise.
35983         (libc_fesetenvf_ctx): Likewise.
35984         (libc_fesetenvl_ctx): Likewise.
35985         (libc_feupdateenv_ctx): Likewise.
35986         (libc_feupdateenvf_ctx): Likewise.
35987         (libc_feupdateenvl_ctx): Likewise.
35988         (libc_feresetround_ctx): Likewise.
35989         (libc_feresetroundf_ctx): Likewise.
35990         (libc_feresetroundl_ctx): Likewise.
35991         (libc_feholdsetround_ctx): Likewise.
35992         (libc_feholdsetroundf_ctx): Likewise.
35993         (libc_feholdsetroundl_ctx): Likewise.
35995         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35996         with __USE_GNU instead of XOPEN cpp guards.
35998         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35999         0.
36001         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36002         with XOPEN cpp guards.
36004 2014-04-30  Julian Brown  <julian@codesourcery.com>
36006         [BZ #16888]
36007         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36008         handling.
36010 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36012         [BZ #9894]
36013         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36014         Change to 2.6.32.
36015         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36016         * sysdeps/unix/sysv/linux/configure: Regenerated.
36017         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36018         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36019         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36020         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36021         * README: Update reference to required Linux kernel version.
36022         * manual/install.texi (Linux): Update reference to required Linux
36023         kernel headers version.
36024         * INSTALL: Regenerated.
36026         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36027         header inclusion.
36028         [POSIX] (limits.h): Likewise.
36029         [POSIX] (math.h): Likewise.
36030         [POSIX] (sys/wait.h): Likewise.
36031         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36032         function.
36033         [POSIX] (stddef.h): Do not allow header inclusion.
36035 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36037         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36039 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36041         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36042         Return immediately after lll_futex_wake.
36044 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36046         [BZ #16791]
36047         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36048         structure.
36049         (datahead_init_pos): Call datahead_init_common early.
36050         (datahead_init_neg): Likewise.
36052         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36053         datahead_init_neg): New functions.
36054         * nscd/aicache.c (addhstaiX): Use them.
36055         * nscd/grpcache.c (cache_addgr): Likewise.
36056         * nscd/hstcache.c (cache_addhst): Likewise.
36057         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36058         * nscd/netgroupcache.c (do_notfound): Likewise.
36059         (addgetnetgrentX): Likewise.
36060         (addinnetgrX): Likewise.
36061         * nscd/pwdcache.c (cache_addpw): Likewise.
36062         * nscd/servicescache.c (cache_addserv): Likewise.
36064 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36065             Atsushi Onoe  <atsushi@onoe.org>
36067         [BZ #14308]
36068         [BZ #12994]
36069         [BZ #13651]
36070         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36071         one response is valid.
36072         * resolv/res_send.c (send_dg): Check for validity of other
36073         response if the current response is a referral.
36075 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36077         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36079 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36081         [BZ #16823]
36082         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36083         Always divide by positive zero when computing -Inf result.
36084         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36085         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36087 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36089         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36090         FPSCR if value do not change.
36091         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36092         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36093         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36094         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36095         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36096         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36097         function.
36099 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36101         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36102         * sysdeps/unix/sysv/linux/hppa: Move directory from
36103         ports/systeps/unix/sysv/linux/hppa.
36104         * README: Update listing for hppa-*-linux-gnu.
36106 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36108         [BZ #16754]
36109         * manual/stdio.texi (Hook functions): Fix types of stream hook
36110         functions.
36111         [BZ #16854]
36112         * socket/sys/socket.h: Fix typo in comment.
36114 2014-04-28  Wilco  <wdijkstr@arm.com>
36116         * sysdeps/arm/fenv_private.h: New file.
36117         * sysdeps/arm/math_private.h: New file.
36118         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36120 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36122         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36123         with __int128_t.
36124         (La_x86_64_retval): Likewise.
36126 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36128         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36129         fpsr if value didn't change.
36130         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36131         to fpcr if value didn't change.
36132         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36133         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36134         fpsr or fpcr if value didn't change.
36135         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36136         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36137         fpcr if value didn't change.
36138         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36139         to fpsr if value didn't change.
36141 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36143         * nptl/tst-sem3.c: Use test-skeleton.c
36144         (main): Rename to do_test.  Use return instead of
36145         exit.
36146         * nptl/tst-sem4.c: Use test-skeleton.c
36147         (main): Rename to do_test.
36149 2014-04-22  David S. Miller  <davem@davemloft.net>
36151         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36152         (struct sigaction): New struct member __glibc_reserved0, change
36153         type of sa_flags to int.
36155 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36157         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36158         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36160 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36162         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36163         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36165 2014-04-22  Will Newton  <will.newton@linaro.org>
36166             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36168         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36169         (__longjmp): Add longjmp and longjmp_target SystemTap
36170         probes.
36171         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36172         (__sigsetjmp): Add setjmp SystemTap probe.
36174 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36176         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36177         match manual order.
36179 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36181         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36183         * sysdeps/powerpc/fpu/fenv_private.h
36184         (libc_feholdexcept_setroundl_ctx): Define to
36185         libc_feholdexcept_setround_ppc_ctx.
36186         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36187         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36188         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36189         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36191 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36193         * sysdeps/aarch64/math-tests.h: New file.
36195 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36197         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36198         New.
36199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36200         Check and set bit_AVX2_Usable.
36201         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36202         macro.
36203         (bit_AVX2): Likewise.
36204         (index_AVX2_Usable): Likewise.
36205         (CPUID_AVX2): Likewise.
36206         (HAS_AVX2): Likewise.
36208 2014-04-17  Will Newton  <will.newton@linaro.org>
36210         * manual/setjmp.texi (System V contexts): Add note that
36211         calling setcontext on a context created by a call to a
36212         signal handler is undefined.  Update text to note that
36213         setcontext from a signal handler is possible but not
36214         recommended.
36216         [BZ #16629]
36217         * stdlib/tst-setcontext.c: Include signal.h.
36218         (main): Check that the signal stack before and
36219         after swapcontext is the same.
36221         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36222         Re-implement to restore registers in user code and avoid
36223         rt_sigreturn system call.
36225 2014-04-17  Wilco  <wdijkstr@arm.com>
36227         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36228         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36229         * math/test-fenv.c: Skip exception trap tests on targets which only
36230         support non-stop mode.
36232 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36233             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36235         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36236         (libc_feholdsetround_aarch64_ctx)
36237         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36238         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36239         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36240         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36241         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36242         (libc_feresetround_noexl_ctx): Define.
36244 2014-04-16  Richard Henderson  <rth@redhat.com>
36246         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36248         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36249         unwind tables.
36251         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36252         const from the non-libc, non-ldso copy.
36254         * sysdeps/alpha/libm-test-ulps: Regenerate.
36256 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36257             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36259         * sysdeps/aarch64/fpu/math_private.h: New file.
36261 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36263         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36265 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36267         [BZ #16275]
36268         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36269         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36271         Intel MPX bound registers before _dl_profile_fixup.
36272         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36273         registers after _dl_profile_fixup.  Save and restore bound
36274         registers bnd0/bnd1 when calling _dl_call_pltexit.
36275         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36276         (LR_BND_OFFSET): Likewise.
36277         (LRV_BND0_OFFSET): Likewise.
36278         (LRV_BND1_OFFSET): Likewise.
36280 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36282         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36283         to...
36284         * sysdeps/mach/hurd/i386/tls.h: ... here.
36285         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36286         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36287         fields.
36289 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36291         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36293 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36295         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36297 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36299         [BZ #14770]
36300         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36301         * sysdeps/s390/configure: Regenerate.
36303         [BZ #16824]
36304         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36305         Set round-to-nearest internally to reduce error accumulation.
36307 2014-04-16  Alan Modra  <amodra@gmail.com>
36309         [BZ #16740]
36310         [BZ #16619]
36311         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36312         * math/libm-test.inc (frexp_test_data): Add tests.
36313         * NEWS: Update fixed bug list.
36315 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36317         * benchtests/Makefile: Depend on libraries in build directory.
36318         (bench-math): Separate out math tests.
36319         (bench-pthread): Separate out pthread tests.
36320         (bench): Include math and pthread tests.
36322 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36324         [BZ #16831]
36325         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36326         _dl_debug_initialize.
36328         * configure.ac: Remove SELinux header check.
36329         * configure: Regenerate.
36330         * nscd/selinux.c (perms): Array of const char* to permission names.
36331         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36332         default policy. Call string_to_security_class and string_to_av_perm to
36333         translate strings. Enforce default policy and call avs_has_perm with
36334         results of translated strings.
36336 2014-04-13  David S. Miller  <davem@davemloft.net>
36338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36340 2014-04-12  Allan McRae  <allan@archlinux.org>
36342         [BZ #16838]
36343         * manual/string.texi (Collation Functions): Fix qsort argument
36344         order in example.
36345         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36347 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36349         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36350         Make the test a no-op if there are no exceptions defined.
36352 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36354         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36355         enable-hardcoded-path-in-tests
36357 2014-04-11  Will Newton  <will.newton@linaro.org>
36359         * benchtests/Makefile (extra-objs): Add json-lib.o.
36360         (bench-func): Tidy up JSON output.
36361         * benchtests/bench-skeleton.c: Include json-lib.h.
36362         (main): Use JSON library functions to do output of
36363         benchmark results.
36364         * benchtests/bench-timing-type.c (main): Output the
36365         timing type simply, leaving formatting to the user.
36366         * benchtests/json-lib.c: New file.
36367         * benchtests/json-lib.h: Likewise.
36369 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36371         [BZ #15215]
36372         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36373         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36374         memory barriers.  Add comments.
36375         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36376         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36377         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36378         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36379         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36380         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36382 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36384         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36385         * sysdeps/s390/s390-64/configure.ac: ... this ...
36386         * sysdeps/s390/configure.ac: ... to here.
36387         * sysdeps/s390/s390-32/configure: Delete file.
36388         * sysdeps/s390/s390-64/configure: Delete file.
36389         * sysdeps/s390/configure: Regenerate.
36391 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36393         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36395 2014-04-11  Will Newton  <will.newton@linaro.org>
36397         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36398         to zero if it is not defined elsewhere.  (mtrim): Test
36399         the value of MALLOC_DEBUG with #if rather than #ifdef.
36401 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36403         * benchtests/pthread_once-inputs: New file.
36404         * benchtests/pthread_once-source.c: New file.
36405         * benchtests/README: Update documentation.
36407 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36408             H.J. Lu  <hongjiu.lu@intel.com>
36410         [BZ #16275]
36411         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36412         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36413         * sysdeps/x86_64/configure: Regenerated.
36414         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36415         macro.
36416         (REGISTER_SAVE_RAX): Likewise.
36417         (REGISTER_SAVE_RCX): Likewise.
36418         (REGISTER_SAVE_RDX): Likewise.
36419         (REGISTER_SAVE_RSI): Likewise.
36420         (REGISTER_SAVE_RDI): Likewise.
36421         (REGISTER_SAVE_R8): Likewise.
36422         (REGISTER_SAVE_R9): Likewise.
36423         (REGISTER_SAVE_BND0): Likewise.
36424         (REGISTER_SAVE_BND1): Likewise.
36425         (REGISTER_SAVE_BND2): Likewise.
36426         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36427         bound registers when calling _dl_fixup.
36429 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36431         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36432         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36433         of its definition.
36434         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36435         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36436         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36437         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36438         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36439         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36440         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36442 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36444         [BZ #15514]
36445         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36446         pathconf(_PC_NAME_MAX).
36448 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36450         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36451         Remove macro usage.
36452         (__PTHREAD_SPINS): Move definition to ...
36453         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36454         (__PTHREAD_SPINS): ... here.
36455         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36456         (__PTHREAD_SPIN): Likewise.
36457         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36458         (__PTHREAD_SPIN): Likewise.
36459         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36460         (__PTHREAD_SPIN): Likewise.
36461         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36462         (__PTHREAD_SPIN): Likewise.
36463         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36464         (__PTHREAD_SPIN): Likewise.
36465         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36466         (__PTHREAD_SPIN): Likewise.
36467         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36468         (__PTHREAD_SPIN): Likewise.
36469         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36470         (__PTHREAD_SPIN): Likewise.
36471         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36472         (__PTHREAD_SPIN): Likewise.
36473         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36474         (__PTHREAD_SPIN): Likewise.
36475         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36476         (__PTHREAD_SPIN): Likewise.
36477         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36478         (__PTHREAD_SPIN): Likewise.
36480         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36481         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36482         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36483         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36484         imply folder.
36485         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36486         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36487         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36488         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36489         correct imply path.
36490         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36491         strlen symbol for non multi-arch builds.
36492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36493         missing hidden_def and weak_alias.
36495 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36497         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36499 2014-04-07  Will Newton  <will.newton@linaro.org>
36501         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36502         and contents.  [!_LIBC] Remove #ifndef and contents.
36503         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36504         * string/memccpy.c (__memccpy): Use ANSI prototype.
36505         * string/memfrob.c (memfrob): Likewise.
36506         * string/strcoll.c (STRCOLL): Likewise.
36507         * string/strlen.c (strlen): Likewise.
36508         * string/strtok.c (STRTOK): Likewise.
36509         * string/strcat.c: Remove unused #include of memcopy.h.
36510         (strcat): Use ANSI prototype.
36511         * string/strchr.c: Remove unused #include of memcopy.h.
36512         (strchr): Use ANSI prototype.
36513         * string/strcmp.c: Remove unused #include of memcopy.h.
36514         (strcmp): Use ANSI prototype.
36515         * string/strcpy.c: Remove unused #include of memcopy.h.
36516         (strcpy): Use ANSI prototype.
36518 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36520         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36521         * config.make.in (config-extra-cppflags): Set it from
36522         libc_extra_cppflags.
36523         * configure.ac (libc_extra_cflags): Make it accumulate over
36524         configure fragments.
36525         (libc_extra_cppflags): New flag.
36526         * configure. Regenerate.
36527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36528         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36529         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36532         [BZ #16815]
36533         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36534         result for FE_DOWNWARD rounding mode.
36535         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36536         Likewise.
36537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36539 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36541         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36542         in function argument name.
36544 2014-04-03  David Svoboda  <svoboda@cert.org>
36546         [BZ #5666]
36547         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36548         explicitly.
36550 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36552         * elf/dl-unmap-segments.h: New file.
36553         * sysdeps/generic/ldsodefs.h
36554         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36555         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36556         * elf/dl-fptr.c: Likewise.
36557         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36558         * sysdeps/aarch64/tlsdesc.c: Likewise.
36559         * sysdeps/arm/tlsdesc.c: Likewise.
36560         * sysdeps/i386/tlsdesc.c: Likewise.
36561         * sysdeps/tile/dl-runtime.c: Likewise.
36562         * sysdeps/x86_64/tlsdesc.c: Likewise.
36563         * elf/dl-load.h: New file.
36564         * elf/dl-load.c: Include it.
36565         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36566         Macros moved to dl-load.h.
36567         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36568         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36569         Use _dl_unmap_segments in place of __munmap.
36570         Break out segment-mapping loop into ...
36571         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36573 2014-04-03  Will Newton  <will.newton@linaro.org>
36575         * elf/dl-lookup.c (do_lookup_x): Remove comment
36576         referring to nested function and move variable
36577         declarations down to before first use.
36579 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36581         [BZ #16799]
36582         [BZ #16800]
36583         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36584         with 0 numerator.
36585         * math/s_catanf.c (__catanf): Likewise.
36586         * math/s_catanh.c (__catanh): Likewise.
36587         * math/s_catanhf.c (__catanhf): Likewise.
36588         * math/s_catanhl.c (__catanhl): Likewise.
36589         * math/s_catanl.c (__catanl): Likewise.
36590         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36591         by positive zero when computing -Inf result.
36592         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36593         (catanh_test): Likewise.
36594         * sysdeps/i386/fpu/libm-test-ulps: Update.
36595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36597         [BZ #16789]
36598         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36599         instead of using underflowing value in computing result.
36600         * math/s_clog10.c (__clog10): Likewise.
36601         * math/s_clog10f.c (__clog10f): Likewise.
36602         * math/s_clog10l.c (__clog10l): Likewise.
36603         * math/s_clogf.c (__clogf): Likewise.
36604         * math/s_clogl.c (__clogl): Likewise.
36605         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36606         (clog10_test): Likewise.
36607         * sysdeps/i386/fpu/libm-test-ulps: Update.
36608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36610 2014-04-02  Alan Modra  <amodra@gmail.com>
36612         [BZ #16739]
36613         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36614         output when value is near a power of two.  Use int64_t for lx and
36615         remove casts.  Use decimal rather than hex exponent constants.
36616         Don't use long double multiplication when double will suffice.
36617         * math/libm-test.inc (nextafter_test_data): Add tests.
36618         * NEWS: Add 16739 and 16786 to bug list.
36620         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36622         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36624 2014-04-01  Will Newton  <will.newton@linaro.org>
36626         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36627         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36629 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36631         [BZ #13347]
36632         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36633         * nptl/tst-setuid2.c: New file.
36634         * nptl/Makefile (xtests): Add tst-setuid2.
36636 2014-04-01  Alan Modra  <amodra@gmail.com>
36638         [BZ #16786]
36639         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36641 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36643         [BZ #6803]
36644         [BZ #6804]
36645         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36646         set errno as appropriate.
36647         * math/w_scalbf.c (__scalbf): Likewise.
36648         * math/w_scalbl.c (__scalbl): Likewise.
36649         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36650         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36651         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36652         Add more NaN tests.
36654         [BZ #16349]
36655         * math/w_atan2.c: Include <errno.h>.
36656         (__atan2): Set errno for result underflowing to zero.
36657         * math/w_atan2f.c: Include <errno.h>.
36658         (__atan2f): Set errno for result underflowing to zero.
36659         * math/w_atan2l.c: Include <errno.h>.
36660         (__atan2l): Set errno for result underflowing to zero.
36661         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36662         tests.
36663         * math/auto-libm-test-out: Regenerated.
36665 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36667         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36668         Encode instruction correctly in little endian.
36669         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36670         Likewise.
36671         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36672         Likewise.
36673         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36674         Likewise.
36675         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36676         Likewise.
36678 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36680         [BZ #9894]
36681         * sysdeps/unix/sysv/linux/kernel-features.h
36682         [__sparc__ && !__arch64__ && !__sparc_v9__]
36683         (__ASSUME_SET_ROBUST_LIST): Do not define.
36684         [__sparc__ && !__arch64__ && !__sparc_v9__]
36685         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36686         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36687         Likewise.
36688         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36689         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36690         (__ASSUME_REQUEUE_PI): Likewise.
36691         (__ASSUME_SET_ROBUST_LIST): Likewise.
36692         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36693         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36694         Undefine.
36695         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36696         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36697         Likewise.
36698         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36699         Likewise.
36700         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36701         Likewise.
36702         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36703         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36704         Undefine.
36705         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36706         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36707         Likewise.
36709         [BZ #16648]
36710         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36711         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36712         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36714 2014-03-31  Will Newton  <will.newton@linaro.org>
36716         * benchtests/Makefile (bench): Add ffs and ffsll to list
36717         of tests.
36718         * benchtests/ffs-inputs: New file.
36719         * benchtests/ffsll-inputs: Likewise.
36721 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36723         [BZ #16770]
36724         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36725         too large before casting to int.
36726         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36727         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36728         * math/libm-test.inc (scalb_test_data): Add more tests.
36730 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36732         * benchtests/Makefile (DETAILED_OPT): New make option.
36733         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36734         set.
36735         * benchtests/bench-skeleton.c: Include stdbool.h.
36736         (main): Store and print timings per input.
36737         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36738         member to each argument value.
36739         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36740         (_print_arg_data): Initialize per-input timing to 0.
36742         * benchtests/Makefile (timing-type): New binary.
36743         (bench-clean): Also remove bench-timing-type.
36744         (bench): New target for timing-type.
36745         (bench-func): Print output in JSON format.
36746         * benchtests/bench-skeleton.c (main): Print output in JSON
36747         format.
36748         * benchtests/bench-timing-type.c: New file.
36749         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36750         (TIMING_PRINT_STATS): Remove.
36751         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36752         name separately.
36754         * benchtests/bench-modf.c: Remove.
36755         * benchtests/modf-inputs: New inputs file.
36757 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36759         [BZ #16362]
36760         * math/s_clog10.c (M_PI_LOG10E): New macro.
36761         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36762         imaginary parts are 0.
36763         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36764         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36765         imaginary parts are 0.
36766         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36767         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36768         imaginary parts are 0.
36769         * math/libm-test.inc (clog10_test_data): Update expected results
36770         for when real and imaginary parts are 0.
36772 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36774         * elf/dl-load.c: Finish conversion of __builtin_expect into
36775         __glibc_{un}likely.
36777 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36779         [BZ #16348]
36780         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36781         1+x for argument with exponent below -67.
36782         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36783         Likewise.
36784         * math/auto-libm-test-in: Add more tests of exp.
36785         * math/auto-libm-test-out: Regenerated.
36787 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36789         [BZ #16759]
36790         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36791         (nscd_getnetgrent): Use it.
36793         [BZ #16760]
36794         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36795         of stpcpy.
36797 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36799         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36800         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36801         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36802         (lll_robust_unlock): Remove out of line section. Use cfi
36803         intrinsics.
36804         (LLL_STUB_UNWIND_INFO*): Remove.
36805         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36806         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36807         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36808         (lll_robust_unlock): Remove out of line section. Use cfi
36809         intrinsics.
36810         (LLL_STUB_UNWIND_INFO*): Remove.
36812 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36814         [BZ #16758]
36815         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36816         blank values.
36818 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36820         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36822 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36824         [BZ #16198]
36825         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36826         fnstenv.
36827         * math/test-fenv-preserve.c: New file.
36828         * math/Makefile (tests): Add test-fenv-preserve.
36830 2014-03-26  Will Newton <will.newton@linaro.org>
36832         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36834 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36836         * scripts/versionlist.awk: Partition the version sets and emit all
36837         GLIBC_* (sorted) before all others (sorted).
36839 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36841         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36842         GLIBC_2.2.5 version.
36844 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36846         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36847         calls.
36849         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36850         previous change.
36852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36854 2014-03-25  Andreas Schwab  <schwab@suse.de>
36856         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36857         label to be used after in6ailist is initialized.
36859 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36861         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36862         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36864 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36866         [BZ #16357]
36867         [BZ #16599]
36868         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36869         min_plus_half.
36870         (fp_formats): Update initializers.
36871         (init_fp_formats): Initialize new field.
36872         (output_for_one_input_case): Allow underflow for results up to
36873         min_plus_half.
36874         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36875         * math/auto-libm-test-in: Don't mark some underflows from asin and
36876         atanh as spurious.
36877         * math/auto-libm-test-out: Regenerated.
36878         * sysdeps/i386/fpu/libm-test-ulps: Update.
36879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36881 2014-03-25  Andreas Schwab  <schwab@suse.de>
36883         * libio/Makefile (tst-ftell-partial-wide-ENV)
36884         (tst-ftell-active-handler-ENV): Define.
36886 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36888         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36890 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36892         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36894 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36896         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36897         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36898         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36900 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36902         [BZ #16634]
36903         * elf/dl-load.c (open_verify): Add mode parameter.
36904         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36905         (open_path): Change from boolean 'secure' to complete flag 'mode'
36906         (_dl_map_object): Adjust.
36907         * elf/Makefile (tests): Add tst-dlopen-aout.
36908         * elf/tst-dlopen-aout.c: New test.
36910 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36912         [BZ #16714]
36913         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36914         (struct stat): Rename member pad0 to __glibc_reserved0.
36916         [BZ #16712]
36917         * sysdeps/s390/s390-32/bits/wordsize.h
36918         (__WORDSIZE32_SIZE_ULONG): New define.
36919         * sysdeps/s390/s390-64/bits/wordsize.h
36920         (__WORDSIZE32_SIZE_ULONG): Likewise.
36921         * sysdeps/generic/stdint.h (SIZE_MAX):
36922         Define as UL if __WORDSIZE32_SIZE_ULONG.
36924         [BZ #16713]
36925         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36926         (__glibc_reserved0): New variable.
36927         (sa_flags): Change type to int.
36929         * posix/Makefile (before-compile): Use += before-compile instead
36930         of a :=.
36932         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36933         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36935 2014-03-20  Andreas Schwab  <schwab@suse.de>
36937         [BZ #16743]
36938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36939         non-matching result from nscd.
36941 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36943         * scripts/bench.py: Moved to ...
36944         * benchtests/scripts/bench.py: ... here.
36945         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36947 2014-03-24  Andreas Schwab  <schwab@suse.de>
36949         [BZ #16002]
36950         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36951         alloca_account and account alloca use for struct in6ailist.
36953 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36955         [BZ #16284]
36956         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36957         rounding mode to recompute results that overflow to infinity or
36958         underflow to zero.
36959         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36960         bug 16284.
36961         * math/auto-libm-test-out: Regenerated.
36962         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36963         (ccosh_test): Likewise.
36964         (csin_test_data): Use plus_oflow.
36965         (csin_test): Use ALL_RM_TEST.
36966         (csinh_test_data): Use plus_oflow.
36967         (csinh_test): Use ALL_RM_TEST.
36968         * sysdeps/i386/fpu/libm-test-ulps: Update.
36969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36971 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36973         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36974         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36975         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36977         [BZ #16731]
36978         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36979         when x - 1 is zero.
36980         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36981         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36982         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36983         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36984         argument is 1.
36985         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36986         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36987         zero.
36988         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36989         * sysdeps/i386/fpu/libm-test-ulps: Update.
36990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36992 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36994         * scripts/bench.pl: Remove file.
36995         * scripts/bench.py: New benchmark script.
36996         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36997         * benchtests/README: Mention python dependency.
36998         * scripts/pylintrc: New file.
36999         * scripts/pylint: New file.
37001         * bits/mathdef.h: Use #ifdef instead of #if.
37002         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37003         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37004         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37005         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37006         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37007         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37009 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37010             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37012         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37014         and strpbrk-ppc64 objects.
37015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37016         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37017         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37018         multiarch strpbrk for POWER7.
37019         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37020         multiarch strpbrk for PPC64.
37021         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37022         ifunc selector.
37023         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37024         strpbrk for POWER7.
37026 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37028         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37029         (atan_test): Likewise.
37030         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37031         (atanh_test): Use ALL_RM_TEST.
37032         (atan2_test_data): Likewise.
37033         (cabs_test): Likewise.
37034         (cacosh_test): Likewise.
37035         (carg_test): Likewise.
37036         (casin_test): Likewise.
37037         (casinh_test): Likewise.
37038         (cbrt_test): Likewise.
37039         (csqrt_test): Likewise.
37040         (erf_test): Likewise.
37041         (erfc_test): Likewise.
37042         (pow10_test): Likewise.
37043         (exp2_test): Likewise.
37044         (hypot_test): Likewise.
37045         (j0_test): Likewise.
37046         (j1_test): Likewise.
37047         (lgamma_test): Likewise.
37048         (gamma_test): Likewise.
37049         (sincos_test): Likewise.
37050         (tanh_test): Likewise.
37051         (y0_test): Likewise.
37052         (y1_test): Likewise.
37053         * sysdeps/i386/fpu/libm-test-ulps: Update.
37054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37056 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37058         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37060         and strcspn-ppc64 objects.
37061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37062         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37063         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37064         multiarch strcspn for POWER7.
37065         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37066         multiarch strcspn for PPC64.
37067         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37068         ifunc selector.
37069         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37070         strcspn for POWER7.
37072 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37074         * math/gen-libm-test.pl (generate_testfile): Expect only function
37075         name as argument to AUTO_TESTS_* and pass results for all rounding
37076         modes to parse_args.
37077         (parse_auto_input): Separate inputs of automatic tests from
37078         outputs before storing in %auto_tests.
37079         * math/libm-test.inc (acos_test_data): Update call to
37080         AUTO_TESTS_f_f.
37081         (acos_test): Use ALL_RM_TEST.
37082         (acos_tonearest_test_data): Remove.
37083         (acos_test_tonearest): Likewise.
37084         (acos_towardzero_test_data): Likewise.
37085         (acos_test_towardzero): Likewise.
37086         (acos_downward_test_data): Likewise.
37087         (acos_test_downward): Likewise.
37088         (acos_upward_test_data): Likewise.
37089         (acos_test_upward): Likewise.
37090         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37091         (asin_test_data): Likewise.
37092         (asin_test): Use ALL_RM_TEST.
37093         (asin_tonearest_test_data): Remove.
37094         (asin_test_tonearest): Likewise.
37095         (asin_towardzero_test_data): Likewise.
37096         (asin_test_towardzero): Likewise.
37097         (asin_downward_test_data): Likewise.
37098         (asin_test_downward): Likewise.
37099         (asin_upward_test_data): Likewise.
37100         (asin_test_upward): Likewise.
37101         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37102         (atan_test_data): Likewise.
37103         (atanh_test_data): Likewise.
37104         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37105         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37106         (carg_test_data): Likewise.
37107         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37108         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37109         (ccosh_test_data): Likewise.
37110         (cexp_test_data): Likewise.
37111         (clog_test_data): Likewise.
37112         (clog10_test_data): Likewise.
37113         (cos_test_data): Update call to AUTO_TESTS_f_f.
37114         (cos_test): Use ALL_RM_TEST.
37115         (cos_tonearest_test_data): Remove.
37116         (cos_test_tonearest): Likewise.
37117         (cos_towardzero_test_data): Likewise.
37118         (cos_test_towardzero): Likewise.
37119         (cos_downward_test_data): Likewise.
37120         (cos_test_downward): Likewise.
37121         (cos_upward_test_data): Likewise.
37122         (cos_test_upward): Likewise.
37123         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37124         (cosh_test): Use ALL_RM_TEST.
37125         (cosh_tonearest_test_data): Remove.
37126         (cosh_test_tonearest): Likewise.
37127         (cosh_towardzero_test_data): Likewise.
37128         (cosh_test_towardzero): Likewise.
37129         (cosh_downward_test_data): Likewise.
37130         (cosh_test_downward): Likewise.
37131         (cosh_upward_test_data): Likewise.
37132         (cosh_test_upward): Likewise.
37133         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37134         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37135         (ctan_test_data): Likewise.
37136         (ctan_test): Use ALL_RM_TEST.
37137         (ctan_tonearest_test_data): Remove.
37138         (ctan_test_tonearest): Likewise.
37139         (ctan_towardzero_test_data): Likewise.
37140         (ctan_test_towardzero): Likewise.
37141         (ctan_downward_test_data): Likewise.
37142         (ctan_test_downward): Likewise.
37143         (ctan_upward_test_data): Likewise.
37144         (ctan_test_upward): Likewise.
37145         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37146         (ctanh_test): Use ALL_RM_TEST.
37147         (ctanh_tonearest_test_data): Remove.
37148         (ctanh_test_tonearest): Likewise.
37149         (ctanh_towardzero_test_data): Likewise.
37150         (ctanh_test_towardzero): Likewise.
37151         (ctanh_downward_test_data): Likewise.
37152         (ctanh_test_downward): Likewise.
37153         (ctanh_upward_test_data): Likewise.
37154         (ctanh_test_upward): Likewise.
37155         (erf_test_data): Update call to AUTO_TESTS_f_f.
37156         (erfc_test_data): Likewise.
37157         (exp_test_data): Likewise.
37158         (exp_test): Use ALL_RM_TEST.
37159         (exp_tonearest_test_data): Remove.
37160         (exp_test_tonearest): Likewise.
37161         (exp_towardzero_test_data): Likewise.
37162         (exp_test_towardzero): Likewise.
37163         (exp_downward_test_data): Likewise.
37164         (exp_test_downward): Likewise.
37165         (exp_upward_test_data): Likewise.
37166         (exp_test_upward): Likewise.
37167         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37168         (exp10_test): Use ALL_RM_TEST.
37169         (exp10_tonearest_test_data): Remove.
37170         (exp10_test_tonearest): Likewise.
37171         (exp10_towardzero_test_data): Likewise.
37172         (exp10_test_towardzero): Likewise.
37173         (exp10_downward_test_data): Likewise.
37174         (exp10_test_downward): Likewise.
37175         (exp10_upward_test_data): Likewise.
37176         (exp10_test_upward): Likewise.
37177         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37178         (expm1_test_data): Likewise.
37179         (expm1_test): Use ALL_RM_TEST.
37180         (expm1_tonearest_test_data): Remove.
37181         (expm1_test_tonearest): Likewise.
37182         (expm1_towardzero_test_data): Likewise.
37183         (expm1_test_towardzero): Likewise.
37184         (expm1_downward_test_data): Likewise.
37185         (expm1_test_downward): Likewise.
37186         (expm1_upward_test_data): Likewise.
37187         (expm1_test_upward): Likewise.
37188         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37189         (fma_test): Use ALL_RM_TEST.
37190         (fma_towardzero_test_data): Remove.
37191         (fma_test_towardzero): Likewise.
37192         (fma_downward_test_data): Likewise.
37193         (fma_test_downward): Likewise.
37194         (fma_upward_test_data): Likewise.
37195         (fma_test_upward): Likewise.
37196         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37197         (j0_test_data): Update call to AUTO_TESTS_f_f.
37198         (j1_test_data): Likewise.
37199         (jn_test_data): Update call to AUTO_TESTS_if_f.
37200         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37201         (log_test_data): Update call to AUTO_TESTS_f_f.
37202         (log10_test_data): Likewise.
37203         (log1p_test_data): Likewise.
37204         (log2_test_data): Likewise.
37205         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37206         (pow_tonearest_test_data): Likewise.
37207         (sin_test_data): Update call to AUTO_TESTS_f_f.
37208         (sin_test): Use ALL_RM_TEST.
37209         (sin_tonearest_test_data): Remove.
37210         (sin_test_tonearest): Likewise.
37211         (sin_towardzero_test_data): Likewise.
37212         (sin_test_towardzero): Likewise.
37213         (sin_downward_test_data): Likewise.
37214         (sin_test_downward): Likewise.
37215         (sin_upward_test_data): Likewise.
37216         (sin_test_upward): Likewise.
37217         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37218         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37219         (sinh_test): Use ALL_RM_TEST.
37220         (sinh_tonearest_test_data): Remove.
37221         (sinh_test_tonearest): Likewise.
37222         (sinh_towardzero_test_data): Likewise.
37223         (sinh_test_towardzero): Likewise.
37224         (sinh_downward_test_data): Likewise.
37225         (sinh_test_downward): Likewise.
37226         (sinh_upward_test_data): Likewise.
37227         (sinh_test_upward): Likewise.
37228         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37229         (sqrt_test): Use ALL_RM_TEST.
37230         (sqrt_tonearest_test_data): Remove.
37231         (sqrt_test_tonearest): Likewise.
37232         (sqrt_towardzero_test_data): Likewise.
37233         (sqrt_test_towardzero): Likewise.
37234         (sqrt_downward_test_data): Likewise.
37235         (sqrt_test_downward): Likewise.
37236         (sqrt_upward_test_data): Likewise.
37237         (sqrt_test_upward): Likewise.
37238         (tan_test_data): Update call to AUTO_TESTS_f_f.
37239         (tan_test): Use ALL_RM_TEST.
37240         (tan_tonearest_test_data): Remove.
37241         (tan_test_tonearest): Likewise.
37242         (tan_towardzero_test_data): Likewise.
37243         (tan_test_towardzero): Likewise.
37244         (tan_downward_test_data): Likewise.
37245         (tan_test_downward): Likewise.
37246         (tan_upward_test_data): Likewise.
37247         (tan_test_upward): Likewise.
37248         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37249         (tgamma_test_data): Likewise.
37250         (y0_test_data): Likewise.
37251         (y1_test_data): Likewise.
37252         (yn_test_data): Update call to AUTO_TESTS_if_f.
37253         (main): Do not call removed functions.
37255 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37257         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37258         (ldexp_test_data): Remove.
37259         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37260         scalbn_test_data.
37261         (scalb_test): Use ALL_RM_TEST.
37263 2014-03-19  Andreas Schwab  <schwab@suse.de>
37265         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37267 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37269         [BZ #16649]
37270         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37271         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37272         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37273         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37274         (__ASSUME_PREADV): Undefine.
37275         (__ASSUME_PWRITEV): Likewise.
37277 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37279         * bits/mman-linux.h: Add comment about non-Linux use.
37280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37281         bits/mman-linux.h resting place.
37283         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37284         * bits/mman-linux.h: ... here.
37286 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37288         * conform/conformtest.pl: Add standard definition when calling C
37289         preprocessor on data files.
37290         (checknamespace): Remove unused variable.
37292 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37294         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37295         minus_oflow, plus_uflow and minus_uflow in expected results.
37296         * math/libm-test.inc (scalbn_test_data): Add more tests of
37297         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37298         minus_uflow.
37299         (scalbn_test): Use ALL_RM_TEST.
37300         (scalbln_test_data): Add more tests of negative arguments.  Use
37301         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37302         (scalbln_test): Use ALL_RM_TEST.
37304 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37306         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37308 2014-03-18  Will Newton  <will.newton@linaro.org>
37310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37311         inaccurate comment.
37313 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37315         * Makerules [!subdir] (check-abi): Exit with error status if a
37316         test failed.
37318 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37320         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37321         for rint.  Include results for all rounding modes.
37322         (nearbyint_test): Use ALL_RM_TEST.
37323         (rint_test_data): Include all tests used for nearbyint.
37325 2014-03-17  Will Newton  <will.newton@linaro.org>
37327         * nptl/sysdeps/pthread/pthread.h: Revert previous
37328         change.
37330         * sysdeps/generic/ldsodefs.h: Revert previous
37331         change.
37333         * libio/genops.c: Revert previous change.
37334         * libio/libioP.h: Likewise.
37335         * stdio-common/vfprintf.c: Likewise.
37337         * sysdeps/generic/math_private.h: Revert previous
37338         change.
37340         * sysdeps/generic/math_private.h: Check whether
37341         HAVE_RM_CTX is defined with #ifdef rather
37342         than #if.
37344         * argp/argp-fmtstream.h: Check whether
37345         __STRICT_ANSI__ is defined with #ifdef rather
37346         than #if.
37347         * argp/argp.h: Likewise.
37349         * libio/genops.c: Check whether
37350         _IO_JUMPS_OFFSET is defined with #ifdef rather
37351         than #if.
37352         * libio/libioP.h: Likewise.
37353         * stdio-common/vfprintf.c: Likewise.
37355         * sysdeps/generic/ldsodefs.h: Check whether
37356         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37357         than #if.
37359         * nptl/sysdeps/pthread/pthread.h: Check
37360         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37361         its value.
37363 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37365         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37366         setting O_APPEND.
37367         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37368         test case.
37370         [BZ #16680]
37371         * libio/fileops.c (_IO_file_open): Seek to end of file but
37372         don't cache the offset.
37373         (get_file_offset): Remove function.
37374         (do_ftell): Use cached offset when available.
37375         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37376         don't cache the offset.
37377         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37378         case.
37379         (do_one_test): Call it.
37380         (do_ftell_test): Fix up expected old offset for a+ mode.
37381         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37382         available.
37384         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37385         up test status with function return status.
37386         (do_write_test): Likewise.
37387         (do_append_test): Likewise.
37389         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37390         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37391         Remove.
37393 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37395         * math/gen-libm-test.pl (parse_args): Handle results specified for
37396         each rounding mode separately.
37397         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37398         tests and results from lrint_tonearest_test_data,
37399         lrint_towardzero_test_data, lrint_downward_test_data and
37400         lrint_upward_test_data.
37401         (lrint_test): Use ALL_RM_TEST.
37402         (lrint_tonearest_test_data): Remove.
37403         (lrint_test_tonearest): Likewise.
37404         (lrint_towardzero_test_data): Likewise.
37405         (lrint_test_towardzero): Likewise.
37406         (lrint_downward_test_data): Likewise.
37407         (lrint_test_downward): Likewise.
37408         (lrint_upward_test_data): Likewise.
37409         (lrint_test_upward): Likewise.
37410         (llrint_test_data): Merge in per-rounding-mode tests and results
37411         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37412         llrint_downward_test_data and llrint_upward_test_data.
37413         (llrint_test): Use ALL_RM_TEST.
37414         (llrint_tonearest_test_data): Remove.
37415         (llrint_test_tonearest): Likewise.
37416         (llrint_towardzero_test_data): Likewise.
37417         (llrint_test_towardzero): Likewise.
37418         (llrint_downward_test_data): Likewise.
37419         (llrint_test_downward): Likewise.
37420         (llrint_upward_test_data): Likewise.
37421         (llrint_test_upward): Likewise.
37422         (rint_test_data): Merge in per-rounding-mode tests and results
37423         from rint_tonearest_test_data, rint_towardzero_test_data,
37424         rint_downward_test_data and rint_upward_test_data.  Add
37425         per-rounding-mode results for tests not in those arrays.
37426         (rint_test): Use ALL_RM_TEST.
37427         (rint_tonearest_test_data): Remove.
37428         (rint_test_tonearest): Likewise.
37429         (rint_towardzero_test_data): Likewise.
37430         (rint_test_towardzero): Likewise.
37431         (rint_downward_test_data): Likewise.
37432         (rint_test_downward): Likewise.
37433         (rint_upward_test_data): Likewise.
37434         (rint_test_upward): Likewise.
37435         (main): Don't call removed functions.
37437 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37439         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37440         "Compiled on ..." crapola.  It is anti-useful.
37442 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37444         * scripts/evaluate-test.sh: Handle fourth argument to determine
37445         whether test run should stop on failure.
37446         * Makeconfig (stop-on-test-failure): New variable.
37447         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37448         $(stop-on-test-failure).
37449         * Makefile (tests): Give a summary of results from testing and
37450         exit with failure status if they include an ERROR or FAIL.
37451         (xtests): Likewise.
37452         * manual/install.texi (Configuring and compiling): Mention
37453         stop-on-test-failure=y.
37454         * INSTALL: Regenerated.
37456 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37458         * scripts/versionlist.awk: New file.
37459         * Makerules [$(build-shared) = yes]
37460         (postclean-generated): Add Versions.def, not Versions.def.v and
37461         Versions.def.v.i.
37462         ($(common-objpfx)Versions.def.v.i): Target removed.
37463         ($(common-objpfx)Versions.def): New target.
37464         ($(common-objpfx)Versions.all): Depend on that rather that
37465         $(common-objpfx)Versions.def.v.
37466         * Versions.def: File removed.
37468         * Makeconfig (+gccwarn): Add -Wundef.
37469         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37470         a dl-sysdep.h breaking its contract.
37471         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37472         * include/stackinfo.h: New file.
37473         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37474         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37475         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37476         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37477         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37478         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37479         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37480         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37481         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37482         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37483         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37484         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37485         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37486         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37487         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37489 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37491         [BZ #16707]
37492         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37493         implementation.
37494         * math/libm-test.inc (round_test_data): Add more tests.
37496         [BZ #16706]
37497         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37498         implementation.
37499         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37501         [BZ #16701]
37502         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37503         implementation.
37504         * math/libm-test.inc (ceil_test_data): Add more tests.
37506         * math/libm-test.inc (trunc_test_data): Add more tests related to
37507         BZ#16414.
37509 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37511         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37512         with #if rather than #ifdef.
37513         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37515 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37517         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37518         first.  Disable AVX-512 GCC support if assembler doesn't support
37519         it.
37520         * sysdeps/x86_64/configure: Regenerated.
37522 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37524         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37525         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37526         (__old_pthread_attr_setstack): Likewise.
37527         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37528         [!_STACK_GROWS_DOWN]: Likewise.
37530 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37532         * config.make.in (have-bash2): Delete.
37533         * configure.ac (libc_cv_have_bash2): Delete.
37534         * configure: Regenerate.
37535         * elf/Makefile (common-ldd-rewrite): Rename to ...
37536         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37537         (sh-ldd-rewrite): Delete.
37538         (bash-ldd-rewrite): Delete.
37539         (have-bash2): Delete checks.
37540         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37541         ldd-rewrite.
37543         * config.make.in (have-ksh): Delete.
37544         (KSH): Delete.
37545         * configure.ac (libc_cv_have_ksh): Delete.
37546         * configure: Regenerate.
37548         * elf/Makefile: Delete $(have-ksh) check.
37549         ($(objpfx)sotruss): Change KSH to BASH.
37550         * elf/sotruss.ksh: Rename to ...
37551         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37552         function style to match POSIX.  Drop ksh vim mode setting.
37554         * manual/time.texi (Specifying the Time Zone with TZ): Change
37555         Tuesday to Thursday.
37557         * debug/tst-longjmp_chk2.c: Update header comment.
37558         (stackoverflow_handler): Add comment.  Call assert on pass value.
37560 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37562         [BZ #16194]
37563         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37564         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37565         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37566         (La_x86_64_vector): Add zmm.
37567         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37568         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37569         ($(objpfx)tst-audit10): New target.
37570         ($(objpfx)tst-audit10.out): Likewise.
37571         (tst-audit10-ENV): New.
37572         (AVX512-CFLAGS): Likewise.
37573         (CFLAGS-tst-audit10.c): Likewise.
37574         (CFLAGS-tst-auditmod10a.c): Likewise.
37575         (CFLAGS-tst-auditmod10b.c): Likewise.
37576         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37577         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37578         * sysdeps/x86_64/configure: Regenerated.
37579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37580         AVX-512 zmm register support.
37581         (_dl_x86_64_save_sse): Likewise.
37582         (_dl_x86_64_restore_sse): Likewise.
37583         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37584         size vector registers.
37585         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37586         (ZMM_SIZE): Likewise.
37587         * sysdeps/x86_64/tst-audit10.c: New file.
37588         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37589         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37591 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37593         * configure.ac (HAVE_EHDR_START): New check.
37594         * configure: Regenerated.
37595         * config.h.in (HAVE_EHDR_START): New #undef.
37596         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37597         assuming the lowest-addressed segment maps the start of the file.
37599 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37601         * INSTALL: Regenerated.
37603 2014-03-13  Will Newton  <will.newton@linaro.org>
37605         * manual/setjmp.texi (System V contexts): Improve
37606         clarity and grammar of documentation.
37608 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37610         [BZ #16381]
37611         * elf/Makefile (tests): Add tst-pie2.
37612         (tests-pie): Add tst-pie2.
37613         * elf/tst-pie2.c: New file.
37614         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37615         for ET_EXEC.
37616         * elf/rtld.c (map_doit): Load executable as lt_executable.
37617         (dl_main): Likewise.
37619 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37621         [BZ #16642]
37622         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37623         (__ASSUME_PSELECT): Undefine.
37625 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37627         [BZ #16689]
37628         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37629         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37630         static build.
37631         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37632         selector for static builds.
37634 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37636         [BZ #16695]
37637         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37638         key in the buffer.
37640 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37642         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37643         IFUNC selector for static builds.
37645 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37647         * sysdeps/mips/math_private.h [__mips_hard_float]
37648         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37649         libc_feresetround_mips_ctx.
37650         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37651         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37652         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37654         [BZ #16677]
37655         * math/s_nextafter.c (__nextafter): Do not return value from
37656         overflowing computation.
37657         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37658         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37659         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37660         Likewise.
37661         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37662         Likewise.
37663         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37664         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37666 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37668         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37669         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37670         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37671         the new mov targetting sp.
37673 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37675         [BZ #16683]
37676         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37677         Define it for static builds as well.
37678         (NO_BZERO_IMPL): Likewise.
37680 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37682         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37683         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37684         multiarch strspn for PPC64.
37685         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37686         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37688         (__libc_ifunc_impl_list): Likewise.
37689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37690         multiarch optimizations
37691         * string/strspn.c (strspn): Using macro to redefine symbol name.
37693 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37694             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37696         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37697         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37698         multiarch strncat for PPC64.
37699         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37700         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37702         (__libc_ifunc_impl_list): Likewise.
37703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37704         multiarch optimizations
37706 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37708         [BZ #16639]
37709         * nscd/nscd.service: Make service type forking.
37711 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37713         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37714         sign in non default rounding modes.
37715         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37717 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37719         * math/libm-test.inc (ALL_RM_TEST): New macro.
37720         (ceil_test): Use ALL_RM_TEST.
37721         (cimag_test): Likewise.
37722         (conj_test): Likewise.
37723         (copysign_test): Likewise.
37724         (cproj_test): Likewise.
37725         (creal_test): Likewise.
37726         (fabs_test): Likewise.
37727         (floor_test): Likewise.
37728         (fmax_test): Likewise.
37729         (fmin_test): Likewise.
37730         (fmod_test): Likewise.
37731         (fpclassify_test): Likewise.
37732         (frexp_test): Likewise.
37733         (ilogb_test): Likewise.
37734         (isfinite_test): Likewise.
37735         (finite_test): Likewise.
37736         (isgreater_test): Likewise.
37737         (isgreaterequal_test): Likewise.
37738         (isinf_test): Likewise.
37739         (isless_test): Likewise.
37740         (islessequal_test): Likewise.
37741         (islessgreater_test): Likewise.
37742         (isnan_test): Likewise.
37743         (isnormal_test): Likewise.
37744         (issignaling_test): Likewise.
37745         (isunordered_test): Likewise.
37746         (logb_test): Likewise.
37747         (logb_downward_test_data): Remove.
37748         (logb_test_downward): Likewise.
37749         (lround_test): Use ALL_RM_TEST.
37750         (llround_test): Likewise.
37751         (modf_test): Likewise.
37752         (nexttoward_test): Likewise.
37753         (remainder_test): Likewise.
37754         (drem_test): Likewise.
37755         (remainder_tonearest_test_data): Likewise.
37756         (remainder_test_tonearest): Likewise.
37757         (drem_test_tonearest): Likewise.
37758         (remainder_towardzero_test_data): Likewise.
37759         (remainder_test_towardzero): Likewise.
37760         (drem_test_towardzero): Likewise.
37761         (remainder_downward_test_data): Likewise.
37762         (remainder_test_downward): Likewise.
37763         (drem_test_downward): Likewise.
37764         (remainder_upward_test_data): Likewise.
37765         (remainder_test_upward): Likewise.
37766         (drem_test_upward): Likewise.
37767         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37768         (round_test): Use ALL_RM_TEST.
37769         (signbit_test): Likewise.
37770         (trunc_test): Likewise.
37771         (significand_test): Likewise.
37772         (main): Don't call removed functions.
37774 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37776         [BZ #16674]
37777         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37778         || __USE_XOPEN2K8].
37779         (ILL_ILLOPN): Likewise.
37780         (ILL_ILLADR): Likewise.
37781         (ILL_ILLTRP): Likewise.
37782         (ILL_PRVOPC): Likewise.
37783         (ILL_PRVREG): Likewise.
37784         (ILL_COPROC): Likewise.
37785         (ILL_BADSTK): Likewise.
37786         (FPE_INTDIV): Likewise.
37787         (FPE_INTOVF): Likewise.
37788         (FPE_FLTDIV): Likewise.
37789         (FPE_FLTOVF): Likewise.
37790         (FPE_FLTUND): Likewise.
37791         (FPE_FLTRES): Likewise.
37792         (FPE_FLTINV): Likewise.
37793         (FPE_FLTSUB): Likewise.
37794         (SEGV_MAPERR): Likewise.
37795         (SEGV_ACCERR): Likewise.
37796         (BUS_ADRALN): Likewise.
37797         (BUS_ADRERR): Likewise.
37798         (BUS_OBJERR): Likewise.
37799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37800         (TRAP_TRACE): Likewise.
37801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37802         __USE_XOPEN2K8].
37803         (CLD_KILLED): Likewise.
37804         (CLD_DUMPED): Likewise.
37805         (CLD_TRAPPED): Likewise.
37806         (CLD_STOPPED): Likewise.
37807         (CLD_CONTINUED): Likewise.
37808         (POLL_IN): Likewise.
37809         (POLL_OUT): Likewise.
37810         (POLL_MSG): Likewise.
37811         (POLL_ERR): Likewise.
37812         (POLL_PRI): Likewise.
37813         (POLL_HUP): Likewise.
37814         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37815         Likewise.
37816         (ILL_ILLOPN): Likewise.
37817         (ILL_ILLADR): Likewise.
37818         (ILL_ILLTRP): Likewise.
37819         (ILL_PRVOPC): Likewise.
37820         (ILL_PRVREG): Likewise.
37821         (ILL_COPROC): Likewise.
37822         (ILL_BADSTK): Likewise.
37823         (FPE_INTDIV): Likewise.
37824         (FPE_INTOVF): Likewise.
37825         (FPE_FLTDIV): Likewise.
37826         (FPE_FLTOVF): Likewise.
37827         (FPE_FLTUND): Likewise.
37828         (FPE_FLTRES): Likewise.
37829         (FPE_FLTINV): Likewise.
37830         (FPE_FLTSUB): Likewise.
37831         (SEGV_MAPERR): Likewise.
37832         (SEGV_ACCERR): Likewise.
37833         (BUS_ADRALN): Likewise.
37834         (BUS_ADRERR): Likewise.
37835         (BUS_OBJERR): Likewise.
37836         (BUS_MCEERR_AR): Likewise.
37837         (BUS_MCEERR_AO): Likewise.
37838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37839         (TRAP_TRACE): Likewise.
37840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37841         __USE_XOPEN2K8].
37842         (CLD_KILLED): Likewise.
37843         (CLD_DUMPED): Likewise.
37844         (CLD_TRAPPED): Likewise.
37845         (CLD_STOPPED): Likewise.
37846         (CLD_CONTINUED): Likewise.
37847         (POLL_IN): Likewise.
37848         (POLL_OUT): Likewise.
37849         (POLL_MSG): Likewise.
37850         (POLL_ERR): Likewise.
37851         (POLL_PRI): Likewise.
37852         (POLL_HUP): Likewise.
37853         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37854         (ILL_ILLOPN): Likewise.
37855         (ILL_ILLADR): Likewise.
37856         (ILL_ILLTRP): Likewise.
37857         (ILL_PRVOPC): Likewise.
37858         (ILL_PRVREG): Likewise.
37859         (ILL_COPROC): Likewise.
37860         (ILL_BADSTK): Likewise.
37861         (FPE_INTDIV): Likewise.
37862         (FPE_INTOVF): Likewise.
37863         (FPE_FLTDIV): Likewise.
37864         (FPE_FLTOVF): Likewise.
37865         (FPE_FLTUND): Likewise.
37866         (FPE_FLTRES): Likewise.
37867         (FPE_FLTINV): Likewise.
37868         (FPE_FLTSUB): Likewise.
37869         (SEGV_MAPERR): Likewise.
37870         (SEGV_ACCERR): Likewise.
37871         (BUS_ADRALN): Likewise.
37872         (BUS_ADRERR): Likewise.
37873         (BUS_OBJERR): Likewise.
37874         (BUS_MCEERR_AR): Likewise.
37875         (BUS_MCEERR_AO): Likewise.
37876         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37877         (TRAP_TRACE): Likewise.
37878         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37879         __USE_XOPEN2K8].
37880         (CLD_KILLED): Likewise.
37881         (CLD_DUMPED): Likewise.
37882         (CLD_TRAPPED): Likewise.
37883         (CLD_STOPPED): Likewise.
37884         (CLD_CONTINUED): Likewise.
37885         (POLL_IN): Likewise.
37886         (POLL_OUT): Likewise.
37887         (POLL_MSG): Likewise.
37888         (POLL_ERR): Likewise.
37889         (POLL_PRI): Likewise.
37890         (POLL_HUP): Likewise.
37891         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37892         Likewise.
37893         (ILL_ILLOPN): Likewise.
37894         (ILL_ILLADR): Likewise.
37895         (ILL_ILLTRP): Likewise.
37896         (ILL_PRVOPC): Likewise.
37897         (ILL_PRVREG): Likewise.
37898         (ILL_COPROC): Likewise.
37899         (ILL_BADSTK): Likewise.
37900         (ILL_BADIADDR): Likewise.
37901         (ILL_BREAK): Likewise.
37902         (FPE_INTDIV): Likewise.
37903         (FPE_INTOVF): Likewise.
37904         (FPE_FLTDIV): Likewise.
37905         (FPE_FLTOVF): Likewise.
37906         (FPE_FLTUND): Likewise.
37907         (FPE_FLTRES): Likewise.
37908         (FPE_FLTINV): Likewise.
37909         (FPE_FLTSUB): Likewise.
37910         (FPE_DECOVF): Likewise.
37911         (FPE_DECDIV): Likewise.
37912         (FPE_DECERR): Likewise.
37913         (FPE_INVASC): Likewise.
37914         (FPE_INVDEC): Likewise.
37915         (SEGV_MAPERR): Likewise.
37916         (SEGV_ACCERR): Likewise.
37917         (SEGV_PSTKOVF): Likewise.
37918         (BUS_ADRALN): Likewise.
37919         (BUS_ADRERR): Likewise.
37920         (BUS_OBJERR): Likewise.
37921         (BUS_MCEERR_AR): Likewise.
37922         (BUS_MCEERR_AO): Likewise.
37923         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37924         (TRAP_TRACE): Likewise.
37925         (TRAP_BRANCH): Likewise.
37926         (TRAP_HWBKPT): Likewise.
37927         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37928         __USE_XOPEN2K8].
37929         (CLD_KILLED): Likewise.
37930         (CLD_DUMPED): Likewise.
37931         (CLD_TRAPPED): Likewise.
37932         (CLD_STOPPED): Likewise.
37933         (CLD_CONTINUED): Likewise.
37934         (POLL_IN): Likewise.
37935         (POLL_OUT): Likewise.
37936         (POLL_MSG): Likewise.
37937         (POLL_ERR): Likewise.
37938         (POLL_PRI): Likewise.
37939         (POLL_HUP): Likewise.
37940         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37941         (ILL_ILLOPN): Likewise.
37942         (ILL_ILLADR): Likewise.
37943         (ILL_ILLTRP): Likewise.
37944         (ILL_PRVOPC): Likewise.
37945         (ILL_PRVREG): Likewise.
37946         (ILL_COPROC): Likewise.
37947         (ILL_BADSTK): Likewise.
37948         (FPE_INTDIV): Likewise.
37949         (FPE_INTOVF): Likewise.
37950         (FPE_FLTDIV): Likewise.
37951         (FPE_FLTOVF): Likewise.
37952         (FPE_FLTUND): Likewise.
37953         (FPE_FLTRES): Likewise.
37954         (FPE_FLTINV): Likewise.
37955         (FPE_FLTSUB): Likewise.
37956         (SEGV_MAPERR): Likewise.
37957         (SEGV_ACCERR): Likewise.
37958         (BUS_ADRALN): Likewise.
37959         (BUS_ADRERR): Likewise.
37960         (BUS_OBJERR): Likewise.
37961         (BUS_MCEERR_AR): Likewise.
37962         (BUS_MCEERR_AO): Likewise.
37963         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37964         (TRAP_TRACE): Likewise.
37965         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37966         __USE_XOPEN2K8].
37967         (CLD_KILLED): Likewise.
37968         (CLD_DUMPED): Likewise.
37969         (CLD_TRAPPED): Likewise.
37970         (CLD_STOPPED): Likewise.
37971         (CLD_CONTINUED): Likewise.
37972         (POLL_IN): Likewise.
37973         (POLL_OUT): Likewise.
37974         (POLL_MSG): Likewise.
37975         (POLL_ERR): Likewise.
37976         (POLL_PRI): Likewise.
37977         (POLL_HUP): Likewise.
37978         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37979         (ILL_ILLOPN): Likewise.
37980         (ILL_ILLADR): Likewise.
37981         (ILL_ILLTRP): Likewise.
37982         (ILL_PRVOPC): Likewise.
37983         (ILL_PRVREG): Likewise.
37984         (ILL_COPROC): Likewise.
37985         (ILL_BADSTK): Likewise.
37986         (FPE_INTDIV): Likewise.
37987         (FPE_INTOVF): Likewise.
37988         (FPE_FLTDIV): Likewise.
37989         (FPE_FLTOVF): Likewise.
37990         (FPE_FLTUND): Likewise.
37991         (FPE_FLTRES): Likewise.
37992         (FPE_FLTINV): Likewise.
37993         (FPE_FLTSUB): Likewise.
37994         (SEGV_MAPERR): Likewise.
37995         (SEGV_ACCERR): Likewise.
37996         (BUS_ADRALN): Likewise.
37997         (BUS_ADRERR): Likewise.
37998         (BUS_OBJERR): Likewise.
37999         (BUS_MCEERR_AR): Likewise.
38000         (BUS_MCEERR_AO): Likewise.
38001         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38002         (TRAP_TRACE): Likewise.
38003         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38004         __USE_XOPEN2K8].
38005         (CLD_KILLED): Likewise.
38006         (CLD_DUMPED): Likewise.
38007         (CLD_TRAPPED): Likewise.
38008         (CLD_STOPPED): Likewise.
38009         (CLD_CONTINUED): Likewise.
38010         (POLL_IN): Likewise.
38011         (POLL_OUT): Likewise.
38012         (POLL_MSG): Likewise.
38013         (POLL_ERR): Likewise.
38014         (POLL_PRI): Likewise.
38015         (POLL_HUP): Likewise.
38016         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38017         (ILL_ILLOPN): Likewise.
38018         (ILL_ILLADR): Likewise.
38019         (ILL_ILLTRP): Likewise.
38020         (ILL_PRVOPC): Likewise.
38021         (ILL_PRVREG): Likewise.
38022         (ILL_COPROC): Likewise.
38023         (ILL_BADSTK): Likewise.
38024         (FPE_INTDIV): Likewise.
38025         (FPE_INTOVF): Likewise.
38026         (FPE_FLTDIV): Likewise.
38027         (FPE_FLTOVF): Likewise.
38028         (FPE_FLTUND): Likewise.
38029         (FPE_FLTRES): Likewise.
38030         (FPE_FLTINV): Likewise.
38031         (FPE_FLTSUB): Likewise.
38032         (SEGV_MAPERR): Likewise.
38033         (SEGV_ACCERR): Likewise.
38034         (BUS_ADRALN): Likewise.
38035         (BUS_ADRERR): Likewise.
38036         (BUS_OBJERR): Likewise.
38037         (BUS_MCEERR_AR): Likewise.
38038         (BUS_MCEERR_AO): Likewise.
38039         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38040         (TRAP_TRACE): Likewise.
38041         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38042         __USE_XOPEN2K8].
38043         (CLD_KILLED): Likewise.
38044         (CLD_DUMPED): Likewise.
38045         (CLD_TRAPPED): Likewise.
38046         (CLD_STOPPED): Likewise.
38047         (CLD_CONTINUED): Likewise.
38048         (POLL_IN): Likewise.
38049         (POLL_OUT): Likewise.
38050         (POLL_MSG): Likewise.
38051         (POLL_ERR): Likewise.
38052         (POLL_PRI): Likewise.
38053         (POLL_HUP): Likewise.
38054         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38055         (ILL_ILLOPN): Likewise.
38056         (ILL_ILLADR): Likewise.
38057         (ILL_ILLTRP): Likewise.
38058         (ILL_PRVOPC): Likewise.
38059         (ILL_PRVREG): Likewise.
38060         (ILL_COPROC): Likewise.
38061         (ILL_BADSTK): Likewise.
38062         (ILL_DBLFLT): Likewise.
38063         (ILL_HARDWALL): Likewise.
38064         (FPE_INTDIV): Likewise.
38065         (FPE_INTOVF): Likewise.
38066         (FPE_FLTDIV): Likewise.
38067         (FPE_FLTOVF): Likewise.
38068         (FPE_FLTUND): Likewise.
38069         (FPE_FLTRES): Likewise.
38070         (FPE_FLTINV): Likewise.
38071         (FPE_FLTSUB): Likewise.
38072         (SEGV_MAPERR): Likewise.
38073         (SEGV_ACCERR): Likewise.
38074         (BUS_ADRALN): Likewise.
38075         (BUS_ADRERR): Likewise.
38076         (BUS_OBJERR): Likewise.
38077         (BUS_MCEERR_AR): Likewise.
38078         (BUS_MCEERR_AO): Likewise.
38079         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38080         (TRAP_TRACE): Likewise.
38081         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38082         __USE_XOPEN2K8].
38083         (CLD_KILLED): Likewise.
38084         (CLD_DUMPED): Likewise.
38085         (CLD_TRAPPED): Likewise.
38086         (CLD_STOPPED): Likewise.
38087         (CLD_CONTINUED): Likewise.
38088         (POLL_IN): Likewise.
38089         (POLL_OUT): Likewise.
38090         (POLL_MSG): Likewise.
38091         (POLL_ERR): Likewise.
38092         (POLL_PRI): Likewise.
38093         (POLL_HUP): Likewise.
38094         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38095         (ILL_ILLOPN): Likewise.
38096         (ILL_ILLADR): Likewise.
38097         (ILL_ILLTRP): Likewise.
38098         (ILL_PRVOPC): Likewise.
38099         (ILL_PRVREG): Likewise.
38100         (ILL_COPROC): Likewise.
38101         (ILL_BADSTK): Likewise.
38102         (FPE_INTDIV): Likewise.
38103         (FPE_INTOVF): Likewise.
38104         (FPE_FLTDIV): Likewise.
38105         (FPE_FLTOVF): Likewise.
38106         (FPE_FLTUND): Likewise.
38107         (FPE_FLTRES): Likewise.
38108         (FPE_FLTINV): Likewise.
38109         (FPE_FLTSUB): Likewise.
38110         (SEGV_MAPERR): Likewise.
38111         (SEGV_ACCERR): Likewise.
38112         (BUS_ADRALN): Likewise.
38113         (BUS_ADRERR): Likewise.
38114         (BUS_OBJERR): Likewise.
38115         (BUS_MCEERR_AR): Likewise.
38116         (BUS_MCEERR_AO): Likewise.
38117         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38118         (TRAP_TRACE): Likewise.
38119         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38120         __USE_XOPEN2K8].
38121         (CLD_KILLED): Likewise.
38122         (CLD_DUMPED): Likewise.
38123         (CLD_TRAPPED): Likewise.
38124         (CLD_STOPPED): Likewise.
38125         (CLD_CONTINUED): Likewise.
38126         (POLL_IN): Likewise.
38127         (POLL_OUT): Likewise.
38128         (POLL_MSG): Likewise.
38129         (POLL_ERR): Likewise.
38130         (POLL_PRI): Likewise.
38131         (POLL_HUP): Likewise.
38132         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38133         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38135         [BZ #16670]
38136         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38137         before #include of <time.h>.
38138         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38139         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38140         (test-xfail-UNIX98/sched.h/conform): Likewise.
38142 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38144         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38145         error absence of trapping exception support.
38146         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38148 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38150         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38151         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38152         * timezone/Makefile (testdata): Move definition above include of
38153         Rules.
38154         (test-zones): New variable.
38155         (tests-special): Add zone files.
38156         (build-testdata): Use $(evaluate-test).
38158         * elf/Makefile (tests-special): Rename tests to end with .out.
38159         ($(objpfx)noload-mem): Likewise.
38160         ($(objpfx)tst-leaks1-mem): Likewise.
38161         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38162         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38163         $(objpfx)test-iconvconfig.out.
38164         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38165         set -e inside subshell and redirect output to file.
38166         * iconvdata/Makefile (generated): Rename tests to end with .out.
38167         Correct type.
38168         (tests-special): Rename tests to end with .out.
38169         ($(objpfx)mtrace-tst-loading): Likewise.
38170         * intl/Makefile (generated): Likewise.
38171         (tests-special): Likewise.
38172         ($(objpfx)mtrace-tst-gettext): Likewise.
38173         * misc/Makefile (generated): Likewise.
38174         (tests-special): Likewise.
38175         ($(objpfx)tst-error1-mem): Likewise.
38176         * nptl/Makefile (tests-special): Likewise.
38177         ($(objpfx)tst-stack3-mem): Likewise.
38178         (generated): Likewise.
38179         * posix/Makefile (generated): Likewise.
38180         (tests-special): Likewise.
38181         (xtests-special): Likewise.
38182         ($(objpfx)tst-fnmatch-mem): Likewise.
38183         ($(objpfx)bug-regex2-mem): Likewise.
38184         ($(objpfx)bug-regex14-mem): Likewise.
38185         ($(objpfx)bug-regex21-mem): Likewise.
38186         ($(objpfx)bug-regex31-mem): Likewise.
38187         ($(objpfx)tst-vfork3-mem): Likewise.
38188         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38189         ($(objpfx)tst-pcre-mem): Likewise.
38190         ($(objpfx)tst-boost-mem): Likewise.
38191         ($(objpfx)bug-ga2-mem): Likewise.
38192         ($(objpfx)bug-glob2-mem): Likewise.
38193         * resolv/Makefile (generate): Likewise.
38194         (tests-special): Likewise.
38195         (xtests-special): Likewise.
38196         (generated): Likewise.
38197         ($(objpfx)mtrace-tst-leaks): Likewise.
38198         ($(objpfx)mtrace-tst-leaks2): Likewise.
38200         * scripts/merge-test-results.sh: New file.
38201         * Makefile (tests-special-notdir): New variable.
38202         (tests): Run merge-test-results.sh.
38203         (xtests): Likewise.
38204         * Rules (tests-special-notdir): New variable.
38205         (xtests-special-notdir): Likewise.
38206         (tests): Run merge-test-results.sh
38207         (xtests): Likewise.
38209         * Makeconfig (test-xfail-name): New variable.
38210         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38211         compute variable name for expected failures.
38212         * conform/Makefile (conformtest-headers-data): New variable.
38213         (conformtest-standards): Likewise.
38214         (conformtest-headers-ISO): Likewise.
38215         (conformtest-headers-ISO99): Likewise.
38216         (conformtest-headers-ISO11): Likewise.
38217         (conformtest-headers-POSIX): Likewise.
38218         (conformtest-headers-XPG3): Likewise.
38219         (conformtest-headers-XPG4): Likewise.
38220         (conformtest-headers-UNIX98): Likewise.
38221         (conformtest-headers-XOPEN2K): Likewise.
38222         (conformtest-headers-POSIX2008): Likewise.
38223         (conformtest-headers-XOPEN2K8): Likewise.
38224         (conformtest-header-list-base): Likewise.
38225         (conformtest-header-list-tests): Likewise.
38226         (conformtest-header-base): Likewise.
38227         (conformtest-header-tests): Likewise.
38228         (tests-special): Add $(conformtest-header-list-tests).  If
38229         [$(fast-check) && !$(cross-compiling)], add
38230         $(conformtest-header-tests) instead of
38231         $(objpfx)run-conformtest.out.
38232         (generated): Add $(conformtest-header-list-base).  If
38233         [$(fast-check) && !$(cross-compiling)], add
38234         $(conformtest-header-base).  Remove previous setting.
38235         ($(conformtest-header-list-tests)): New target.
38236         (test-xfail-run-conformtest): Remove variable.
38237         ($(objpfx)run-conformtest.out): Remove target.
38238         (test-xfail-ISO11/complex.h/conform): New variable.
38239         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38240         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38241         (test-xfail-XPG3/varargs.h/conform): Likewise.
38242         (test-xfail-XPG4/varargs.h/conform): Likewise.
38243         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38244         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38245         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38246         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38247         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38248         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38249         (test-xfail-XPG3/ftw.h/conform): Likewise.
38250         (test-xfail-XPG3/grp.h/conform): Likewise.
38251         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38252         (test-xfail-XPG3/limits.h/conform): Likewise.
38253         (test-xfail-XPG3/pwd.h/conform): Likewise.
38254         (test-xfail-XPG3/search.h/conform): Likewise.
38255         (test-xfail-XPG3/signal.h/conform): Likewise.
38256         (test-xfail-XPG3/stdio.h/conform): Likewise.
38257         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38258         (test-xfail-XPG3/string.h/conform): Likewise.
38259         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38260         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38261         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38262         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38263         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38264         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38265         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38266         (test-xfail-XPG3/termios.h/conform): Likewise.
38267         (test-xfail-XPG3/time.h/conform): Likewise.
38268         (test-xfail-XPG3/unistd.h/conform): Likewise.
38269         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38270         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38271         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38272         (test-xfail-XPG4/netdb.h/conform): Likewise.
38273         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38274         (test-xfail-XPG4/signal.h/conform): Likewise.
38275         (test-xfail-XPG4/stdio.h/conform): Likewise.
38276         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38277         (test-xfail-XPG4/stropts.h/conform): Likewise.
38278         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38279         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38280         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38281         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38282         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38283         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38284         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38285         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38286         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38287         (test-xfail-XPG4/termios.h/conform): Likewise.
38288         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38289         (test-xfail-XPG4/unistd.h/conform): Likewise.
38290         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38291         (test-xfail-POSIX/sched.h/conform): Likewise.
38292         (test-xfail-POSIX/signal.h/conform): Likewise.
38293         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38294         (test-xfail-POSIX/tar.h/conform): Likewise.
38295         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38296         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38297         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38298         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38299         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38300         (test-xfail-UNIX98/sched.h/conform): Likewise.
38301         (test-xfail-UNIX98/signal.h/conform): Likewise.
38302         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38303         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38304         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38305         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38306         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38307         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38308         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38309         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38310         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38311         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38312         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38313         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38314         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38315         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38316         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38317         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38318         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38319         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38320         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38321         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38322         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38323         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38324         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38325         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38326         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38327         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38328         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38329         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38330         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38331         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38332         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38333         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38334         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38335         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38336         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38337         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38338         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38339         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38340         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38341         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38342         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38343         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38344         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38345         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38346         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38347         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38348         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38349         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38350         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38351         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38352         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38353         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38354         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38355         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38356         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38357         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38358         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38359         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38360         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38361         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38362         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38363         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38364         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38365         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38366         (conformtest-cc-flags): Likewise.
38367         ($(conformtest-header-tests): New target.
38368         * conform/check-header-lists.sh: New file.
38369         * conform/run-conformtest.sh: Remove.
38371         * conform/conformtest.pl: Allow ' and \ in values given for
38372         constants.
38373         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38374         inclusion.
38375         [POSIX] (sys/types.h): Likewise.
38376         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38377         inclusion.
38378         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38379         inclusion.
38380         * conform/data/signal.h-data (SIGIO): Remove expectation.
38381         [XPG3] (SIGBUS): Do not expect.
38382         [POSIX || XPG3] (SIGPOLL): Likewise.
38383         [POSIX || XPG3] (SIGPROF): Likewise.
38384         [POSIX || XPG3] (SIGSYS): Likewise.
38385         [XPG3] (SIGTRAP): Likewise.
38386         [POSIX || XPG3] (SIGURG): Likewise.
38387         [POSIX || XPG3] (SIGVTALRM): Likewise.
38388         [POSIX || XPG3] (SIGXCPU): Likewise.
38389         [POSIX || XPG3] (SIGXFSZ): Likewise.
38390         [POSIX] (SA_SIGINFO): Expect.
38391         [XPG3] (siginfo_t): Do not expect type or contents.
38392         [POSIX] (si_pid): Do not expect element.
38393         [POSIX] (si_uid): Likewise.
38394         [POSIX] (si_addr): Likewise.
38395         [POSIX] (si_status): Likewise.
38396         [POSIX] (si_band): Likewise.
38397         [XPG4] (si_value): Likewise.
38398         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38399         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38400         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38401         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38402         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38403         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38404         [POSIX || XPG3] (ILL_COPROC): Likewise.
38405         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38406         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38407         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38408         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38409         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38410         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38411         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38412         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38413         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38414         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38415         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38416         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38417         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38418         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38419         [POSIX || XPG3] (CLD_EXITED): Likewise.
38420         [POSIX || XPG3] (CLD_KILLED): Likewise.
38421         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38422         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38423         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38424         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38425         [POSIX || XPG3] (POLL_IN): Likewise.
38426         [POSIX || XPG3] (POLL_OUT): Likewise.
38427         [POSIX || XPG3] (POLL_MSG): Likewise.
38428         [POSIX || XPG3] (POLL_ERR): Likewise.
38429         [POSIX || XPG3] (POLL_PRI): Likewise.
38430         [POSIX || XPG3] (POLL_HUP): Likewise.
38431         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38432         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38433         (SIG*): Do not allow.
38434         [XPG3] (si_*): Likewise.
38435         [XPG3] (SI_*): Likewise.
38436         [XPG3 || XPG4] (sigev_*): Likewise.
38437         [XPG3 || XPG4] (SIGEV_*): Likewise.
38438         [XPG3 || XPG4] (sival_*): Likewise.
38439         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38440         [POSIX || XPG3] (BUS_*): Likewise.
38441         [POSIX || XPG3] (CLD_*): Likewise.
38442         [POSIX || XPG3] (FPE_*): Likewise.
38443         [POSIX || XPG3] (ILL_*): Likewise.
38444         [POSIX || XPG3] (POLL_*): Likewise.
38445         [POSIX || XPG3] (SEGV_*): Likewise.
38446         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38447         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38448         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38449         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38450         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38451         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38452         Specify type and value.
38453         (TVERSLEN): Likewise.
38454         (REGTYPE): Likewise.
38455         (AREGTYPE): Likewise.
38456         (LNKTYPE): Likewise.
38457         (SYMTYPE): Likewise.
38458         (CHRTYPE): Likewise.
38459         (BLKTYPE): Likewise.
38460         (DIRTYPE): Likewise.
38461         (FIFOTYPE): Likewise.
38462         (CONTTYPE): Likewise.
38463         (TSUID): Likewise.
38464         (TSGID): Likewise.
38465         (TSVTX): Likewise.
38466         (TUREAD): Likewise.
38467         (TUWRITE): Likewise.
38468         (TUEXEC): Likewise.
38469         (TGREAD): Likewise.
38470         (TGWRITE): Likewise.
38471         (TGEXEC): Likewise.
38472         (TOREAD): Likewise.
38473         (TOWRITE): Likewise.
38474         (TOEXEC): Likewise.
38475         [POSIX] (TSVTX): Expect constant.
38477 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38479         * Makefile (tests): Change dependencies to ....
38480         (tests-special): ... additions to this variable.
38481         (tests): Depend on $(tests-special).
38482         * Makerules (check-abi-list): New variable.
38483         (check-abi): Depend on $(check-abi-list).
38484         [$(subdir) = elf] (tests-special): Add
38485         $(objpfx)check-abi-libc.out.
38486         [$(build-shared) = yes && subdir] (tests-special): Add
38487         $(check-abi-list).
38488         [$(build-shared) = yes && subdir] (tests): Do not depend on
38489         check-abi.
38490         * Rules (tests): Depend on $(tests-special).
38491         (xtests): Depend on $(xtests-special).
38492         * catgets/Makefile (tests): Change dependencies to ....
38493         (tests-special): ... additions to this variable.
38494         * conform/Makefile (tests): Change dependencies to ....
38495         (tests-special): ... additions to this variable.
38496         * elf/Makefile (tests): Change dependencies to ....
38497         (tests-special): ... additions to this variable.
38498         * grp/Makefile (tests): Change dependencies to ....
38499         (tests-special): ... additions to this variable.
38500         * iconv/Makefile (xtests): Change dependencies to ....
38501         (xtests-special): ... additions to this variable.
38502         * iconvdata/Makefile (tests): Change dependencies to ....
38503         (tests-special): ... additions to this variable.
38504         * intl/Makefile (tests): Change dependencies to ....
38505         (tests-special): ... additions to this variable.  Also add
38506         $(objpfx)tst-gettext.out.
38507         * io/Makefile (tests): Change dependencies to ....
38508         (tests-special): ... additions to this variable.
38509         * libio/Makefile (tests): Change dependencies to ....
38510         (tests-special): ... additions to this variable.
38511         * malloc/Makefile (tests): Change dependencies to ....
38512         (tests-special): ... additions to this variable.
38513         * misc/Makefile (tests): Change dependencies to ....
38514         (tests-special): ... additions to this variable.
38515         * nptl/Makefile (tests): Change dependencies to ....
38516         (tests-special): ... additions to this variable.
38517         * nptl_db/Makefile (tests): Change dependencies to ....
38518         (tests-special): ... additions to this variable.
38519         * posix/Makefile (tests): Change dependencies to ....
38520         (tests-special): ... additions to this variable.
38521         (xtests): Change dependencies to ....
38522         (xtests-special): ... additions to this variable.
38523         * resolv/Makefile (tests): Change dependencies to ....
38524         (tests-special): ... additions to this variable.
38525         (xtests): Change dependencies to ....
38526         (xtests-special): ... additions to this variable.
38527         * stdio-common/Makefile (tests): Change dependencies to ....
38528         (tests-special): ... additions to this variable.
38529         (do-tst-unbputc): Remove target.
38530         (do-tst-printf): Likewise.
38531         * stdlib/Makefile (tests): Change dependencies to ....
38532         (tests-special): ... additions to this variable.
38533         * string/Makefile (tests): Change dependencies to ....
38534         (tests-special): ... additions to this variable.
38535         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38536         (tests-special): ... additions to this variable.
38538         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38539         whole file.
38540         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38541         whole file.
38542         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38543         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38545         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38546         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38547         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38548         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38549         * conform/data/libgen.h-data [XPG3]: Likewise.
38550         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38551         * conform/data/ndbm.h-data [XPG3]: Likewise.
38552         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38553         * conform/data/netdb.h-data [XPG3]: Likewise.
38554         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38555         * conform/data/poll.h-data [XPG3]: Likewise.
38556         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38557         * conform/data/strings.h-data [XPG3]: Likewise.
38558         * conform/data/stropts.h-data [XPG3]: Likewise.
38559         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38560         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38561         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38562         Likewise.
38563         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38564         * conform/data/sys/time.h-data [XPG3]: Likewise.
38565         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38566         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38567         * conform/data/sys/un.h-data [XPG3]: Likewise.
38568         * conform/data/syslog.h-data [XPG3]: Likewise.
38569         * conform/data/ucontext.h-data [XPG3]: Likewise.
38570         * conform/data/utmpx.h-data [XPG3]: Likewise.
38571         * conform/data/varargs.h-data [UNIX98]: Enable file.
38573         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38575         * math/libm-test.inc (struct test_f_f_data): Move expected results
38576         into structure for each rounding mode.
38577         (struct test_ff_f_data): Likewise.
38578         (struct test_ff_f_data_nexttoward): Likewise.
38579         (struct test_fi_f_data): Likewise.
38580         (struct test_fl_f_data): Likewise.
38581         (struct test_if_f_data): Likewise.
38582         (struct test_fff_f_data): Likewise.
38583         (struct test_c_f_data): Likewise.
38584         (struct test_f_f1_data): Likewise.
38585         (struct test_fF_f1_data): Likewise.
38586         (struct test_ffI_f1_data): Likewise.
38587         (struct test_c_c_data): Likewise.
38588         (struct test_cc_c_data): Likewise.
38589         (struct test_f_i_data): Likewise.
38590         (struct test_ff_i_data): Likewise.
38591         (struct test_f_l_data): Likewise.
38592         (struct test_f_L_data): Likewise.
38593         (struct test_fFF_11_data): Likewise.
38594         (RM_): New macro.
38595         (RM_FE_DOWNWARD): Likewise.
38596         (RM_FE_TONEAREST): Likewise.
38597         (RM_FE_TOWARDZERO): Likewise.
38598         (RM_FE_UPWARD): Likewise.
38599         (RUN_TEST_LOOP_f_f): Update references to expected results.
38600         (RUN_TEST_LOOP_2_f): Likewise.
38601         (RUN_TEST_LOOP_fff_f): Likewise.
38602         (RUN_TEST_LOOP_c_f): Likewise.
38603         (RUN_TEST_LOOP_f_f1): Likewise.
38604         (RUN_TEST_LOOP_fF_f1): Likewise.
38605         (RUN_TEST_LOOP_fI_f1): Likewise.
38606         (RUN_TEST_LOOP_ffI_f1): Likewise.
38607         (RUN_TEST_LOOP_c_c): Likewise.
38608         (RUN_TEST_LOOP_cc_c): Likewise.
38609         (RUN_TEST_LOOP_f_i): Likewise.
38610         (RUN_TEST_LOOP_f_i_tg): Likewise.
38611         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38612         (RUN_TEST_LOOP_f_b): Likewise.
38613         (RUN_TEST_LOOP_f_b_tg): Likewise.
38614         (RUN_TEST_LOOP_f_l): Likewise.
38615         (RUN_TEST_LOOP_f_L): Likewise.
38616         (RUN_TEST_LOOP_fFF_11): Likewise.
38617         * math/gen-libm-test.pl (parse_args): Output four copies of
38618         expected results for each test.
38620         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38621         (__ASSUME_UTIMES): Remove.
38622         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38623         (__ASSUME_UTIMES): Likewise.
38625         * math/gen-auto-libm-tests.c: Update comment on output format.
38626         (output_for_one_input_case): Generate before-rounding and
38627         after-rounding information as conditions on output flags not
38628         floating-point format.
38629         * math/auto-libm-test-out: Regenerated.
38630         * math/gen-libm-test.pl (cond_value): New function.
38631         (or_cond_value): Use cond_value.
38632         (generate_testfile): Handle conditional exceptions.
38634 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38636         * math/libm-test.inc (max_valid_error): New variable.
38637         (init_max_error): Take new argument specifying whether function
38638         results are exactly determined.  Set max_valid_error and bound
38639         other variables for errors based on this argument.
38640         (set_max_error): Do not record results above max_valid_error.
38641         (check_float_internal): Only accept errors of up to 0.5ulps if
38642         also at most max_valid_error.
38643         (START): Take new argument EXACT and pass it to init_max_error.
38644         (acos_test): Update call to START.
38645         (acos_test_tonearest): Likewise.
38646         (acos_test_towardzero): Likewise.
38647         (acos_test_downward): Likewise.
38648         (acos_test_upward): Likewise.
38649         (acosh_test): Likewise.
38650         (asin_test): Likewise.
38651         (asin_test_tonearest): Likewise.
38652         (asin_test_towardzero): Likewise.
38653         (asin_test_downward): Likewise.
38654         (asin_test_upward): Likewise.
38655         (asinh_test): Likewise.
38656         (atan_test): Likewise.
38657         (atanh_test): Likewise.
38658         (atan2_test): Likewise.
38659         (cabs_test): Likewise.
38660         (cacos_test): Likewise.
38661         (cacosh_test): Likewise.
38662         (carg_test): Likewise.
38663         (casin_test): Likewise.
38664         (casinh_test): Likewise.
38665         (catan_test): Likewise.
38666         (catanh_test): Likewise.
38667         (cbrt_test): Likewise.
38668         (ccos_test): Likewise.
38669         (ccosh_test): Likewise.
38670         (ceil_test): Likewise.
38671         (cexp_test): Likewise.
38672         (cimag_test): Likewise.
38673         (clog_test): Likewise.
38674         (clog10_test): Likewise.
38675         (conj_test): Likewise.
38676         (copysign_test): Likewise.
38677         (cos_test): Likewise.
38678         (cos_test_tonearest): Likewise.
38679         (cos_test_towardzero): Likewise.
38680         (cos_test_downward): Likewise.
38681         (cos_test_upward): Likewise.
38682         (cosh_test): Likewise.
38683         (cosh_test_tonearest): Likewise.
38684         (cosh_test_towardzero): Likewise.
38685         (cosh_test_downward): Likewise.
38686         (cosh_test_upward): Likewise.
38687         (cpow_test): Likewise.
38688         (cproj_test): Likewise.
38689         (creal_test): Likewise.
38690         (csin_test): Likewise.
38691         (csinh_test): Likewise.
38692         (csqrt_test): Likewise.
38693         (ctan_test): Likewise.
38694         (ctan_test_tonearest): Likewise.
38695         (ctan_test_towardzero): Likewise.
38696         (ctan_test_downward): Likewise.
38697         (ctan_test_upward): Likewise.
38698         (ctanh_test): Likewise.
38699         (ctanh_test_tonearest): Likewise.
38700         (ctanh_test_towardzero): Likewise.
38701         (ctanh_test_downward): Likewise.
38702         (ctanh_test_upward): Likewise.
38703         (erf_test): Likewise.
38704         (erfc_test): Likewise.
38705         (exp_test): Likewise.
38706         (exp_test_tonearest): Likewise.
38707         (exp_test_towardzero): Likewise.
38708         (exp_test_downward): Likewise.
38709         (exp_test_upward): Likewise.
38710         (exp10_test): Likewise.
38711         (exp10_test_tonearest): Likewise.
38712         (exp10_test_towardzero): Likewise.
38713         (exp10_test_downward): Likewise.
38714         (exp10_test_upward): Likewise.
38715         (pow10_test): Likewise.
38716         (exp2_test): Likewise.
38717         (expm1_test): Likewise.
38718         (expm1_test_tonearest): Likewise.
38719         (expm1_test_towardzero): Likewise.
38720         (expm1_test_downward): Likewise.
38721         (expm1_test_upward): Likewise.
38722         (fabs_test): Likewise.
38723         (fdim_test): Likewise.
38724         (floor_test): Likewise.
38725         (fma_test): Likewise.
38726         (fma_test_towardzero): Likewise.
38727         (fma_test_downward): Likewise.
38728         (fma_test_upward): Likewise.
38729         (fmax_test): Likewise.
38730         (fmin_test): Likewise.
38731         (fmod_test): Likewise.
38732         (fpclassify_test): Likewise.
38733         (frexp_test): Likewise.
38734         (hypot_test): Likewise.
38735         (ilogb_test): Likewise.
38736         (isfinite_test): Likewise.
38737         (finite_test): Likewise.
38738         (isgreater_test): Likewise.
38739         (isgreaterequal_test): Likewise.
38740         (isinf_test): Likewise.
38741         (isless_test): Likewise.
38742         (islessequal_test): Likewise.
38743         (islessgreater_test): Likewise.
38744         (isnan_test): Likewise.
38745         (isnormal_test): Likewise.
38746         (issignaling_test): Likewise.
38747         (isunordered_test): Likewise.
38748         (j0_test): Likewise.
38749         (j1_test): Likewise.
38750         (jn_test): Likewise.
38751         (ldexp_test): Likewise.
38752         (lgamma_test): Likewise.
38753         (gamma_test): Likewise.
38754         (lrint_test): Likewise.
38755         (lrint_test_tonearest): Likewise.
38756         (lrint_test_towardzero): Likewise.
38757         (lrint_test_downward): Likewise.
38758         (lrint_test_upward): Likewise.
38759         (llrint_test): Likewise.
38760         (llrint_test_tonearest): Likewise.
38761         (llrint_test_towardzero): Likewise.
38762         (llrint_test_downward): Likewise.
38763         (llrint_test_upward): Likewise.
38764         (log_test): Likewise.
38765         (log10_test): Likewise.
38766         (log1p_test): Likewise.
38767         (log2_test): Likewise.
38768         (logb_test): Likewise.
38769         (logb_test_downward): Likewise.
38770         (lround_test): Likewise.
38771         (llround_test): Likewise.
38772         (modf_test): Likewise.
38773         (nearbyint_test): Likewise.
38774         (nextafter_test): Likewise.
38775         (nexttoward_test): Likewise.
38776         (pow_test): Likewise.
38777         (pow_test_tonearest): Likewise.
38778         (pow_test_towardzero): Likewise.
38779         (pow_test_downward): Likewise.
38780         (pow_test_upward): Likewise.
38781         (remainder_test): Likewise.
38782         (drem_test): Likewise.
38783         (remainder_test_tonearest): Likewise.
38784         (drem_test_tonearest): Likewise.
38785         (remainder_test_towardzero): Likewise.
38786         (drem_test_towardzero): Likewise.
38787         (remainder_test_downward): Likewise.
38788         (drem_test_downward): Likewise.
38789         (remainder_test_upward): Likewise.
38790         (drem_test_upward): Likewise.
38791         (remquo_test): Likewise.
38792         (rint_test): Likewise.
38793         (rint_test_tonearest): Likewise.
38794         (rint_test_towardzero): Likewise.
38795         (rint_test_downward): Likewise.
38796         (rint_test_upward): Likewise.
38797         (round_test): Likewise.
38798         (scalb_test): Likewise.
38799         (scalbn_test): Likewise.
38800         (scalbln_test): Likewise.
38801         (signbit_test): Likewise.
38802         (sin_test): Likewise.
38803         (sin_test_tonearest): Likewise.
38804         (sin_test_towardzero): Likewise.
38805         (sin_test_downward): Likewise.
38806         (sin_test_upward): Likewise.
38807         (sincos_test): Likewise.
38808         (sinh_test): Likewise.
38809         (sinh_test_tonearest): Likewise.
38810         (sinh_test_towardzero): Likewise.
38811         (sinh_test_downward): Likewise.
38812         (sinh_test_upward): Likewise.
38813         (sqrt_test): Likewise.
38814         (sqrt_test_tonearest): Likewise.
38815         (sqrt_test_towardzero): Likewise.
38816         (sqrt_test_downward): Likewise.
38817         (sqrt_test_upward): Likewise.
38818         (tan_test): Likewise.
38819         (tan_test_tonearest): Likewise.
38820         (tan_test_towardzero): Likewise.
38821         (tan_test_downward): Likewise.
38822         (tan_test_upward): Likewise.
38823         (tanh_test): Likewise.
38824         (tgamma_test): Likewise.
38825         (trunc_test): Likewise.
38826         (y0_test): Likewise.
38827         (y1_test): Likewise.
38828         (yn_test): Likewise.
38829         (significand_test): Likewise.
38831         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38832         individual tests in comment.
38833         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38834         (prev_max_error): New variable.
38835         (prev_real_max_error): Likewise.
38836         (prev_imag_max_error): Likewise.
38837         (compare_ulp_data): Don't refer to test names in comment.
38838         (find_test_ulps): Remove function.
38839         (find_function_ulps): Likewise.
38840         (find_complex_function_ulps): Likewise.
38841         (init_max_error): Take function name as argument.  Look up ulps
38842         for that function.
38843         (print_ulps): Remove function.
38844         (print_max_error): Use prev_max_error instead of calling
38845         find_function_ulps.
38846         (print_complex_max_error): Use prev_real_max_error and
38847         prev_imag_max_error instead of calling find_complex_function_ulps.
38848         (check_float_internal): Take max_ulp parameter instead of calling
38849         find_test_ulps.  Don't call print_ulps.
38850         (check_float): Update call to check_float_internal.
38851         (check_complex): Update calls to check_float_internal.
38852         (START): Pass argument to init_max_error.
38853         * math/gen-libm-test.pl (%results): Don't include "kind"
38854         information.
38855         (parse_ulps): Don't handle ulps of individual tests.
38856         (print_ulps_file): Likewise.
38857         (output_ulps): Likewise.
38858         * math/README.libm-test: Update.
38859         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38860         individual tests.
38861         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38862         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38863         * sysdeps/arm/libm-test-ulps: Likewise.
38864         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38865         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38866         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38867         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38868         * sysdeps/microblaze/libm-test-ulps: Likewise.
38869         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38870         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38871         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38872         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38873         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38874         * sysdeps/sh/libm-test-ulps: Likewise.
38875         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38876         * sysdeps/tile/libm-test-ulps: Likewise.
38877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38879 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38881         * math/libm-test.inc (print_complex_max_error): Check separately
38882         whether real and imaginary errors are within allowed range and
38883         pass 0 to print_complex_function_ulps instead of value within
38884         allowed range.
38886 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38888         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38889         formatting.
38890         (get_handles_fopen): Likewise.
38891         (do_write_test): Likewise.
38893         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38895         * libio/fileops.c (do_ftell): Use cached offset when
38896         available.
38897         * libio/iofwide.c (do_ftell_wide): Likewise.
38898         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38899         _IO_file_attach.
38900         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38902         [BZ #16532]
38903         * libio/libioP.h (get_file_offset): New function.
38904         * libio/fileops.c (get_file_offset): Likewise.
38905         (do_ftell): Likewise.
38906         (_IO_new_file_seekoff): Split out ftell logic.
38907         * libio/wfileops.c (do_ftell_wide): Likewise.
38908         (_IO_wfile_seekoff): Split out ftell logic.
38909         * libio/tst-ftell-active-handler.c: New test case.
38910         * libio/Makefile (tests): Add it.
38912 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38914         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38915         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38917 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38919         [BZ #16639]
38920         * nscd/connections.c (nscd_init): Call do_exit.
38921         (start_threads): Call do_exit and notify_parent.
38922         (begin_drop_privileges): Call do_exit.
38923         (finish_drop_privileges): Likewise.
38924         * nscd/selinux.c (preserve_capabilities): Likewise.
38925         (install_real_capabilities): Likewise.
38926         (nscd_selinux_enabled): Likewise.
38927         (avc_create_thread): Likewise.
38928         (avc_alloc_lock): Likewise.
38929         (nscd_avc_init): Likewise.
38930         * nscd/nscd.c (parent_fd): New static variable.
38931         (main): Create a pipe between parent and child processes.
38932         Skip closing parent_fd.
38933         (monitor_child): New function.
38934         (do_exit): Likewise.
38935         (notify_parent): Likewise.
38936         * nscd/nscd.h (notify_parent): Likewise.
38937         (do_exit): Likewise.
38939 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38941         * malloc/malloc.c (__libc_calloc): Revert last change.
38943 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38947 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38949         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38951         implementation.
38952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38953         (__libc_ifunc_impl_list): Likewise.
38954         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38955         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38956         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38957         * string/strrchr.c: Define STRRCHR.
38959 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38961         * benchtest/bench-strtok.c (simple_strtok): Delete.
38962         (strtok_string): Use as benchmark.
38963         * string/strtok (STRTOK): New macro.
38965 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38967         * manual/threads.texi: Add header and standard comments to all
38968         functions.
38970         * elf/dl-lookup.c (check_match): New function.
38971         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38972         (do_lookup_x): Remove nested function check_match. Use non-nested
38973         function check_match.
38975 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38977         * csu/Makefile (generated, before-compile): Use += rather than =.
38978         * catgets/Makefile (generated, generated-dirs): Likewise.
38979         * debug/Makefile (generated): Likewise.
38980         * dlfcn/Makefile (generated): Likewise.
38981         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38982         * iconvdata/Makefile (before-compile, generated): Likewise.
38983         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38984         * libio/Makefile (generated): Likewise.
38985         * malloc/Makefile (generated): Likewise.
38986         * manual/Makefile (generated, generated-dirs): Likewise.
38987         * misc/Makefile (generated): Likewise.
38988         * posix/Makefile (generated): Likewise.
38989         * resolv/Makefile (generated): Likewise.
38990         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38991         * timezone/Makefile (generated, generated-dirs): Likewise.
38993         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38995 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38998         power8 implementation.
38999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39000         file: POWER8 llround ifunc implementation.
39001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39002         (__lllround): Add POWER8 implementation.
39003         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39004         POWER8 llround implementation.
39006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39007         power8 implementation.
39008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39009         file: POWER8 llrint ifunc implementation.
39010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39011         Add POWER8 implementation.
39012         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39013         POWER8 llrint implementation.
39015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39016         power8 implementation.
39017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39018         file: POWER8 finite ifunc implementation.
39019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39020         Add POWER8 implementation.
39021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39022         Likewise.
39023         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39024         POWER8 finite implementation.
39025         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39028         power8 implementation.
39029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39030         file: POWER8 isinf ifunc implementation.
39031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39032         POWER8 implementation.
39033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39034         Likewise.
39035         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39036         isinf implementation.
39037         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39039         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39040         (INIT_ARCH): Add hwcap2 initialization.
39041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39042         power8 implementation.
39043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39044         file: POWER8 isnan ifunc implementation.
39045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39046         POWER8 implementation.
39047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39048         Likewise.
39049         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39050         isnan implementation.
39051         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39053 2014-02-27  Joey Ye  <joey.ye@arm.com>
39055         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39056         (_FP_NANFRAC_Q): Set to zero.
39058 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39060         [BZ #16623]
39061         * math/auto-libm-test-in: New test inputs.
39062         * math/auto-libm-test-out: Regenerate.
39063         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39064         and DA.
39065         (__cos): Likewise.
39066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39068 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39070         * scripts/evaluate-test.sh: Take new argument indicating whether
39071         failure is expected.
39072         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39073         indicating whether failure is expected.
39074         * conform/Makefile (test-xfail-run-conformtest): New variable.
39075         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39076         level.
39077         * posix/Makefile (test-xfail-annexc): New variable.
39078         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39080 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39082         * argp/Makefile: Include Makeconfig immediately after defining
39083         subdir.
39084         * assert/Makefile: Likewise.
39085         * benchtests/Makefile: Likewise.
39086         * catgets/Makefile: Likewise.
39087         * conform/Makefile: Likewise.
39088         * crypt/Makefile: Likewise.
39089         * csu/Makefile: Likewise.
39090         (all): Remove target.
39091         * ctype/Makefile: Include Makeconfig immediately after defining
39092         subdir.
39093         * debug/Makefile: Likewise.
39094         * dirent/Makefile: Likewise.
39095         * dlfcn/Makefile: Likewise.
39096         * gmon/Makefile: Likewise.
39097         * gnulib/Makefile: Likewise.
39098         * grp/Makefile: Likewise.
39099         * gshadow/Makefile: Likewise.
39100         * hesiod/Makefile: Likewise.
39101         * hurd/Makefile: Likewise.
39102         (all): Remove target.
39103         * iconvdata/Makefile: Include Makeconfig immediately after
39104         defining subdir.
39105         * inet/Makefile: Likewise.
39106         * intl/Makefile: Likewise.
39107         * io/Makefile: Likewise.
39108         * libio/Makefile: Likewise.
39109         (all): Remove target.
39110         * locale/Makefile: Include Makeconfig immediately after defining
39111         subdir.
39112         * login/Makefile: Likewise.
39113         * mach/Makefile: Likewise.
39114         (all): Remove target.
39115         * malloc/Makefile: Include Makeconfig immediately after defining
39116         subdir.
39117         (all): Remove target.
39118         * manual/Makefile: Include Makeconfig immediately after defining
39119         subdir.
39120         * math/Makefile: Likewise.
39121         * misc/Makefile: Likewise.
39122         * nis/Makefile: Likewise.
39123         * nss/Makefile: Likewise.
39124         * po/Makefile: Likewise.
39125         (all): Remove target.
39126         * posix/Makefile: Include Makeconfig immediately after defining
39127         subdir.
39128         * pwd/Makefile: Likewise.
39129         * resolv/Makefile: Likewise.
39130         * resource/Makefile: Likewise.
39131         * rt/Makefile: Likewise.
39132         * setjmp/Makefile: Likewise.
39133         * shadow/Makefile: Likewise.
39134         * signal/Makefile: Likewise.
39135         * socket/Makefile: Likewise.
39136         * soft-fp/Makefile: Likewise.
39137         * stdio-common/Makefile: Likewise.
39138         * stdlib/Makefile: Likewise.
39139         * streams/Makefile: Likewise.
39140         * string/Makefile: Likewise.
39141         * sunrpc/Makefile: Likewise.
39142         (all): Remove target.
39143         * sysvipc/Makefile: Include Makeconfig immediately after defining
39144         subdir.
39145         * termios/Makefile: Likewise.
39146         * time/Makefile: Likewise.
39147         * timezone/Makefile: Likewise.
39148         (all): Remove target.
39149         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39150         subdir.
39151         * wctype/Makefile: Likewise.
39153 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39155         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39156         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39157         (libc_feholdexcept_setround_mips): Ditto.
39158         (libc_feholdsetround): New.
39159         (libc_feholdsetroundf): New.
39160         (libc_feholdsetroundl): New.
39161         (libc_feupdateenv_test_mips): New.
39162         (libc_feupdateenv_test): New.
39163         (libc_feupdateenv_testf): New.
39164         (libc_feupdateenv_testl): New.
39165         (libc_feresetround): New.
39166         (libc_feresetroundf): New.
39167         (libc_feresetroundl): New.
39168         (libc_fetestexcept_mips): New.
39169         (libc_fetestexcept): New.
39170         (libc_fetestexceptf): New.
39171         (libc_fetestexceptl): New.
39172         (HAVE_RM_CTX): New.
39173         (libc_feholdexcept_setround_mips_ctx): New.
39174         (libc_feholdexcept_setround_ctx): New.
39175         (libc_feholdexcept_setroundf_ctx): New.
39176         (libc_feholdexcept_setroundl_ctx): New.
39177         (libc_fesetenv_mips_ctx): New.
39178         (libc_fesetenv_ctx): New.
39179         (libc_fesetenv_ctxf): New.
39180         (libc_fesetenv_ctxl): New.
39181         (libc_feupdateenv_mips_ctx): New.
39182         (libc_feupdateenv_ctx): New.
39183         (libc_feupdateenvf_ctx): New.
39184         (libc_feupdateenvl_ctx): New.
39185         (libc_feholdsetround_mips_ctx): New.
39186         (libc_feholdsetround_ctx): New.
39187         (libc_feholdsetroundf_ctx): New.
39188         (libc_feholdsetroundl_ctx): New.
39189         (libc_feresetround_mips_ctx): New.
39190         (libc_feresetround_ctx): New.
39191         (libc_feresetroundf_ctx): New.
39192         (libc_feresetroundl_ctx): New.
39194 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39196         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39198         * manual/ipc.texi: New file.
39199         * manual/Makefile (chapters): Add ipc.
39200         * manual/job.texi: Add "Inter-Process Communication" to next.
39201         * manual/process.texi: Add "Inter-Process Communication" to prev.
39203 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39207 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39209         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39211         * manual/arith.texi: Fix spaces after sentences.
39212         * manual/charset.texi: Likewise.
39213         * manual/errno.texi: Likewise.
39214         * manual/install.texi: Likewise.
39215         * manual/llio.texi: Likewise.
39216         * manual/locale.texi: Likewise.
39217         * manual/maint.texi: Likewise.
39218         * manual/math.texi: Likewise.
39219         * manual/memory.texi: Likewise.
39220         * manual/message.texi: Likewise.
39221         * manual/probes.texi: Likewise.
39222         * manual/resource.texi: Likewise.
39223         * manual/signal.texi: Likewise.
39224         * manual/socket.texi: Likewise.
39225         * manual/stdio.texi: Likewise.
39226         * manual/string.texi: Likewise.
39227         * manual/time.texi: Likewise.
39228         * manual/users.texi: Likewise.
39230 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39232         [BZ #16632]
39233         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39234         _DEFAULT_SOURCE is defined.
39236 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39237             Carlos O'Donell  <carlos@redhat.com>
39239         [BZ #16613]
39240         * elf/dl-tls.c (_dl_count_modids): New function.
39241         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39242         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39243         audit library and increment generation counter.
39244         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39245         * elf/tst-audit9.c: New file.
39246         * elf/tst-auditmod9a.c: New file.
39247         * elf/tst-auditmod9b.c: New file.
39248         * elf/Makefile: Add rules to build and run tst-audit9.
39250 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39252         [BZ #15347]
39253         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39255 2014-02-25  Will Newton  <will.newton@linaro.org>
39257         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39258         (__longjmp): Restore sp and lr before restoring callee
39259         saved registers.  Add longjmp and longjmp_target
39260         SystemTap probe point.
39261         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39262         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39263         Define to zero to match jmpbuf layout.
39264         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39265         (__sigsetjmp): Save sp and lr before saving callee
39266         saved registers.  Add setjmp SystemTap probe point.
39268 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39270         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39272 2014-02-24  Andreas Schwab  <schwab@suse.de>
39274         [BZ #15804]
39275         * elf/pldd.c (wait_for_ptrace_stop): New function.
39276         (main): Call it after attaching.
39278 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39280         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39281         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39282         Versions files is now verboten.
39283         * hurd/Versions (libc: GLIBC_2.0):
39284         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39285         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39286         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39287         * mach/Versions: Likewise.
39289         * csu/Versions: Remove unused %include.
39290         * resolv/Versions: Likewise.
39292 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39294         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39295         ($(objpfx)check-local-headers.out): Likewise.
39296         ($(objpfx)begin-end-check.out): Likewise.
39297         * Makerules (check-abi-%.out): Likewise.
39298         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39299         ($(objpfx)test2.cat): Likewise.
39300         ($(objpfx)de/libc.cat): Likewise.
39301         ($(objpfx)test-gencat.out): Likewise.
39302         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39303         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39304         ($(objpfx)noload-mem): Likewise.
39305         ($(objpfx)tst-pathopt.out): Likewise.
39306         ($(objpfx)tst-rtld-load-self.out): Likewise.
39307         ($(objpfx)tst-array1-cmp.out): Likewise.
39308         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39309         ($(objpfx)tst-array2-cmp.out): Likewise.
39310         ($(objpfx)tst-array3-cmp.out): Likewise.
39311         ($(objpfx)tst-array4-cmp.out): Likewise.
39312         ($(objpfx)tst-array5-cmp.out): Likewise.
39313         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39314         ($(objpfx)check-textrel.out): Likewise.
39315         ($(objpfx)check-execstack.out): Likewise.
39316         ($(objpfx)check-localplt.out): Likewise.
39317         ($(objpfx)order2-cmp.out): Likewise.
39318         ($(objpfx)tst-leaks1-mem): Likewise.
39319         ($(objpfx)tst-leaks1-static-mem): Likewise.
39320         ($(objpfx)tst-initorder-cmp.out): Likewise.
39321         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39322         ($(objpfx)tst-unused-dep.out): Likewise.
39323         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39324         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39325         * iconv/Makefile (test-iconvconfig): Likewise.
39326         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39327         ($(objpfx)iconv-test.out): Likewise.
39328         ($(objpfx)tst-tables.out): Likewise.
39329         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39330         ($(objpfx)tst-gettext.out): Likewise.
39331         ($(objpfx)tst-translit.out): Likewise.
39332         ($(objpfx)tst-gettext2.out): Likewise.
39333         ($(objpfx)tst-gettext4.out): Likewise.
39334         ($(objpfx)tst-gettext6.out): Likewise.
39335         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39336         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39337         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39338         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39339         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39340         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39341         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39342         ($(objpfx)wordexp-tst.out): Likewise.
39343         ($(objpfx)annexc.out): Likewise.
39344         ($(objpfx)tst-fnmatch-mem): Likewise.
39345         ($(objpfx)bug-regex2-mem): Likewise.
39346         ($(objpfx)bug-regex14-mem): Likewise.
39347         ($(objpfx)bug-regex21-mem): Likewise.
39348         ($(objpfx)bug-regex31-mem): Likewise.
39349         ($(objpfx)tst-vfork3-mem): Likewise.
39350         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39351         ($(objpfx)tst-pcre-mem): Likewise.
39352         ($(objpfx)tst-boost-mem): Likewise.
39353         ($(objpfx)tst-getconf.out): Likewise.
39354         ($(objpfx)bug-ga2-mem): Likewise.
39355         ($(objpfx)bug-glob2-mem): Likewise.
39356         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39357         ($(objpfx)mtrace-tst-leaks2): Likewise.
39358         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39359         ($(objpfx)tst-printf.out): Likewise.
39360         ($(objpfx)tst-setvbuf1.out): Likewise.
39361         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39362         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39363         ($(objpfx)tst-fmtmsg.out): Likewise.
39364         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39365         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39367         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39368         * bits/sigaction.h [__USE_MISC]: Likewise.
39369         * bits/waitstatus.h: Update #endif comments.
39370         * ctype/ctype.h: Likewise.
39371         * dirent/dirent.h: Likewise.
39372         [__USE_MISC]: Remove redundant conditionals.
39373         * grp/grp.h: Update #endif comments.
39374         [__USE_GNU]: Remove redundant conditionals.
39375         [__USE_MISC]: Likewise.
39376         * inet/netinet/in.h [__USE_GNU]: Likewise.
39377         * io/sys/stat.h [__USE_MISC]: Likewise.
39378         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39379         * libio/bits/stdio.h: Update #endif comments.
39380         [__USE_MISC]: Remove redundant conditionals.
39381         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39382         * libio/stdio.h: Update #endif comments.
39383         [__USE_MISC]: Remove redundant conditionals.
39384         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39385         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39386         * math/math.h: Update #else and #endif comments.
39387         [__USE_MISC]: Remove redundant conditionals.
39388         * misc/sys/uio.h: Update #endif comments.
39389         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39390         * posix/glob.h [__USE_MISC]: Likewise.
39391         * posix/sys/types.h: Update #endif comments.
39392         [__USE_MISC]: Remove redundant conditionals.
39393         * posix/sys/wait.h: Update #endif comments.
39394         [__USE_MISC]: Remove redundant conditionals.
39395         * posix/unistd.h: Update #endif comments.
39396         [__USE_MISC]: Remove redundant conditionals.
39397         * pwd/pwd.h [__USE_GNU]: Likewise.
39398         [__USE_MISC]: Likewise.
39399         * resolv/netdb.h [__USE_GNU]: Likewise.
39400         * signal/signal.h: Update #endif comments.
39401         [__USE_MISC]: Remove redundant conditionals.
39402         * stdlib/stdlib.h: Update #else and #endif comments.
39403         [__USE_MISC]: Remove redundant conditionals.
39404         [__USE_GNU]: Likewise.
39405         * string/bits/string2.h [__USE_MISC]: Likewise.
39406         * string/string.h: Update #endif comments.
39407         [__USE_MISC]: Remove redundant conditionals.
39408         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39409         Likewise.
39410         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39411         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39412         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39413         Likewise.
39414         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39415         Likewise.
39416         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39417         comments.
39418         [__USE_MISC]: Remove redundant conditionals.
39419         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39420         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39421         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39422         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39423         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39424         Likewise.
39425         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39426         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39427         Likewise.
39428         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39429         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39430         Likewise.
39431         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39432         Likewise.
39433         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39434         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39435         Likewise.
39436         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39437         Likewise.
39438         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39439         * sysdeps/x86/bits/string.h: Update #endif comments.
39440         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39441         conditionals.
39442         * time/sys/time.h: Update #endif comments.
39443         * time/time.h: Likewise.
39444         [__USE_MISC]: Remove redundant conditionals.
39446 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39448         [BZ #16600]
39449         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39451 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39453         * Versions.def (librt): Add GLIBC_2.17.
39455 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39457         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39458         synonym for _SYS_AUXV_H to allow direct inclusion.
39459         * sysdeps/sparc/bits/hwcap.h: Likewise.
39460         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39461         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39462         * sysdeps/sparc/sysdep.h: Likewise.
39464 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39466         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39468 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39470         * benchtests/bench-strrchr.c: Print length instead of position.
39472 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39474         [BZ #16611]
39475         * sysdeps/unix/sysv/linux/kernel-features.h
39476         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39477         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39478         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39479         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39480         Likewise.
39481         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39482         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39483         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39484         (__ASSUME_SENDMMSG): Define instead of using previous
39485         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39486         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39487         (__ASSUME_SENDMMSG_SYSCALL): Define.
39488         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39489         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39490         Likewise.
39491         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39492         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39493         Likewise.
39494         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39495         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39496         Likewise.
39497         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39498         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39499         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39500         [__ASSUME_SENDMMSG]: Change conditionals to
39501         [__ASSUME_SENDMMSG_SOCKETCALL].
39502         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39503         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39504         Define.
39505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39506         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39507         Likewise.
39508         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39509         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39510         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39511         [!__ASSUME_SENDMMSG]: Change conditional to
39512         [!__ASSUME_SENDMMSG_SOCKETCALL].
39513         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39514         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39515         Define.
39517         [BZ #16610]
39518         * sysdeps/unix/sysv/linux/kernel-features.h
39519         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39520         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39521         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39522         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39523         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39524         [__i386__ || __sparc__]
39525         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39526         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39527         (__ASSUME_RECVMMSG): Define instead of using previous
39528         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39529         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39530         (__ASSUME_RECVMMSG_SYSCALL): Define.
39531         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39532         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39533         Likewise.
39534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39535         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39536         Likewise.
39537         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39538         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39539         Likewise.
39540         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39541         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39542         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39543         [__ASSUME_RECVMMSG]: Change condition to
39544         [__ASSUME_RECVMMSG_SOCKETCALL].
39545         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39546         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39547         Define.
39548         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39549         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39550         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39551         Likewise.
39552         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39553         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39554         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39555         [!__ASSUME_RECVMMSG]: Change condition to
39556         [!__ASSUME_RECVMMSG_SOCKETCALL].
39557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39558         (__ASSUME_RECVMMSG_SYSCALL): Define.
39560         [BZ #16609]
39561         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39562         __powerpc__ || __s390__ || __sh__ || __sparc__]
39563         (__ASSUME_SOCKETCALL): Define.
39564         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39565         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39566         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39567         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39568         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39569         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39570         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39571         (__ASSUME_ACCEPT4): Define instead of using previous
39572         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39573         __powerpc__ || __sparc__ || __s390__)] condition.
39574         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39575         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39576         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39577         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39578         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39579         [!__ASSUME_ACCEPT4]: Change condition to
39580         [!__ASSUME_ACCEPT4_SOCKETCALL].
39581         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39582         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39583         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39584         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39585         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39586         __ASSUME_ACCEPT4_SYSCALL.
39587         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39588         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39589         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39590         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39591         __ASSUME_ACCEPT4_SYSCALL.
39592         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39593         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39594         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39595         [__ASSUME_ACCEPT4]: Change condition to
39596         [__ASSUME_ACCEPT4_SOCKETCALL].
39597         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39598         (__ASSUME_SOCKETCALL): Define.
39599         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39601         (__ASSUME_SOCKETCALL): Define.
39602         (__ASSUME_ACCEPT4): Remove.
39603         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39604         Define.
39605         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39606         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39607         Likewise.
39608         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39609         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39611         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39612         macro.
39613         (HWCAP_ARM_LPAE): Likewise.
39614         (HWCAP_ARM_EVTSTRM): Likewise.
39615         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39616         Add vpfd32, lpae and evtstrm.
39617         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39618         Increase to 22.
39620 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39622         * math/auto-libm-test-in: Add tests of clog10.
39623         * math/auto-libm-test-out: Regenerated.
39624         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39625         * sysdeps/i386/fpu/libm-test-ulps: Update.
39626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39628 2014-02-18  Andreas Schwab  <schwab@suse.de>
39630         [BZ #16574]
39631         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39632         Store non-zero if the second buffer was newly allocated.
39633         (send_dg): Likewise.
39634         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39635         to send_vc and send_dg.
39636         (res_nsend): Pass NULL for ansp2_malloced.
39637         * resolv/res_query.c (__libc_res_nquery): Add parameter
39638         answerp2_malloced and pass it down to __libc_res_nsend.
39639         (res_nquery): Pass additional NULL to __libc_res_nquery.
39640         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39641         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39642         second answer buffer if answerp2_malloced was set.
39643         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39644         (__libc_res_nquerydomain): Add parameter
39645         answerp2_malloced and pass it down to __libc_res_nquery.
39646         (res_nquerydomain): Pass additional NULL to
39647         __libc_res_nquerydomain.
39648         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39649         additional NULL to __libc_res_nsend and __libc_res_nquery.
39650         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39651         additional NULL to __libc_res_nsearch.
39652         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39653         parameter of __libc_res_nsearch to check for separately allocated
39654         second buffer.
39655         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39656         __libc_res_nquery.
39657         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39658         additional NULL to __libc_res_nquery.
39659         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39660         __libc_res_nsearch.
39661         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39662         * include/resolv.h: Update prototypes of __libc_res_nquery,
39663         __libc_res_nsearch, __libc_res_nsend.
39665 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39667         * math/auto-libm-test-in: Add tests of fma.
39668         * math/auto-libm-test-out: Regenerated.
39669         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39670         (fma_towardzero_test_data): Likewise.
39671         (fma_downward_test_data): Likewise.
39672         (fma_upward_test_data): Likewise.
39673         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39674         mpc_mode.
39675         (rounding_modes): Add values for new field.
39676         (func_calc_method): Add value mpfr_fff_f.
39677         (func_calc_desc): Add mpfr_fff_f union field.
39678         (test_function): Add field exact_args.
39679         (FUNC): Add macro argument EXACT_ARGS.
39680         (FUNC_mpfr_f_f): Update call to FUNC.
39681         (FUNC_mpfr_f_f): Likewise.
39682         (FUNC_mpfr_ff_f): Likewise.
39683         (FUNC_mpfr_if_f): Likewise.
39684         (FUNC_mpc_c_f): Likewise.
39685         (FUNC_mpc_c_c): Likewise.
39686         (test_functions): Add fma.  Update calls to FUNC.
39687         (handle_input_arg): Add argument exact_args.
39688         (add_test): Update call to handle_input_arg.
39689         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39690         (output_for_one_input_case): Update call to calc_generic_results.
39691         Recalculate exact zero results in each rounding mode.
39693         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39694         non-negative before setting low bit.
39695         * math/auto-libm-test-in: Mark one asin test possibly having
39696         spurious underflow.
39697         * math/auto-libm-test-out: Regenerated.
39698         * sysdeps/i386/fpu/libm-test-ulps: Update.
39699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39701 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39703         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39704         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39705         ports/sysdeps/unix/sysv/linux/microblaze.
39706         * README: Add missing listing for microblaze*-*-linux-gnu.
39708 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39710         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39711         duplicate code
39713 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39715         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39716         * sysdeps/unix/sysv/linux/ia64: Move directory from
39717         ports/sysdeps/unix/sysv/linux/ia64.
39718         * README: Update listing for ia64-*-linux-gnu.
39720 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39721             Joseph Myers  <joseph@codesourcery.com>
39723         * Makeconfig (test-name): New variable.
39724         (evaluate-test): Likewise.
39725         * Makerules (do-test-clean): Remove .test-result files.
39726         (common-mostlyclean): Likewise.
39727         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39728         * scripts/evaluate-test.sh: New file.
39730 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39732         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39733         separate $(objpfx)tst-fopenloc-cmp.out and
39734         $(objpfx)tst-fopenloc-mem.out targets.
39735         (tests): Update dependencies.
39736         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39737         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39738         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39739         (tst-rxspencer-no-utf8-ARGS): New variable.
39740         (tst-rxspencer-no-utf8-ENV): Likewise.
39741         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39742         instead of $(objpfx)tst-rxspencer-mem.
39743         ($(objpfx)tst-rxspencer-mem): Change target to
39744         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39745         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39746         * posix/tst-rxspencer-no-utf8.c: New file.
39748         * elf/Makefile ($(objpfx)order.out): Remove rule.
39749         [$(run-built-tests) = yes] (tests): Depend on
39750         $(objpfx)order-cmp.out.
39751         ($(objpfx)order-cmp.out): New rule.
39752         [$(run-built-tests) = yes] (tests): Depend on
39753         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39754         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39755         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39756         $(objpfx)tst-array5-static-cmp.out.
39757         ($(objpfx)tst-array1.out): Remove rule.
39758         ($(objpfx)tst-array1-cmp.out): New rule.
39759         ($(objpfx)tst-array1-static.out): Remove rule.
39760         ($(objpfx)tst-array1-static-cmp.out): New rule.
39761         ($(objpfx)tst-array2.out): Remove rule.
39762         ($(objpfx)tst-array2-cmp.out): New rule.
39763         ($(objpfx)tst-array3.out): Remove rule.
39764         ($(objpfx)tst-array3-cmp.out): New rule.
39765         ($(objpfx)tst-array4.out): Remove rule.
39766         ($(objpfx)tst-array4-cmp.out): New rule.
39767         ($(objpfx)tst-array5.out): Remove rule.
39768         ($(objpfx)tst-array5-cmp.out): New rule.
39769         ($(objpfx)tst-array5-static.out): Remove rule.
39770         ($(objpfx)tst-array5-static-cmp.out): New rule.
39771         [$(run-built-tests) = yes] (tests): Depend on
39772         $(objpfx)order2-cmp.out.
39773         ($(objpfx)order2.out): Remove rule.
39774         ($(objpfx)order2-cmp.out): New rule.
39775         ($(objpfx)tst-initorder.out): Remove rule.
39776         [$(run-built-tests) = yes] (tests): Depend on
39777         $(objpfx)tst-initorder-cmp.out.
39778         ($(objpfx)tst-initorder-cmp.out): New rule.
39779         ($(objpfx)tst-initorder2.out): Remove rule.
39780         [$(run-built-tests) = yes] (tests): Depend on
39781         $(objpfx)tst-initorder2-cmp.out.
39782         ($(objpfx)tst-initorder2-cmp.out): New rule.
39783         [$(run-built-tests) = yes] (tests): Depend on
39784         $(objpfx)tst-unused-dep-cmp.out.
39785         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39786         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39787         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39788         on $(objpfx)tst-setvbuf1-cmp.out.
39789         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39790         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39791         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39792         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39793         ($(objpfx)tst-svc.out): Remove rule.
39794         ($(objpfx)tst-svc-cmp.out): New rule.
39796 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39798         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39799         * ctype/ctype.h [__USE_MISC]: Likewise.
39800         * dirent/dirent.h [__USE_MISC]: Likewise.
39801         * grp/grp.h [__USE_MISC]: Likewise.
39802         * io/fcntl.h [__USE_MISC]: Likewise.
39803         * io/sys/stat.h [__USE_MISC]: Likewise.
39804         * libio/stdio.h [__USE_MISC]: Likewise.
39805         * posix/unistd.h [__USE_MISC]: Likewise.
39806         * pwd/pwd.h [__USE_MISC]: Likewise.
39807         * stdlib.h [__USE_MISC]: Likewise.
39808         * string/bits/string2.h [__USE_MISC]: Likewise.
39809         * string/string.h [__USE_MISC]: Likewise.
39810         * time/time.h [__USE_MISC]: Likewise.
39812 2014-02-13  Andreas Schwab  <schwab@suse.de>
39814         [BZ #16574]
39815         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39816         second answer buffer if it was separately allocated.
39818 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39820         * sysdeps/mips/math-tests.h: Include <features.h>.
39821         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39822         (ROUNDING_TESTS_long_double): Do not define.
39823         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39824         (EXCEPTION_TESTS_long_double): Likewise.
39825         * sysdeps/mips/mips64/libm-test-ulps: Update.
39827         * include/features.h (__USE_BSD): Remove macro definitions.
39828         (__USE_SVID): Likewise.
39829         (_BSD_SOURCE): Likewise.
39830         (_SVID_SOURCE): Likewise.
39831         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39832         from definition of _DEFAULT_SOURCE.
39833         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39834         [_DEFAULT_SOURCE].
39835         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39836         * bits/mman.h [__USE_BSD]: Likewise.
39837         * bits/termios.h [__USE_BSD]: Likewise.
39838         * bits/waitstatus.h [__USE_BSD]: Likewise.
39839         * ctype/ctype.h [__USE_SVID]: Likewise.
39840         * dirent/dirent.h [__USE_BSD]: Likewise.
39841         * grp/grp.h [__USE_SVID]: Likewise.
39842         [__USE_BSD]: Likewise.
39843         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39844         * io/fcntl.h [__USE_BSD]: Likewise.
39845         * io/ftw.h [__USE_BSD]: Likewise.
39846         * io/sys/stat.h [__USE_BSD]: Likewise.
39847         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39848         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39849         * libio/stdio.h [__USE_SVID]: Likewise.
39850         [__USE_BSD]: Likewise.
39851         * math/math.h [__USE_SVID]: Likewise.
39852         [__USE_BSD]: Likewise.
39853         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39854         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39855         * misc/search.h [__USE_SVID]: Likewise.
39856         * misc/sys/mman.h [__USE_BSD]: Likewise.
39857         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39858         * misc/sys/uio.h [__USE_BSD]: Likewise.
39859         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39860         * posix/glob.h [__USE_BSD]: Likewise.
39861         * posix/regex.h [__USE_BSD]: Likewise.
39862         * posix/sys/types.h [__USE_BSD]: Likewise.
39863         [__USE_SVID]: Likewise.
39864         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39865         * posix/sys/wait.h [__USE_BSD]: Likewise.
39866         [__USE_SVID]: Likewise.
39867         * posix/unistd.h [__USE_BSD]: Likewise.
39868         [__USE_SVID]: Likewise.
39869         * pwd/pwd.h [__USE_SVID]: Likewise.
39870         * resolv/netdb.h [__USE_BSD]: Likewise.
39871         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39872         * signal/signal.h [__USE_BSD]: Likewise.
39873         [__USE_SVID]: Likewise.
39874         * socket/sys/socket.h [__USE_BSD]: Likewise.
39875         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39876         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39877         [__USE_SVID]: Likewise.
39878         * string/bits/string2.h [__USE_BSD]: Likewise.
39879         [__USE_SVID]: Likewise.
39880         * string/bits/string3.h [__USE_BSD]: Likewise.
39881         * string/endian.h [__USE_BSD]: Likewise.
39882         * string/string.h [__USE_SVID]: Likewise.
39883         [__USE_BSD]: Likewise.
39884         * string/strings.h [__USE_BSD]: Likewise.
39885         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39886         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39887         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39888         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39889         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39890         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39891         Likewise.
39892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39893         Likewise.
39894         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39895         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39896         Likewise.
39897         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39898         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39899         Likewise.
39900         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39901         Likewise.
39902         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39903         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39904         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39905         Likewise.
39906         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39907         Likewise.
39908         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39909         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39910         * termios/termios.h [__USE_BSD]: Likewise.
39911         * time/sys/time.h [__USE_BSD]: Likewise.
39912         * time/time.h [__USE_BSD]: Likewise.
39913         [__USE_SVID]: Likewise.
39915         * Makefile (subdir_targets): Remove subdir_lint.out.
39917         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39918         (do-tst-printf): Likewise.
39919         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39920         $(objpfx)tst-printf.out.
39922         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39924         * Makerules (check-abi-%): Change target to
39925         $(objpfx)check-abi-%.out.
39926         (check-abi target): Update dependencies.
39927         (check-abi-pattern variable): Redirect output of diff to $@.
39928         (check-abi variable): Likewise.
39929         * elf/Makefile (check-abi): Update dependencies.
39931         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39932         unused.
39933         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39934         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39935         subnormal range.
39936         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39937         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39938         value has largest subnormal exponent.
39939         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39940         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39941         * sysdeps/aarch64/soft-fp/sfp-machine.h
39942         (_FP_TININESS_AFTER_ROUNDING): New macro.
39943         * sysdeps/alpha/soft-fp/sfp-machine.h
39944         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39945         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39946         Likewise.
39947         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39948         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39949         * sysdeps/mips/soft-fp/sfp-machine.h
39950         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39951         * sysdeps/powerpc/soft-fp/sfp-machine.h
39952         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39953         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39954         Likewise.
39955         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39956         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39957         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39958         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39959         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39960         Likewise.
39962 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39964         [BZ #16545]
39965         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39966         model 1.
39968 2014-02-12  Richard Henderson  <rth@redhat.com>
39970         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39971         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39972         * sysdeps/unix/sysv/linux/alpha: Move directory from
39973         ports/sysdeps/unix/sysv/linux/alpha.
39974         * README: Update listing for alpha-*-linux-gnu.
39976 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39978         * include/features.h: Update comment documenting feature test
39979         macros.
39980         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39981         _DEFAULT_SOURCE.
39982         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39983         (_SVID_SOURCE): Likewise.
39984         (_DEFAULT_SOURCE): Update description of default features.
39985         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39986         with _GNU_SOURCE.
39987         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39988         (S_ISVTX): Likewise.
39989         * manual/math.texi (Mathematical Constants): Likewise.
39990         * manual/signal.texi (Interrupted Primitives): Likewise.
39991         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39992         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39993         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39994         Don't refer to _SVID_SOURCE in warning text.
39996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39998         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39999         already defined.
40000         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40001         * sysdeps/mips/dl-lookup.c: Remove.
40002         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40004 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40006         [BZ #16447]
40007         * math/auto-libm-test-in: Add testcase for expl.
40008         * math/auto-libm-test-out: Regenerate.
40009         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40010         calculation of unsafe.
40011         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40013 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40015         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40016         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40017         ports/sysdeps/unix/sysv/linux/aarch64.
40018         * README: Update listing for aarch64*-*-linux-gnu.
40020 2014-02-11  Will Newton  <will.newton@linaro.org>
40022         * manual/probes.texi (Mathematical Function Probes): Use
40023         "triggered" instead of "hit".
40025         * manual/probes.texi (Internal Probes): Add documentation
40026         of setjmp, longjmp and longjmp_target probes.
40028         * include/stap-probe.h: Add comment about probe argument
40029         format.
40031         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40032         definition.  (tr_where, tr_freehook, tr_mallochook,
40033         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40035 2014-02-11  David S. Miller  <davem@davemloft.net>
40037         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40038         processing int_tests.
40040 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40042         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40043         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40044         * sysdeps/unix/sysv/linux/mips: Move directory from
40045         ports/sysdeps/unix/sysv/linux/mips.
40046         * README: Update listing for mips-*-linux-gnu and
40047         mips64-*-linux-gnu.
40049 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40051         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40052         * sysdeps/unix/sysv/linux/m68k: Move directory from
40053         ports/sysdeps/unix/sysv/linux/m68k.
40054         * README: Update listing for m68k-*-linux-gnu.
40056 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40058         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40059         * sysdeps/unix/sysv/linux/generic: Move directory from
40060         ports/sysdeps/unix/sysv/linux/generic.
40061         * sysdeps/unix/sysv/linux/tile: Move directory from
40062         ports/sysdeps/unix/sysv/linux/tile.
40063         * README: Update listing for tile*-*-linux-gnu.
40065 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40067         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40068         __builtin_expect.
40069         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40070         * catgets/open_catalog.c (__open_catalog): Likewise.
40071         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40072         * debug/confstr_chk.c: Likewise.
40073         * debug/fread_chk.c (__fread_chk): Likewise.
40074         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40075         * debug/getgroups_chk.c: Likewise.
40076         * debug/mbsnrtowcs_chk.c: Likewise.
40077         * debug/mbsrtowcs_chk.c: Likewise.
40078         * debug/mbstowcs_chk.c: Likewise.
40079         * debug/memcpy_chk.c: Likewise.
40080         * debug/memmove_chk.c: Likewise.
40081         * debug/mempcpy_chk.c: Likewise.
40082         * debug/memset_chk.c: Likewise.
40083         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40084         * debug/strcat_chk.c (__strcat_chk): Likewise.
40085         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40086         * debug/strncat_chk.c (__strncat_chk): Likewise.
40087         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40088         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40089         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40090         * debug/wcpncpy_chk.c: Likewise.
40091         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40092         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40093         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40094         * debug/wcsncpy_chk.c: Likewise.
40095         * debug/wcsnrtombs_chk.c: Likewise.
40096         * debug/wcsrtombs_chk.c: Likewise.
40097         * debug/wcstombs_chk.c: Likewise.
40098         * debug/wmemcpy_chk.c: Likewise.
40099         * debug/wmemmove_chk.c: Likewise.
40100         * debug/wmempcpy_chk.c: Likewise.
40101         * debug/wmemset_chk.c: Likewise.
40102         * dirent/scandirat.c (SCANDIRAT): Likewise.
40103         * dlfcn/dladdr1.c (dladdr1): Likewise.
40104         * dlfcn/dladdr.c (dladdr): Likewise.
40105         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40106         * dlfcn/dlerror.c (__dlerror): Likewise.
40107         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40108         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40109         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40110         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40111         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40112         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40113         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40114         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40115         Likewise.
40116         * elf/dl-conflict.c: Likewise.
40117         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40118         * elf/dl-dst.h: Likewise.
40119         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40120         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40121         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40122         * elf/dl-init.c (call_init, _dl_init): Likewise.
40123         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40124         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40125         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40126         Likewise.
40127         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40128         Likewise.
40129         * elf/dl-minimal.c (__libc_memalign): Likewise.
40130         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40131         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40132         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40133         * elf/dl-sym.c (do_sym): Likewise.
40134         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40135         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40136         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40137         * elf/dl-writev.h (_dl_writev): Likewise.
40138         * elf/ldconfig.c (search_dir): Likewise.
40139         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40140         (dl_main): Likewise.
40141         * elf/setup-vdso.h (setup_vdso): Likewise.
40142         * grp/compat-initgroups.c (compat_call): Likewise.
40143         * grp/fgetgrent.c (fgetgrent): Likewise.
40144         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40145         * grp/putgrent.c (putgrent): Likewise.
40146         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40147         Likewise.
40148         * hurd/hurdinit.c: Likewise.
40149         * iconvdata/8bit-gap.c (struct): Likewise.
40150         * iconvdata/ansi_x3.110.c : Likewise.
40151         * iconvdata/big5.c : Likewise.
40152         * iconvdata/big5hkscs.c : Likewise.
40153         * iconvdata/cp1255.c: Likewise.
40154         * iconvdata/cp1258.c : Likewise.
40155         * iconvdata/cp932.c : Likewise.
40156         * iconvdata/euc-cn.c: Likewise.
40157         * iconvdata/euc-jisx0213.c : Likewise.
40158         * iconvdata/euc-jp.c: Likewise.
40159         * iconvdata/euc-jp-ms.c : Likewise.
40160         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40161         * iconvdata/gb18030.c : Likewise.
40162         * iconvdata/gbbig5.c (const): Likewise.
40163         * iconvdata/gbgbk.c: Likewise.
40164         * iconvdata/gbk.c : Likewise.
40165         * iconvdata/ibm1364.c : Likewise.
40166         * iconvdata/ibm930.c : Likewise.
40167         * iconvdata/ibm932.c: Likewise.
40168         * iconvdata/ibm933.c : Likewise.
40169         * iconvdata/ibm935.c : Likewise.
40170         * iconvdata/ibm937.c : Likewise.
40171         * iconvdata/ibm939.c : Likewise.
40172         * iconvdata/ibm943.c: Likewise.
40173         * iconvdata/iso_11548-1.c: Likewise.
40174         * iconvdata/iso-2022-cn.c : Likewise.
40175         * iconvdata/iso-2022-cn-ext.c : Likewise.
40176         * iconvdata/iso-2022-jp-3.c: Likewise.
40177         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40178         * iconvdata/iso-2022-kr.c : Likewise.
40179         * iconvdata/iso646.c (gconv_end): Likewise.
40180         * iconvdata/iso_6937-2.c : Likewise.
40181         * iconvdata/iso_6937.c : Likewise.
40182         * iconvdata/iso8859-1.c: Likewise.
40183         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40184         * iconvdata/shift_jisx0213.c : Likewise.
40185         * iconvdata/sjis.c : Likewise.
40186         * iconvdata/t.61.c : Likewise.
40187         * iconvdata/tcvn5712-1.c : Likewise.
40188         * iconvdata/tscii.c: Likewise.
40189         * iconvdata/uhc.c : Likewise.
40190         * iconvdata/unicode.c (gconv_end): Likewise.
40191         * iconvdata/utf-16.c (gconv_end): Likewise.
40192         * iconvdata/utf-32.c (gconv_end): Likewise.
40193         * iconvdata/utf-7.c (base64): Likewise.
40194         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40195         * iconv/gconv_close.c (__gconv_close): Likewise.
40196         * iconv/gconv_open.c (__gconv_open): Likewise.
40197         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40198         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40199         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40200         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40201         (ucs4le_internal_loop_single): Likewise.
40202         * iconv/iconv.c (iconv): Likewise.
40203         * iconv/iconv_close.c: Likewise.
40204         * iconv/loop.c (SINGLE): Likewise.
40205         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40206         * include/atomic.h: Likewise.
40207         * inet/inet6_option.c (option_alloc): Likewise.
40208         * intl/bindtextdom.c (set_binding_values): Likewise.
40209         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40210         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40211         * intl/localealias.c (read_alias_file): Likewise.
40212         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40213         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40214         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40215         * libio/fmemopen.c (fmemopen): Likewise.
40216         * libio/iofgets.c (_IO_fgets): Likewise.
40217         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40218         * libio/iofgetws.c (fgetws): Likewise.
40219         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40220         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40221         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40222         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40223         * locale/findlocale.c (_nl_find_locale): Likewise.
40224         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40225         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40226         Likewise.
40227         * locale/setlocale.c (setlocale): Likewise.
40228         * login/programs/pt_chown.c (main): Likewise.
40229         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40230         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40231         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40232         (mmap, mmap64, mremap, munmap): Likewise.
40233         * math/e_exp2l.c: Likewise.
40234         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40235         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40236         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40237         * math/s_catan.c (__catan): Likewise.
40238         * math/s_catanf.c (__catanf): Likewise.
40239         * math/s_catanh.c (__catanh): Likewise.
40240         * math/s_catanhf.c (__catanhf): Likewise.
40241         * math/s_catanhl.c (__catanhl): Likewise.
40242         * math/s_catanl.c (__catanl): Likewise.
40243         * math/s_ccosh.c (__ccosh): Likewise.
40244         * math/s_ccoshf.c (__ccoshf): Likewise.
40245         * math/s_ccoshl.c (__ccoshl): Likewise.
40246         * math/s_cexp.c (__cexp): Likewise.
40247         * math/s_cexpf.c (__cexpf): Likewise.
40248         * math/s_cexpl.c (__cexpl): Likewise.
40249         * math/s_clog10.c (__clog10): Likewise.
40250         * math/s_clog10f.c (__clog10f): Likewise.
40251         * math/s_clog10l.c (__clog10l): Likewise.
40252         * math/s_clog.c (__clog): Likewise.
40253         * math/s_clogf.c (__clogf): Likewise.
40254         * math/s_clogl.c (__clogl): Likewise.
40255         * math/s_csin.c (__csin): Likewise.
40256         * math/s_csinf.c (__csinf): Likewise.
40257         * math/s_csinh.c (__csinh): Likewise.
40258         * math/s_csinhf.c (__csinhf): Likewise.
40259         * math/s_csinhl.c (__csinhl): Likewise.
40260         * math/s_csinl.c (__csinl): Likewise.
40261         * math/s_csqrt.c (__csqrt): Likewise.
40262         * math/s_csqrtf.c (__csqrtf): Likewise.
40263         * math/s_csqrtl.c (__csqrtl): Likewise.
40264         * math/s_ctan.c (__ctan): Likewise.
40265         * math/s_ctanf.c (__ctanf): Likewise.
40266         * math/s_ctanh.c (__ctanh): Likewise.
40267         * math/s_ctanhf.c (__ctanhf): Likewise.
40268         * math/s_ctanhl.c (__ctanhl): Likewise.
40269         * math/s_ctanl.c (__ctanl): Likewise.
40270         * math/w_pow.c: Likewise.
40271         * math/w_powf.c: Likewise.
40272         * math/w_powl.c: Likewise.
40273         * math/w_scalb.c (sysv_scalb): Likewise.
40274         * math/w_scalbf.c (sysv_scalbf): Likewise.
40275         * math/w_scalbl.c (sysv_scalbl): Likewise.
40276         * misc/error.c (error_tail): Likewise.
40277         * misc/pselect.c (__pselect): Likewise.
40278         * nis/nis_callback.c (__nis_create_callback): Likewise.
40279         * nis/nis_call.c (__nisfind_server): Likewise.
40280         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40281         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40282         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40283         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40284         * nis/nis_lookup.c (nis_lookup): Likewise.
40285         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40286         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40287         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40288         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40289         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40290         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40291         * nis/nss_compat/compat-initgroups.c (add_group)
40292         (internal_getgrent_r): Likewise.
40293         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40294         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40295         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40296         (internal_getspnam_r): Likewise.
40297         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40298         (_nss_nis_getaliasbyname_r): Likewise.
40299         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40300         (_nss_nis_getntohost_r): Likewise.
40301         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40302         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40303         (_nss_nis_getgrgid_r): Likewise.
40304         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40305         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40306         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40307         (_nss_nis_gethostbyname4_r): Likewise.
40308         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40309         (initgroups_netid): Likewise.
40310         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40311         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40312         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40313         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40314         (_nss_nis_getprotobynumber_r): Likewise.
40315         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40316         (_nss_nis_getsecretkey): Likewise.
40317         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40318         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40319         (_nss_nis_getpwuid_r): Likewise.
40320         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40321         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40322         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40323         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40324         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40325         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40326         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40327         Likewise.
40328         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40329         (_nss_nisplus_getntohost_r): Likewise.
40330         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40331         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40332         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40333         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40334         Likewise.
40335         * nis/nss_nisplus/nisplus-initgroups.c
40336         (_nss_nisplus_initgroups_dyn): Likewise.
40337         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40338         (_nss_nisplus_getnetbyaddr_r): Likewise.
40339         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40340         (_nss_nisplus_getprotobynumber_r): Likewise.
40341         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40342         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40343         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40344         Likewise.
40345         * nis/nss_nisplus/nisplus-service.c
40346         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40347         (_nss_nisplus_getservbyport_r): Likewise.
40348         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40349         (_nss_nisplus_getspnam_r): Likewise.
40350         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40351         Likewise.
40352         * nscd/aicache.c (addhstaiX): Likewise.
40353         * nscd/cache.c (cache_search, prune_cache): Likewise.
40354         * nscd/connections.c (register_traced_file, send_ro_fd)
40355         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40356         (main_loop_epoll): Likewise.
40357         * nscd/grpcache.c (addgrbyX): Likewise.
40358         * nscd/hstcache.c (addhstbyX): Likewise.
40359         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40360         * nscd/mem.c (gc, mempool_alloc): Likewise.
40361         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40362         (addinnetgrX): Likewise.
40363         * nscd/nscd-client.h (__nscd_acquire_maplock)
40364         (__nscd_drop_map_ref): Likewise.
40365         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40366         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40367         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40368         Likewise.
40369         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40370         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40371         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40372         (__nscd_get_map_ref): Likewise.
40373         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40374         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40375         Likewise.
40376         * nscd/pwdcache.c (addpwbyX): Likewise.
40377         * nscd/selinux.c (preserve_capabilities): Likewise.
40378         * nscd/servicescache.c (addservbyX): Likewise.
40379         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40380         * posix/fnmatch.c (fnmatch): Likewise.
40381         * posix/getopt.c (_getopt_internal_r): Likewise.
40382         * posix/glob.c (glob, glob_in_dir): Likewise.
40383         * posix/wordexp.c (exec_comm_child): Likewise.
40384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40385         (getanswer_r, gaih_getanswer_slice): Likewise.
40386         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40387         * resolv/res_init.c: Likewise.
40388         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40389         * resolv/res_query.c (__libc_res_nquery): Likewise.
40390         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40391         Likewise.
40392         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40393         * stdio-common/perror.c (perror): Likewise.
40394         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40395         * stdio-common/tmpnam.c (tmpnam): Likewise.
40396         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40397         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40398         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40399         Likewise.
40400         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40401         * stdlib/putenv.c (putenv): Likewise.
40402         * stdlib/setenv.c (__add_to_environ): Likewise.
40403         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40404         * stdlib/strtol_l.c (INTERNAL): Likewise.
40405         * string/memmem.c (memmem): Likewise.
40406         * string/strerror.c (strerror): Likewise.
40407         * string/strnlen.c (__strnlen): Likewise.
40408         * string/test-memmem.c (simple_memmem): Likewise.
40409         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40410         * sunrpc/pm_getport.c (__get_socket): Likewise.
40411         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40412         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40413         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40414         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40415         Likewise.
40416         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40417         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40418         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40419         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40420         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40421         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40422         Likewise.
40423         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40424         Likewise.
40425         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40426         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40427         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40428         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40429         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40431         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40432         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40433         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40434         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40435         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40436         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40437         Likewise.
40438         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40439         Likewise.
40440         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40441         Likewise.
40442         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40443         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40444         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40445         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40446         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40447         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40448         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40449         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40451         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40452         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40453         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40454         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40455         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40457         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40458         Likewise.
40459         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40460         Likewise.
40461         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40462         Likewise.
40463         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40464         Likewise.
40465         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40466         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40467         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40468         Likewise.
40469         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40470         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40471         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40472         * sysdeps/posix/sleep.c: Likewise.
40473         * sysdeps/posix/tempname.c: Likewise.
40474         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40475         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40476         Likewise.
40477         * sysdeps/powerpc/powerpc32/dl-machine.h
40478         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40479         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40480         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40481         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40482         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40483         Likewise.
40484         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40486         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40487         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40488         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40489         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40490         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40491         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40492         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40493         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40494         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40495         (elf_machine_lazy_rel): Likewise.
40496         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40497         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40498         (elf_machine_lazy_rel): Likewise.
40499         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40500         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40501         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40502         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40503         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40504         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40505         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40506         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40507         Likewise.
40508         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40509         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40510         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40511         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40512         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40513         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40514         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40515         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40516         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40517         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40518         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40519         Likewise.
40520         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40521         (__posix_fallocate64_l64): Likewise.
40522         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40523         (posix_fallocate): Likewise.
40524         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40525         Likewise.
40526         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40527         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40528         (getifaddrs_internal): Likewise.
40529         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40530         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40531         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40532         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40533         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40534         (__posix_fallocate64_l64): Likewise.
40535         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40536         Likewise.
40537         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40538         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40539         (__get_clockfreq): Likewise.
40540         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40541         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40542         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40543         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40544         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40545         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40546         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40547         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40548         Likewise.
40549         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40550         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40551         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40552         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40553         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40554         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40555         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40556         Likewise.
40557         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40558         (posix_fallocate): Likewise.
40559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40560         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40561         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40562         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40563         (elf_machine_rela, elf_machine_rela_relative)
40564         (elf_machine_lazy_rel): Likewise.
40565         * time/asctime.c (asctime_internal): Likewise.
40566         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40567         * time/tzset.c (__tzset_parse_tz): Likewise.
40568         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40569         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40570         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40571         * wcsmbs/wcsmbsload.h: Likewise.
40573         [BZ #15894]
40574         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40576         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40577         (arena_get2): Remove THREAD_STATS conditionals.
40578         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40579         (__malloc_stats, int): Likewise.
40581 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40583         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40584         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40586         * manual/setjmp.texi: Fix typos/grammar errors.
40588         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40589         Only return early when n is <= 0.  Delete unused return statement.
40591         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40592         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40593         * debug/tst-longjmp_chk3.c: New file.
40595         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40596         (test_main): Replace code with set_fortify_handler call.
40597         * debug/test-strcpy_chk.c: Likewise.
40598         * debug/tst-chk1.c: Likewise.
40599         * debug/tst-longjmp_chk.c: Likewise.
40600         * test-skeleton.c: Include fcntl.h & paths.h
40601         (set_fortify_handler): Define.
40603         * debug/tst-longjmp_chk.c: Add header comment and include
40604         ../test-skeleton.c.
40605         (do_test): Mark static.
40606         (TEST_FUNCTION): Define.
40608         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40609         (IP_PMTUDISC_INTERFACE): Likewise.
40610         (IP_MULTICAST_IF): Likewise.
40611         (IP_MULTICAST_TTL): Likewise.
40612         (IP_MULTICAST_LOOP): Likewise.
40613         (IP_ADD_MEMBERSHIP): Likewise.
40614         (IP_DROP_MEMBERSHIP): Likewise.
40615         (IP_UNBLOCK_SOURCE): Likewise.
40616         (IP_BLOCK_SOURCE): Likewise.
40617         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40618         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40619         (IP_MSFILTER): Likewise.
40620         (MCAST_JOIN_GROUP): Likewise.
40621         (MCAST_BLOCK_SOURCE): Likewise.
40622         (MCAST_UNBLOCK_SOURCE): Likewise.
40623         (MCAST_LEAVE_GROUP): Likewise.
40624         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40625         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40626         (MCAST_MSFILTER): Likewise.
40627         (IP_MULTICAST_ALL): Likewise.
40628         (IP_UNICAST_IF): Likewise.
40630         * timezone/Makefile: Delete $(have-ksh) check.
40631         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40632         * timezone/tzselect.ksh: Add +x mode bits.
40634         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40635         (ANON_INODE_FS_MAGIC): Likewise.
40636         (BDEVFS_MAGIC): Likewise.
40637         (BINFMTFS_MAGIC): Likewise.
40638         (BTRFS_TEST_MAGIC): Likewise.
40639         (CRAMFS_MAGIC_WEND): Likewise.
40640         (DEBUGFS_MAGIC): Likewise.
40641         (ECRYPTFS_SUPER_MAGIC): Likewise.
40642         (EXT3_SUPER_MAGIC): Likewise.
40643         (EXT4_SUPER_MAGIC): Likewise.
40644         (FUTEXFS_SUPER_MAGIC): Likewise.
40645         (HOSTFS_SUPER_MAGIC): Likewise.
40646         (HUGETLBFS_MAGIC): Likewise.
40647         (MINIX3_SUPER_MAGIC): Likewise.
40648         (MTD_INODE_FS_MAGIC): Likewise.
40649         (NILFS_SUPER_MAGIC): Likewise.
40650         (OPENPROM_SUPER_MAGIC): Likewise.
40651         (PIPEFS_MAGIC): Likewise.
40652         (PSTOREFS_MAGIC): Likewise.
40653         (QNX6_SUPER_MAGIC): Likewise.
40654         (RAMFS_MAGIC): Likewise.
40655         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40656         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40657         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40658         (SECURITYFS_MAGIC): Likewise.
40659         (SELINUX_MAGIC): Likewise.
40660         (SMACK_MAGIC): Likewise.
40661         (SOCKFS_MAGIC): Likewise.
40662         (SQUASHFS_MAGIC): Likewise.
40663         (STACK_END_MAGIC): Likewise.
40664         (TMPFS_MAGIC): Likewise.
40665         (USBDEVICE_SUPER_MAGIC): Likewise.
40666         (V9FS_MAGIC): Likewise.
40667         (XENFS_SUPER_MAGIC): Likewise.
40668         (CRAMFS_MAGIC): Fix typo in comment.
40669         (EXT2_SUPER_MAGIC): Update comment.
40670         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40672 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40674         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40675         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40676         * sysdeps/unix/sysv/linux/arm: Move directory from
40677         ports/sysdeps/unix/sysv/linux/arm.
40678         * README: Update listing for arm-*-linux-gnueabi.
40680         * README: Remove mention of am33.
40682 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40684         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40685         than the comma operator, to avoid "rhs of comma has no effect"
40686         compiler warnings.
40687         (__sigfillset, __sigandset, __sigorset): Likewise.
40688         * include/signal.h (__sigemptyset): Likewise.
40689         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40691 2014-02-07  Allan McRae  <allan@archlinux.org>
40693         * version.h (RELEASE): Set to "development".
40694         (VERSION): Set to "2.19.90"
40695         * NEWS: Add 2.20 section.
40697 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40699         [BZ #16529]
40700         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40702 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40704         * manual/contrib.texi: Update entry for Carlos O'Donell,
40705         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40707 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40709         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40711         * sysdeps/unix/sysv/linux/kernel-features.h
40712         [__LINUX_KERNEL_VERSION >= 0x020621]
40713         (__ASSUME_PROC_PID_TASK_COMM): Define.
40715 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40717         [BZ #16398]
40718         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40719         conversion when destination buffer does not have enough space.
40720         * libio/tst-ftell-partial-wide.c: New test case.
40721         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40723         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40724         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40725         Leonard and Allan McRae.
40727 2014-02-04  David S. Miller  <davem@davemloft.net>
40729         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40730         32-bit.
40732 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40735         New file
40736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40737         New file
40738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40739         New file.
40740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40741         New file.
40742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40743         New file.
40744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40745         New file.
40746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40747         New file.
40748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40749         New file.
40750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40751         New file.
40752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40753         New file.
40754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40755         New file.
40756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40757         New file.
40758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40759         New file.
40761 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40763         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40764         * shlib-versions: Likewise.
40766 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40767             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40769         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40770         (abilist-pattern): New variable, set to %-le.abilist.
40772         * Makerules (abilist-pattern): New variable.
40773         (vpath): Use $(abilist-pattern) in place of %.abilist.
40774         (check-abi-% pattern rule): Likewise.
40775         (check-abi, update-abi): Likewise.
40777 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40781 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40783         * manual/startup.texi: Add next, previous, and top entries for
40784         the `Program Arguments' and `Environment Variables' nodes.
40786 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40788         * manual/macros.texi: Add comments before MTASC-safety macros.
40790         * manual/users.texi: Document MTASC-safety properties.
40792         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40793         (pthread_getspecific, pthread_setspecific): Format with
40794         @deftypefun, and add @safety note.
40795         * manual/signal.texi: Move comments that analyze the above
40796         functions to their home place.
40798 2014-02-03  Allan McRae  <allan@archlinux.org>
40800         * po/sl.po: Update Slovenian translation from translation project.
40802 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40804         * manual/time.texi (timegm): Add missing blank after @c.
40805         Reported by Joseph Myers <joseph@codesourcery.com>.
40807 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40809         * manual/check-safety.sh: New.
40810         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40812         * manual/terminal.texi: Document MTASC-safety properties.
40814         * manual/filesys.texi: Document MTASC-safety properties.
40816         * manual/errno.texi: Document MTASC-safety properties.
40818         * manual/intro.texi: Document safety identifiers and
40819         conditionals.
40821         * manual/string.texi (wcstok): Fix prototype.
40822         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40824         * manual/time.texi: Document MTASC-safety properties.
40826         * manual/string.texi: Document MTASC-safety properties.
40828         * manual/threads.texi: Document MTASC-safety properties.
40830         * manual/stdio.texi: Document MTASC-safety properties.
40832         * manual/syslog.texi: Document MTASC-safety properties.
40834         * manual/sysinfo.texi: Document MTASC-safety properties.
40836         * manual/startup.texi: Document MTASC-safety properties.
40838         * manual/socket.texi: Document MTASC-safety properties.
40840         * manual/signal.texi: Document MTASC-safety properties.
40842 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40844         * manual/setjmp.texi: Document MTASC-safety properties.
40846         * manual/search.texi: Document MTASC-safety properties.
40848         * manual/resource.texi: Document MTASC-safety properties.
40850         * manual/process.texi: Document MTASC-safety properties.
40852         * manual/platform.texi: Document MTASC-safety properties.
40854         * manual/pipe.texi: Document MTASC-safety properties.
40856         * manual/pattern.texi: Document MTASC-safety properties.
40858         * manual/message.texi: Document MTASC-safety properties.
40860         [BZ #12751]
40861         * manual/memory.texi: Document MTASC-safety properties.
40863         * manual/math.texi: Document MTASC-safety properties.
40865         * manual/locale.texi: Document MTASC-safety properties.
40867         * manual/llio.texi: Document MTASC-safety properties.
40869         * manual/libdl.texi: New.
40871         * manual/lang.texi: Document MTASC-safety properties.
40873         * manual/job.texi: Document MTASC-safety properties.
40875         * manual/getopt.texi: Document MTASC-safety properties.
40877         * manual/ctype.texi: Document MTASC-safety properties.
40879 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40881         [BZ #16046]
40882         * csu/libc-tls.c (static_map): Remove variable.
40883         (__libc_setup_tls): Use main executable's link map for TLS data.
40884         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40885         casing for LM_ID_BASE and GL(dl_nns).
40886         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40887         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40888         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40889         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40890         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40891         member.
40892         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40893         l_phnum members.
40895 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40897         * manual/debug.texi: Document MTASC-safety properties.
40899 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40901         [BZ #16510]
40902         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40903         of __x86_64__ when disabling x87 inline functions.
40905 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40907         * manual/charset.texi: Document MTASC-safety properties.
40909         * manual/crypt.texi: Document MTASC-safety properties.
40911         * manual/conf.texi: Document MTASC-safety properties.
40913         * manual/arith.texi: Document MTASC-safety properties.
40915         * manual/argp.texi: Document MTASC-safety properties.
40917         * manual/macros.texi: Introduce macros to document multi
40918         thread, asynchronous signal and asynchronous cancellation
40919         safety properties.
40920         * manual/intro.texi: Introduce the properties themselves.
40922 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40924         * sysdeps/sh/sh4/Makefile: New file.
40926 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40928         * math/gen-libm-test.pl ($srcdir): New variable.
40929         ($auto_input): Use it.
40931 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40933         [BZ #16506]
40934         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40935         access beyond array bounds when parsing netgroups file.
40937         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40938         the old buffer before realloc.
40940 2014-01-27  Allan McRae  <allan@archlinux.org>
40942         * po/fr.po: Update French translation from translation project.
40944 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40946         * sysdeps/sh/libm-test-ulps: Regenerate.
40948 2014-01-24  David S. Miller  <davem@davemloft.net>
40950         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40952 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40954         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40955         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40957 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40959         [BZ #16474]
40960         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40961         string pointers after reallocation.
40963 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40965         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40966         __SH4A__ instead of __SH_FPU_ANY__.
40968 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40970         * sysdeps/sh/fpu_control.h: New file.
40971         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40972         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40973         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40974         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40975         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40976         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40977         * sysdeps/sh/sys/ucontext.h: Remove.
40978         * sysdeps/sh/sys: Remove directory.
40980 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40982         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40983         s390/sys/ucontext.h.
40984         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40985         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40987 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40989         [BZ #15605]
40990         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40992 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40994         [BZ#16431]
40995         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40996         Adjust the vDSO correctly for internal calls.
40997         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40999 2014-01-20  Allan McRae  <allan@archlinux.org>
41001         * po/ca.po: Update Catalan translation from translation project.
41003 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41005         * sysdeps/s390/sotruss-lib.c: New file.
41007 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41009         [BZ#16430]
41010         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41011         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41012         local calls issues by not having a PLT stub required for IFUNC calls.
41013         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41015 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41017         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41018         * math/test-fpucw-static.c: Likewise.
41020 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41022         [BZ #16453]
41023         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41025 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41027         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41028         implementation for powerpc.
41030 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41032         [BZ #14782]
41033         * sysdeps/posix/system.c (__libc_system): Do not enable
41034         asynchronous cancellation.
41036 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41038         [BZ #16427]
41039         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41040         handling only for numbers special also in the IEEE case.
41042 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41044         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41046 2014-01-11  Allan McRae  <allan@archlinux.org>
41048         * po/bg.po: Update Bulgarian translation from translation project.
41050         * po/de.po: Update German translation from translation project.
41052 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41054         * sysdeps/generic/gcc-compat.h: New file.
41056 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41058         * benchtests/asin-inputs: Correct slow inputs.
41059         * benchtests/acos-inputs: Likewise.
41061 2014-01-10  Allan McRae  <allan@archlinux.org>
41063         * po:sv.po: Update Swedish translation from translation project.
41065         * po/vi.po: Update Vietnamese translation from translation project.
41067         * po/eo.po: Update Esperanto translation from translation project.
41069         * po/cs.po: Update Czech translation from translation project.
41071         * po/nl.po: Update Dutch translation from translation project.
41073         * po/pl.po: Update Polish translation from translation project.
41075         * po/ru.po: Update Russian translation from translation project.
41077         * po/uk.po: Update Ukrainian translation from translation project.
41079 2014-01-08  Brooks Moses  <bmoses@google.com>
41081         * elf/dl-load.c: Fix comment typo.
41083 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41085         * po/header.pot: Rename to...
41086         * po/pot.header: ... this.
41087         * po/Makefile: Use pot.header.
41089 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41090             Maxim Kuvyrkov  <maxim@kugelworks.com>
41092         [BZ #16394]
41093         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41094         SRC and DEST against LEN.
41096 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41098         [BZ #16414]
41099         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41100         implementation.
41101         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41103 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41107 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41109         [BZ #16408]
41110         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41111         for large positive arguments.
41113 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41115         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41117         * math/auto-libm-test-in: Mark various tests with
41118         xfail-rounding:ldbl-128ibm.
41119         * math/auto-libm-test-out: Regenerated.
41121         [BZ #16407]
41122         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41123         Increase overflow threshold.
41125 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41127         [BZ #14286]
41128         * stdio-common/vfprintf.c: Check for integer overflow.
41130 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41132         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41133         the first argument and return value of __tls_get_addr_internal.
41135 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41137         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41138         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41140 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41142         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41143         * sysdeps/s390/rtld-global-offsets.sym: New file.
41144         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41145         GLIBC_2.19 symbol.
41146         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41147         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41148         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41149         ... this.
41150         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41151         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41152         ... this.
41153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41154         Regenerate.
41155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41156         Regenerate.
41157         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41158         halfs of GPRs for high_gprs contexts.
41159         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41160         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41161         field.
41162         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41163         uc_flags field.
41164         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41165         64 bit versions:
41166         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41167         for high GPRs (uc_high_gprs) and for future extensions
41168         (__reserved).
41169         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41170         for future extensions (__reserved).
41171         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41172         64 bit versions:
41173         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41174         SC_HIGHGPRS offset definition.
41175         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41176         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41178         * Versions.def: Add GLIBC_2.19 for libpthread.
41179         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41180         siglongjmp for libpthread with GLIBC_2.19 symver.
41181         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41182         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41183         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41184         * sysdeps/s390/__longjmp.c: New file.
41185         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41186         * sysdeps/s390/longjmp.c: New file.
41187         * sysdeps/s390/setjmp.S: New file.
41188         * sysdeps/s390/sigjmp.S: New file.
41189         * sysdeps/s390/v1-longjmp.c: New file.
41190         * sysdeps/s390/v1-setjmp.h: New file.
41191         * sysdeps/s390/v1-sigjmp.c: New file.
41192         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41193         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41194         GLIBC_2.19 version.
41195         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41196         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41197         versioned symbols for ____longjmp_chk.
41198         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41199         Likewise.
41200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41201         Regenerate.
41202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41203         Regenerate.
41204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41205         Regenerate.
41206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41207         Regenerate.
41208         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41209         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41210         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41211         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41212         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41213         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41214         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41215         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41216         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41217         * sysdeps/s390/rtld-__longjmp.c: New file.
41218         * sysdeps/s390/rtld-setjmp.S: New file.
41220 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41222         [BZ #16400]
41223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41224         Return -__logl (x) for small positive arguments without evaluating
41225         a polynomial.
41227 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41229         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41230         Rename to ...
41231         (__ptrace_peeksiginfo_args): ... this.
41232         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41233         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41234         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41236 2014-01-06  Allan McRae  <allan@archlinux.org>
41238         * inet/netinet/in.h: Fix typo in comment.
41240 2014-01-05  Andreas Jaeger  <aj@suse.de>
41242         * sysdeps/i386/fpu/libm-test-ulps: Update.
41244 2014-01-05  Allan McRae  <allan@archlinux.org>
41246         * po/libc.pot: Regenerated.
41248         * malloc/memusagestat.c: Fix gettext call formatting.
41250 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41252         * nscd/nscd.c: Improve usage() output.
41254 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41256         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41257         * sysdeps/unix/sysv/linux/configure: Regenerated.
41258         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41259         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41261 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41263         [BZ #16390]
41264         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41265         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41267 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41270         extra tokens at end of #undef directive.
41271         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41272         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41273         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41275 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41277         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41279         * math/auto-libm-test-in: Mark various tests with
41280         xfail-rounding:ldbl-128ibm.
41281         * math/auto-libm-test-out: Regenerated.
41283 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41285         [BZ #16386]
41286         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41287         numbers with subnormal high part when calculating exponent.
41289         [BZ #16385]
41290         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41291         fabs.
41293         [BZ #16384]
41294         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41295         M_LN2l.
41296         (__ieee754_acoshl): Use __log1pl not __log1p.
41298 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41300         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41301         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41302         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41303         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41304         (reused_arena, arena_get2): Convert to GNU style.
41305         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41306         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41307         (memalign_check, __malloc_set_state): Likewise.
41308         * malloc/mallocbug.c (main): Likewise.
41309         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41310         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41311         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41312         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41313         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41314         (__posix_memalign, malloc_info): Likewise.
41315         * malloc/malloc.h: Likewise.
41316         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41317         (mallochook, memalignhook, reallochook, mabort): Likewise.
41318         * malloc/mcheck.h: Likewise.
41319         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41320         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41321         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41322         * malloc/morecore.c (__default_morecore): Likewise.
41323         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41324         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41325         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41326         (print_and_abort): Likewise.
41327         * malloc/obstack.h: Likewise.
41328         * malloc/set-freeres.c (__libc_freeres): Likewise.
41329         * malloc/tst-mallocstate.c (main): Likewise.
41330         * malloc/tst-mtrace.c (main): Likewise.
41331         * malloc/tst-realloc.c (do_test): Likewise.
41333 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41335         [BZ #16366]
41336         * nscd/netgroupcache.c (do_notfound): New function.
41337         (addgetnetgrentX): Use it.
41339         [BZ # 16365]
41340         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41341         NSS_STATUS_NOTFOUND.
41343 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41345         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41348 2014-01-01  Allan McRae  <allan@archlinux.org>
41350         * scripts/update-copyrights: Update configure input file suffix.
41352         * NEWS: Update copyright year.
41353         * catgets/gencat.c: Likewise.
41354         * csu/version.c: Likewise.
41355         * debug/catchsegv.sh: Likewise.
41356         * debug/pcprofiledump.c: Likewise.
41357         * debug/xtrace.sh: Likewise.
41358         * elf/ldconfig.c: Likewise.
41359         * elf/ldd.bash.in: Likewise.
41360         * elf/pldd.c: Likewise.
41361         * elf/sotruss.ksh: Likewise.
41362         * elf/sprof.c: Likewise.
41363         * iconv/iconv_prog.c: Likewise.
41364         * iconv/iconvconfig.c: Likewise.
41365         * locale/programs/locale.c: Likewise.
41366         * locale/programs/localedef.c: Likewise.
41367         * login/programs/pt_chown.c: Likewise.
41368         * malloc/memusage.sh: Likewise.
41369         * malloc/memusagestat.c: Likewise.
41370         * malloc/mtrace.pl: Likewise.
41371         * manual/libc.texinfo: Likewise.
41372         * nscd/nscd.c: Likewise.
41373         * nss/getent.c: Likewise.
41374         * nss/makedb.c: Likewise.
41375         * posix/getconf.c: Likewise.
41376         * scripts/test-installation.pl: Likewise.
41378         * All files with FSF copyright notices: Update copyright dates
41379         using scripts/update-copyrights.
41380         * intl/plural.c: Regenerated.
41381         * locale/programs/charmap-kw.h: Likewise.
41382         * locale/programs/locfile-kw.h: Likewise.
41384 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41386         * sysdeps/unix/sysv/linux/configure: Regenerated.
41387         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41388         the linux/fanotify.h header.
41389         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41390         HAVE_LINUX_FANOTIFY_H is defined.
41392 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41394         * benchtests/cos-inputs: New inputs.
41395         * benchtests/sin-inputs: Likewise.
41397         * benchtests/atan-inputs: New inputs. Fix name of multiple
41398         precision fallback inputs.
41400         * benchtests/atanh-inputs: New inputs.
41401         * benchtests/tanh-inputs: Likewise.
41403         * benchtests/acosh-inputs: New inputs.
41404         * benchtests/asinh-inputs: Likewise.
41406         * benchtests/cosh-inputs: New inputs.
41407         * benchtests/sinh-inputs: Likewise.
41409         * benchtests/acos-inputs: Add more inputs.
41410         * benchtests/asin-inputs: Likewise.
41412 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41414         [BZ #16375]
41415         * manual/arith.texi: Fix spelling.
41416         * manual/charset.texi: Likewise.
41417         * manual/errno.texi: Likewise.
41418         * manual/filesys.texi: Likewise.
41419         * manual/lang.texi: Likewise.
41420         * manual/llio.texi: Likewise.
41421         * manual/locale.texi: Likewise.
41422         * manual/message.texi: Likewise.
41423         * manual/resource.texi: Likewise.
41424         * manual/search.texi: Likewise.
41425         * manual/setjmp.texi: Likewise.
41426         * manual/stdio.texi: Likewise.
41427         * manual/string.texi: Likewise.
41428         * manual/sysinfo.texi: Likewise.
41429         * manual/time.texi: Likewise.
41431 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41433         * po/sl.po: New file.
41435 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41437         * .gitignore: Add core/.gdbinit/.gdb_history.
41439 2013-12-27  Allan McRae  <allan@archlinux.org>
41441         [BZ #16369]
41442         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41443         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41445 2013-12-24  Brooks Moses  <bmoses@google.com>
41447         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41448         all compilers that claim C++98 compliance, not just GCC.
41449         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41450         Likewise.
41452 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41454         * NEWS: Restore accidentally deleted bug-fix entries.
41456 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41457             Ondřej Bílka  <neleai@seznam.cz>
41459         [BZ #15073]
41460         * malloc/malloc.c (_int_free): Perform sanity check only if we
41461         have_lock.
41463 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41465         [BZ #12986]
41466         * manual/stdio.texi (String Input Conversions): Clarify that character
41467         classes are not supported.
41469 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41473 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41475         [BZ #16337]
41476         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41477         Calculate results for small negative arguments directly rather
41478         than using reflection formula with special underflow handling.
41480         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41481         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41482         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41483         (fchflags): Likewise.
41484         (revoke): Likewise.
41485         (setlogin): Likewise.
41486         (sigaltstack): Likewise.
41487         (wait4): Likewise.
41488         (sigblock): Remove.
41489         (sigsetmask): Likewise.
41490         (wait3): Likewise.
41491         (waitpid): Likewise.
41492         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41493         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41494         file.
41495         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41496         * sysdeps/unix/bsd/Makefile: ... here.
41497         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41498         * sysdeps/unix/bsd/Versions: ... here.
41499         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41500         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41501         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41502         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41503         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41504         * sysdeps/unix/bsd/sigblock.c: ... here.
41505         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41506         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41507         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41508         * sysdeps/unix/bsd/sigvec.c: ... here.
41509         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41510         * sysdeps/unix/bsd/tcdrain.c: ... here.
41511         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41512         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41513         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41514         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41515         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41516         * sysdeps/unix/bsd/wait.c: ... here.
41517         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41518         * sysdeps/unix/bsd/wait3.c: ... here.
41519         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41520         * sysdeps/unix/bsd/waitpid.c: ... here.
41522 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41524         [BZ #16356]
41525         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41526         round-to-nearest for [!USE_AS_EXPM1L].
41527         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41528         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41529         more tests of exp and exp10.  Expect some exp10 tests to miss
41530         exceptions or fail in directed rounding modes.
41531         * math/auto-libm-test-out: Regenerated.
41532         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41533         (exp10_test_tonearest): New function.
41534         (exp10_towardzero_test_data): New array.
41535         (exp10_test_towardzero): New function.
41536         (exp10_downward_test_data): New array.
41537         (exp10_test_downward): New function.
41538         (exp10_upward_test_data): New array.
41539         (exp10_test_upward): New function.
41540         (main): Call the new functions.
41541         * sysdeps/i386/fpu/libm-test-ulps: Update.
41542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41544 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41546         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41547         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41548         * math/auto-libm-test-out: Regenerated.
41549         * math/libm-test.inc (acosh_test_data): Add more tests.
41550         (atanh_test_data): Likewise.
41551         (ceil_test_data): Likewise.
41552         (copysign_test_data): Likewise.
41553         * sysdeps/i386/fpu/libm-test-ulps: Update.
41554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41556         * timezone/checktab.awk: Update from tzcode 2013i.
41557         * timezone/private.h: Likewise.
41558         * timezone/scheck.c: Likewise.
41559         * timezone/tzfile.h: Likewise.
41560         * timezone/tzselect.ksh: Likewise.
41561         * timezone/zdump.c: Likewise.
41562         * timezone/zic.c: Likewise.
41564         * math/auto-libm-test-in: Add tests of cpow.
41565         * math/auto-libm-test-out: Regenerated.
41566         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41567         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41568         mpc_cc_c.
41569         (func_calc_desc): Add mpc_cc_c union field.
41570         (test_functions): Add cpow.
41571         (special_fill_2pi): New function.
41572         (special_real_inputs): Add 2pi.
41573         (calc_generic_results): Handle mpc_cc_c.
41574         * sysdeps/i386/fpu/libm-test-ulps: Update.
41575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41577         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41578         csqrt, ctan and ctanh.
41579         * math/auto-libm-test-out: Regenerated.
41580         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41581         (TEST_COND_x86): Likewise.
41582         (ccos_test_data): Use AUTO_TESTS_c_c.
41583         (ccosh_test_data): Likewise.
41584         (cexp_test_data): Likewise.
41585         (clog_test_data): Likewise.
41586         (csqrt_test_data): Likewise.
41587         (ctan_test_data): Likewise.
41588         (ctan_tonearest_test_data): Likewise.
41589         (ctan_towardzero_test_data): Likewise.
41590         (ctan_downward_test_data): Likewise.
41591         (ctan_upward_test_data): Likewise.
41592         (ctanh_test_data): Likewise.
41593         (ctanh_tonearest_test_data): Likewise.
41594         (ctanh_towardzero_test_data): Likewise.
41595         (ctanh_downward_test_data): Likewise.
41596         (ctanh_upward_test_data): Likewise.
41597         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41598         mpc_c_c.
41599         (func_calc_desc): Add mpc_c_c union field.
41600         (FUNC_mpc_c_c): New macro.
41601         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41602         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41603         ctanh.
41604         (special_fill_min_subnorm_p120): New function.
41605         (special_real_inputs): Add min_subnorm_p120.
41606         (calc_generic_results): Handle mpc_c_c.
41607         * sysdeps/i386/fpu/libm-test-ulps: Update.
41608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41610 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41612         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41613         (do_sin_slow): New functions.
41614         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41615         (cslow2, csloww1, csloww2): Use the new functions.
41617         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41618         Use M to change sign of result instead of X.  Assume X is
41619         positive.
41620         (csloww1): Likewise.
41621         (__sin): Adjust.
41622         (__cos): Adjust.
41624         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41625         arguments A and DA.
41626         (__sin): Adjust.
41627         (__cos): Likewise.
41629         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41630         (__cos): Likewise.
41631         (sloww1): Don't adjust sign of DX.
41632         (csloww1): Likewise.
41633         (sloww2): Use X directly and don't adjust sign of DX.
41634         (csloww2): Likewise.
41636 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41638         * math/auto-libm-test-in: Add tests of cabs and carg.
41639         * math/auto-libm-test-out: Regenerated.
41640         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41641         (carg_test_data): Likewise.
41642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41643         mpc_c_f.
41644         (func_calc_desc): Add mpc_c_f union field.
41645         (test_functions): Add cabs and carg.
41646         (calc_generic_results): Handle mpc_c_f.
41648         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41649         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41650         as a macro and a compat symbol.
41651         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41652         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41653         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41654         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41655         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41656         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41657         not use .hidden.
41658         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41659         Likewise.
41660         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41661         Likewise.
41662         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41663         Likewise.
41664         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41665         Likewise.
41666         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41667         Likewise.
41668         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41669         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41670         from GLIBC_2.3.2.
41672 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41676 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41678         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41679         trailing whitespace removed.
41680         * scripts/config.guess: Update to version 2013-11-29.
41681         * scripts/config.sub: Update to version 2013-10-01.
41683         * math/auto-libm-test-in: Add tests of sincos.
41684         * math/auto-libm-test-out: Regenerated.
41685         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41686         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41687         mpfr_f_11.
41688         (func_calc_desc): Add mpfr_f_11 union field.
41689         (test_functions): Add sincos.
41690         (calc_generic_results): Handle mpfr_f_11.
41691         * sysdeps/i386/fpu/libm-test-ulps: Update.
41692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41694 2013-12-19  Andreas Schwab  <schwab@suse.de>
41696         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41697         CALL_MCOUNT.
41698         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41699         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41700         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41702 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41704         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41705         * sysdeps/i386/fpu/libm-test-ulps: Update.
41706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41708         [BZ #16293]
41709         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41710         round-to-nearest mode when using frndint.
41711         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41712         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41713         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41714         Likewise.
41715         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41716         sinh test to fail.
41717         * math/auto-libm-test-out: Regenerated.
41718         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41719         (TEST_COND_x86): Likewise.
41720         (expm1_tonearest_test_data): New array.
41721         (expm1_test_tonearest): New function.
41722         (expm1_towardzero_test_data): New array.
41723         (expm1_test_towardzero): New function.
41724         (expm1_downward_test_data): New array.
41725         (expm1_test_downward): New function.
41726         (expm1_upward_test_data): New array.
41727         (expm1_test_upward): New function.
41728         (main): Run the new test functions.
41729         * sysdeps/i386/fpu/libm-test-ulps: Update.
41730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41732         * include/features.h: Update comment documenting feature test
41733         macros.  Mention _DEFAULT_SOURCE in comment.
41734         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41735         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41736         _BSD_SOURCE and _SVID_SOURCE.
41737         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41738         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41739         !_SVID_SOURCE]: Likewise.
41740         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41741         (__USE_POSIX_IMPLICITLY): Define.
41742         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41743         (_POSIX_SOURCE): Undefine and redefine.
41744         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41745         (_POSIX_C_SOURCE): Likewise.
41746         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41747         (Feature Test Macros): Update documentation of default features.
41749 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41751         * benchtests/Makefile: Add bench-strtok.
41752         * benchtests/bench-strtok.c: New file: strtok benchtest.
41754 2013-12-19  Allan McRae  <allan@archlinux.org>
41756         * manual/install.texi: Suppress menu for plain text output.
41757         * INSTALL: Regenerated.
41759 2013-12-18  Brooks Moses  <bmoses@google.com>
41761         [BZ #15846]
41762         * misc/getauxval.c: Include errno.h.
41763         (__getauxval): Set errno to ENOENT if the requested type is not
41764         found.
41765         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41766         don't declare with __attribute_const__.
41767         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41768         * manual/startup.texi: Document that getauxval sets errno.
41770 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41772         * math/auto-libm-test-in: Add tests of jn and yn.
41773         * math/auto-libm-test-out: Regenerated.
41774         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41775         (yn_test_data): Likewise.
41776         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41777         mpfr_if_f.
41778         (func_calc_desc): Add mpfr_if_f union field.
41779         (FUNC_mpfr_if_f): New macro.
41780         (test_functions): Add jn and yn.
41781         (calc_generic_results): Assert type of second input for
41782         mpfr_ff_f.  Handle mpfr_if_f.
41783         (output_for_one_input_case): Disable all checking for arguments
41784         fitting floating-point types in case of an integer argument.
41785         * sysdeps/i386/fpu/libm-test-ulps: Update.
41786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41789         Don't expect fegetround reference in libm.so.
41791 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41793         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41794         $(config-cflags-nofma).
41796 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41798         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41799         * math/auto-libm-test-out: Regenerated.
41801         [BZ #16338]
41802         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41803         to determine exponent and adjust argument to have exponent of -1.
41804         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41805         log2.
41806         * math/auto-libm-test-out: Regenerated.
41807         * sysdeps/i386/fpu/libm-test-ulps: Update.
41808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41810 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41812         * manual/probes.texi: Remove cases when per-thread arenas are
41813         disabled.
41815 2013-12-18  Andreas Schwab  <schwab@suse.de>
41817         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41818         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41819         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41820         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41821         * sysdeps/i386/i686/multiarch/Makefile: Update.
41822         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41824 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41826         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41827         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41829 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41831         [BZ #15968]
41832         Support TZ transition times < 00:00:00.
41833         This is needed for version-3 tz-format files; it supports time
41834         stamps past 2037 for America/Godthab (the only entry in the tz
41835         database for which this change is relevant).
41836         * manual/time.texi (TZ Variable): Document transition times
41837         from -167:59:59 through -00:00:01.
41838         * time/tzset.c (tz_rule): Time of day is now signed.
41839         (__tzset_parse_tz): Parse negative time of day.
41841         Document TZ transition times >= 25:00:00.
41842         * manual/time.texi (TZ Variable): Document transition times from
41843         25:00:00 through 167:59:59.  These are already supported, and this
41844         support will help with version-3 tz-format files.
41846         * manual/time.texi (TZ Variable): Modernize North America example
41847         to reflect current (i.e., 2007-and-later) daylight saving rules.
41849         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41851 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41853         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41854         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41856         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41857         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41858         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41859         * sysdeps/unix/bsd/clock.c: Likewise.
41860         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41861         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41862         * sysdeps/unix/bsd/init-posix.c: Likewise.
41863         * sysdeps/unix/bsd/poll.c: Likewise.
41864         * sysdeps/unix/bsd/ptsname.c: Likewise.
41865         * sysdeps/unix/bsd/seekdir.c: Likewise.
41866         * sysdeps/unix/bsd/setegid.c: Likewise.
41867         * sysdeps/unix/bsd/seteuid.c: Likewise.
41868         * sysdeps/unix/bsd/setgid.c: Likewise.
41869         * sysdeps/unix/bsd/setrgid.c: Likewise.
41870         * sysdeps/unix/bsd/setruid.c: Likewise.
41871         * sysdeps/unix/bsd/setsid.c: Likewise.
41872         * sysdeps/unix/bsd/setuid.c: Likewise.
41873         * sysdeps/unix/bsd/sigaction.c: Likewise.
41874         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41875         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41876         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41877         * sysdeps/unix/bsd/telldir.c: Likewise.
41878         * sysdeps/unix/bsd/times.c: Likewise.
41879         * sysdeps/unix/bsd/usleep.c: Likewise.
41881         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41882         ($(objpfx)libbsd-compat.a): Remove rule.
41884         * include/features.h (__FAVOR_BSD): Do not define.
41885         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41886         features conflicting with POSIX.
41887         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41888         (_BSD_SOURCE): Remove description of not being a subset of other
41889         feature test macros.
41890         * manual/job.texi (getpgrp): Do not document BSD version.
41891         (getpgid): Do not document by reference to BSD getpgrp.
41892         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41893         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41894         * signal/signal.h [__FAVOR_BSD]: Likewise.
41895         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41896         instead of making contents conditional on [__FAVOR_BSD].
41897         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41899 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41903 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41905         [BZ #16314]
41906         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41907         values below 2**-450, not 2**-500.
41908         * math/auto-libm-test-in: Don't allow spurious underflow from
41909         hypot.
41910         * math/auto-libm-test-out: Regenerated.
41912         [BZ #16316]
41913         [BZ #16330]
41914         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41915         values of ha and hb and sort them after adjusting subnormal
41916         arguments.
41917         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41918         Likewise.
41919         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41920         values of ea and eb and sort them after adjusting subnormal
41921         arguments.
41922         * math/auto-libm-test-in: Do not expect some hypot tests of
41923         subnormals to fail.  Add more hypot tests.
41924         * math/auto-libm-test-out: Regenerated.
41926 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41928         [BZ #13304]
41929         * sysdeps/sh/s_fma.c: New file.
41930         * sysdeps/sh/s_fmaf.c: New file.
41931         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41932         version.
41933         * sysdeps/sh/Implies: Add sh/soft-fp.
41935 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41937         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41938         level of indirection to members `objname', `errstring', `malloced'.
41939         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41940         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41941         it as the __longjmp argument (just pass 1 instead).
41942         (_dl_catch_error): Initialize C with argument pointers and address of
41943         volatile local ERRCODE rather than copying values out of C at return.
41945 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41947         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41948         * math/auto-libm-test-out: Regenerated.
41949         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41950         (hypot_test_data): Likewise.
41951         (pow_test_data): Likewise.
41952         (pow_tonearest_test_data): Likewise.
41953         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41954         mpfr_ff_f.
41955         (func_calc_desc): Add mpfr_ff_f union field.
41956         (FUNC_mpfr_ff_f): New macro.
41957         (test_functions): Add atan2, hypot and pow.
41958         (special_fill_min): New function.
41959         (special_fill_minus_min): Likewise.
41960         (special_fill_min_subnorm): Likewise.
41961         (special_fill_minus_min_subnorm): Likewise.
41962         (special_real_inputs): Add min, -min, min_subnorm and
41963         -min_subnorm.
41964         (calc_generic_results): Handle mpfr_ff_f.
41965         * sysdeps/i386/fpu/libm-test-ulps: Update.
41966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41968 2013-12-16  Will Newton  <will.newton@linaro.org>
41970         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41971         (Aligned Memory Blocks): Add documentation for aligned_alloc
41972         and suggest it as an alternative to posix_memalign.
41973         (Hooks for Malloc): Document __memalign_hook is also called
41974         for aligned_alloc.  (Summary of Malloc): Add summary for
41975         aligned alloc.  Document __memalign_hook is also called
41976         for aligned_alloc.
41978 2013-12-16  Will Newton  <will.newton@linaro.org>
41980         * manual/memory.texi (Malloc Examples): Clarify default
41981         alignment documentation.  Suggest posix_memalign rather
41982         than memalign or valloc.
41983         (Aligned Memory Blocks): Remove suggestion to use memalign
41984         or valloc.  Remove obsolete comment about BSD.
41985         Document memalign errno values and mark the function obsolete.
41986         Document posix_memalign returned error codes.  Mark valloc
41987         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41988         called for posix_memalign and valloc.
41989         (Summary of Malloc): Add posix_memalign to function summary.
41990         __memalign_hook is also called for posix_memalign and valloc.
41992 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41994         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41995         TAYLOR_SIN.
41996         (__sin): Adjust.
41997         (__cos): Likewise.
41998         (sloww): Use mynumber union.  Expand ternary operator into
41999         if-else statements.
42000         (cslow): use mynumber union.
42002 2013-12-16  Allan McRae  <allan@archlinux.org>
42004         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42005         * configure: Regenerated.
42007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42009         [BZ #14120]
42010         * configure.ac: Added --enable-maintainer-mode. Check for
42011         autoconf when enabled.
42012         * configure: Regenerated.
42014         * nscd/nscd.service: New file.
42015         * nscd/nscd.tmpfiles: New file.
42017 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42019         [BZ #12100]
42020         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42021         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42022         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42023         (strstr): Add __strstr_sse2_unaligned ifunc.
42024         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42025         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42026         (strcasestr): Remove __strcasestr_sse42 ifunc.
42027         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42031 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42033         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42034         * sysdeps/sh/bits/fenv.h: ... here.
42035         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42037 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42039         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42042         hypotf multiarch implementations.
42043         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42044         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42045         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42046         multiarch hypot for PPC64.
42047         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42048         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42049         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42050         multiarch hypotf for PPC64.
42052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42053         modff multiarch implementations.
42054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42057         multiarch modf for PPC64.
42058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42061         multiarch modff for PPC64.
42063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42064         and logl multiarch implementations.
42065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42068         multiarch logb for PPC64.
42069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42072         multiarch logb for PPC64.
42073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42076         multiarch logb for PPC64.
42078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42079         isinff multiarch implementation.
42080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42081         file.
42082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42084         multiarch isinf for PPC64.
42085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42086         file.
42087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42088         multiarch isinff for PPC64.
42090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42091         finitef multiarch implementation.
42092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42093         file.
42094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42096         multiarch finite for PPC64.
42097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42098         file.
42099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42100         multiarch finitef for PPC64.
42102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42103         lrint multiarch implementation.
42104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42105         file.
42106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42108         multiarch llrint for PPC64.
42109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42110         multiarch lrint for PPC64.
42112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42113         copysignf multiarch implementation.
42114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42115         file.
42116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42117         file.
42118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42119         multiarch copysign for PPC64.
42120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42121         multiarch copysignf for PPC64.
42123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42124         multiarch implementation.
42125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42126         file.
42127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42128         file.
42129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42130         file.
42131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42132         file.
42133         multiarch llround for PPC64.
42134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42135         multiarch trunc for PPC64.
42136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42137         multiarch truncf for PPC64.
42139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42140         multiarch implementation.
42141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42142         file.
42143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42144         file.
42145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42146         file.
42147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42148         file.
42149         multiarch llround for PPC64.
42150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42151         multiarch round for PPC64.
42152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42153         multiarch roundf for PPC64.
42155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42156         multiarch implementation.
42157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42158         file.
42159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42160         file.
42161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42162         file.
42163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42164         file.
42165         multiarch llround for PPC64.
42166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42167         multiarch floor for PPC64.
42168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42169         multiarch floorf for PPC64.
42171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42172         multiarch implementation.
42173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42174         file.
42175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42176         file.
42177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42178         file.
42179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42180         file.
42181         multiarch llround for PPC64.
42182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42183         multiarch ceil for PPC64.
42184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42185         multiarch ceilf for PPC64.
42187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42188         multiarch implementation.
42189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42190         file.
42191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42192         file.
42193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42194         file.
42195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42196         multiarch llround for PPC64.
42197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42198         multiarch lround for PPC64.
42200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42201         multiarch implementation.
42202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42205         file.
42206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42209         multiarch isnan for PPC64.
42210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42211         multiarch isnanf for PPC64.
42213         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42214         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42215         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42216         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42217         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42220         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42221         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42222         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42223         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42226         multiarch implementations.
42227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42228         (__libc_ifunc_impl_list): Likewise.
42229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42230         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42231         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42232         multiarch stpcpy for PPC64.
42234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42235         multiarch implementations.
42236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42237         (__libc_ifunc_impl_list): Likewise.
42238         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42239         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42240         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42241         multiarch strcpy for PPC64.
42243         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42244         redefine function name.
42245         (_wordcopy_fwd_dest_aligned): Likewise.
42246         (_wordcopy_bwd_aligned): Likewise.
42247         (_wordcopy_bwd_dest_aligned): Likewise.
42248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42249         multiarch implementations.
42250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42251         (__libc_ifunc_impl_list): Likewise.
42252         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42253         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42254         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42255         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42256         multiarch wcscpy for PPC64.
42258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42259         multiarch implementations.
42260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42261         (__libc_ifunc_impl_list): Likewise.
42262         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42263         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42264         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42265         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42266         multiarch wcscpy for PPC64.
42268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42269         multiarch implementations.
42270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42271         (__libc_ifunc_impl_list): Likewise.
42272         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42273         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42274         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42275         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42276         multiarch wcsrchr for PPC64.
42278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42279         multiarch implementations.
42280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42281         (__libc_ifunc_impl_list): Likewise.
42282         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42283         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42284         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42285         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42286         multiarch wcschr for PPC64.
42288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42289         multiarch implementations.
42290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42291         (__libc_ifunc_impl_list): Likewise.
42292         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42293         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42294         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42295         multiarch strchrnul for PPC64.
42297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42298         implementations.
42299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42300         (__libc_ifunc_impl_list): Likewise.
42301         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42302         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42303         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42304         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42305         strchr for PPC64.
42307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42308         implementations.
42309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42310         (__libc_ifunc_impl_list): Likewise.
42311         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42312         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42313         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42314         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42315         strncmp for PPC64.
42317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42318         multiarch implementations.
42319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42320         (__libc_ifunc_impl_list): Likewise.
42321         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42322         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42323         strncasecmp for PPC64.
42324         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42325         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42326         multiarch strncasecmp_l for PPC64.
42328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42329         multiarch implementations.
42330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42331         (__libc_ifunc_impl_list): Likewise.
42332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42333         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42334         multiarch strcasecmp for PPC64.
42335         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42336         file.
42337         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42338         multiarch strcasecmp_l for PPC64.
42340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42341         implementations.
42342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42343         (__libc_ifunc_impl_list): Likewise.
42344         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42345         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42346         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42347         strnlen for PPC64.
42349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42350         implementations.
42351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42352         (__libc_ifunc_impl_list): Likewise.
42353         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42354         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42355         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42356         strlen for PPC64.
42358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42359         implementations.
42360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42361         (__libc_ifunc_impl_list): Likewise.
42362         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42363         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42364         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42365         rawmemrchr for PPC64.
42367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42368         implementation.
42369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42370         (__libc_ifunc_impl_list): Likewise.
42371         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42372         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42373         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42374         memrchr for PPC64.
42376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42377         implementation.
42378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42379         (__libc_ifunc_impl_list): Likewise.
42380         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42381         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42382         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42383         memchr for PPC64.
42385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42386         implementation.
42387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42388         (__libc_ifunc_impl_list): Likewise.
42389         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42390         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42391         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42392         mempcpy for PPC64.
42394         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42395         avoid cretion of __bzero symbol.
42396         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42397         Likewise.
42398         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42399         Likewise.
42400         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42401         Likewise.
42402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42403         multiarch implementations.
42404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42405         (__libc_ifunc_impl_list): Likewise.
42406         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42407         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42408         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42409         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42410         bzero for PPC32.
42411         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42412         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42413         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42414         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42415         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42416         memset for PPC64.
42417         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42419         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42421         implementations.
42422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42423         (__libc_ifunc_impl_list): Likewise.
42424         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42425         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42426         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42427         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42428         memcmp for PPC64.
42430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42431         multiarch for POWER/PPC64.
42432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42433         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42434         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42435         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42436         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42437         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42438         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42439         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42440         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42441         memcpy for PPC64.
42443         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42444         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42445         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42446         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42447         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42448         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42449         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42450         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42451         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42452         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42453         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42454         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42455         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42456         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42457         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42466 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42468         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42470 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42472         * benchtests/Makefile (bench): Add exp2 and log2.
42473         (LDLIBS-bench-exp2): Add -lm.
42474         (LDLIBS-bench-log2): Likewise.
42475         * benchtests/exp2-inputs: New inputs file.
42476         * benchtests/log2-inputs: New inputs file.
42477         * benchtests/log-inputs: Add new inputs.
42478         * benchtests/tan-inputs: Likewise.
42480 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42482         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42483         definition...
42484         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42485         (csloww2): ... from here.
42487         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42488         instead of structures.
42489         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42490         (POLYNOMIAL): Likewise.
42491         (TAYLOR_SLOW): Likewise.
42492         (__sin): Likewise.
42493         (__cos): Likewise.
42494         (slow1): Likewise.
42495         (slow2): Likewise.
42496         (sloww): Likewise.
42497         (sloww1); Likewise.
42498         (sloww2): Likewise.
42499         (bsloww1): Likewise.
42500         (bsloww2): Likewise.
42501         (cslow2): Likewise.
42502         (csloww): Likewise.
42503         (csloww1): Likewise.
42504         (csloww2): Likewise.
42506 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42508         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42509         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42510         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42511         * malloc/hooks.c (realloc_check): Likewise.
42513         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42514         * malloc/arena.c: Remove PER_THREAD conditional.
42515         [!PER_THREAD]: Remove code.
42516         (ptmalloc_unlock_all2): Likewise.
42517         (ptmalloc_init): Likewise.
42518         (_int_new_arena): Likewise.
42519         (arena_get2): Likewise.
42520         * malloc/hooks.c (__malloc_get_state): Likewise.
42521         (__malloc_set_state): Likewise.
42522         * malloc/malloc.c: Likewise.
42523         (struct malloc_state): Likewise.
42524         (struct malloc_par): Likewise.
42525         (__libc_realloc): Likewise.
42526         (__libc_mallopt): Likewise.
42528 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42530         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42532 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42534         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42535         macro to a function.  Check for zero perturb_byte.
42536         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42538         * malloc/malloc.c: (force_reg): Remove.
42539         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42540         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42541         force_reg by atomic_forced_read.
42542         * malloc/arena.c (ptmalloc_init): Likewise.
42543         * malloc/hooks.c (top_check): Likewise.
42545 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42549 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42553 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42555         * math/auto-libm-test-in: Add tests of lgamma.
42556         * math/auto-libm-test-out: Regenerated.
42557         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42558         (M_LOG_2_SQRT_PIl): Likewise.
42559         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42560         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42561         mpfr_f_f1.
42562         (func_calc_desc): Add mpfr_f_f1 union field.
42563         (ARGS1): New macro.
42564         (ARGS2): Likewise.
42565         (ARGS3): Likewise.
42566         (ARGS4): Likewise.
42567         (RET1): Likewise.
42568         (RET2): Likewise.
42569         (CALC): Likewise.
42570         (FUNC): Likewise.
42571         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42572         (test_functions): Add lgamma.
42573         (calc_generic_results): Handle mpfr_f_f1.
42574         * sysdeps/i386/fpu/libm-test-ulps: Update.
42575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42577 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42579         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42580         __mpn_add_n for PowerPC64/POWER7.
42581         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42582         __mpn_sub_n for PowerPC64/POWER7.
42584         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42585         __mpn_addmul_1 for PowerPC64.
42586         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42587         __mpn_submul_1 for PowerPC64.
42588         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42589         for PowerPC64.
42590         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42591         for PowerPC64.
42593 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42595         [BZ #15089]
42596         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42598 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42600         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42602         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42603         add multiarch folders.
42604         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42605         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42606         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42607         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42608         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42609         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42610         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42611         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42612         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42613         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42614         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42623         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42625         New file.
42626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42627         New file.
42628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42629         multiarch __ieee754_hypot for PowerPC32.
42630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42631         New file.
42632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42633         New file.
42634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42635         multiarch __ieee754_hypotf for PowerPC32.
42637         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42638         long_double_symbol only if __logbl is defined.
42639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42640         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42642         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42643         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42644         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42645         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42646         path for implementation.
42647         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42648         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42650         logb, and logbl multiarch implementations for PowerPC32.
42651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42652         file.
42653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42654         file.
42655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42656         multiarch logb for PowerPC32.
42657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42658         file.
42659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42660         file.
42661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42662         multiarch logbf for PowerPC32.
42663         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42665         file.
42666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42667         multiarch logbl implementation for PowerPC32.
42669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42670         and modff multiarch implementations.
42671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42672         New file.
42673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42674         New file.
42675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42676         multiarch modf for PowerPC32.
42677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42678         New file.
42679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42680         New file.
42681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42682         multiarch modff for PowerPC32.
42684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42685         and lrintf multiarch implementations.
42686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42687         New file.
42688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42689         New file.
42690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42691         multiarch lrint for PowerPC32.
42692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42693         file: multiarch lrintf for PowerPC32.
42695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42696         and lroundf multiarch implementations.
42697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42698         New file.
42699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42700         New file.
42701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42702         New file.
42703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42704         multiarch lround for PowerPC32.
42705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42706         file: multiarch lroundf for PowerPC32.
42708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42709         copysign and copysignf multiarch implementations.
42710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42711         New file.
42712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42713         New file.
42714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42715         file: multiarch copysign for PowerPC32.
42716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42717         file: multiarch copysignf for PowerPC32.
42719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42720         and truncf multiarch implementations.
42721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42722         New file.
42723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42724         file.
42725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42726         multiarch trunc for PowerPC32.
42727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42728         New file.
42729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42730         New file.
42731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42732         multiarch truncf for PowerPC32.
42734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42735         and roundf multiarch implementations.
42736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42737         New file.
42738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42739         file.
42740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42741         multiarch round for PowerPC32.
42742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42743         New file.
42744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42745         New file.
42746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42747         multiarch roundf for PowerPC32.
42749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42750         and floorf multiarch implementations.
42751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42752         New file.
42753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42754         file.
42755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42756         multiarch floor for PowerPC32.
42757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42758         New file.
42759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42760         New file.
42761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42762         multiarch floorf for PowerPC32.
42764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42765         and ceilf multiarch implementations.
42766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42767         New file.
42768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42769         file.
42770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42771         multiarch ceil for PowerPC32.
42772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42773         New file.
42774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42775         file.
42776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42777         multiarch ceilf for PowerPC32.
42779         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42780         is defined.
42781         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42782         FINITEF is defined.
42783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42784         and finitef multiarch implementations.
42785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42786         New file.
42787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42788         file.
42789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42790         multiarch finite for PowerPC32.
42791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42792         New file.
42793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42794         file: multiarch finitef for PowerPC32.
42796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42797         and isinff multiarch implementations.
42798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42799         file.
42800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42801         file.
42802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42803         multiarch isinf for PowerPC32.
42804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42805         New file.
42806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42807         multiarch isinff for PowerPC32.
42809         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42810         alias when __isnan is defined.
42811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42812         and isnanf multiarch implementations.
42813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42814         file.
42815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42816         file.
42817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42818         file.
42819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42820         file.
42821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42822         multiarch isnan for PowerPC32.
42823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42824         New file.
42825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42826         New file.
42827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42828         multiarch isnanf for PowerPC32.
42830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42831         and sqrtf multiarch implementations.
42832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42833         file.
42834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42835         file.
42836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42837         multiarch sqrt for PowerPC32.
42838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42839         file.
42840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42841         file.
42842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42843         multiarch sqrtf for PowerPC32.
42845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42846         and llroundf multiarch implementations.
42847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42848         New file.
42849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42850         New file.
42851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42852         New file.
42853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42854         file: multiarch llround for PowerPC32.
42855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42856         file: multiarch llroundf for PowerPC32.
42858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42859         multiarch PowerPC32 fpu implementations.
42860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42861         New file.
42862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42863         New file.
42864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42865         multiarch llrint for PowerPC32.
42866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42867         New file.
42868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42869         New file.
42870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42871         file.
42873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42875         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42876         file.
42877         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42878         file.
42879         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42880         file.
42881         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42882         multiarch wordcopy for PPC32.
42883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42884         wordcopy objects.
42885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42886         (__libc_ifunc_impl_list): Likewise.
42887         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42888         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42889         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42890         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42891         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42892         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42894         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42896         file.
42897         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42898         file.
42899         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42900         file.
42901         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42902         multiarch wcscpy for PPC32.
42903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42904         multiarch objects.
42905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42906         (__libc_ifunc_impl_list): Likewise.
42907         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42908         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42909         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42910         sysdeps/powerpc/power6/wcscpy.c.
42912         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42914         file.
42915         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42916         file.
42917         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42918         file.
42919         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42920         multiarch wcsrchr for PPC32.
42921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42922         multiarch objects.
42923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42924         (__libc_ifunc_impl_list): Likewise.
42925         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42926         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42927         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42928         sysdeps/powerpc/power6/wcsrchr.c.
42930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42931         file.
42932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42933         file.
42934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42936         multiarch wcschr for PPc32.
42937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42938         multiarch objects.
42939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42940         (__libc_ifunc_impl_list): Likewise.
42941         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42942         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42943         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42944         sysdeps/powerpc/power6/wcschr.c.
42946         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42947         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42948         file.
42949         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42950         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42951         file: multiarch strchr for PPC32.
42952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42953         multiarch objects.
42954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42955         (__libc_ifunc_impl_list): Likewise.
42957         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42958         name.
42959         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42960         file.
42961         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42962         file.
42963         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42964         multiarch strchrnul for PPC32.
42965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42966         multiarch objects.
42967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42968         (__libc_ifunc_impl_list): Likewise.
42970         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42971         file.
42972         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42973         multiarch strncasecmp for PPC32.
42974         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42975         file.
42976         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42977         multiarch strncasecmp_l for PPC32.
42978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42979         strncasecmp multiarch objects.
42980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42981         (__libc_ifunc_impl_list): Likewise.
42983         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42984         file.
42985         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42986         multiarch strncasecmp for PPC32.
42987         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42988         New file.
42989         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42990         multiarch strcasecmp_l for PPC32.
42991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42992         multiarch objects.
42993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42994         (__libc_ifunc_impl_list): Likewise.
42996         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42997         file.
42998         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42999         file.
43000         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43001         multiarch strncmp for PPC32.
43002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43003         multiarch objects.
43004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43005         (__libc_ifunc_impl_list): Likewise.
43007         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43008         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43009         file.
43010         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43011         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43013         multiarch objects.
43014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43015         (__libc_ifunc_impl_list): Likewise.
43017         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43018         file.
43019         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43020         file.
43021         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43023         multiarch objects.
43024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43025         (__libc_ifunc_impl_list): Likewise.
43027         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43028         file.
43029         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43030         file.
43031         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43032         multiarch rawmemchr for PPC32.
43033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43034         multiarch objects.
43035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43036         (__libc_ifunc_impl_list): Likewise.
43038         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43039         file.
43040         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43041         file.
43042         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43043         file: memrchr multiarch for PPC32.
43044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43045         multiarch objects.
43046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43047         (__libc_ifunc_impl_list): Likewise.
43049         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43050         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43051         file.
43052         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43053         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43054         multiarch memchr for PPC32.
43055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43056         multiarch objects.
43057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43058         (__libc_ifunc_impl_list): Likewise.
43060         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43061         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43062         file.
43063         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43064         file.
43065         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43066         file: multiarch mempcpy for PPC32.
43067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43068         multiarch objects.
43069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43070         (__libc_ifunc_impl_list): Likewise.
43072         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43073         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43074         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43075         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43076         multiarch bzero for PPC32.
43077         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43078         file.
43079         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43080         file.
43081         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43082         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43083         file: multiarch memset for PPC32.
43084         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43086         memset multiarch objects.
43087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43088         (__libc_ifunc_impl_list): Likewise.
43090         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43091         file.
43092         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43094         memcmp for PPC32.
43095         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43097         multiarch objects.
43098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43099         (__libc_ifunc_impl_list): Likewise.
43101         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43102         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43104         file.
43105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43106         file.
43107         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43108         file.
43109         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43110         multiarch memcpy for PPC32.
43111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43112         multiarch objects.
43113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43114         (__libc_ifunc_impl_list): Likewise.
43116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43117         support multiarch for POWER/PPC32.
43118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43119         Likewise.
43120         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43122         Implies file to make multiarch folder appers before the fpu and
43123         default folder for power4 configuration.
43125 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43127         * scripts/bench.pl: Append volatile keyword to type.
43129 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43131         * sysdeps/sh/sotruss-lib.c: New file.
43132         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43134 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43138 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43140         [BZ #6810]
43141         * math/w_tgamma.c: Include <errno.h>.
43142         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43143         * math/w_tgammaf.c: Include <errno.h>.
43144         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43145         * math/w_tgammal.c: Include <errno.h>.
43146         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43147         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43148         underflow.  Add more tgamma tests.
43149         * math/auto-libm-test-out: Regenerated.
43150         * sysdeps/i386/fpu/libm-test-ulps: Update.
43151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43153         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43154         sin, sinh, tan, tanh, tgamma, y0 and y1.
43155         * math/auto-libm-test-out: Regenerated.
43156         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43157         (TEST_COND_x86): Likewise.
43158         (M_E2l): Remove macro.
43159         (M_E3l): Likewise.
43160         (M_2_SQRT_PIl): Likewise.
43161         (M_SQRT_PIl): Likewise.
43162         (M_1_DIV_El): Likewise.
43163         (log_test_data): Use AUTO_TESTS_f_f.
43164         (log10_test_data): Likewise.
43165         (log1p_test_data): Likewise.
43166         (log2_test_data): Likewise.
43167         (sin_test_data): Likewise.
43168         (sin_tonearest_test_data): Likewise.
43169         (sin_towardzero_test_data): Likewise.
43170         (sin_downward_test_data): Likewise.
43171         (sin_upward_test_data): Likewise.
43172         (sinh_test_data): Likewise.
43173         (sinh_tonearest_test_data): Likewise.
43174         (sinh_towardzero_test_data): Likewise.
43175         (sinh_downward_test_data): Likewise.
43176         (sinh_upward_test_data): Likewise.
43177         (tan_test_data): Likewise.
43178         (tan_tonearest_test_data): Likewise.
43179         (tan_towardzero_test_data): Likewise.
43180         (tan_downward_test_data): Likewise.
43181         (tan_upward_test_data): Likewise.
43182         (tanh_test_data): Likewise.
43183         (tgamma_test_data): Likewise.
43184         (y0_test_data): Likewise.
43185         (y1_test_data): Likewise.
43186         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43187         (special_real_inputs): Add pi/4.
43188         * sysdeps/i386/fpu/libm-test-ulps: Update.
43189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43191 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43193         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43194         "longjmp_target" static probes.
43195         (__longjmp): Rename to __longjmp_symbol.
43196         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43197         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43198         on which longjmp to generate.
43199         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43200         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43201         probe.
43202         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43203         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43204         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43205         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43206         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43207         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43209         __longjmp_symbol based on which __longjmp to generate.
43210         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43211         probe.
43212         (setjmp): Rename to setjmp_symbol.
43213         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43214         (_setjmp): Rename to _setjmp_symbol.
43215         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43216         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43217         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43218         which setjmp to generate.
43219         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43220         "longjmp_target" static probes.
43222 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43224         * benchtests/README: Add note about output arguments.
43225         * benchtests/bench-sincos.c: Remove file.
43226         * benchtests/sincos-inputs: New file.
43227         * scripts/bench.pl: Identify output arguments and define
43228         static variables for them.
43230         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43232         [BZ #15941]
43233         * Makefile (INSTALL): Add install-plain.texi as the primary
43234         dependency.
43235         * manual/install-plain.texi: New file.
43236         * manual/install.texi: Include node directive only for
43237         non-plaintext output.
43239 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43241         * stdlib/longlong.h: Update from GCC.
43243         [BZ #6807]
43244         [BZ #15901]
43245         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43246         * math/w_j0f.c (y0f): Likewise.
43247         * math/w_j0l.c (__y0l): Likewise.
43248         * math/w_j1.c (y1): Likewise.
43249         * math/w_j1f.c (y1f): Likewise.
43250         * math/w_j1l.c (__y1l): Likewise.
43251         * math/w_jn.c (yn): Likewise.
43252         * math/w_jnf.c (ynf): Likewise.
43253         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43254         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43255         value for Bessel function domain errors outside _SVID_ mode.
43256         Adjust sign of return value for yn (negative integer, 0).
43257         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43258         by zero in return for negative x and set sign appropriately for
43259         negative n.
43260         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43261         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43262         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43263         expectations in error cases.
43264         (y1_test_data): Likewise.
43265         (yn_test_data): Likewise.
43266         * sysdeps/i386/fpu/libm-test-ulps: Update.
43267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43269 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43271         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43272         "64" to "64-v1".  Add "64-v2".
43273         (abi-64-options): Rename to ...
43274         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43275         (abi-64-condition): Rename to ...
43276         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43277         (abi-64-ld-soname): Rename to ...
43278         (abi-64-v1-ld-soname): ... this.
43279         (abi-64-v2-options): Define.
43280         (abi-64-v2-condition): Likewise.
43281         (abi-64-v2-ld-soname): Likewise.
43282         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43283         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43288 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43289             Alan Modra  <amodra@gmail.com>
43291         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43292         New versions for use with the ELFv2 ABI.
43293         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43294         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43295         declaration.
43296         (struct La_ppc64v2_retval): Likewise.
43297         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43298         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43299         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43300         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43301         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43302         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43303         Do not save or restore CR.
43304         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43305         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43306         return values for ELFv2 ABI.  Fix location of FPR return registers.
43307         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43308         updated values for _CALL_ELF == 2.
43309         (La_regs, La_retval, int_retval): Likewise.
43311 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43313         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43314         (FRAME_MIN_SIZE_PARM): Likewise.
43315         (FRAME_BACKCHAIN): Likewise.
43316         (FRAME_CR_SAVE): Likewise.
43317         (FRAME_LR_SAVE): Likewise.
43318         (FRAME_TOC_SAVE): Likewise.
43319         (FRAME_PARM_SAVE): Likewise.
43320         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43321         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43322         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43323         (call_mcount_parm_offset): New macro.
43324         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43325         (PROF): Use symbolic stack frame offsets.
43326         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43327         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43328         Redefine in terms of FRAME_MIN_SIZE.
43329         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43330         (_dl_profile_resolve): Likewise.  Update comment.
43331         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43332         symbols stack frame offsets.
43333         (__sigsetjmp): Likewise.
43334         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43335         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43336         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43337         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43340         (FRAME_BACKCHAIN): Remove.
43341         (FRAME_CR_SAVE): Likewise.
43342         (FRAME_LR_SAVE): Likewise.
43343         (FRAME_COMPILER_DW): Likewise.
43344         (FRAME_LINKER_DW): Likewise.
43345         (FRAME_TOC_SAVE): Likewise.
43346         (FRAME_PARM_SAVE): Likewise.
43347         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43348         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43349         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43351         (CHECK_SP): Use symbolic stack frame offsets.
43352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43353         zone" instead of caller's parameter save area for temp storage.
43354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43355         Likewise.  Also, use symbolic stack frame offsets.
43356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43357         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43358         our own stack frame instead of the caller's.
43359         (__socket): Use symbolic stack frame offsets.
43361 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43362             Alan Modra  <amodra@gmail.com>
43364         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43365         Define.
43366         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43367         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43368         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43369         New function.
43370         (elf_machine_fixup_plt): Call it.
43371         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43372         reloc arguments.
43373         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43374         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43375         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43376         r2 before calling target.
43378 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43379             Alan Modra  <amodra@gmail.com>
43381         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43382         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43383         versions of macros to support ELFv2 ABI.
43384         (LOCALENTRY): New macro.
43385         (ENTRY, EALIGN): Use it.
43386         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43387         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43388         fall through into ENTRY entry point.
43389         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43390         Only define if _CALL_ELF != 2.
43392         (elf_machine_matches_host): Verify ABI version matches.
43393         (RTLD_START): Use LOCALENTRY.
43394         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43395         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43396         (PLT_ENTRY_WORDS): New macro.
43397         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43398         (elf_machine_runtime_setup): Support ELFv2 ABI.
43399         (elf_machine_fixup_plt): Likewise.
43400         (elf_machine_plt_conflict): Likewise.
43401         (resolve_ifunc): Likewise.
43402         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43403         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43404         Likewise.
43405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43406         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43408         (makecontext): Support ELFv2 ABI.
43409         * elf/elf.h (EF_PPC64_ABI): Define.
43411 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43413         * sysdeps/powerpc/powerpc64/sysdep.h
43414         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43415         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43416         (ENTRY) [ASSEMBLER]: ... but instead here ...
43417         (EALIGN) [ASSEMBLER]: ... and here.
43418         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43419         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43420         (ENTRY_2) [!ASSEMBLER]: Use it.
43421         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43422         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43423         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43424         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43425         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43427         Use PPC64_LOAD_FUNCPTR.
43429         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43431 2013-12-04  Alan Modra  <amodra@gmail.com>
43433         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43434         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43435         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43436         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43439         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43440         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43441         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43442         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43443         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43445 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43448         (__makecontext): Fix incorrect CFI when backtracing out of
43449         context created via makecontext.
43450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43451         (__setcontext): Fix incorrect CFI during switch to new context.
43452         (__novec_setcontext): Likewise.
43454 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43456         [BZ #4772]
43457         * time/strptime_l.c (__strptime_internal): Allow modifiers
43458         in strptime.
43459         * time/tst-strptime.c (day_tests): Add testcase.
43461 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43463         * scripts/bench.pl: Skip over blank lines.
43465 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43467         [BZ #926]
43468         * manual/time.texi (Calendar Time): Clarify what timezone functions
43469         use.
43471 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43475 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43477         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43478         implementation.
43479         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43480         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43481         * debug/memset_chk.c (__memset_chk): Likewise.
43482         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43483         * debug/strncpy_chk.c: Likewise.
43485 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43487         [BZ #15268]
43488         [BZ #15425]
43489         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43490         (__ieee754_exp): For possibly underflowing results, check size of
43491         result and force underflow exception if required.
43492         * math/auto-libm-test-in: Add more tests of exp.
43493         * math/auto-libm-test-out: Regenerated.
43494         * sysdeps/i386/fpu/libm-test-ulps: Update.
43495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43497         [BZ #16283]
43498         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43499         * math/w_exp2f.c (__exp2f): Likewise.
43500         * math/w_exp2l.c (__exp2l): Likewise.
43501         * math/auto-libm-test-in: Do not allow missing errno on exp2
43502         underflow.
43503         * math/auto-libm-test-out: Regenerated.
43505 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43507         [BZ #16274]
43508         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43509         handle filename validation.
43510         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43511         (do_open): Delete.
43513 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43515         [BZ #6786]
43516         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43517         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43518         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43519         <float.h>.
43520         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43521         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43522         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43524         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43525         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43526         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43527         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43528         Add more erfc tests.
43529         * math/auto-libm-test-out: Regenerated.
43530         * sysdeps/i386/fpu/libm-test-ulps: Update.
43531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43533         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43534         exp2, expm1, j0 and j1.
43535         * math/auto-libm-test-out: Regenerated.
43536         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43537         (erfc_test_data): Likewise.
43538         (exp_test_data): Likewise.
43539         (exp_tonearest_test_data): Likewise.
43540         (exp_towardzero_test_data): Likewise.
43541         (exp_downward_test_data): Likewise.
43542         (exp_upward_test_data): Likewise.
43543         (exp10_test_data): Likewise.
43544         (exp2_test_data): Likewise.
43545         (expm1_test_data): Likewise.
43546         (j0_test_data): Likewise.
43547         (j1_test_data): Likewise.
43548         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43549         (input_flag_type): Add flag_xfail_rounding.
43550         (input_flags): Add xfail-rounding.
43551         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43552         (output_for_one_input_case): Handle flag_xfail_rounding.
43553         * sysdeps/i386/fpu/libm-test-ulps: Update.
43554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43556 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43558         [BZ #16289]
43559         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43560         division by 0.
43562 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43564         [BZ #16195]
43565         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43566         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43567         (STAP_PROBE0): New macro.
43568         (STAP_PROBE1): Likewise.
43569         (STAP_PROBE2): Likewise.
43570         (STAP_PROBE3): Likewise.
43571         (STAP_PROBE4): Likewise.
43573 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43575         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43577 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43579         * benchtests/Makefile (bench): Add sqrt.
43580         (LDLIBS-bench-sqrt): New.
43581         * benchtests/sqrt-input: New.
43583 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43585         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43586         (GAIH_EAI): Likewise.
43587         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43588         (gaih_inet): Likewise.
43589         (getaddrinfo): Don't use GAIH_EAI.
43591         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43592         (struct gaih): Remove definition.
43594 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43596         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43597         Use HERRNOP directly.
43599 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43603 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43605         * math/gen-auto-libm-tests.c (test_functions): Add more
43606         single-argument functions.
43607         (special_fill_pi_2): New function.
43608         (special_fill_minus_pi_2): Likewise.
43609         (special_fill_pi_6): Likewise.
43610         (special_fill_minus_pi_6): Likewise.
43611         (special_fill_pi_3): Likewise.
43612         (special_fill_2pi_3): Likewise.
43613         (special_fill_e): Likewise.
43614         (special_fill_1_e): Likewise.
43615         (special_fill_e_minus_1): Likewise.
43616         (special_real_inputs): Add more special inputs.
43617         (output_for_one_input_case): Do not require ERANGE on underflow to
43618         zero if round-to-nearest result does not underflow to zero, unless
43619         exact results required.
43620         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43621         atan, atanh, cbrt, cos and cosh.
43622         * math/auto-libm-test-out: Regenerated.
43623         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43624         (acos_tonearest_test_data): Likewise.
43625         (acos_towardzero_test_data): Likewise.
43626         (acos_downward_test_data): Likewise.
43627         (acos_upward_test_data): Likewise.
43628         (acosh_test_data): Likewise.
43629         (asin_test_data): Likewise.
43630         (asin_tonearest_test_data): Likewise.
43631         (asin_towardzero_test_data): Likewise.
43632         (asin_upward_test_data): Likewise.
43633         (asinh_test_data): Likewise.
43634         (atan_test_data): Likewise.
43635         (atanh_test_data): Likewise.
43636         (cbrt_test_data): Likewise.
43637         (cos_test_data): Likewise.
43638         (cos_tonearest_test_data): Likewise.
43639         (cos_towardzero_test_data): Likewise.
43640         (cos_downward_test_data): Likewise.
43641         (cos_upward_test_data): Likewise.
43642         (cosh_test_data): Likewise.
43643         (cosh_tonearest_test_data): Likewise.
43644         (cosh_towardzero_test_data): Likewise.
43645         (cosh_downward_test_data): Likewise.
43646         (cosh_upward_test_data): Likewise.
43647         * sysdeps/i386/fpu/libm-test-ulps: Update.
43648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43650 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43652         [BZ #6787]
43653         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43654         * math/w_exp10f.c (__exp10f): Likewise.
43655         * math/w_exp10l.c (__exp10l): Likewise.
43656         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43657         errno settings in existing tests.
43659         [BZ #14032]
43660         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43661         precision control set to double precision.
43662         * sysdeps/i386/fpu/w_sqrt.c: New file.
43663         * math/auto-libm-test-in: Add more tests.
43664         * math/auto-libm-test-out: Update.
43666         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43667         (sqrt_test_tonearest): New function.
43668         (sqrt_towardzero_test_data): New variable.
43669         (sqrt_test_towardzero): New function.
43670         (sqrt_downward_test_data): New variable.
43671         (sqrt_test_downward): New function.
43672         (sqrt_upward_test_data): New variable.
43673         (sqrt_test_upward): New function.
43674         (main): Call the new functions.
43676         * math/gen-auto-libm-tests.c: New file.
43677         * math/auto-libm-test-in: Likewise.
43678         * math/auto-libm-test-out: New generated file.
43679         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43680         variables.
43681         (%beautify): Add generated representations of zero.
43682         (top level): Set $auto_input and call parse_auto_input.
43683         (beautify): Remove trailing "f" from hex float constants.
43684         (parse_args): Handle XFAIL_TEST.
43685         (convert_condition): New function.
43686         (or_value): Likewise.
43687         (or_cond_value): Likewise.
43688         (generate_testfile): Handle AUTO_TESTS_* lines.
43689         (parse_auto_input): New function.
43690         * math/libm-test.inc (XFAIL_TEST): New macro.
43691         (ERRNO_UNCHANGED): Update value.
43692         (ERRNO_EDOM): Likewise.
43693         (ERRNO_ERANGE): Likewise.
43694         (IGNORE_RESULT): Likewise.
43695         (TEST_COND_flt_32): New macro.
43696         (TEST_COND_dbl_64): Likewise.
43697         (TEST_COND_ldbl_96_intel): Likewise.
43698         (TEST_COND_ldbl_96_m68k): Likewise.
43699         (TEST_COND_ldbl_128): Likewise.
43700         (TEST_COND_ldbl_128ibm): Likewise.
43701         (TEST_COND_long32): Likewise.
43702         (TEST_COND_long64): Likewise.
43703         (TEST_COND_before_rounding): Likewise.
43704         (TEST_COND_after_rounding): Likewise.
43705         (enable_test): Handle XFAIL_TEST flag.
43706         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43707         with finite results.
43708         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43709         auto-libm-test-out.
43711 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43712             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43714         [BZ #16214]
43715         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43716         __tls_get_addr_internal instead of __tls_get_offset in order to
43717         avoid GOT pointer dependency.  Make rtld export
43718         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43719         __tls_get_addr since we are a __tls_get_offset platform.
43720         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43721         GOT pointer being set up before.
43722         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43724 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43726         * manual/math.texi (Errors in Math Functions): Document accuracy
43727         goals.
43729         [BZ #15004]
43730         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43731         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43732         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43733         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43734         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43735         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43736         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43737         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43738         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43739         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43740         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43741         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43742         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43743         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43744         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43745         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43747         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43748         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43749         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43750         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43751         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43752         Likewise.
43753         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43754         Likewise.
43755         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43756         Likewise.
43757         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43758         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43759         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43760         atomic-feupdateenv and flt-rounds.
43761         * sysdeps/powerpc/nofpu/Versions (libc): Add
43762         __atomic_feholdexcept, __atomic_feclearexcept,
43763         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43764         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43765         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43766         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43767         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43768         here.
43769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43770         Update.
43772         * manual/arith.texi (FP Exceptions): Document that exceptions may
43773         not be raised when matherr is used.
43774         (Math Error Reporting): Document overflow in directed rounding
43775         modes.  Document that errno may not be set when finite values are
43776         returned on overflow.  Document intent to set errno on underflow
43777         only for underflow to zero.
43779         [BZ #16271]
43780         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43781         round-to-nearest then adjust result for other rounding modes.
43782         * include/fenv.h (fegetround): Use libm_hidden_proto.
43783         * math/fegetround.c (fegetround): Use libm_hidden_def.
43784         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43785         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43786         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43787         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43788         Likewise.
43789         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43790         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43791         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43792         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43794 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43796         [BZ #16077]
43797         * nss/Versions (libnss_files): Add
43798         _nss_files_gethostbyname3_r.
43799         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43800         New function.
43801         (HOST_DB_LOOKUP): Remove macro.
43802         (_nss_files_gethostbyname_r): Implement function without the
43803         HOST_DB_LOOKUP macro.
43804         (_nss_files_gethostbyname2_r): Likewise.
43806 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43808         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43810 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43812         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43813         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43814         warning.
43816 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43818         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43819         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43820         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43821         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43822         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43823         __fe_nomask_env_priv and attribute_hidden.
43824         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43825         (libc_feupdateenv_test_ppc): Likewise.
43826         (libc_feresetround_ppc): Likewise.
43827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43828         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43829         compat_symbol macro.
43830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43831         (__fe_nomask_env): Likewise.
43832         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43834 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43836         * string/Makefile: Remove ifunc tests.
43837         * string/test-string.h: Define TEST_IFUNC.
43838         * string/test-bcopy-ifunc.c: Remove.
43839         * string/test-bzero-ifunc.c: Likewise.
43840         * string/test-memccpy-ifunc.c: Likewise.
43841         * string/test-memchr-ifunc.c: Likewise.
43842         * string/test-memcmp-ifunc.c: Likewise.
43843         * string/test-memcpy-ifunc.c: Likewise.
43844         * string/test-memmem-ifunc.c: Likewise.
43845         * string/test-memmove-ifunc.c: Likewise.
43846         * string/test-mempcpy-ifunc.c: Likewise.
43847         * string/test-memrchr-ifunc.c: Likewise.
43848         * string/test-memset-ifunc.c: Likewise.
43849         * string/test-rawmemchr-ifunc.c: Likewise.
43850         * string/test-stpcpy-ifunc.c: Likewise.
43851         * string/test-stpncpy-ifunc.c: Likewise.
43852         * string/test-strcasecmp-ifunc.c: Likewise.
43853         * string/test-strcasestr-ifunc.c: Likewise.
43854         * string/test-strcat-ifunc.c: Likewise.
43855         * string/test-strchr-ifunc.c: Likewise.
43856         * string/test-strchrnul-ifunc.c: Likewise.
43857         * string/test-strcmp-ifunc.c: Likewise.
43858         * string/test-strcpy-ifunc.c: Likewise.
43859         * string/test-strcspn-ifunc.c: Likewise.
43860         * string/test-strlen-ifunc.c: Likewise.
43861         * string/test-strncasecmp-ifunc.c: Likewise.
43862         * string/test-strncat-ifunc.c: Likewise.
43863         * string/test-strncmp-ifunc.c: Likewise.
43864         * string/test-strncpy-ifunc.c: Likewise.
43865         * string/test-strnlen-ifunc.c: Likewise.
43866         * string/test-strpbrk-ifunc.c: Likewise.
43867         * string/test-strrchr-ifunc.c: Likewise.
43868         * string/test-strspn-ifunc.c: Likewise.
43869         * string/test-strstr-ifunc.c: Likewise.
43871 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43873         * benchtests/Makefile: Remove ifunc tests.
43874         * benchtests/bench-string.h: Define TEST_IFUNC.
43875         * benchtests/bench-bcopy-ifunc.c: Remove.
43876         * benchtests/bench-bzero-ifunc.c: Likewise.
43877         * benchtests/bench-memccpy-ifunc.c: Likewise.
43878         * benchtests/bench-memchr-ifunc.c: Likewise.
43879         * benchtests/bench-memcmp-ifunc.c: Likewise.
43880         * benchtests/bench-memcpy-ifunc.c: Likewise.
43881         * benchtests/bench-memmem-ifunc.c: Likewise.
43882         * benchtests/bench-memmove-ifunc.c: Likewise.
43883         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43884         * benchtests/bench-memrchr-ifunc.c: Likewise.
43885         * benchtests/bench-memset-ifunc.c: Likewise.
43886         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43887         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43888         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43889         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43890         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43891         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43892         * benchtests/bench-strcat-ifunc.c: Likewise.
43893         * benchtests/bench-strchr-ifunc.c: Likewise.
43894         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43895         * benchtests/bench-strcmp-ifunc.c: Likewise.
43896         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43897         * benchtests/bench-strcpy-ifunc.c: Likewise.
43898         * benchtests/bench-strcspn-ifunc.c: Likewise.
43899         * benchtests/bench-strlen-ifunc.c: Likewise.
43900         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43901         * benchtests/bench-strncat-ifunc.c: Likewise.
43902         * benchtests/bench-strncmp-ifunc.c: Likewise.
43903         * benchtests/bench-strncpy-ifunc.c: Likewise.
43904         * benchtests/bench-strnlen-ifunc.c: Likewise.
43905         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43906         * benchtests/bench-strrchr-ifunc.c: Likewise.
43907         * benchtests/bench-strsep-ifunc.c: Likewise.
43908         * benchtests/bench-strspn-ifunc.c: Likewise.
43909         * benchtests/bench-strstr-ifunc.c: Likewise.
43911 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43913         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43915 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43917         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43918         * rt/aio.h: Likewise.
43919         * sysdeps/gnu/bits/utmp.h: Likewise.
43920         * sysdeps/gnu/bits/utmpx.h: Likewise.
43921         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43922         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43923         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43924         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43925         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43926         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43927         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43928         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43929         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43930         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43931         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43932         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43933         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43935         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43936         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43937         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43938         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43939         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43940         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43941         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43942         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43943         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43944         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43945         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43946         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43947         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43948         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43949         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43950         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43951         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43952         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43953         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43954         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43955         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43956         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43957         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43958         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43959         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43960         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43961         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43962         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43964 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43966         [BZ #16245]
43967         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43968         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43970 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43972         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43973         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43974         Likewise.
43976 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43978         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43979         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43980         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43981         (__fesetround): Remove define.
43982         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43983         rounding and exceptions handling.
43984         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43985         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43986         (__fe_nomask_env): Likewise.
43987         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43988         __fegetround instead of fegetround.
43989         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43990         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43992 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43994         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43995         it's there.
43997         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43999 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44001         [BZ #11157]
44002         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44003         (encrypt_r): Likewise.
44004         * malloc/obstack.h (obstack_free): Likewise.
44005         * posix/unistd.h (encrypt): Likewise.
44007 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44009         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44010         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44011         DL_CALL_DT_FINI() that call the functions directly.
44012         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44013         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44014         * elf/dl-fini.c: Likewise.
44016 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44018         * malloc/hooks.c (memalign_check): Add alignment rounding.
44019         * malloc/malloc.c (_mid_memalign): New function.
44020         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44021         Implement by calling _mid_memalign.
44022         * manual/probes.texi (Memory Allocation Probes): Remove
44023         memory_valloc_retry and memory_pvalloc_retry.
44025 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44027         * locale/programs/locarchive.c (open_archive): Add const
44028         qualifier to ARCHIVEFNAME and copy default fname to
44029         DEFAULT_FNAME.
44031         [BZ #15601]
44032         * libio/tst-widetext.input: Rename Oriya to Odia.
44033         * locale/iso-639.def: Likewise.
44035         * manual/probes.texi (Mathematical Function Probes): Add
44036         documentation for sin, cos, asin and acos probes.
44037         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44038         (__sin32): Add slowasin probe.
44039         (__cos32): Add slowacos probe.
44040         (__mpsin): Add slowsin probe.
44041         (__mpcos): Add slowcos probe.
44043 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44045         [BZ #15483]
44046         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44047         thread-local __sim_exceptions_thread and global
44048         __sim_exceptions_global.
44049         (__sim_disabled_exceptions): Change to thread-local
44050         __sim_disabled_exceptions_thread and global
44051         __sim_disabled_exceptions_global.
44052         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44053         and global __sim_round_mode_global.
44054         (__simulate_exceptions): Use thread-local floating-point state and
44055         set global state from it as needed.
44056         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44057         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44058         __sim_round_mode_thread.
44059         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44060         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44061         and global __sim_exceptions_global.
44062         (__sim_disabled_exceptions): Change to thread-local
44063         __sim_disabled_exceptions_thread and global
44064         __sim_disabled_exceptions_global.
44065         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44066         and global __sim_round_mode_global.
44067         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44068         (SIM_SET_GLOBAL): Likewise.
44069         * sysdeps/powerpc/soft-fp/sfp-machine.h
44070         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44071         __sim_round_mode_thread.
44072         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44073         __sim_disabled_exceptions_thread.
44074         (__sim_exceptions): Change to __sim_exceptions_thread.
44075         (__sim_disabled_exceptions): Change to
44076         __sim_disabled_exceptions_thread.
44077         (__sim_round_mode): Change to __sim_round_mode_thread.
44078         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44079         thread-local floating-point state and set global state from it as
44080         needed.
44081         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44082         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44083         (__sim_disabled_exceptions): Remove extern declaration.
44084         (feenableexcept): Use thread-local floating-point state and set
44085         global state from it as needed.
44086         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44087         extern declaration.
44088         (__sim_disabled_exceptions): Likewise.
44089         (__sim_round_mode): Likewise.
44090         (__fegetenv): Use thread-local floating-point state.
44091         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44092         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44093         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44094         floating-point state and set global state from it as needed.
44095         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44096         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44097         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44098         Likewise.
44099         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44100         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44101         Likewise.
44102         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44103         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44104         Use __sim_round_mode_thread.
44105         * math/test-fenv-tls.c: New file.
44106         * math/Makefile (tests): Add test-fenv-tls.
44107         ($(objpfx)test-fenv-tls): Depend on
44108         $(common-objpfx)nptl/libpthread.so.
44110 2013-11-19  Andreas Schwab  <schwab@suse.de>
44112         * locale/programs/locale.c (show_info): Decode wordarray elements.
44113         * locale/categories.def (LC_MONETARY): Add element for
44114         _NL_MONETARY_CRNCYSTR.
44115         * locale/C-monetary.c (conversion_rate): New variable.
44116         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44117         element.
44119 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44121         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44122         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44124 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44126         * elf/Makefile (tst-auxv): New test.
44127         * elf/tst-auxv.c: New
44128         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44130 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44132         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44133         (hidden_proto): Caller changed.
44134         (hidden_tls_proto): New macro.
44135         (libc_hidden_tls_proto): Likewise.
44136         (rtld_hidden_tls_proto): Likewise.
44137         (libm_hidden_tls_proto): Likewise.
44138         (libresolv_hidden_tls_proto): Likewise.
44139         (librt_hidden_tls_proto): Likewise.
44140         (libdl_hidden_tls_proto): Likewise.
44141         (libnss_files_hidden_tls_proto): Likewise.
44142         (libnsl_hidden_tls_proto): Likewise.
44143         (libnss_nisplus_hidden_tls_proto): Likewise.
44144         (libutil_hidden_tls_proto): Likewise.
44146 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44148         [BZ #10253]
44149         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44150         (decompose_rpath): Defer expansion to fillin_rpath.
44151         (_dl_init_paths): Pass linkmap to fillin_rpath.
44153 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44155         * benchtests/Makefile: Add strsep.
44156         * benchtests/bench-strsep.c: New file: strsep benchtest.
44157         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44159 2013-11-18  Andreas Schwab  <schwab@suse.de>
44161         * locale/programs/locale.c (show_info) [case byte]: Check for
44162         '\377' instead of '\177'.
44163         * locale/C-monetary.c (not_available): Always use "\377".
44164         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44165         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44166         detect unavailable sign_posn locale elements.
44167         * locale/localeconv.c (__localeconv): For grouping and
44168         mon_grouping handle "\177" and "\377" like no grouping.
44169         (INT_ELEM): New macro.  Use it to set all numeric members.
44170         * locale/programs/ld-monetary.c (monetary_read)
44171         <tok_mon_grouping>: Normalize single -1 to the empty string.
44172         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44173         Likewise.
44175 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44177         [BZ #16055]
44178         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44179         when we match (nil).
44180         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44182 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44184         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44185         (NO_TEST_INLINE): Update value.
44186         (ERRNO_UNCHANGED): Likewise.
44187         (ERRNO_EDOM): Likewise.
44188         (ERRNO_ERANGE): Likewise.
44189         (IGNORE_RESULT): Likewise.
44190         (check_float_internal): Check signs of NaN results if
44191         TEST_NAN_SIGN used.
44192         (check_complex): Pass TEST_NAN_SIGN flag through to second
44193         check_float_internal call.
44194         (copysign_test_data): Add tests with quiet NaNs as second
44195         argument.  Use TEST_NAN_SIGN.
44196         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44197         TEST_NAN_SIGN.
44198         (signbit_test_data): Add tests of quiet NaN argument.
44199         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44201         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44202         $ignore_result.
44203         (parse_args): Handle function results specified as IGNORE.
44204         * math/libm-test.inc (IGNORE_RESULT): New macro.
44205         (check_float_internal): Do not check numerical result if flag
44206         IGNORE_RESULT set.
44207         (check_complex): Pass through IGNORE_RESULT to second
44208         check_float_internal call.
44209         (check_int): Do not check numerical result if flag IGNORE_RESULT
44210         set.
44211         (check_long): Likewise.
44212         (check_bool): Likewise.
44213         (check_longlong): Likewise.
44214         (lrint_test_data): Add tests of infinite and NaN arguments.
44215         (lrint_tonearest_test_data): Likewise.
44216         (lrint_towardzero_test_data): Likewise.
44217         (lrint_downward_test_data): Likewise.
44218         (lrint_upward_test_data): Likewise.
44219         (llrint_test_data): Likewise.
44220         (llrint_tonearest_test_data): Likewise.
44221         (llrint_towardzero_test_data): Likewise.
44222         (llrint_downward_test_data): Likewise.
44223         (llrint_upward_test_data): Likewise.
44224         (lround_test_data): Likewise.
44225         (llround_test_data): Likewise.
44227         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44228         (ERRNO_UNCHANGED): Update value.
44229         (ERRNO_EDOM): Likewise.
44230         (ERRNO_ERANGE): Likewise.
44231         (NO_TEST_INLINE_FLOAT): New macro.
44232         (NO_TEST_INLINE_DOUBLE): Likewise.
44233         (enable_test): New function.
44234         (RUN_TEST_f_f): Check enable_test before running test.
44235         (RUN_TEST_2_f): Likewise.
44236         (RUN_TEST_fff_f): Likewise.
44237         (RUN_TEST_c_f): Likewise.
44238         (RUN_TEST_f_f1): Likewise.
44239         (RUN_TEST_fF_f1): Likewise.
44240         (RUN_TEST_fI_f1): Likewise.
44241         (RUN_TEST_ffI_f1): Likewise.
44242         (RUN_TEST_c_c): Likewise.
44243         (RUN_TEST_cc_c): Likewise.
44244         (RUN_TEST_f_i): Likewise.
44245         (RUN_TEST_f_i_tg): Likewise.
44246         (RUN_TEST_ff_i_tg): Likewise.
44247         (RUN_TEST_f_b): Likewise.
44248         (RUN_TEST_f_b_tg): Likewise.
44249         (RUN_TEST_f_l): Likewise.
44250         (RUN_TEST_f_L): Likewise.
44251         (RUN_TEST_fFF_11): Likewise.
44252         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44253         conditionals.
44254         (cosh_test_data): Likewise.
44255         (exp_test_data): Likewise.
44256         (expm1_test_data): Likewise.
44257         (hypot_test_data): Likewise.
44258         (pow_test_data): Likewise.
44259         (sinh_test_data): Likewise.
44260         (tanh_test_data): Likewise.
44261         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44262         flags argument.
44264         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44265         tests with quiet NaN input and output.
44266         (acosh_test_data): Likewise.
44267         (asin_test_data): Likewise.
44268         (asinh_test_data): Likewise.
44269         (atan_test_data): Likewise.
44270         (atanh_test_data): Likewise.
44271         (atan2_test_data): Likewise.
44272         (cbrt_test_data): Likewise.
44273         (cos_test_data): Likewise.
44274         (cosh_test_data): Likewise.
44275         (erf_test_data): Likewise.
44276         (erfc_test_data): Likewise.
44277         (exp_test_data): Likewise.
44278         (exp10_test_data): Likewise.
44279         (exp2_test_data): Likewise.
44280         (expm1_test_data): Likewise.
44281         (hypot_test_data): Likewise.
44282         (j0_test_data): Likewise.
44283         (j1_test_data): Likewise.
44284         (jn_test_data): Likewise.
44285         (lgamma_test_data): Likewise.
44286         (log_test_data): Likewise.
44287         (log10_test_data): Likewise.
44288         (log1p_test_data): Likewise.
44289         (log2_test_data): Likewise.
44290         (pow_test_data): Likewise.
44291         (scalb_test_data): Likewise.
44292         (sin_test_data): Likewise.
44293         (sincos_test_data): Likewise.
44294         (sinh_test_data): Likewise.
44295         (tan_test_data): Likewise.
44296         (tanh_test_data): Likewise.
44297         (tgamma_test_data): Likewise.
44298         (y0_test_data): Likewise.
44299         (y1_test_data): Likewise.
44300         (yn_test_data): Likewise.
44302         [BZ #16167]
44303         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44304         argument being NaN and avoid computations with second argument in
44305         that case.
44306         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44307         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44308         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44310 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44312         * locale/iso-639.def: Add Chitwani Tharu (the).
44314 2013-11-14  Andreas Schwab  <schwab@suse.de>
44316         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44317         word instead of empty string.
44319 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44322         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44324         (__fe_nomask_env): Likewise.
44326 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44328         * benchtests/bench-timing.h: Include time.h.
44330 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44332         [BZ #15997]
44333         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44334         to 3.4.0 for x32.
44335         * sysdeps/unix/sysv/linux/configure: Regenerated.
44337 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44339         [BZ #16151]
44340         * stdlib/strtod_l.c (round_and_return): Do not consider
44341         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44342         exponent one less than half the least subnormal exponent.
44343         * stdlib/test-strtod-round-data: Add more tests.
44344         * stdlib/tst-strtod-round.c (tests): Regenerated.
44346 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44348         [BZ #14143]
44349         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44350         (__fe_mask_env): Likewise.
44351         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44352         libm_hidden_proto and add function prototype.
44353         (__fe_mask_env): Add function prototype.
44354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44355         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44357         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44359         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44361 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44363         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44364         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44366 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44368         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44369         of htab_find_slot().
44371 2013-11-11  David S. Miller  <davem@davemloft.net>
44373         [BZ #16150]
44374         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44375         symbol in the non-vis3 case in static builds.
44376         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44377         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44378         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44379         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44381 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44383         [BZ #387]
44384         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44385         it is empty.
44387 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44389         * benchtests/Makefile: Add bench-strtod.
44390         * benchtests/bench-strtod.c: New file: strtod benchtest
44392 2013-11-11  Andreas Schwab  <schwab@suse.de>
44394         [BZ #16153]
44395         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44396         terminating NUL in key length.
44398 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44400         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44401         Add artificial ODP entry for vDSO symbol for PPC64.
44402         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44403         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44405 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44407         [BZ #15374]
44408         * nss/getent.c (services_keys): Recognize services starting with digit.
44410 2013-11-06  David S. Miller  <davem@davemloft.net>
44412         [BZ #15985]
44413         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44414         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44416 2013-11-06  Will Newton  <will.newton@linaro.org>
44418         * manual/memory.texi (Malloc Examples): Remove register
44419         keyword from examples.
44421 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44423         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44425 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44427         [BZ #6981]
44428         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44429         depending on [__GCC_IEC_559 > 0].
44430         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44431         depending on [__GCC_IEC_559_COMPLEX > 0].
44433 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44435         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44436         to iso-639.def.
44438 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44440         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44442 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44444         [BZ #16112]
44445         * malloc/malloc (malloc_info): Do not handle first bin as
44446         special case.
44448 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44450         * locale/iso-639.def: Add Central Nahuatl (nhn).
44452 2013-11-01  Bruno Haible  <bruno@clisp.org>
44454         [BZ #7003]
44455         * manual/math.texi (BSD Random): Specify range upper bound as
44456         in POSIX.
44458 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44460         * locale/iso-639.def: Add Meadow Mari (mhr).
44462 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44464         [BZ #14752], [BZ #15763]
44465         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44466         Validate name.
44467         * rt/tst_shm.c: Add test for escaping directory.
44469 2013-10-31  Andreas Schwab  <schwab@suse.de>
44471         [BZ #15917]
44472         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44473         followed by 'x' as part of digit sequence.
44474         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44476 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44478         [BZ #16037]
44479         * configure.ac: allow GNU Make 4.0 and greater.
44480         * configure: Regenerated.
44482 2013-10-30  Will Newton  <will.newton@linaro.org>
44484         [BZ #16038]
44485         * malloc/hooks.c (memalign_check): Limit alignment to the
44486         maximum representable power of two.
44487         * malloc/malloc.c (__libc_memalign): Likewise.
44488         * malloc/tst-memalign.c (do_test): Add test for very
44489         large alignment values.
44490         * malloc/tst-posix_memalign.c (do_test): Likewise.
44492 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44494         [BZ #11087]
44495         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44496         (munmap_chunk): Likewise.
44497         (mremap_chunk): Likewise.
44499 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44501         [BZ #15799]
44502         * stdlib/div.c (div): Remove obsolete code.
44503         * stdlib/ldiv.c (ldiv): Likewise.
44504         * stdlib/lldiv.c (lldiv): Likewise.
44506 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44508         [BZ #16071]
44509         * nss/nss_files/files-XXX.c (get_contents_ret): New
44510         enumerator.
44511         (get_contents): New function.
44512         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44514 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44516         * configure.in: Moved to ...
44517         * configure.ac: ... here. Change reference to configure.in
44518         to configure.ac.
44519         * sysdeps/arm/preconfigure.ac: ... here.
44520         configure.in to configure.ac.
44521         * sysdeps/gnu/configure.in: Moved to ...
44522         * sysdeps/gnu/configure.ac: ... here.
44523         * sysdeps/i386/configure.in: Moved to ...
44524         * sysdeps/i386/configure.ac: ... here.
44525         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44526         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44527         * sysdeps/mach/configure.in: Moved to ...
44528         * sysdeps/mach/configure.ac: ... here.
44529         * sysdeps/mach/hurd/configure.in: Moved to ...
44530         * sysdeps/mach/hurd/configure.ac: ... here.
44531         * sysdeps/powerpc/configure.in: Moved to ...
44532         * sysdeps/powerpc/configure.ac: ... here.
44533         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44534         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44535         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44536         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44537         * sysdeps/s390/s390-32/configure.in: Moved to ...
44538         * sysdeps/s390/s390-32/configure.ac: ... here.
44539         * sysdeps/s390/s390-64/configure.in: Moved to ...
44540         * sysdeps/s390/s390-64/configure.ac: ... here.
44541         * sysdeps/sh/configure.in: Moved to ...
44542         * sysdeps/sh/configure.ac: ... here.
44543         * sysdeps/sparc/configure.in: Moved to ...
44544         * sysdeps/sparc/configure.ac: ... here.
44545         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44546         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44547         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44548         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44549         * sysdeps/x86_64/configure.in: Moved to ...
44550         * sysdeps/x86_64/configure.ac: ... here.
44551         * sysdeps/x86_64/preconfigure.in: Moved to ...
44552         * sysdeps/x86_64/preconfigure.ac: ... here.
44553         * aclocal.m4: Change reference to configure.in to configure.ac.
44554         * config.h.in: Likewise.
44555         * manual/install.texi: Likewise.
44556         * manual/maint.texi: Likewise.
44557         * Makefile: Likewise.
44558         * malloc/Makefile: Likewise.
44559         * nscd/Makefile: Likewise.
44560         * Makeconfig: Change reference to configure.in and
44561         preconfigure.in to configure.ac and preconfigure.ac
44562         respectively.
44563         * INSTALL: Regenerated.
44564         * configure: Likewise.
44565         * sysdeps/gnu/configure: Likewise.
44566         * sysdeps/i386/configure: Likewise.
44567         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44568         * sysdeps/mach/configure: Likewise.
44569         * sysdeps/mach/hurd/configure: Likewise.
44570         * sysdeps/powerpc/configure: Likewise.
44571         * sysdeps/powerpc/powerpc32/configure: Likewise.
44572         * sysdeps/powerpc/powerpc64/configure: Likewise.
44573         * sysdeps/s390/s390-32/configure: Likewise.
44574         * sysdeps/s390/s390-64/configure: Likewise.
44575         * sysdeps/sh/configure: Likewise.
44576         * sysdeps/sparc/configure: Likewise.
44577         * sysdeps/unix/sysv/linux/configure: Likewise.
44578         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44579         * sysdeps/x86_64/configure: Likewise.
44580         * sysdeps/x86_64/preconfigure: Likewise.
44582 2013-10-29  Andreas Schwab  <schwab@suse.de>
44584         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44586 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44588         * benchtests/pow-inputs: Add new inputs.
44590         * benchtests/exp-inputs: Add new inputs.
44592         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44593         conditional check for return value.
44594         (__cos32): Likewise.
44596 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44598         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44599         to provide a boost for large inputs with word alignment.
44600         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44601         implementation based on optimized PPC64 strcpy.
44602         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44603         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44604         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44605         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44607 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44609         [BZ #2801]
44610         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44612 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44614         [BZ #14876]
44615         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44616         * time/tst-strptime.c (day_tests): Add testcase.
44618 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44620         [BZ #14029]
44621         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44623 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44625         [BZ #16074]
44626         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44627         MAP_FAILED on error.
44629 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44631         [BZ #16072]
44632         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44633         heap for large requests.
44635 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44637         [BZ #9954]
44638         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44639         result if the result has no associated interface.
44640         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44641         interface for all 127.X.Y.Z addresses.
44643 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44645         * locale/iso-639.def: Add Ligurian (lij)
44647 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44649         [BZ #15825]
44650         * sunrpc/rpc_main.c: Document rpcgen -5.
44652 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44654         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44656 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44658         [BZ #10278]
44659         * posix/glob.c: Match only directories when trailing slash is present.
44660         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44661         (main): Add testcase.
44663 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44665         [BZ #15670]
44666         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44668 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44670         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44671         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44672         AUTH_DES and cindex for FIPS 140-2.
44673         (DES Encryption): Add cindex FIPS 46-3.
44675         * locale/locarchive.h (struct locarhandle): Add fname.
44676         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44677         if an optional argument was specified to --list-archive,
44678         otherwise NULL.
44679         * locale/programs/locarchive.c (show_archive_content): Take new
44680         argument fname and pass it via ah.fname to open_archive.
44681         * locale/programs/localedef.h: Update decl.
44682         (open_archive): If AH->fname is non-null, open that file
44683         rather than the default file name, and don't ignore ENOENT.
44684         (create_archive): Set AH.fname to NULL.
44685         (delete_locales_from_archive): Likewise.
44686         (add_locales_to_archive): Likewise.
44687         * locale/programs/locfile.c (write_all_categories): Likewise.
44689 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44690             Aldy Hernandez  <aldyh@redhat.com>
44692         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44693         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44694         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44695         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44696         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44697         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44698         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44699         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44700         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44701         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44702         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44703         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44704         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44705         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44706         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44707         Likewise.
44708         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44709         Likewise.
44710         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44711         Likewise.
44712         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44713         Likewise.
44714         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44715         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44716         Likewise.
44717         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44718         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44719         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44720         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44721         Likewise.
44722         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44723         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44724         * sysdeps/powerpc/preconfigure: Likewise.
44725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44726         Likewise.
44727         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44728         Replace contents of file by #include of <fenv_libc.h>.
44729         * sysdeps/powerpc/soft-fp/sfp-machine.h
44730         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44731         and <sys/prctl.h>.
44732         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44735         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44736         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44737         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44739         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44740         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44741         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44742         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44743         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44745         Allow copysignl PLT reference to be missing.
44747 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44748             Joseph Myers  <joseph@codesourcery.com
44750         [BZ #15948]
44751         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44752         single character.
44753         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44755 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44757         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44758         * elf/tst-tls1.c: Likewise.
44759         * elf/tst-tls10.h: Likewise.
44760         * elf/tst-tls14.c: Likewise.
44761         * elf/tst-tls2.c: Likewise.
44762         * elf/tst-tls3.c: Likewise.
44763         * elf/tst-tls4.c: Likewise.
44764         * elf/tst-tls5.c: Likewise.
44765         * elf/tst-tls6.c: Likewise.
44766         * elf/tst-tls7.c: Likewise.
44767         * elf/tst-tls8.c: Likewise.
44768         * elf/tst-tls9.c: Likewise.
44769         * elf/tst-tlsmod1.c: Likewise.
44770         * elf/tst-tlsmod13.c: Likewise.
44771         * elf/tst-tlsmod13a.c: Likewise.
44772         * elf/tst-tlsmod14a.c: Likewise.
44773         * elf/tst-tlsmod16a.c: Likewise.
44774         * elf/tst-tlsmod16b.c: Likewise.
44775         * elf/tst-tlsmod2.c: Likewise.
44776         * elf/tst-tlsmod3.c: Likewise.
44777         * elf/tst-tlsmod4.c: Likewise.
44778         * elf/tst-tlsmod5.c: Likewise.
44779         * elf/tst-tlsmod6.c: Likewise.
44781 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44783         [BZ #12486]
44784         * malloc/malloc.c: remove checks for statistics.
44786 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44788         [BZ #15277]
44789         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44790         * inet/tst-network.c: Add testcase.
44792 2013-10-17  Andreas Schwab  <schwab@suse.de>
44794         [BZ #15218]
44795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44796         to determine canonical name.
44798 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44800         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44801         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44803         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44808         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44810         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44815         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44816         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44822         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44824         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44825         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44830         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44848         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44849         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44850         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44851         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44852         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44853         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44854         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44855         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44856         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44857         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44859 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44861         [BZ #16041]
44862         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44863         make result into a quiet NaN.
44865 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44867         * soft-fp/adddf3.c: Fix horizontal whitespace.
44868         * soft-fp/addsf3.c: Likewise.
44869         * soft-fp/addtf3.c: Likewise.
44870         * soft-fp/divdf3.c: Likewise.
44871         * soft-fp/divsf3.c: Likewise.
44872         * soft-fp/divtf3.c: Likewise.
44873         * soft-fp/double.h: Likewise.
44874         * soft-fp/eqdf2.c: Likewise.
44875         * soft-fp/eqsf2.c: Likewise.
44876         * soft-fp/eqtf2.c: Likewise.
44877         * soft-fp/extenddftf2.c: Likewise.
44878         * soft-fp/extended.h: Likewise.
44879         * soft-fp/extendsfdf2.c: Likewise.
44880         * soft-fp/extendsftf2.c: Likewise.
44881         * soft-fp/extendxftf2.c: Likewise.
44882         * soft-fp/fixdfdi.c: Likewise.
44883         * soft-fp/fixdfsi.c: Likewise.
44884         * soft-fp/fixdfti.c: Likewise.
44885         * soft-fp/fixsfdi.c: Likewise.
44886         * soft-fp/fixsfsi.c: Likewise.
44887         * soft-fp/fixsfti.c: Likewise.
44888         * soft-fp/fixtfdi.c: Likewise.
44889         * soft-fp/fixtfsi.c: Likewise.
44890         * soft-fp/fixtfti.c: Likewise.
44891         * soft-fp/fixunsdfdi.c: Likewise.
44892         * soft-fp/fixunsdfsi.c: Likewise.
44893         * soft-fp/fixunsdfti.c: Likewise.
44894         * soft-fp/fixunssfdi.c: Likewise.
44895         * soft-fp/fixunssfsi.c: Likewise.
44896         * soft-fp/fixunssfti.c: Likewise.
44897         * soft-fp/fixunstfdi.c: Likewise.
44898         * soft-fp/fixunstfsi.c: Likewise.
44899         * soft-fp/fixunstfti.c: Likewise.
44900         * soft-fp/floatdidf.c: Likewise.
44901         * soft-fp/floatdisf.c: Likewise.
44902         * soft-fp/floatditf.c: Likewise.
44903         * soft-fp/floatsidf.c: Likewise.
44904         * soft-fp/floatsisf.c: Likewise.
44905         * soft-fp/floatsitf.c: Likewise.
44906         * soft-fp/floattidf.c: Likewise.
44907         * soft-fp/floattisf.c: Likewise.
44908         * soft-fp/floattitf.c: Likewise.
44909         * soft-fp/floatundidf.c: Likewise.
44910         * soft-fp/floatundisf.c: Likewise.
44911         * soft-fp/floatunditf.c: Likewise.
44912         * soft-fp/floatunsidf.c: Likewise.
44913         * soft-fp/floatunsisf.c: Likewise.
44914         * soft-fp/floatunsitf.c: Likewise.
44915         * soft-fp/floatuntidf.c: Likewise.
44916         * soft-fp/floatuntisf.c: Likewise.
44917         * soft-fp/floatuntitf.c: Likewise.
44918         * soft-fp/fmadf4.c: Likewise.
44919         * soft-fp/fmasf4.c: Likewise.
44920         * soft-fp/fmatf4.c: Likewise.
44921         * soft-fp/gedf2.c: Likewise.
44922         * soft-fp/gesf2.c: Likewise.
44923         * soft-fp/getf2.c: Likewise.
44924         * soft-fp/ledf2.c: Likewise.
44925         * soft-fp/lesf2.c: Likewise.
44926         * soft-fp/letf2.c: Likewise.
44927         * soft-fp/muldf3.c: Likewise.
44928         * soft-fp/mulsf3.c: Likewise.
44929         * soft-fp/multf3.c: Likewise.
44930         * soft-fp/negdf2.c: Likewise.
44931         * soft-fp/negsf2.c: Likewise.
44932         * soft-fp/negtf2.c: Likewise.
44933         * soft-fp/op-1.h: Likewise.
44934         * soft-fp/op-2.h: Likewise.
44935         * soft-fp/op-4.h: Likewise.
44936         * soft-fp/op-8.h: Likewise.
44937         * soft-fp/op-common.h: Likewise.
44938         * soft-fp/quad.h: Likewise.
44939         * soft-fp/single.h: Likewise.
44940         * soft-fp/soft-fp.h: Likewise.
44941         * soft-fp/sqrtdf2.c: Likewise.
44942         * soft-fp/sqrtsf2.c: Likewise.
44943         * soft-fp/sqrttf2.c: Likewise.
44944         * soft-fp/subdf3.c: Likewise.
44945         * soft-fp/subsf3.c: Likewise.
44946         * soft-fp/subtf3.c: Likewise.
44947         * soft-fp/truncdfsf2.c: Likewise.
44948         * soft-fp/trunctfdf2.c: Likewise.
44949         * soft-fp/trunctfsf2.c: Likewise.
44950         * soft-fp/trunctfxf2.c: Likewise.
44951         * soft-fp/unorddf2.c: Likewise.
44952         * soft-fp/unordsf2.c: Likewise.
44953         * soft-fp/unordtf2.c: Likewise.
44955 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44957         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44958         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44960 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44962         * elf/dl-libc.c: Clear initfini list after freeing.
44964 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44966         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44967         * soft-fp/addsf3.c: Likewise.
44968         * soft-fp/addtf3.c: Likewise.
44969         * soft-fp/divdf3.c: Likewise.
44970         * soft-fp/divsf3.c: Likewise.
44971         * soft-fp/divtf3.c: Likewise.
44972         * soft-fp/double.h: Likewise.
44973         * soft-fp/eqdf2.c: Likewise.
44974         * soft-fp/eqsf2.c: Likewise.
44975         * soft-fp/eqtf2.c: Likewise.
44976         * soft-fp/extenddftf2.c: Likewise.
44977         * soft-fp/extended.h: Likewise.
44978         * soft-fp/extendsfdf2.c: Likewise.
44979         * soft-fp/extendsftf2.c: Likewise.
44980         * soft-fp/extendxftf2.c: Likewise.
44981         * soft-fp/fixdfdi.c: Likewise.
44982         * soft-fp/fixdfsi.c: Likewise.
44983         * soft-fp/fixdfti.c: Likewise.
44984         * soft-fp/fixsfdi.c: Likewise.
44985         * soft-fp/fixsfsi.c: Likewise.
44986         * soft-fp/fixsfti.c: Likewise.
44987         * soft-fp/fixtfdi.c: Likewise.
44988         * soft-fp/fixtfsi.c: Likewise.
44989         * soft-fp/fixtfti.c: Likewise.
44990         * soft-fp/fixunsdfdi.c: Likewise.
44991         * soft-fp/fixunsdfsi.c: Likewise.
44992         * soft-fp/fixunsdfti.c: Likewise.
44993         * soft-fp/fixunssfdi.c: Likewise.
44994         * soft-fp/fixunssfsi.c: Likewise.
44995         * soft-fp/fixunssfti.c: Likewise.
44996         * soft-fp/fixunstfdi.c: Likewise.
44997         * soft-fp/fixunstfsi.c: Likewise.
44998         * soft-fp/fixunstfti.c: Likewise.
44999         * soft-fp/floatdidf.c: Likewise.
45000         * soft-fp/floatdisf.c: Likewise.
45001         * soft-fp/floatditf.c: Likewise.
45002         * soft-fp/floatsidf.c: Likewise.
45003         * soft-fp/floatsisf.c: Likewise.
45004         * soft-fp/floatsitf.c: Likewise.
45005         * soft-fp/floattidf.c: Likewise.
45006         * soft-fp/floattisf.c: Likewise.
45007         * soft-fp/floattitf.c: Likewise.
45008         * soft-fp/floatundidf.c: Likewise.
45009         * soft-fp/floatundisf.c: Likewise.
45010         * soft-fp/floatunsidf.c: Likewise.
45011         * soft-fp/floatunsisf.c: Likewise.
45012         * soft-fp/floatuntidf.c: Likewise.
45013         * soft-fp/floatuntisf.c: Likewise.
45014         * soft-fp/floatuntitf.c: Likewise.
45015         * soft-fp/fmadf4.c: Likewise.
45016         * soft-fp/fmasf4.c: Likewise.
45017         * soft-fp/fmatf4.c: Likewise.
45018         * soft-fp/gedf2.c: Likewise.
45019         * soft-fp/gesf2.c: Likewise.
45020         * soft-fp/getf2.c: Likewise.
45021         * soft-fp/ledf2.c: Likewise.
45022         * soft-fp/lesf2.c: Likewise.
45023         * soft-fp/letf2.c: Likewise.
45024         * soft-fp/muldf3.c: Likewise.
45025         * soft-fp/mulsf3.c: Likewise.
45026         * soft-fp/multf3.c: Likewise.
45027         * soft-fp/negdf2.c: Likewise.
45028         * soft-fp/negsf2.c: Likewise.
45029         * soft-fp/negtf2.c: Likewise.
45030         * soft-fp/op-1.h: Likewise.
45031         * soft-fp/op-2.h: Likewise.
45032         * soft-fp/op-4.h: Likewise.
45033         * soft-fp/op-8.h: Likewise.
45034         * soft-fp/op-common.h: Likewise.
45035         * soft-fp/quad.h: Likewise.
45036         * soft-fp/single.h: Likewise.
45037         * soft-fp/soft-fp.h: Likewise.
45038         * soft-fp/sqrtdf2.c: Likewise.
45039         * soft-fp/sqrtsf2.c: Likewise.
45040         * soft-fp/sqrttf2.c: Likewise.
45041         * soft-fp/subdf3.c: Likewise.
45042         * soft-fp/subsf3.c: Likewise.
45043         * soft-fp/subtf3.c: Likewise.
45044         * soft-fp/truncdfsf2.c: Likewise.
45045         * soft-fp/trunctfdf2.c: Likewise.
45046         * soft-fp/trunctfsf2.c: Likewise.
45047         * soft-fp/trunctfxf2.c: Likewise.
45048         * soft-fp/unorddf2.c: Likewise.
45049         * soft-fp/unordsf2.c: Likewise.
45050         * soft-fp/unordtf2.c: Likewise.
45052 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45054         [BZ #15672]
45055         * misc/error.c (error_tail): Fix possible buffer overflow.
45057 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45059         [BZ #13028]
45060         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45061         address.
45063 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45065         [BZ #832]
45066         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45067         testing pipefail option.
45069 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45071         * soft-fp/double.h: Indent preprocessor directives inside #if.
45072         * soft-fp/extended.h: Likewise.
45073         * soft-fp/op-2.h: Likewise.
45074         * soft-fp/op-4.h: Likewise.
45075         * soft-fp/op-common.h: Likewise.
45076         * soft-fp/quad.h: Likewise.
45077         * soft-fp/single.h: Likewise.
45078         * soft-fp/soft-fp.h: Likewise.
45080 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45082         * iconv/iconv_prog.c: Fix typos.
45083         * stdio-common/psiginfo-data.h: Likewise.
45085 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45087         [BZ #15764]
45088         * locale/setlocale.c: Fix typo.
45090 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45092         [BZ #16036]
45093         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45094         signaling NaN arguments.
45095         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45096         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45098         [BZ #14910]
45099         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45100         unordered operands.
45101         * soft-fp/gesf2.c (__gesf2): Likewise.
45102         * soft-fp/getf2.c (__getf2): Likewise.
45103         * soft-fp/ledf2.c (__ledf2): Likewise.
45104         * soft-fp/lesf2.c (__lesf2): Likewise.
45105         * soft-fp/letf2.c (__letf2): Likewise.
45107         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45108         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45109         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45110         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45111         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45112         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45113         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45114         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45115         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45116         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45117         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45118         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45119         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45120         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45121         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45122         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45123         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45124         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45125         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45126         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45127         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45128         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45129         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45130         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45131         * soft-fp/floattidf.c (__floattidf): Likewise.
45132         * soft-fp/floattisf.c (__floattisf): Likewise.
45133         * soft-fp/floattitf.c (__floattitf): Likewise.
45134         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45135         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45136         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45137         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45138         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45139         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45140         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45141         * soft-fp/gesf2.c (__gesf2): Likewise.
45142         * soft-fp/getf2.c (__getf2): Likewise.
45143         * soft-fp/ledf2.c (__ledf2): Likewise.
45144         * soft-fp/lesf2.c (__lesf2): Likewise.
45145         * soft-fp/letf2.c (__letf2): Likewise.
45147         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45148         Undefine and redefine.
45149         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45150         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45151         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45152         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45153         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45154         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45155         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45156         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45157         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45158         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45159         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45160         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45161         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45162         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45163         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45165         [BZ #16032]
45166         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45167         without decrementing exponent if mantissa >= that for the
45168         denominator, not >.
45169         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45170         denominator, not >.  Decrement exponent in < case instead of
45171         incrementing in >= case.
45172         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45173         without decrementing exponent if mantissa >= that for the
45174         denominator, not >.
45176         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45177         computing saturated result for unsigned overflow.
45179 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45180             Jeff Law  <law@redhat.com>
45182         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45183         (atan2Mp): Add systemtap probe marker.
45184         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45185         (__ieee754_log): Add systemtap probe marker.
45186         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45187         (atanMp): Add systemtap probe marker.
45188         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45189         (tanMp): Add systemtap probe marker.
45190         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45191         (__slowexp): Add systemtap probe marker.
45192         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45193         (__slowpow): Add systemtap probe marker.
45194         * manual/probes.texi: Document probes.
45196 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45198         [BZ #15362]
45199         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45200         written.
45201         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45202         written.
45203         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45204         written to buffer but not flushed.
45205         * libio/iofwrite_u.c:  Likewise.
45206         * libio/iopadn.c:  Return bytes returned even if EOF was
45207         encountered.
45208         * libio/iowpadn.c:  Likewise.
45209         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45210         if _IO_padn does not write the whole buffer.
45211         [!COMPILE_WPRINTF] (PAD): Likewise.
45213 2013-10-10  David S. Miller  <davem@davemloft.net>
45215         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45216         directory block.
45218 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45220         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45221         instead of FSF address.
45222         * soft-fp/fixdfti.c: Likewise.
45223         * soft-fp/fixsfti.c: Likewise.
45224         * soft-fp/fixtfti.c: Likewise.
45225         * soft-fp/fixunsdfti.c: Likewise.
45226         * soft-fp/fixunssfti.c: Likewise.
45227         * soft-fp/fixunstfti.c: Likewise.
45228         * soft-fp/floattidf.c: Likewise.
45229         * soft-fp/floattisf.c: Likewise.
45230         * soft-fp/floattitf.c: Likewise.
45231         * soft-fp/floatuntidf.c: Likewise.
45232         * soft-fp/floatuntisf.c: Likewise.
45233         * soft-fp/floatuntitf.c: Likewise.
45234         * soft-fp/trunctfxf2.c: Likewise.
45236         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45237         * soft-fp/fixdfti.c: Likewise.
45238         * soft-fp/fixsfti.c: Likewise.
45239         * soft-fp/fixtfti.c: Likewise.
45240         * soft-fp/fixunsdfti.c: Likewise.
45241         * soft-fp/fixunssfti.c: Likewise.
45242         * soft-fp/fixunstfti.c: Likewise.
45243         * soft-fp/floattidf.c: Likewise.
45244         * soft-fp/floattisf.c: Likewise.
45245         * soft-fp/floattitf.c: Likewise.
45246         * soft-fp/floatuntidf.c: Likewise.
45247         * soft-fp/floatuntisf.c: Likewise.
45248         * soft-fp/floatuntitf.c: Likewise.
45249         * soft-fp/trunctfxf2.c: Likewise.
45251 2013-10-10  David S. Miller  <davem@davemloft.net>
45253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45255 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45257         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45258         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45259         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45260         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45261         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45262         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45263         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45266         for NaNs before doing comparisons on argument.
45267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45268         Likewise.
45270 2013-10-10  Will Newton  <will.newton@linaro.org>
45272         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45273         passed to _int_memalign does not overflow.
45275 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45277         * scripts/bench.pl: Add include-sources directive.
45278         * benchtests/README: Update documentation.
45280 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45282         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45283         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45284         instead of FP_INIT_ROUNDMODE.
45285         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45286         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45288         [BZ #16034]
45289         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45290         copy class of input value.
45291         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45292         not handle exceptions.
45293         * soft-fp/negsf2.c (__negsf2): Likewise.
45294         * soft-fp/negtf2.c (__negtf2): Likewise.
45295         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45297 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45299         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45300         semicolon.  From Linux kernel.
45302 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45304         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45306 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45308         [BZ #156]
45309         * manual/socket.texi: Added statement about buffer
45310         for gethostbyname2_r.
45312 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45314         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45315         Use .p2align directive instead, throughout.
45316         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45317         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45318         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45319         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45320         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45321         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45322         * sysdeps/x86_64/strchr.S: Likewise.
45323         * sysdeps/x86_64/strrchr.S: Likewise.
45325 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45327         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45329         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45331         * sysdeps/generic/math_private.h (__mpsin1): Remove
45332         declaration.
45333         (__mpcos1): Likewise.
45334         (__mpsin): New argument __range_reduce.
45335         (__mpcos): Likewise.
45336         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45337         (slow): Use __mpsin and __mpcos.
45338         (slow1): Likewise.
45339         (slow2): Likewise.
45340         (sloww): Likewise.
45341         (sloww1): Likewise.
45342         (sloww2): Likewise.
45343         (bsloww): Likewise.
45344         (bsloww1): Likewise.
45345         (bsloww2): Likewise.
45346         (cslow2): Likewise.
45347         (csloww): Likewise.
45348         (csloww1): Likewise.
45349         (csloww2): Likewise.
45350         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45351         range_reduce.  Merge in __mpsin1.
45352         (__mpcos): Likewise.
45353         (__mpsin1): Remove.
45354         (__mpcos1): Likewise.
45356 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45358         * locale/loadlocale.c (_nl_intern_locale_data): Use
45359         LOCFILE_ALIGNED_P.
45360         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45361         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45362         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45363         obstack data is appropriately aligned.
45364         (obstack_int32_grow_fast): Likewise.
45365         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45366         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45367         (add_locale_uint32_array): Likewise.
45369 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45371         * benchtests/Makefile: Remove ARGLIST and RET variables.
45372         ($(objpfx)bench-%.c): Pass only function name to the script.
45373         * benchtests/README: Update documentation.
45374         * benchtests/acos-inputs: Add new directives.
45375         * benchtests/acosh-inputs: Likewise.
45376         * benchtests/asin-inputs: Likewise.
45377         * benchtests/asinh-inputs: Likewise.
45378         * benchtests/atan-inputs: Likewise.
45379         * benchtests/atanh-inputs: Likewise.
45380         * benchtests/cos-inputs: Likewise.
45381         * benchtests/cosh-inputs: Likewise.
45382         * benchtests/exp-inputs: Likewise.
45383         * benchtests/log-inputs: Likewise.
45384         * benchtests/pow-inputs: Likewise.
45385         * benchtests/rint-inputs: Likewise.
45386         * benchtests/sin-inputs: Likewise.
45387         * benchtests/sinh-inputs: Likewise.
45388         * benchtests/tan-inputs: Likewise.
45389         * benchtests/tanh-inputs: Likewise.
45390         * scripts/bench.pl: Add support for new directives.
45392 2013-10-07  Alan Modra  <amodra@gmail.com>
45394         * README: Fix careless merge.
45396 2013-10-05  Alan Modra  <amodra@gmail.com>
45398         * NEWS: Mention powerpc64le support and bugs fixed.
45399         * README: Both big-endian and little-endian powerpc64 supported.
45401 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45403         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45404         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45405         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45406         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45408 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45410         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45411         match prototype.
45413 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45415         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45416         Move -mhard-float appending from
45417         ports/sysdeps/powerpc/powerpc32/Makefile.
45418         [$(with-fp) = yes] (ASFLAGS): Likewise.
45419         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45420         * sysdeps/powerpc/nofpu: Move directory from
45421         ports/sysdeps/powerpc/nofpu.
45422         * sysdeps/powerpc/soft-fp: Move directory from
45423         ports/sysdeps/powerpc/soft-fp.
45424         * sysdeps/powerpc/powerpc32/405: Move directory from
45425         ports/sysdeps/powerpc/powerpc32/405.
45426         * sysdeps/powerpc/powerpc32/440: Move directory from
45427         ports/sysdeps/powerpc/powerpc32/440.
45428         * sysdeps/powerpc/powerpc32/464: Move directory from
45429         ports/sysdeps/powerpc/powerpc32/464.
45430         * sysdeps/powerpc/powerpc32/476: Move directory from
45431         ports/sysdeps/powerpc/powerpc32/476.
45432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45433         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45435         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45437         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45439         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45441         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45442         * README: Update for powerpc-*-linux-gnu software floating point
45443         support in libc.
45445         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45446         case to powerpc/powerpc32*.
45447         * sysdeps/unix/sysv/linux/configure: Regenerated.
45449         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45450         (_FPU_MASK_OM): Define as 0x04.
45451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45453         0x00c10080.
45454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45455         0x0000003c.
45456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45459         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45460         getcontext_e500.
45461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45462         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45463         setcontext_e500.
45464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45465         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45466         and setcontext_e500.
45468 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45470         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45472 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45474         * manual/threads.texi (Default Thread Attributes): Fix typo.
45476 2013-10-04  Will Newton  <will.newton@linaro.org>
45478         * malloc/Makefile: Add tst-memalign.
45479         * malloc/tst-memalign.c: New file.
45481         * malloc/tst-posix_memalign.c: Add comments.
45482         (do_test): Add comments and call free on all potentially
45483         allocated pointers. Add space after cast.
45485         * malloc/tst-pvalloc.c: Add comments.
45486         (do_test): Add comments and call free on all potentially
45487         allocated pointers. Remove duplicate check for NULL pointer.
45488         Add space after cast.
45490         * malloc/tst-valloc.c: Add comments.
45491         (do_test): Add comments and call free on all potentially
45492         allocated pointers. Remove duplicate check for NULL pointer.
45493         Add space after cast.
45495 2013-10-04  Alan Modra  <amodra@gmail.com>
45497         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45498         Use stdint types in rather than __attribute__((mode())).
45499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45501 2013-10-04  Alan Modra  <amodra@gmail.com>
45503         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45504         Correct handling of unaligned relocs for little-endian.
45505         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45507 2013-10-04  Alan Modra  <amodra@gmail.com>
45509         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45510         * configure: Regenerate.
45511         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45512         * shlib-versions: Likewise.
45514 2013-10-04  Alan Modra  <amodra@gmail.com>
45516         * string/tester.c (test_memrchr): Increment reported test cycle.
45518 2013-10-04  Alan Modra  <amodra@gmail.com>
45520         * string/test-memcpy.c (do_one_test): When reporting errors, print
45521         string address and don't overrun end of string.
45523 2013-10-04  Alan Modra  <amodra@gmail.com>
45525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45526         insrdi.  Make better use of reg selection to speed exit slightly.
45527         Schedule entry path a little better.  Remove useless "are we done"
45528         checks on entry to main loop.  Handle wrapping around zero address.
45529         Correct main loop count.  Handle single left-over word from main
45530         loop inline rather than by using loop_small.  Remove extra word
45531         case in loop_small caused by wrong loop count.  Add little-endian
45532         support.
45533         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45535         cache hint.
45536         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45537         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45538         support.  Avoid rlwimi.
45539         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45541 2013-10-04  Alan Modra  <amodra@gmail.com>
45543         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45544         insrdi.  Formatting.
45545         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45546         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45547         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45548         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45549         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45550         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45552 2013-10-04  Alan Modra  <amodra@gmail.com>
45554         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45555         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45556         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45557         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45558         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45559         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45560         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45561         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45562         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45563         use of regs.  Use power7 mtocrf.  Tidy function tails.
45565 2013-10-04  Alan Modra  <amodra@gmail.com>
45567         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45568         Formatting.  Consistently use rXXX register defines or rN defines.
45569         Use early exit labels that avoid restoring unused non-volatile regs.
45570         Make cr field use more consistent with rWORDn compares.  Rename
45571         regs used as shift registers for unaligned loop, using rN defines
45572         for short lifetime/multiple use regs.
45573         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45574         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45575         addi 1,1,64 to pop stack frame.  Simplify return value code.
45576         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45578 2013-10-04  Alan Modra  <amodra@gmail.com>
45580         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45581         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45582         rather than rlwimi.
45583         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45584         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45585         little-endian support.  Correct typos.
45586         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45587         rather than rlwimi.
45588         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45589         in loop and entry code to keep "and." results.
45590         (strchr): Add little-endian support.  Comment.  Move cntlzd
45591         earlier in tail.
45592         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45594 2013-10-04  Alan Modra  <amodra@gmail.com>
45596         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45597         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45598         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45599         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45601 2013-10-04  Alan Modra  <amodra@gmail.com>
45603         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45604         (rTMP): Define as r11.
45605         (strcmp): Add little-endian support.  Optimise tail.
45606         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45607         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45608         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45609         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45610         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45611         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45612         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45614 2013-10-04  Alan Modra  <amodra@gmail.com>
45616         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45617         little-endian support.  Remove unnecessary "are we done" tests.
45618         Handle "s" wrapping around zero and extremely large "size".
45619         Correct main loop count.  Handle single left-over word from main
45620         loop inline rather than by using small_loop.  Correct comments.
45621         Delete "zero" tail, use "end_max" instead.
45622         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45624 2013-10-04  Alan Modra  <amodra@gmail.com>
45626         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45627         support.  Don't branch over align.
45628         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45629         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45630         support.  Rearrange tmp reg use to suit.  Comment.
45631         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45633 2013-10-04  Alan Modra  <amodra@gmail.com>
45635         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45637 2013-10-04  Alan Modra  <amodra@gmail.com>
45639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45640         conditional form of branch and link when obtaining pc.
45641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45643 2013-10-04  Alan Modra  <amodra@gmail.com>
45645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45646         HIWORD/LOWORD.
45647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45650 2013-10-04  Alan Modra  <amodra@gmail.com>
45652         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45653         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45654         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45655         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45656         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45657         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45658         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45659         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45660         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45661         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45663 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45664             Alistair Popple <alistair@ozlabs.au.ibm.com>
45665             Alan Modra <amodra@gmail.com>
45667         [BZ #15723]
45668         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45669         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45670         _dl_hwcap access for little-endian.
45671         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45672         destroy vmx regs when saving unaligned.
45673         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45674         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45675         destroy vmx regs when saving unaligned.
45677 2013-10-04  Alan Modra  <amodra@gmail.com>
45679         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45680         Don't use a union to pack hi/low value.
45682 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45684         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45685         for little-endian.
45686         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45687         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45688         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45689         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45690         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45692 2013-10-04  Alan Modra  <amodra@gmail.com>
45694         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45695         constants to usual value for .cst8 section, and remove redundant
45696         high address load.
45697         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45698         constant for 0x1p52.  Load little-endian words of double from
45699         correct stack offsets.
45701 2013-10-04  Alan Modra  <amodra@gmail.com>
45703         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45704         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45705         words of double from correct stack offsets.
45706         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45707         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45708         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45709         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45710         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45711         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45712         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45713         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45714         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45715         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45716         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45717         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45718         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45719         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45720         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45721         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45722         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45724 2013-10-04  Alan Modra  <amodra@gmail.com>
45726         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45727         64-bit int/double union.
45728         (_FPU_SETCW): Likewise.
45729         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45730         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45732 2013-10-04  Alan Modra  <amodra@gmail.com>
45734         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45735         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45737 2013-10-04  Alan Modra  <amodra@gmail.com>
45739         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45740         use vector int constants.
45741         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45743 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45745         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45746         array with long long.
45747         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45748         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45749         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45750         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45751         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45752         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45753         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45754         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45755         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45756         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45757         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45758         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45759         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45761 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45763         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45764         (__signbit): Likewise.  Correct for little-endian.
45765         (__signbitl): Call __signbit.
45766         (lrint): Correct for little-endian.
45767         (lrintf): Call lrint.
45769 2013-10-04  Alan Modra  <amodra@gmail.com>
45771         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45772         union 32-bit int array member with 64-bit int array.
45773         (t515, tm256): Double rather than long double.
45774         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45776 2013-10-04  Alan Modra  <amodra@gmail.com>
45778         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45779         Delete.
45780         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45781         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45782         version of math_ldbl.h.
45784 2013-10-04  Alan Modra  <amodra@gmail.com>
45786         [BZ #15734], [BZ #15735]
45787         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45788         all uses of ieee875 long double macros and unions.  Simplify test
45789         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45790         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45791         normalize after ldbl_extract_mantissa, and don't add hidden bit
45792         already handled.  Don't treat low word of ieee854 mantissa like
45793         low word of IBM long double and mask off bit when testing for
45794         zero.
45795         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45796         all uses of ieee875 long double macros and unions.  Simplify tests
45797         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45798         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45799         two1022, instead use their values.  Recognise that tests for large
45800         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45801         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45802         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45803         test for 0.0L and nan.  Correct negation.
45804         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45805         ieee875 long double macros and unions.  Correct output for large
45806         magnitude x.  Correct absolute value calculation.
45807         (__erfcl): Likewise.
45808         * math/libm-test.inc: Add tests for errors discovered in IBM long
45809         double versions of fmodl, remainderl, erfl and erfcl.
45811 2013-10-04  Alan Modra  <amodra@gmail.com>
45813         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45814         all uses of ieee854 long double macros and unions.  Simplify tests
45815         for long doubles that are fully specified by the high double.
45816         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45817         Likewise.
45818         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45819         Remove dead code too.
45820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45821         (__ieee754_ynl): Likewise.
45822         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45823         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45825         Remove dead code too.
45826         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45827         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45828         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45829         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45830         Simplify.
45831         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45832         Simplify.
45833         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45834         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45836         Comment on variable precision.
45837         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45838         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45839         Likewise.
45840         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45841         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45842         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45843         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45844         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45846 2013-10-04  Alan Modra  <amodra@gmail.com>
45848         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45849         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45850         all uses of ieee854 long double macros and unions.
45851         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45852         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45853         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45854         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45855         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45856         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45857         Likewise.
45858         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45859         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45860         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45861         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45862         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45863         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45864         Simplify sign and nan test too.
45865         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45866         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45867         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45868         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45869         Likewise.
45870         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45871         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45872         Likewise.
45873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45874         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45875         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45876         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45877         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45880 2013-10-04  Alan Modra  <amodra@gmail.com>
45882         * stdio-common/printf_size.c (__printf_size): Don't use
45883         union ieee854_long_double in fpnum union.
45884         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45885         signbit macro to retrieve sign from long double.
45886         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45887         retrieve sign from long double.
45888         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45889         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45890         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45891         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45892         * math/test-misc.c (main): Don't use union ieee854_long_double.
45894 2013-10-04  Alan Modra  <amodra@gmail.com>
45896         [BZ #15680]
45897         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45898         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45899         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45900         calculation.  Remove unnecessary test for denormal exponent.
45901         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45902         Correct handling of denormals.  Avoid undefined shift behaviour.
45903         Correct normalisation of low mantissa when low double is denormal.
45904         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45905         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45906         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45907         Correct normalisation of low mantissa.  Test for overflow of high
45908         mantissa and normalise.
45909         (ldbl_nearbyint): Use more readable constant for two52.
45910         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45911         (__mpn_construct_long_double): Fix test for overflow of high
45912         mantissa and correct normalisation.  Avoid undefined shift.
45914 2013-10-04  Alan Modra  <amodra@gmail.com>
45916         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45917         (union ibm_extended_long_double): Define as an array of ieee754_double.
45918         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45919         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45920         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45921         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45922         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45923         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45924         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45925         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45926         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45927         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45928         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45930 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45932         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45933         page size instead of calling getpagesize.
45935         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45936         (LOCFILE_ALIGN_MASK): Likewise.
45937         (LOCFILE_ALIGN_UP): Likewise.
45938         (LOCFILE_ALIGNED_P): Likewise.
45939         * locale/programs/ld-collate.c (collate_output): Use the new
45940         macros instead of __alignof__ (int32_t).
45941         * locale/weight.h (findidx): Likewise.
45943 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45945         [BZ #431]
45946         * manual/string.texi: Fix strncat and wcsncat.
45948 2013-10-03  Brooks Moses  <bmoses@google.com>
45950         [BZ #15915]
45951         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45952         * Makerules: ...here, and adjust associated comments.
45954 2013-10-02  Will Newton  <will.newton@linaro.org>
45956         * malloc/Makefile: Add tst-pvalloc.
45957         * malloc/tst-pvalloc.c: New file.
45959 2013-10-02  Will Newton  <will.newton@linaro.org>
45961         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45962         improve test coverage.
45964 2013-10-02  Will Newton  <will.newton@linaro.org>
45966         * malloc/Makefile: Add tst-posix_memalign.
45967         * malloc/tst-posix_memalign.c: New file.
45969 2013-10-01  Eric Blake  <eblake@redhat.com>
45971         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45972         Use __THROWNL rather than __THROW on static functions.
45974 2013-09-30  Petr Machata  <pmachata@redhat.com>
45976         * elf/elf.h (R_AARCH64_ABS16): New macro.
45977         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45978         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45979         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45980         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45981         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45982         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45983         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45984         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45985         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45986         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45987         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45988         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45989         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45990         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45991         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45992         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45993         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45994         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45995         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45996         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45997         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45998         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45999         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46000         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46001         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46002         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46003         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46004         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46005         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46006         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46007         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46008         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46009         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46010         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46011         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46012         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46013         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46014         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46015         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46016         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46017         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46018         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46019         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46020         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46021         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46022         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46023         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46024         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46025         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46026         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46027         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46028         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46029         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46030         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46031         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46032         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46033         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46034         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46035         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46036         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46037         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46038         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46039         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46040         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46041         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46042         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46043         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46044         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46045         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46046         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46047         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46048         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46049         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46050         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46051         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46052         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46053         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46054         (R_AARCH64_TLSDESC_LDR): Likewise.
46055         (R_AARCH64_TLSDESC_ADD): Likewise.
46056         (R_AARCH64_TLSDESC_CALL): Likewise.
46058 2013-09-30  Andreas Schwab  <schwab@suse.de>
46060         [BZ #15048]
46061         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46062         the nss database lookup.
46063         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46066 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46068         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46070 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46072         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46073         ${Bash-specific parameter/pattern/string} parameter expansion.
46074         * sysdeps/unix/make-syscalls.sh: Likewise.
46076 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46078         * sysdeps/sh/stackguard-macros.h: New file.
46080 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46084         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46085         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46086         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46087         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46089 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46091         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46092         Fix thread ID register.
46094 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46096         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46097         [POSIX || UNIX98]: Require rather than permitting all symbols from
46098         <time.h>.
46099         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46100         element of struct sched_param.
46101         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46102         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46103         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46104         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46105         constant.
46107 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46109         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46110         argument calculation.
46112 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46114         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46115         Expect macro.
46116         [POSIX] (pthread_attr_t): Do not require type.
46117         [POSIX] (pthread_cond_t): Likewise.
46118         [POSIX] (pthread_condattr_t): Likewise.
46119         [POSIX] (pthread_key_t): Likewise.
46120         [POSIX] (pthread_mutex_t): Likewise.
46121         [POSIX] (pthread_mutexattr_t): Likewise.
46122         [POSIX] (pthread_once_t): Likewise.
46123         [POSIX] (pthread_t): Likewise.
46124         [POSIX-based standards] (pthread_atfork): Expect function.
46126 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46127             Richard Sandiford  <richard@codesourcery.com>
46129         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46130         (swap_endianness_p): New extern variable.
46131         (set_big_endian): New inline function.
46132         (maybe_swap_uint32): Likewise.
46133         (maybe_swap_uint32_array): Likewise.
46134         (maybe_swap_uint32_obstack): Likewise.
46135         * locale/programs/locfile.c: Include <stdbool.h>.
46136         (swap_endianness_p): New variable.
46137         (add_locale_uint32): Call maybe_swap_uint32.
46138         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46139         (write_locale_data): Call maybe_swap_uint32_array.
46140         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46141         maybe_swap_uint32.
46142         (obstack_int32_grow_fast): Likewise.
46143         (output_weightwc): Call maybe_swap_uint32_obstack.
46144         (collate_output): Likewise.
46145         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46146         (OPT_LITTLE_ENDIAN): Likewise.
46147         (options): Add --little-endian and --big-endian options.
46148         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46149         * locale/programs/locarchive.c: Include "locfile.h".
46150         (GET): New macro.
46151         (SET): Likewise.
46152         (INC): Likewise.
46153         (create_archive): Use the new macros to access fields of
46154         structures directly mapped from or written to locale archives.
46155         (oldlocrecentcmp): Likewise.
46156         (enlarge_archive): Likewise.
46157         (insert_name): Likewise.
46158         (add_alias): Likewise.
46159         (add_locale): Likewise.
46160         (delete_locales_from_archive): Likewise.
46161         (show_archive_content): Likewise.
46162         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46163         locale data.
46165 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46167         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46168         http://www.gnu.org/doc/freemanuals.texi.
46169         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46171 2013-09-24  Will Newton  <will.newton@linaro.org>
46173         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46174         macro.
46176 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46178         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46179         unsigned char.
46181 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46183         * manual/threads.texi (POSIX Threads): Fix a typo.
46185 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46187         [BZ #14547]
46188         * string/tst-strcoll-overflow.c: New test case.
46189         * string/Makefile (xtests): Add tst-strcoll-overflow.
46190         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46191         cache if string sizes may cause integer overflow.
46193         [BZ #14547]
46194         * string/strcoll_l.c (coll_seq): New members rule, idx,
46195         save_idx and back_us.
46196         (get_next_seq_nocache): New function.
46197         (do_compare_nocache): New function.
46198         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46199         when malloc fails.
46201 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46203         [BZ #15754]
46204         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46205         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46206         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46208         [BZ #15754]
46209         * elf/Makefile (tests): Add tst-ptrguard1.
46210         (tests-static): Add tst-ptrguard1-static.
46211         (tst-ptrguard1-ARGS): Define.
46212         (tst-ptrguard1-static-ARGS): Define.
46213         * elf/tst-ptrguard1.c: New file.
46214         * elf/tst-ptrguard1-static.c: New file.
46215         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46216         * sysdeps/i386/stackguard-macros.h: Likewise.
46217         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46218         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46219         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46220         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46221         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46222         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46224 2013-09-23  Hector Marco  <hecmargi@upv.es>
46225             Ismael Ripoll  <iripoll@disca.upv.es>
46226             Carlos O'Donell  <carlos@redhat.com>
46228         [BZ #15754]
46229         * sysdeps/generic/stackguard-macros.h: Define
46230         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46231         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46232         Define __pointer_chk_guard_local.
46233         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46234         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46236 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46238         [BZ #15859]
46239         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46241 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46243         * include/string.h (__ffs): Declare as hidden.
46244         * string/ffs.c (__ffs): Define as hidden.
46245         * sysdeps/i386/ffs.c (__ffs): Likewise.
46246         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46247         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46248         * sysdeps/s390/ffs.c (__ffs): Likewise.
46249         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46251 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46253         * NEWS: Mention malloc probes.
46255         * malloc/arena.c (new_heap): New memory_heap_new probe.
46256         (grow_heap): New memory_heap_more probe.
46257         (shrink_heap): New memory_heap_less probe.
46258         (heap_trim): New memory_heap_free probe.
46259         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46260         (systrim): New memory_sbrk_less probe.
46261         * manual/probes.texi: Document them.
46263         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46264         * manual/probes.texi: Document it.
46266         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46267         (__libc_realloc): Add memory_realloc_retry probe.
46268         (__libc_memalign): Add memory_memalign_retry probe.
46269         (__libc_valloc): Add memory_valloc_retry probe.
46270         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46271         (__libc_calloc): Add memory_calloc_retry probe.
46272         * manual/probes.texi: Document them.
46274         * malloc/arena.c (get_free_list): Add probe
46275         memory_arena_reuse_free_list.
46276         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46277         and memory_arena_reuse.
46278         (arena_get2) [!PER_THREAD]: Likewise.
46279         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46280         memory_arena_reuse_realloc.
46281         * manual/probes.texi: Document them.
46283         * malloc/malloc.c (__libc_free): Add
46284         memory_mallopt_free_dyn_thresholds probe.
46285         (__libc_mallopt): Add multiple memory_mallopt probes.
46286         * manual/probes.texi: Document them.
46288         * malloc/malloc.c: Include stap-probe.h.
46289         (__libc_mallopt): Add memory_mallopt probe.
46290         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46291         * manual/probes.texi: New.
46292         * manual/Makefile (chapters): Add probes.
46293         * manual/threads.texi: Set next node.
46295 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46297         [BZ #15963, #13985]
46298         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46299         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46300         Add `Chinese' to `nan' entry name.
46302 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46304         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46305         (POLYNOMIAL): Likewise.
46306         (TAYLOR_SINCOS): Likewise.
46307         (TAYLOR_SLOW): Likewise.
46308         (__sin): Use TAYLOR_SINCOS.
46309         (__cos): Likewise.
46310         (slow): Use TAYLOR_SLOW.
46311         (sloww): Likewise.
46312         (bsloww): Likewise.
46313         (csloww): Likewise.
46315 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46317         * stdlib/strtod_l.c: Fix buffer overrun.
46319 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46321         * benchtests/Makefile (bench): Add sincos.
46322         * benchtests/bench-sincos.c: New file.
46324         * math/libm-test.inc (cos_test_data): New test inputs.
46325         (sin_test_data): Likewise.
46327         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46328         macro.
46329         (__sin): Use it.
46330         (__cos): Likewise.
46331         (slow1): Likewise.
46332         (slow2): Likewise.
46333         (sloww1): Likewise.
46334         (sloww2): Likewise.
46335         (bsloww1): Likewise.
46336         (bsloww2): Likewise.
46337         (cslow2): Likewise.
46338         (csloww1): Likewise.
46339         (csloww2): Likewise.
46341         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46342         function.
46343         (__sin): Use it.
46344         (__cos): Likewise.
46346         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46347         gotos.
46348         (__cos): Likewise.
46350 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46352         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46353         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46354         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46355         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46356         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46357         * elf/cache.c (print_entry): Handle the new cache flags.
46359 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46360             Aldy Hernandez  <aldyh@redhat.com>
46362         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46363         Change condition to [_SOFT_FLOAT].
46364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46376         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46379         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46380         declaration.
46382 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46384         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46385         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46386         (__longjmp): Use LOAD_GP to load saved GPRs.
46387         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46388         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46389         (__sigsetjmp): Use SAVE_GP to save GPRs.
46391         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46392         Do not append -msoft-float.
46393         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46395 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46397         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46399 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46401         [BZ #15966]
46402         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46403         (_FPU_GETCW): Use initial "__" on variable and field names but not
46404         on macro parameter name.
46405         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46406         parentheses around reference to macro parameter.
46408 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46410         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46411         prototype.
46412         (ctype_startup): Use uint32_t in cast and sizeof for
46413         ctype->charnames.
46415 2013-09-11  Jia Liu  <proljc@gmail.com>
46417         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46418         __daddr_t_defined.
46419         [__FreeBSD__]: Likewise.
46421 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46424         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46425         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46426         (strchr): Remove __strchr_sse42 ifunc selection.
46427         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46428         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46430 2013-09-11  Will Newton  <will.newton@linaro.org>
46432         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46433         parameter to RES. Remove hardcoded 1000 value.
46434         * benchtests/bench-skeleton.c (main): Pass RES parameter
46435         to TIMING_INIT and multiply result by 1000.
46437 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46441 2013-09-11  Andreas Schwab  <schwab@suse.de>
46443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46444         if not defined.
46445         (O_TMPFILE) [__USE_GNU]: Define.
46446         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46447         Define.
46449 2013-09-11  Will Newton  <will.newton@linaro.org>
46451         [BZ #15857]
46452         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46453         does not overflow.
46455 2013-09-11  Will Newton  <will.newton@linaro.org>
46457         [BZ #15856]
46458         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46459         does not overflow.
46461 2013-09-11  Will Newton  <will.newton@linaro.org>
46463         [BZ #15855]
46464         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46465         does not overflow.
46467 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46469         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46470         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46471         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46472         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46473         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46475 2013-09-10  Allan McRae  <allan@archlinux.org>
46477         [BZ #15748]
46478         * manual/arith.texi (Parsing of Floats): Clarify
46479         cross-reference.
46481         [BZ #15849]
46482         * manual/install.texi (Running make install): Mention
46483         --enable-pt-chown.
46484         * INSTALL: Regenerated.
46486 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46488         * csu/init-first.c (_init): Remove the !SHARED condition around
46489         FPU control word initialization.
46490         * elf/dl-support.c (_dl_fpu_control): New variable.
46491         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46492         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46493         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46494         * math/test-fpucw-static.c: New file.
46495         * math/test-fpucw-ieee.c: New file.
46496         * math/test-fpucw-ieee-static.c: New file.
46497         * math/Makefile (tests): Add `test-fpucw-ieee' and
46498         `$(tests-static)'.
46499         (tests-static): New variable.
46500         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46501         dependency to...
46502         [($(build-shared),yes)]
46503         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46504         ... this.
46505         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46506         New dependency.
46508 2013-09-09  Allan McRae  <allan@archlinux.org>
46510         [BZ #15939]
46511         * manual/string.texi (Collation Functions): Fix typo in
46512         strcoll example.
46513         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46515         [BZ #15893]
46516         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46518         [BZ #15892]
46519         * libio/memstream.c (open_memstream): Fix memory leak.
46520         * libio/wmemstream.c (open_wmemstream): Likewise.
46522         [BZ #15895]
46523         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46525 2013-09-09  Will Newton  <will.newton@linaro.org>
46527         * malloc/Makefile: Add tst-realloc to tests.
46528         * malloc/tst-realloc.c: New file.
46530 2013-09-09  Allan McRae  <allan@archlinux.org>
46532         [BZ #15844]
46533         * COPYING: Update from GNU website to fix FSF address.
46534         * COPYING.LIB: Likewise.
46536 2013-09-06  David S. Miller  <davem@davemloft.net>
46538         * po/zh_TW.po: Update Chinese (traditional) translation from
46539         translation project.
46541 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46542             Joseph Myers  <joseph@codesourcery.com>
46544         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46545         "localeinfo.h".
46546         (obstack_chunk_alloc): New macro.
46547         (obstack_chunk_free): Likewise.
46548         (record_offset): New function.
46549         (init_locale_data): Likewise.
46550         (align_locale_data): Likewise.
46551         (add_locale_empty): Likewise.
46552         (add_locale_raw_data): Likewise.
46553         (add_locale_raw_obstack): Likewise.
46554         (add_locale_string): Likewise.
46555         (add_locale_wstring): Likewise.
46556         (add_locale_uint32): Likewise.
46557         (add_locale_uint32_array): Likewise.
46558         (add_locale_char): Likewise.
46559         (start_locale_structure): Likewise.
46560         (end_locale_structure): Likewise.
46561         (start_locale_prelude): Likewise.
46562         (end_locale_prelude): Likewise.
46563         (write_locale_data): Take locale_file structure rather than an
46564         iovec.
46565         * locale/programs/locfile.h: Include "obstack.h".
46566         (struct locale_file): Change to store locale file contents instead
46567         of header.
46568         (init_locale_data): New prototype.
46569         (align_locale_data): Likewise.
46570         (add_locale_empty): Likewise.
46571         (add_locale_raw_data): Likewise.
46572         (add_locale_raw_obstack): Likewise.
46573         (add_locale_string): Likewise.
46574         (add_locale_wstring): Likewise.
46575         (add_locale_uint32): Likewise.
46576         (add_locale_uint32_array): Likewise.
46577         (add_locale_char): Likewise.
46578         (start_locale_structure): Likewise.
46579         (end_locale_structure): Likewise.
46580         (start_locale_prelude): Likewise.
46581         (end_locale_prelude): Likewise.
46582         (write_locale_data): Update prototype.
46583         * locale/programs/3level.h (struct TABLE): Remove result field.
46584         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46585         Use new locale_file interface.
46586         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46587         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46588         * locale/programs/ld-address.c (address_output): Use new
46589         locale_file interface.
46590         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46591         NO_ADD_LOCALE.
46592         (collate_finish): Don't call collseq_table_finalize.
46593         (collate_output): Use new locale_file interface.
46594         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46595         in file.
46596         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46597         (TABLE): Move defines earlier in file.
46598         (ELEMENT): Likewise.
46599         (DEFAULT): Likewise.
46600         (wctrans_table_add): Move macro and inline function earlier in
46601         file.
46602         (struct wctype_table): Move type earlier in file.
46603         (add_locale_wctype_table): New static prototype.
46604         (struct locale_ctype_t): Use logical types instead of struct iovec
46605         pointers for members.
46606         (ctype_output): Use new locale_file interface.
46607         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46608         new locale_file interface.
46609         (allocate_arrays): Update for use of new locale_file interface.
46610         * locale/programs/ld-identification.c (identification_output): Use
46611         new locale_file interface.
46612         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46613         * locale/programs/ld-messages.c (messages_output): Likewise.
46614         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46615         * locale/programs/ld-name.c (name_output): Likewise.
46616         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46617         * locale/programs/ld-paper.c (paper_output): Likewise.
46618         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46619         * locale/programs/ld-time.c (time_output): Likewise.
46621 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46623         * benchtests/Makefile: Add memrchr benchmark.
46624         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46625         benchmark as memrchr.
46626         * benchtests/bench-memrchr-ifunc.c: New file.
46627         * benchtests/bench-memrchr.c: New file.
46629 2013-09-06   Will Newton  <will.newton@linaro.org>
46631         * benchtests/Makefile (string-bench): Add memcpy.
46633 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46634             Cong Wang  <amwang@redhat.com>
46636         [BZ #15850]
46637         * sysdeps/unix/sysv/linux/bits/in.h
46638         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46639         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46640         before __USE_KERNEL_IPV6_DEFS uses.
46641         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46642         IPPROTO_BEETPH.
46643         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46644         sockaddr_in6, or ipv6_mreq.
46646 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46648         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46649         memory access for final bytes in some large inputs.
46650         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46652 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46654         * string/test-memrchr.c: New file.
46655         * string/test-memrchr-ifunc.c: New file.
46656         * string/Makefile: Add new memrchr testcase.
46658 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46660         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46661         fanotify_init returns EPERM.
46663 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46665         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46666         errors.
46667         (top level): Treat second token from macro or constant entries for
46668         allowed headers as allowed.
46669         * include/complex.h: Condition internal declarations on
46670         [!_ISOMAC].
46671         * include/fenv.h: Condition include of <stdbool.h> and internal
46672         declarations on [!_ISOMAC].
46674 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46676         [BZ #15923]
46677         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46679 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46681         * configure.in (--enable-versioning): Remove configure option.
46682         (libc_cv_asm_symver_directive): Remove configure test.
46683         (libc_cv_ld_version_script_option): Likewise.
46684         (VERSIONING): Remove variable and AC_SUBST.
46685         (DO_VERSIONING): Remove AC_DEFINE.
46686         * configure: Regenerated.
46687         * config.h.in (DO_VERSIONING): Remove macro.
46688         * Makerules [$(versioning) = yes]: Change conditionals to
46689         [$(build-shared) = yes].
46690         * config.make.in (versioning): Remove variable.
46691         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46692         [$(build-shared) = yes].
46693         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46694         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46695         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46696         [$(build-shared) = yes].
46697         * extra-lib.mk [$(versioning) = yes]: Likewise.
46698         * hurd/Makefile [$(versioning) = yes]: Likewise.
46699         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46700         [SHARED].
46701         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46702         [SHARED].
46703         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46704         [SHARED && !NO_HIDDEN].
46705         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46706         [SHARED].
46707         [SHARED && DO_VERSIONING]: Likewise..
46708         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46709         [$(build-shared) = yes].
46710         * manual/install.texi (--disable-versioning): Remove
46711         documentation.
46712         * INSTALL: Regenerated.
46713         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46714         to [SHARED].
46715         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46716         [$(build-shared) = yes].
46717         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46718         * sysdeps/i386/i686/multiarch/strstr-c.c
46719         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46720         [SHARED && !NO_HIDDEN].
46721         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46722         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46723         * sysdeps/powerpc/powerpc32/dl-machine.c
46724         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46725         * sysdeps/powerpc/powerpc32/sysdep.h
46726         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46727         to [SHARED && PIC && !NO_HIDDEN].
46728         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46729         conditional to [SHARED].
46731 2013-09-04   Will Newton  <will.newton@linaro.org>
46733         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46734         * benchtests/bench-string.h: Include bench-timing.h instead
46735         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46736         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46737         call to HP_TIMING_DIFF_INIT.
46738         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46739         instead of hp-timing.h macros.
46740         * benchtests/bench-memchr.c: Likewise.
46741         * benchtests/bench-memcmp.c: Likewise.
46742         * benchtests/bench-memcpy.c: Likewise.
46743         * benchtests/bench-memmem.c: Likewise.
46744         * benchtests/bench-memmove.c: Likewise.
46745         * benchtests/bench-memset.c: Likewise.
46746         * benchtests/bench-rawmemchr.c: Likewise.
46747         * benchtests/bench-strcasecmp.c: Likewise.
46748         * benchtests/bench-strcasestr.c: Likewise.
46749         * benchtests/bench-strcat.c: Likewise.
46750         * benchtests/bench-strchr.c: Likewise.
46751         * benchtests/bench-strcmp.c: Likewise.
46752         * benchtests/bench-strcpy.c: Likewise.
46753         * benchtests/bench-strcpy_chk.c: Likewise.
46754         * benchtests/bench-strlen.c: Likewise.
46755         * benchtests/bench-strncasecmp.c: Likewise.
46756         * benchtests/bench-strncat.c: Likewise.
46757         * benchtests/bench-strncmp.c: Likewise.
46758         * benchtests/bench-strncpy.c: Likewise.
46759         * benchtests/bench-strnlen.c: Likewise.
46760         * benchtests/bench-strpbrk.c: Likewise.
46761         * benchtests/bench-strrchr.c: Likewise.
46762         * benchtests/bench-strspn.c: Likewise.
46763         * benchtests/bench-strstr.c: Likewise.
46765 2013-09-04  Will Newton  <will.newton@linaro.org>
46767         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46769 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46771         [BZ #15427]
46772         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46773         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46774         * math/libm-test.inc (lgamma_test_data): Add more tests.
46775         * sysdeps/i386/fpu/libm-test-ulps: Update.
46776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46778 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46780         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46782         Add ifunc.
46783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46784         Add strcmp-sse2-unaligned
46785         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46787 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46789         * Versions.def (libc): Add GLIBC_2.19.
46791 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46793         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46794         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46796 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46798         [BZ #14155]
46799         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46800         intermediate calculations in recurrence.
46801         (__ieee754_ynf): Likewise.
46802         * math/libm-test.inc (jn_test_data): Do not allow spurious
46803         underflow exception.  Add more tests.
46804         (yn_test_data): Add more tests.
46805         * sysdeps/i386/fpu/libm-test-ulps: Update.
46806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46808 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46810         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46812 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46814         * csu/init-first.c: Fix then/than typos.
46815         * locale/programs/ld-collate.c: Likewise.
46816         * locale/programs/linereader.h: Likewise.
46817         * manual/charset.texi: Likewise.
46818         * manual/filesys.texi: Likewise.
46819         * manual/stdio.texi: Likewise.
46820         * manual/string.texi: Likewise.
46821         * stdlib/fmtmsg.c: Likewise.
46822         * sysdeps/i386/stpncpy.S: Likewise.
46823         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46824         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46825         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46826         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46828 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46830         * elf/dl-open.c: Fix typos.
46831         * iconvdata/gbbig5.c: Likewise.
46832         * iconvdata/iso-2022-jp.c: Likewise.
46833         * iconv/gconv_int.h: Likewise.
46834         * iconv/loop.c: Likewise.
46835         * nis/rpcsvc/nis.h: Likewise.
46836         * resolv/ns_name.c: Likewise.
46837         * stdio-common/vfscanf.c: Likewise.
46838         * streams/stropts.h: Likewise.
46839         * sunrpc/rpc_thread.c: Likewise.
46840         * sysdeps/i386/strpbrk.S: Likewise.
46841         * sysdeps/ieee754/k_standard.c: Likewise.
46842         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46844         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46845         * sysdeps/mach/hurd/profil.c: Likewise.
46846         * sysdeps/s390/dl-procinfo.h: Likewise.
46847         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46848         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46849         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46850         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46851         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46853 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46855         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46858 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46860         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46861         aix specific files.
46862         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46863         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46864         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46865         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46866         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46867         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46868         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46869         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46871 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46872             Roland McGrath  <roland@hack.frob.com>
46874         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46875         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46877 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46879         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46880         __executable_start symbol instead of _start.
46882 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46884         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46885         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46886         Move macros to...
46887         * sysdeps/gnu/ldsodefs.h: ... this new file.
46889         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46890         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46891         instead of ELFOSABI_LINUX.
46893         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46894         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46895         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46896         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46897         Likewise.
46898         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46899         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46900         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46901         Likewise.
46902         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46903         (ibm_extended_long_double): Add ieee_nan member.
46904         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46905         (do_test): New function.
46907         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46908         TEST_TRUNC.
46909         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46910         functions, renamed from truncdfsf_test, trunctfsf_test,
46911         trunctfdf_test.
46912         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46913         functions.
46914         (do_test): Run all these.
46916 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46918         * argp/argp-help.c: Fix typos.
46919         * argp/argp-parse.c: Likewise.
46920         * debug/backtracesyms.c: Likewise.
46921         * elf/elf.h: Likewise.
46922         * malloc/malloc.c: Likewise.
46923         * nis/nis_print.c: Likewise.
46924         * resolv/res_comp.c: Likewise.
46925         * stdlib/stdlib.h: Likewise.
46926         * sunrpc/clnt_tcp.c: Likewise.
46927         * sunrpc/clnt_udp.c: Likewise.
46928         * sunrpc/clnt_unix.c: Likewise.
46929         * sysdeps/unix/bsd/ptsname.c: Likewise.
46930         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46931         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46933         Likewise.
46934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46935         Likewise.
46936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46937         Likewise.
46938         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46940 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46942         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46945 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46947         [BZ #15897]
46948         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46949         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46950         ($(objpfx)bug-dl-leaf): New rule.
46951         ($(objpfx)bug-dl-leaf.so): Likewise.
46952         ($(objpfx)bug-dl-leaf.out): Likewise.
46953         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46954         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46955         * dlfcn/bug-dl-leaf.c: New test.
46956         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46957         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46958         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46959         (dlclose): Likewise.
46960         (dlmopen): Likewise.
46962 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46964         * include/netdb.h [!_ISOMAC]:
46965         Don't include <tls.h>.
46966         (h_errno, __libc_h_errno): Move declaration and macros out of
46967         [_LIBC_REENTRANT].
46969         * include/resolv.h [_RESOLV_H_]:
46970         Don't include <tls.h>.
46971         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46972         * resolv/res_libc.c: Don't include <tls.h>.
46973         (_res): Use __attribute__ ((nocommon)) in place of
46974         __attribute__ ((section (".bss"))).
46976         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46977         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46979         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46981         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46982         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46984         * resolv/res_mkquery.c: Include <sys/time.h>.
46986         * inet/ifreq.c: Moved to ...
46987         * sysdeps/unix/ifreq.c: ... here.
46988         * inet/ifreq.c: New file, true stub version.
46990         * socket/sa_len.c: New file.
46991         * socket/Makefile (aux): Add it.
46992         * sysdeps/unix/sysv/linux/Makefile
46993         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46994         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46995         and #include <socket/sa_len.c>.
46996         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46997         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46999         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47000         * bits/socket.h: ... here.
47002         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47003         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47004         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47006 2013-08-27  Andreas Schwab  <schwab@suse.de>
47008         [BZ #15736]
47009         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47010         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47011         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47012         * string/test-strcasecmp.c (test_main): Run tests in several
47013         locales.
47014         * string/test-strncasecmp.c (test_main): Likewise.
47016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47017         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47018         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47019         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47020         (__strncasecmp_ssse3) [PIC]: Likewise.
47022 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47024         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47026         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47027         instead of explicitly declaring xdecrypt.
47028         * nis/nss_nis/nis-publickey.c: Likewise.
47030 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47032         [BZ #15890]
47033         * nscd/aicache.c: Include res_hconf.h.
47034         (addhstaiX): Initialize res_hconf.
47036 2013-08-26  Andreas Schwab  <schwab@suse.de>
47038         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47039         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47041 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47043         * nscd/aicache.c (addhstaiX): Fix indentation.
47045 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47047         * configure.ac: Quote $build_pt_chown test.
47048         * configure: Regenerated.
47050 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47052         [BZ #15532]
47053         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47054         * math/s_cexpf.c (__cexpf): Likewise.
47055         * math/s_cexpl.c (__cexpl): Likewise.
47056         * math/libm-test.inc (cexp_test_data): Correct expected return
47057         value for NaN + i0.  Add another test.
47059 2013-08-22  David S. Miller  <davem@davemloft.net>
47061         * po/ca.po: Update Catalan translation from translation project.
47062         * po/uk.po: Add Ukrainian translations from translation project.
47064 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47066         [BZ #15797]
47067         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47068         is infinite, not alongside NaN test.
47069         * math/s_fdimf.c (__fdimf): Likewise.
47070         * math/s_fdiml.c (__fdiml): Likewise.
47071         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47072         errno is unchanged.
47074 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47076         * argp/argp-help.c: Fix typos.
47077         * crypt/speeds.c: Likewise.
47078         * csu/check_fds.c: Likewise.
47079         * elf/dl-load.c: Likewise.
47080         * elf/dl-open.c: Likewise.
47081         * elf/reldep3.c: Likewise.
47082         * elf/reldep.c: Likewise.
47083         * elf/sprof.c: Likewise.
47084         * iconv/iconv_charmap.c: Likewise.
47085         * iconv/skeleton.c: Likewise.
47086         * iconv/strtab.c: Likewise.
47087         * io/lockf64.c: Likewise.
47088         * libio/libioP.h: Likewise.
47089         * resolv/gai_notify.c: Likewise.
47090         * resolv/ns_name.c: Likewise.
47091         * resolv/ns_samedomain.c: Likewise.
47092         * resolv/res_send.c: Likewise.
47093         * stdlib/random.c: Likewise.
47094         * sunrpc/rpc/xdr.h: Likewise.
47095         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47096         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47097         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47098         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47099         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47102         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47103         * sysdeps/mach/hurd/check_fds.c: Likewise.
47104         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47105         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47106         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47107         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47108         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47109         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47110         * sysdeps/pthread/aio_notify.c: Likewise.
47111         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47112         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47113         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47114         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47115         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47117 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47119         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47120         version if bit_Slow_SSE4_2 is set.
47121         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47122         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47124 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47126         [BZ #15867]
47127         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47128         trampoline stack frame information.
47129         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47131         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47132         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47133         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47134         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47135         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47136         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47137         sa_flags value.
47138         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47139         interrupting a syscall and set with option SA_SIGINFO.
47141 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47143         [BZ #15531]
47144         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47145         argument is infinite.
47146         * math/s_cprojf.c (__cprojf): Likewise.
47147         * math/s_cprojl.c (__cprojl): Likewise.
47148         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47149         * math/libm-test.inc (cproj_test_data): Add more tests.
47151         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47153         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47154         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47155         size.  Use __ffs to determine corresponding shift.
47157 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47158             Roland McGrath  <roland@hack.frob.com>
47160         * Makefile (INSTALL): Remove trailing blank lines from output of
47161         makeinfo.
47163 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47165         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47166         Align 32 bit compat elf_greg to 8 bytes.
47168 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47170         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47172 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47174         * string/strcoll_l.c (coll_seq): New structure.
47175         (get_next_seq_cached): New function.
47176         (get_next_seq): New function.
47177         (do_compare): New function.
47178         (STRCOLL): Use GNU style definition.  Simplify implementation
47179         by using get_next_seq, get_next_seq_cached and do_compare.
47181 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47183         [BZ #14699]
47184         CVE-2013-4237
47185         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47186         member.
47187         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47188         member.
47189         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47190         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47191         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47192         conditional.
47193         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47194         GETDENTS_64BIT_ALIGNED.
47195         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47196         * manual/filesys.texi (Reading/Closing Directory): Document
47197         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47198         strongly.
47199         * manual/conf.texi (Limits for Files): Add portability note to
47200         NAME_MAX, PATH_MAX.
47201         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47203 2013-08-13  Andreas Schwab  <schwab@suse.de>
47205         [BZ #15749]
47206         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47207         of fabs.
47208         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47209         LDBL_MAX_EXP >= 16384]: Add tests for it.
47211 2013-08-12  David S. Miller  <davem@davemloft.net>
47213         * version.h (RELEASE): Set to "development".
47214         (VERSION): Set to "2.18.90".
47215         * NEWS: Add 2.19 section.
47217 2013-08-03  David S. Miller  <davem@davemloft.net>
47219         * po/ko.po: Update Korean translation from translation project.
47221 2013-08-01  David S. Miller  <davem@davemloft.net>
47223         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47224         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47225         Bilka.
47227 2013-07-30  David S. Miller  <davem@davemloft.net>
47229         * po/fr.po: Update French translation from translation project.
47231 2013-07-28  David S. Miller  <davem@davemloft.net>
47233         * po/cs.po: Update Czech translation from translation project.
47235         * po/sv.po: Update Swedish translation from translation project.
47237 2013-07-27  David S. Miller  <davem@davemloft.net>
47239         * po/eo.po: Update Esperanto translation from translation project.
47241         * po/vi.po: Update Vietnamese translation from translation project.
47243         * po/de.po: Update German translation from translation project.
47245 2013-07-26  David S. Miller  <davem@davemloft.net>
47247         * po/bg.po: Update Bulgarian translation from translation project.
47249         * po/nl.po: Update Dutch translation from translation project.
47250         * po/pl.po: Update Polish translation from translation project.
47251         * po/ru.po: Update Russian translation from translation project.
47253 2013-07-24  David S. Miller  <davem@davemloft.net>
47255         * po/libc.pot: Update.
47257 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47259         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47260         variable page size.
47261         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47262         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47263         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47265 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47267         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47269 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47270             Andreas Schwab  <schwab@suse.de>
47271             Roland McGrath  <roland@hack.frob.com>
47272             Joseph Myers  <joseph@codesourcery.com>
47273             Carlos O'Donell  <carlos@redhat.com>
47275         [BZ #15755]
47276         * config.h.in: Define HAVE_PT_CHOWN.
47277         * config.make.in (build-pt-chown): New variable.
47278         * configure.in (--enable-pt_chown): New configure option.
47279         * configure: Regenerate.
47280         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47281         build-pt-chown is enabled.
47282         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47283         pt_chown to fix pty ownership.
47284         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47285         CLOSE_ALL_FDS.
47286         * manual/install.texi (Configuring and compiling): Mention
47287         --enable-pt_chown. Add @findex for grantpt.
47288         * INSTALL: Regenerate.
47290 2013-07-20  David S. Miller  <davem@davemloft.net>
47292         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47293         difference between 32-bit and 64-bit.
47295 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47297         [BZ #15711]
47298         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47299         Avoid system header dependency with -ffreestanding.
47300         ($(objpfx)bits/syscall%d): Likewise.
47302 2013-07-13  David S. Miller  <davem@davemloft.net>
47304         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47305         underflows from atanl/atan2l due to bug 15319.
47306         (casinh_test_data): Likewise.
47308 2013-07-07  David S. Miller  <davem@davemloft.net>
47310         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47312 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47314         * sysdeps/i386/fpu/libm-test-ulps: Update.
47315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47317 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47319         * configure.in (--enable-lock-elision): Fix message text.
47320         * INSTALL: Regenerate.
47321         * configure: Regenerate.
47323 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47327 2013-07-03  Andreas Jaeger  <aj@suse.de>
47329         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47330         define.
47331         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47332         (ptrace_peeksiginfo_args): Add.
47333         (__ptrace_peeksiginfo_flags): Add.
47334         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47335         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47336         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47338 2013-07-03  Allan McRae  <allan@archlinux.org>
47340         * sysdeps/i386/fpu/libm-test-ulps: Update.
47342 2013-07-02  David S. Miller  <davem@davemloft.net>
47344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47346 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47350 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47352         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47355 2013-07-02  Andi Kleen <ak@linux.intel.com>
47357         * config.h.in (ENABLE_LOCK_ELISION): Add.
47358         * configure.in (--enable-lock-elision): Add option.
47359         * manual/install.texi: Document --enable lock elision.
47360         * configure: Regenerate
47361         * INSTALL: Regenerate.
47363 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47365         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47366         SSE4.2 strcasecmp for libc.a.
47367         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47369 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47371         [BZ #13304]
47372         * soft-fp/op-common.h (_FP_FMA): New macro.
47373         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47374         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47375         (_FP_MUL_MEAT_1_imm): ... here.
47376         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47377         (_FP_MUL_MEAT_1_wide): ... here.
47378         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47379         (_FP_MUL_MEAT_1_hard): ... here.
47380         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47381         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47382         (_FP_MUL_MEAT_2_wide): ... here.
47383         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47384         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47385         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47386         (_FP_MUL_MEAT_2_gmp): ... here.
47387         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47388         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47389         (_FP_MUL_MEAT_4_wide): ... here.
47390         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47391         (_FP_MUL_MEAT_4_gmp): ... here.
47392         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47393         (_FP_WFRACBITS_DW_S): Likewise.
47394         (_FP_WFRACXBITS_DW_S): Likewise.
47395         (_FP_HIGHBIT_DW_S): Likewise.
47396         (FP_FMA_S): Likewise.
47397         (_FP_FRAC_HIGH_DW_S): Likewise.
47398         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47399         (_FP_WFRACBITS_DW_D): Likewise.
47400         (_FP_WFRACXBITS_DW_D): Likewise.
47401         (_FP_HIGHBIT_DW_D): Likewise.
47402         (FP_FMA_D): Likewise.
47403         (_FP_FRAC_HIGH_DW_D): Likewise.
47404         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47405         (_FP_WFRACBITS_DW_E): Likewise.
47406         (_FP_WFRACXBITS_DW_E): Likewise.
47407         (_FP_HIGHBIT_DW_E): Likewise.
47408         (FP_FMA_E): Likewise.
47409         (_FP_FRAC_HIGH_DW_E): Likewise.
47410         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47411         (_FP_WFRACBITS_DW_Q): Likewise.
47412         (_FP_WFRACXBITS_DW_Q): Likewise.
47413         (_FP_HIGHBIT_DW_Q): Likewise.
47414         (FP_FMA_Q): Likewise.
47415         (_FP_FRAC_HIGH_DW_Q): Likewise.
47416         * soft-fp/fmasf4.c: New file.
47417         * soft-fp/fmadf4.c: Likewise.
47418         * soft-fp/fmatf4.c: Likewise.
47420 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47423         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47424         Silvermont.
47425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47426         macro.
47427         (index_Slow_SSE4_2): Likewise.
47428         (index_Prefer_PMINUB_for_stringop): Likewise.
47429         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47430         bit_Slow_SSE4_2 is set.
47431         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47432         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47434 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47436         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47437         rtld_global._dl_hwcap2.
47438         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47439         POWER8.
47440         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47441         POWER8 feature descriptions defined in _dl_hwcap2.
47442         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47443         string handling for POWER8 feature bits.
47444         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47445         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47446         _dl_powerpc_cap_flags.
47447         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47448         * sysdeps/powerpc/rtld-global-offsets.sym
47449         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47450         _dl_hwcap2 in the rtld_global_ro structure.
47452 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47454         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47455         hardware capabilities in support of AT_HWCAP2.
47456         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47457         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47458         GLRO(dl_hwcap2).
47459         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47460         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47461         explicitly the unknown a_type display mechanism is used.
47462         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47463         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47464         struct member.
47465         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47466         to macro prototype for AT_HWCAP2 support.
47467         * sysdeps/i386/dl-procinfo.h: Likewise.
47468         * sysdeps/s390/dl-procinfo.h: Likewise.
47469         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47470         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47471         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47472         return -1 for unknown a_type display fallback.
47473         * sysdeps/sparc/dl-procinfo.h: Likewise.
47474         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47475         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47477 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47479         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47480         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47482 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47484         [BZ #12492]
47485         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47486         mprotect making __stack_prot writable.
47488 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47489             Joseph Myers  <joseph@codesourcery.com>
47491         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47492         as being properly aligned.
47494 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47496         * dlfcn/modstatic5.c: New file.
47497         * dlfcn/tststatic5.c: New file.
47498         * dlfcn/Makefile (tests): Add tststatic5.
47499         (tests-static): Likewise.
47500         (modules-names): Add modstatic5.
47501         (tststatic5-ENV): New variable.
47502         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47504         [BZ #15022]
47505         * elf/dl-support.c (_dl_main_map): New variable.
47506         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47507         (_dl_nns, _dl_load_adds): Set to 1.
47508         (_dl_initial_searchlist): Refer to _dl_main_map.
47509         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47510         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47511         call to _dl_get_origin.
47512         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47513         around call_map.
47514         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47515         * dlfcn/modstatic3.c: New file.
47516         * dlfcn/tststatic3.c: New file.
47517         * dlfcn/tststatic4.c: New file.
47518         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47519         (tests-static): Likewise.
47520         (modules-names): Add modstatic3.
47521         (tststatic3-ENV, tststatic4-ENV): New variables.
47522         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47523         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47525 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47527         * configure.in (CC): Require GCC version 4.4 or later.
47528         * configure: Regenerated.
47529         * manual/install.texi (Tools for Compilation): Update GCC version
47530         requirement.
47531         * INSTALL: Regenerated.
47533 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47535         [BZ #15674]
47536         * string/test-memcmp.c (check2): New.
47537         (main): Call check2.
47539         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47541 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47543         [BZ #15022]
47544         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47545         over to...
47546         (dl_open_worker) [!SHARED]: ... here.
47548 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47550         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47552 2013-06-25  Richard Henderson  <rth@redhat.com>
47554         * locale/programs/locarchive.c: Include <libc-internal.h>
47556 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47558         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47559         trailing whitespace removed.
47561 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47563         [BZ #10283]
47564         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47565         * locale/programs/locarchive.c: Include libc-mmap.h.
47566         (prepare_address_space): Take two new outputs (the mmap base and len).
47567         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47568         values.
47569         (create_archive): Declare new mmap base and len values for
47570         prepare_address_space, and store the result in ah.
47571         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47572         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47573         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47574         Declare new mmap base and len values for
47575         prepare_address_space, and store the result in new_ah.
47576         (open_archive): Declare new mmap base and len values for
47577         prepare_address_space, and store the result in ah.
47578         (close_archive): If ah->mmap_base is not NULL, use that and
47579         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47580         * sysdeps/generic/libc-mmap.h: New file.
47582 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47584         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47585         (ALIGN_UP): Likewise.
47586         (PTR_ALIGN_DOWN): Likewise.
47587         (PTR_ALIGN_UP): Likewise.
47589 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47591         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47592         entry mapped to PPC_PLATFORM_POWER8.
47593         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47594         POWER8.
47595         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47596         (_dl_string_platform): Add case for exporting platform position for
47597         POWER8.
47598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47599         search path to sysdeps/powerpc/powerpc32/power8 directory.
47600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47601         search path to sysdeps/powerpc/powerpc64/power8 directory.
47602         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47603         power7 directories.
47604         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47605         power7 directories.
47607 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47609         * INSTALL: Regenerate.
47611         * nscd/connections.c (nscd_init): Fix comment.
47613 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47615         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47617         [BZ #15667]
47618         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47619         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47621 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47623         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47624         DL_DST_REQ_STATIC.
47625         (DL_DST_REQ_STATIC): Remove macro.
47627 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47629         [BZ #7006]
47630         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47631         with a shift of 0 bits.
47633 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47635         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47636         $(tststatic-ENV).
47638 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47640         [BZ #15655]
47641         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47643 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47645         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47646         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47647         accepts -fno-tree-loop-distribute-patterns.
47648         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47649         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47650         recursive call.
47651         * string/memset.c (memset): Likewise.
47652         * string/test-memmove.c (simple_memmove): Disable loop transformation
47653         to library calls.
47654         * string/test-memset.c (simple_memset): Likewise.
47655         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47656         * benchtests/bench-memset.c (simple_memset): Likewise.
47657         * configure: Regenerated.
47659 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47661         * math/test-misc.c (main): Ignore fesetround failure when failures
47662         of subsequent rounding tests would be ignored.
47664         [BZ #15654]
47665         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47666         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47667         * math/fegetenv.c (__fegetenv): Return 0.
47668         * math/fegetexcept.c (fegetexcept): Return 0.
47669         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47670         FE_TONEAREST.
47671         * math/feholdexcpt.c (feholdexcept): Return 0.
47672         * math/fesetenv.c (__fesetenv): Return 0.
47673         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47674         argument FE_TONEAREST.
47675         * math/feupdateenv.c (__feupdateenv): Return 0.
47676         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47678 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47680         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47681         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47682         ($(objpfx)rtld-%.os rules): Use them.
47684 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47686         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47687         fields.
47689 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47691         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47692         length of target pattern, then descending length of dependency pattern.
47693         * configure.in (AWK): Require gawk 3.1.2 or newer.
47694         * manual/install.texi (Tools for Compilation): Say that we do.
47695         * configure: Regenerated.
47697         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47698         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47699         * scripts/sysd-rules.awk: ... this new script.
47700         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47701         than a glob-style pattern.
47703 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47705         * math/test-misc.c (main): Do not treat incorrectly rounded
47706         conversions as failure unless ROUNDING_TESTS passes.
47708 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47710         [BZ #15631]
47711         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47712         restore exception state around main square root computation, then
47713         check for inexactness explicitly.
47715         * math/libm-test.inc (fma_test_data): Add another test.
47717 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47719         * manual/threads.texi (Non-POSIX Extensions): New document
47720         node.  Document pthread_getattr_default_np and
47721         pthread_setattr_default_np.
47723         * Versions.def (libpthread): Add GLIBC_2.18.
47724         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47726         Likewise.
47727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47728         Likewise.
47729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47730         Likewise.
47731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47732         Likewise.
47733         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47734         Likewise.
47735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47736         Likewise.
47737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47738         Likewise.
47739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47740         Likewise.
47741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47742         Likewise.
47744 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47747         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47749 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47750             H.J. Lu  <hjl.tools@gmail.com>
47752         [BZ #15627]
47753         * sysdeps/x86_64/rtld-memset.c: Remove file.
47754         * sysdeps/x86_64/rtld-memset.S: New file.
47756 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47758         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47759         (test_in_one_mode): Take arguments for whether the rounding mode
47760         is supported for each floating-point type.
47761         (do_test): Pass new arguments to test_in_one_mode using
47762         ROUNDING_TESTS.
47764 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47766         * posix/tst-waitid.c (do_test): Distinguish different instances of
47767         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47768         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47769         before entering the kernel for waitpid.
47771 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47773         * NEWS: Fix note on clock function precision.  Text by Roland
47774         McGrath.
47776 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47778         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47779         it into place only when and if the sanity check passes.
47781 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47783         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47784         output for whether conversion result is exact.  Take argument
47785         indicating whether type is IBM long double.
47786         (round_for_all): Change need_exact field to ibm_ld.
47787         * stdlib/tst-strtod-round.c (struct exactness): New type.
47788         (struct test): Change bool ld_ok field to struct exactness exact.
47789         (TEST): Update all definitions for change to field.
47790         (tests): Regenerate array contents.
47791         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47792         field value.  Check for IBM long double here.
47793         (do_test): Update calls to test_in_one_mode.
47795 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47797         [BZ #12515]
47798         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47799         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47801 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47803         [BZ #15605]
47804         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47805         generated by the compiler on loop optimizations.
47806         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47807         general definitions.
47809 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47811         * math/bug-nextafter.c: Include <math-tests.h>.
47812         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47813         the relevant type.
47814         * math/bug-nexttoward.c: Include <math-tests.h>.
47815         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47816         the relevant type.
47817         * math/test-misc.c: Include <math-tests.h>.
47818         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47819         the relevant type.
47821 2013-06-12  Andreas Jaeger  <aj@suse.de>
47823         * po/ia.po: Update Interlingua translation from translation
47824         project.
47826 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47828         * include/fenv.h: Include stdbool.h.
47829         (struct rm_ctx): New structure.
47830         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47831         Define macro.
47832         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47833         (SET_RESTORE_ROUNDF): Likewise.
47834         (SET_RESTORE_ROUNDL): Likewise.
47835         (SET_RESTORE_ROUND_NOEX): Likewise.
47836         (SET_RESTORE_ROUND_NOEXF): Likewise.
47837         (SET_RESTORE_ROUND_NOEXL): Likewise.
47838         (SET_RESTORE_ROUND_53BIT): Likewise.
47839         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47840         (libc_feresetround_noexf_ctx): Likewise.
47841         (libc_feresetround_noexl_ctx): Likewise.
47842         (libc_feholdsetround_53bit_ctx): Likewise.
47843         (libc_feresetround_53bit_ctx): Likewise.
47844         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47845         (libc_feholdexcept_setround_sse_ctx): New function.
47846         (libc_fesetenv_sse_ctx): Likewise.
47847         (libc_feupdateenv_sse_ctx): Likewise.
47848         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47849         (libc_feholdexcept_setround_387_ctx): Likewise.
47850         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47851         (libc_feholdsetround_387_prec_ctx): Likewise.
47852         (libc_feholdsetround_387_ctx): Likewise.
47853         (libc_feholdsetround_387_53bit_ctx): Likewise.
47854         (libc_feholdsetround_sse_ctx): Likewise.
47855         (libc_feresetround_sse_ctx): Likewise.
47856         (libc_feresetround_387_ctx): Likewise.
47857         (libc_feupdateenv_387_ctx): Likewise.
47858         (libc_feholdexcept_setroundf_ctx): Define macro.
47859         (libc_fesetenvf_ctx): Likewise.
47860         (libc_feupdateenvf_ctx): Likewise.
47861         (libc_feholdsetroundf_ctx): Likewise.
47862         (libc_feresetroundf_ctx): Likewise.
47863         (libc_feholdexcept_setround_ctx): Likewise.
47864         (libc_fesetenv_ctx): Likewise.
47865         (libc_feupdateenv_ctx): Likewise.
47866         (libc_feholdsetround_ctx): Likewise.
47867         (libc_feresetround_ctx): Likewise.
47868         (libc_feholdexcept_setroundl_ctx): Likewise.
47869         (libc_feupdateenvl_ctx): Likewise.
47870         (libc_feholdsetroundl_ctx): Likewise.
47871         (libc_feresetroundl_ctx): Likewise.
47872         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47873         (libc_feresetround_53bit_ctx): Likewise.
47875 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47877         * locale/iso-639.def: Convert to UTF-8.
47879 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47881         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47882         (EXCEPTION_TESTS_double): Likewise.
47883         (EXCEPTION_TESTS_long_double): Likewise.
47884         (EXCEPTION_TESTS): Likewise.
47885         * math/libm-test.inc (test_exceptions): Only test exceptions if
47886         EXCEPTION_TESTS (FLOAT).
47888 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47890         * benchtests/Makefile (string-bench): Add strcpy_chk and
47891         stpcpy_chk.
47892         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47893         * benchtests/bench-stpcpy_chk.c: New file.
47894         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47895         * benchtests/bench-strcpy_chk.c: New file.
47896         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47897         code.
47898         (do_test): Likewise.
47900 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47902         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47903         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47904         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47905         with tabs where appropriate.
47906         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47907         dl-procinfo.h.
47908         [PPC_PLATFORM_PPC440]: Likewise.
47909         [PPC_PLATFORM_PPC464]: Likewise.
47910         [PPC_PLATFORM_PPC476]: Likewise.
47911         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47912         ppc464, and ppc476 platform strings merging from ports/
47913         dl-procinfo.h.
47915 2013-06-11  Andreas Schwab  <schwab@suse.de>
47917         [BZ #14991]
47918         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47919         (from_ucs4_idx): Regenerate.
47920         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47921         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47922         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47923         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47924         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47925         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47926         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47927         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47928         from FROM_LOOP and TO_LOOP specific macros.
47929         (BODY): Handle combining characters.
47930         * iconvdata/BIG5HKSCS.irreversible: Update.
47931         * iconvdata/BIG5HKSCS.precomposed: New file.
47932         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47933         characters.
47934         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47936 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47938         * include/sys/time.h: Fix indentation and add copyright header.
47940         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47941         (do_test): Likewise.
47942         * string/test-memchr.c (do_one_test): Likewise.
47943         (do_test): Likewise.
47944         * string/test-memcmp.c (do_one_test): Likewise.
47945         (do_test): Likewise.
47946         * string/test-memcpy.c (do_one_test): Likewise.
47947         (do_test): Likewise.
47948         * string/test-memmem.c (do_one_test): Likewise.
47949         (do_test): Likewise.
47950         (do_random_tests): Likewise.
47951         * string/test-memmove.c (do_one_test): Likewise.
47952         (do_test): Likewise.
47953         * string/test-memset.c (do_one_test): Likewise.
47954         (do_test): Likewise.
47955         * string/test-rawmemchr.c (do_one_test): Likewise.
47956         (do_test): Likewise.
47957         * string/test-strcasecmp.c (do_one_test): Likewise.
47958         (do_test): Likewise.
47959         * string/test-strcasestr.c (do_one_test): Likewise.
47960         (do_test): Likewise.
47961         * string/test-strcat.c (do_one_test): Likewise.
47962         (do_test): Likewise.
47963         * string/test-strchr.c (do_one_test): Likewise.
47964         (do_test): Likewise.
47965         * string/test-strcmp.c (do_one_test): Likewise.
47966         (do_test): Likewise.
47967         * string/test-strcpy.c (do_one_test): Likewise.
47968         (do_test): Likewise.
47969         * string/test-string.h: Likewise.
47970         (test_init): Likewise.
47971         * string/test-strlen.c (do_one_test): Likewise.
47972         (do_test): Likewise.
47973         * string/test-strncasecmp.c (do_one_test): Likewise.
47974         (do_test): Likewise.
47975         * string/test-strncat.c (do_one_test): Likewise.
47976         (do_test): Likewise.
47977         * string/test-strncmp.c (do_one_test): Likewise.
47978         (do_test_limit): Likewise.
47979         (do_test): Likewise.
47980         * string/test-strncpy.c (do_one_test): Likewise.
47981         (do_test): Likewise.
47982         * string/test-strnlen.c (do_one_test): Likewise.
47983         (do_test): Likewise.
47984         * string/test-strpbrk.c (do_one_test): Likewise.
47985         (do_test): Likewise.
47986         * string/test-strrchr.c (do_one_test): Likewise.
47987         (do_test): Likewise.
47988         * string/test-strspn.c (do_one_test): Likewise.
47989         (do_test): Likewise.
47990         * string/test-strstr.c (do_one_test): Likewise.
47991         (do_test): Likewise.
47993         * benchtests/Makefile (string-bench): Add string benchmarks.
47994         * benchtests/bench-bcopy-ifunc.c: New file.
47995         * benchtests/bench-bcopy.c: New file.
47996         * benchtests/bench-bzero-ifunc.c: New file.
47997         * benchtests/bench-bzero.c: New file.
47998         * benchtests/bench-memccpy-ifunc.c: New file.
47999         * benchtests/bench-memccpy.c: New file.
48000         * benchtests/bench-memchr-ifunc.c: New file.
48001         * benchtests/bench-memchr.c: New file.
48002         * benchtests/bench-memcmp-ifunc.c: New file.
48003         * benchtests/bench-memcmp.c: New file.
48004         * benchtests/bench-memmem-ifunc.c: New file.
48005         * benchtests/bench-memmem.c: New file.
48006         * benchtests/bench-memmove-ifunc.c: New file.
48007         * benchtests/bench-memmove.c: New file.
48008         * benchtests/bench-mempcpy-ifunc.c: New file.
48009         * benchtests/bench-mempcpy.c: New file.
48010         * benchtests/bench-memset-ifunc.c: New file.
48011         * benchtests/bench-memset.c: New file.
48012         * benchtests/bench-rawmemchr-ifunc.c: New file.
48013         * benchtests/bench-rawmemchr.c: New file.
48014         * benchtests/bench-stpcpy-ifunc.c: New file.
48015         * benchtests/bench-stpcpy.c: New file.
48016         * benchtests/bench-stpncpy-ifunc.c: New file.
48017         * benchtests/bench-stpncpy.c: New file.
48018         * benchtests/bench-strcasecmp-ifunc.c: New file.
48019         * benchtests/bench-strcasecmp.c: New file.
48020         * benchtests/bench-strcasestr-ifunc.c: New file.
48021         * benchtests/bench-strcasestr.c: New file.
48022         * benchtests/bench-strcat-ifunc.c: New file.
48023         * benchtests/bench-strcat.c: New file.
48024         * benchtests/bench-strchr-ifunc.c: New file.
48025         * benchtests/bench-strchr.c: New file.
48026         * benchtests/bench-strchrnul-ifunc.c: New file.
48027         * benchtests/bench-strchrnul.c: New file.
48028         * benchtests/bench-strcmp-ifunc.c: New file.
48029         * benchtests/bench-strcmp.c: New file.
48030         * benchtests/bench-strcpy-ifunc.c: New file.
48031         * benchtests/bench-strcpy.c: New file.
48032         * benchtests/bench-strcspn-ifunc.c: New file.
48033         * benchtests/bench-strcspn.c: New file.
48034         * benchtests/bench-strlen-ifunc.c: New file.
48035         * benchtests/bench-strlen.c: New file.
48036         * benchtests/bench-strncasecmp-ifunc.c: New file.
48037         * benchtests/bench-strncasecmp.c: New file.
48038         * benchtests/bench-strncat-ifunc.c: New file.
48039         * benchtests/bench-strncat.c: New file.
48040         * benchtests/bench-strncmp-ifunc.c: New file.
48041         * benchtests/bench-strncmp.c: New file.
48042         * benchtests/bench-strncpy-ifunc.c: New file.
48043         * benchtests/bench-strncpy.c: New file.
48044         * benchtests/bench-strnlen-ifunc.c: New file.
48045         * benchtests/bench-strnlen.c: New file.
48046         * benchtests/bench-strpbrk-ifunc.c: New file.
48047         * benchtests/bench-strpbrk.c: New file.
48048         * benchtests/bench-strrchr-ifunc.c: New file.
48049         * benchtests/bench-strrchr.c: New file.
48050         * benchtests/bench-strspn-ifunc.c: New file.
48051         * benchtests/bench-strspn.c: New file.
48052         * benchtests/bench-strstr-ifunc.c: New file.
48053         * benchtests/bench-strstr.c: New file.
48055         * benchtests/Makefile: Disable parallel execution of targets.
48056         (string-bench): Add memcpy.
48057         (benchset): New variable to store a list of benchmark sets.
48058         (bench-func): Renamed from bench.
48059         (bench-set): New target.
48060         (bench): Depend on bench-func and bench-set.
48061         * benchtests/README: Add section on benchmark sets.
48062         * benchtests/bench-memcpy-ifunc.c: New file.
48063         * benchtests/bench-memcpy.c: New file.
48064         * benchtests/bench-string.h: New file.
48066 2013-06-11  Andreas Schwab  <schwab@suse.de>
48068         [BZ #15577]
48069         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48070         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48071         values in the triple.
48072         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48073         terminator in the group key.
48075 2013-06-11  Andreas Jaeger  <aj@suse.de>
48077         * po/zh_TW.po: Update Chinese (traditional) translation from
48078         translation project.
48080 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48082         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48083         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48084         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48085         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48086         (clock_getcpuclockid): Likewise.
48087         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48088         Add weak_alias and libc_hidden_def.
48089         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48090         * rt/clock_gettime.c (clock_gettime): Rename to
48091         __clock_gettime.  Add weak_alias and libc_hidden_def.
48092         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48093         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48094         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48095         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48096         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48097         Likewise.
48098         * rt/clock_settime.c (clock_settime): Rename to
48099         __clock_settime.  Add weak_alias and libc_hidden_def.
48100         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48102 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48104         * mach/err_boot.sub: Remove trailing whitespace.
48105         * mach/err_ipc.sub: Likewise.
48106         * mach/err_mach.sub: Likewise.
48108         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48109         (ROUNDING_TESTS_double): Likewise.
48110         (ROUNDING_TESTS_long_double): Likewise.
48111         (ROUNDING_TESTS): Likewise.
48112         * math/libm-test.inc: Include <math-tests.h>.
48113         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48114         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48115         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48116         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48118 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48120         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48121         of assigning.
48123 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48125         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48126         otherwise empty TRANS lines.
48127         * sysdeps/gnu/errlist.c: Regenerated.
48129         * catgets/gencat.c (error_print): Use (void) in function
48130         definition.
48131         * crypt/crypt_util.c (__init_des): Likewise.
48132         * crypt/speeds.c (Stop): Likewise.
48133         (main): Likewise.
48134         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48135         * inet/ruserpass.c (token): Likewise.
48136         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48137         * intl/localealias.c (extend_alias_table): Likewise.
48138         * intl/plural-exp.c (init_germanic_plural): Likewise.
48139         * libio/fcloseall.c (__fcloseall): Likewise.
48140         * libio/genops.c (_IO_flush_all): Likewise.
48141         (_IO_flush_all_linebuffered): Likewise.
48142         (_IO_cleanup): Likewise.
48143         (_IO_iter_begin): Likewise.
48144         (_IO_iter_end): Likewise.
48145         (_IO_list_lock): Likewise.
48146         (_IO_list_unlock): Likewise.
48147         (_IO_list_resetlock): Likewise.
48148         * libio/getchar.c (getchar): Likewise.
48149         * libio/getchar_u.c (getchar_unlocked): Likewise.
48150         * libio/getwchar.c (getwchar): Likewise.
48151         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48152         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48153         * login/getpt.c (__getpt): Likewise.
48154         * login/tst-utmp.c (main): Likewise.
48155         * malloc/hooks.c (__malloc_check_init): Likewise.
48156         * malloc/malloc.c (__malloc_stats): Likewise.
48157         * malloc/mtrace.c (tr_break): Likewise.
48158         (mtrace): Likewise.
48159         (muntrace): Likewise.
48160         * misc/fstab.c (endfsent): Likewise.
48161         * misc/getclktck.c (__getclktck): Likewise.
48162         * misc/getdtsz.c (__getdtablesize): Likewise.
48163         * misc/gethostid.c (gethostid): Likewise.
48164         * misc/getpagesize.c (__getpagesize): Likewise.
48165         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48166         (__get_nprocs): Likewise.
48167         (__get_phys_pages): Likewise.
48168         (__get_avphys_pages): Likewise.
48169         * misc/getttyent.c (getttyent): Likewise.
48170         (setttyent): Likewise.
48171         (endttyent): Likewise.
48172         * misc/getusershell.c (getusershell): Likewise.
48173         (endusershell): Likewise.
48174         (setusershell): Likewise.
48175         (initshells): Likewise.
48176         * misc/hsearch.c (__hdestroy): Likewise.
48177         * misc/sync.c (sync): Likewise.
48178         * misc/syslog.c (closelog_internal): Likewise.
48179         (closelog): Likewise.
48180         * misc/ttyslot.c (ttyslot): Likewise.
48181         * misc/vhangup.c (vhangup): Likewise.
48182         * posix/fork.c (__fork): Likewise.
48183         * posix/getegid.c (__getegid): Likewise.
48184         * posix/geteuid.c (__geteuid): Likewise.
48185         * posix/getgid.c (__getgid): Likewise.
48186         * posix/getpid.c (__getpid): Likewise.
48187         * posix/getppid.c (__getppid): Likewise.
48188         * posix/getuid.c (__getuid): Likewise.
48189         * posix/pause.c (pause): Likewise.
48190         * posix/setpgrp.c (setpgrp): Likewise.
48191         * posix/setsid.c (__setsid): Likewise.
48192         * posix/test-vfork.c (noop): Likewise.
48193         * resolv/gethnamaddr.c (_endhtent): Likewise.
48194         (_gethtent): Likewise.
48195         (ht_endhostent): Likewise.
48196         (gethostent): Likewise.
48197         (dns_service): Likewise.
48198         * stdlib/drand48.c (drand48): Likewise.
48199         * stdlib/lrand48.c (lrand48): Likewise.
48200         * stdlib/mrand48.c (mrand48): Likewise.
48201         * stdlib/rand.c (rand): Likewise.
48202         * stdlib/random.c (__random): Likewise.
48203         * stdlib/setenv.c (clearenv): Likewise.
48204         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48205         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48206         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48207         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48208         (__get_nprocs): Likewise.
48209         (__get_phys_pages): Likewise.
48210         (__get_avphys_pages): Likewise.
48211         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48212         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48213         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48214         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48215         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48216         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48217         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48218         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48219         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48220         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48221         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48222         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48223         * sysdeps/posix/clock.c (clock): Likewise.
48224         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48225         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48226         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48227         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48228         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48229         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48230         (__get_nprocs_conf): Likewise.
48231         (__get_phys_pages): Likewise.
48232         (__get_avphys_pages): Likewise.
48233         * time/clock.c (clock): Likewise.
48234         * time/tzset.c (__tzname_max): Likewise.
48236 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48238         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48239         (__bswap_32): Do not use "register".
48240         * crypt/crypt.c (_ufc_doit_r): Likewise.
48241         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48242         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48243         * gmon/gmon.c (__monstartup): Likewise.
48244         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48245         * hurd/hurdmalloc.c (more_memory): Likewise.
48246         (malloc): Likewise.
48247         (free): Likewise.
48248         (realloc): Likewise.
48249         (malloc_fork_prepare): Likewise.
48250         (malloc_fork_parent): Likewise.
48251         (malloc_fork_child): Likewise.
48252         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48253         (_svcauth_des): Likewise.
48254         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48255         * inet/inet_net.c (inet_network): Likewise.
48256         * inet/inet_netof.c (inet_netof): Likewise.
48257         * inet/rcmd.c (__validuser2_sa): Likewise.
48258         * io/fts.c (fts_open): Likewise.
48259         (fts_load): Likewise.
48260         (fts_close): Likewise.
48261         (fts_read): Likewise.
48262         (fts_children): Likewise.
48263         (fts_build): Likewise.
48264         (fts_stat): Likewise.
48265         (fts_sort): Likewise.
48266         (fts_alloc): Likewise.
48267         (fts_lfree): Likewise.
48268         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48269         (_IO_file_xsgetn): Likewise.
48270         (_IO_file_xsgetn_mmap): Likewise.
48271         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48272         (_IO_cookie_write): Likewise.
48273         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48274         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48275         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48276         * malloc/obstack.c (_obstack_begin): Likewise.
48277         (_obstack_begin_1): Likewise.
48278         (_obstack_newchunk): Likewise.
48279         (_obstack_allocated_p): Likewise.
48280         (obstack_free): Likewise.
48281         (_obstack_memory_used): Likewise.
48282         * misc/getttyent.c (getttynam): Likewise.
48283         (getttyent): Likewise.
48284         (skip): Likewise.
48285         (value): Likewise.
48286         * misc/getusershell.c (initshells): Likewise.
48287         * misc/syslog.c (__vsyslog_chk): Likewise.
48288         * misc/ttyslot.c (ttyslot): Likewise.
48289         * nis/nis_hash.c (__nis_hash): Likewise.
48290         * posix/fnmatch_loop.c (FCT): Likewise.
48291         * posix/getconf.c (print_all): Likewise.
48292         (main): Likewise.
48293         * posix/getopt.c (exchange): Likewise.
48294         * posix/glob.c (globfree): Likewise.
48295         (prefix_array): Likewise.
48296         (__glob_pattern_type): Likewise.
48297         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48298         (NS_GET32): Likewise.
48299         (NS_PUT16): Likewise.
48300         (NS_PUT32): Likewise.
48301         * resolv/gethnamaddr.c (getanswer): Likewise.
48302         (gethostbyname2): Likewise.
48303         (gethostbyaddr): Likewise.
48304         (_gethtent): Likewise.
48305         (_gethtbyname2): Likewise.
48306         (_gethtbyaddr): Likewise.
48307         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48308         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48309         * resolv/res_init.c (__res_vinit): Likewise.
48310         (net_mask): Likewise.
48311         * resolv/res_mkquery.c (outchar): Likewise.
48312         (PRINT): Likewise.
48313         * stdio-common/printf_fp.c (outchar): Likewise.
48314         (PRINT): Likewise.
48315         * stdio-common/printf_fphex.c (outchar): Likewise.
48316         (PRINT): Likewise.
48317         * stdio-common/printf_size.c (outchar): Likewise.
48318         (PRINT): Likewise.
48319         * stdio-common/test_rdwr.c (main): Likewise.
48320         * stdio-common/tfformat.c (matches): Likewise.
48321         * stdio-common/vfprintf.c (outchar): Likewise.
48322         (printf_unknown): Likewise.
48323         (buffered_vfprintf): Likewise.
48324         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48325         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48326         (ReadFile): Likewise.
48327         * stdlib/qsort.c (SWAP): Likewise.
48328         (_quicksort): Likewise.
48329         * stdlib/setenv.c (__add_to_environ): Likewise.
48330         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48331         * stdlib/strtol_l.c (__strtol_l): Likewise.
48332         * stdlib/tst-strtod.c (main): Likewise.
48333         * stdlib/tst-strtol.c (main): Likewise.
48334         * stdlib/tst-strtoll.c (main): Likewise.
48335         * string/bits/string2.h (__strcmp_cc): Likewise.
48336         (__strcmp_cg): Likewise.
48337         (__strcspn_c1): Likewise.
48338         (__strcspn_c2): Likewise.
48339         (__strcspn_c3): Likewise.
48340         (__strspn_c1): Likewise.
48341         (__strspn_c2): Likewise.
48342         (__strspn_c3): Likewise.
48343         (__strsep_1c): Likewise.
48344         (__strsep_2c): Likewise.
48345         (__strsep_3c): Likewise.
48346         * string/memccpy.c (__memccpy): Likewise.
48347         * string/stpcpy.c (__stpcpy): Likewise.
48348         * string/strcmp.c (strcmp): Likewise.
48349         * string/strrchr.c (strrchr): Likewise.
48350         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48351         Likewise.
48352         * sysdeps/mach/hurd/getcwd.c
48353         (_hurd_canonicalize_directory_name_internal): Likewise.
48354         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48355         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48356         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48357         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48358         Likewise, in both definitions.
48359         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48360         definitions.
48361         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48362         64] (__bswap_64): Likewise.
48363         * time/test_time.c (main): Likewise.
48364         * time/tzfile.c (__tzfile_read): Likewise.
48365         (__tzfile_compute): Likewise.
48366         * time/tzset.c (__tzset_parse_tz): Likewise.
48367         (tzset_internal): Likewise.
48368         (compute_change): Likewise.
48369         * wcsmbs/wcscat.c (__wcscat): Likewise.
48370         * wcsmbs/wcschr.c (wcschr): Likewise.
48371         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48372         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48373         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48374         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48375         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48376         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48377         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48378         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48379         * wcsmbs/wmemset.c (wmemset): Likewise.
48381 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48383         * scripts/config.guess: Update to version 2013-05-16.
48384         * scripts/config.sub: Update to version 2013-04-24.
48385         * scripts/install-sh: Update to version 2011-11-20.07.
48386         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48387         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48389 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48391         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48392         * elf/sln.c: Likewise.
48393         * hurd/hurd/ioctl.h: Likewise.
48394         * hurd/hurdmalloc.c: Likewise.
48395         * hurd/xattr.c: Likewise.
48396         * include/shlib-compat.h: Likewise.
48397         * inet/ruserpass.c: Likewise.
48398         * libio/iofgets_u.c: Likewise.
48399         * libio/iofgetws_u.c: Likewise.
48400         * locale/programs/ld-identification.c: Likewise.
48401         * locale/programs/ld-time.c: Likewise.
48402         * mach/msg-destroy.c: Likewise.
48403         * nss/nss_files/files-netgrp.c: Likewise.
48404         * resolv/res_data.c: Likewise.
48405         * soft-fp/op-1.h: Likewise.
48406         * soft-fp/op-2.h: Likewise.
48407         * soft-fp/op-4.h: Likewise.
48408         * soft-fp/op-common.h: Likewise.
48409         * stdio-common/printf_fphex.c: Likewise.
48410         * stdlib/strtod_l.c: Likewise.
48411         * sunrpc/rpc/clnt.h: Likewise.
48412         * sysdeps/generic/framestate.c: Likewise.
48413         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48414         * sysdeps/i386/bsd-setjmp.S: Likewise.
48415         * sysdeps/i386/__longjmp.S: Likewise.
48416         * sysdeps/i386/setjmp.S: Likewise.
48417         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48418         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48420         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48422         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48424         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48425         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48426         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48427         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48428         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48429         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48430         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48431         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48432         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48433         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48434         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48435         * sysdeps/ieee754/support.c: Likewise.
48436         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48437         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48438         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48439         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48440         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48441         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48442         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48443         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48444         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48445         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48446         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48447         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48448         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48449         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48450         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48451         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48452         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48455 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48457         * posix/transbug.c: Remove executable mode.
48459 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48461         * crypt/speeds.c: Remove trailing whitespace.
48462         * dlfcn/default.c: Likewise.
48463         * elf/ifuncdep2.c: Likewise.
48464         * elf/ifuncmain1.c: Likewise.
48465         * elf/ifuncmain1vis.c: Likewise.
48466         * elf/testobj.h: Likewise.
48467         * elf/tst-stackguard1.c: Likewise.
48468         * gmon/sys/gmon.h: Likewise.
48469         * hurd/hurdmsg.c: Likewise.
48470         * hurd/new-fd.c: Likewise.
48471         * hurd/ports-get.c: Likewise.
48472         * iconvdata/ibm1008_420.c: Likewise.
48473         * inet/tst-getni1.c: Likewise.
48474         * inet/tst-getni2.c: Likewise.
48475         * libio/ioungetc.c: Likewise.
48476         * libio/wfiledoalloc.c: Likewise.
48477         * manual/libm-err-tab.pl: Likewise.
48478         * math/w_dremf.c: Likewise.
48479         * misc/ftruncate.c: Likewise.
48480         * posix/bug-glob2.c: Likewise.
48481         * posix/tst-pcre.c: Likewise.
48482         * posix/wait4.c: Likewise.
48483         * resolv/README: Likewise.
48484         * resolv/res_debug.h: Likewise.
48485         * resolv/tst-inet_ntop.c: Likewise.
48486         * setjmp/bug269-setjmp.c: Likewise.
48487         * soft-fp/extended.h: Likewise.
48488         * soft-fp/op-1.h: Likewise.
48489         * soft-fp/op-2.h: Likewise.
48490         * soft-fp/op-4.h: Likewise.
48491         * soft-fp/op-8.h: Likewise.
48492         * soft-fp/testit.c: Likewise.
48493         * stdio-common/bug16.c: Likewise.
48494         * stdlib/random.c: Likewise.
48495         * sunrpc/rpcsvc/rquota.x: Likewise.
48496         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48497         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48498         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48499         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48500         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48501         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48502         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48503         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48504         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48505         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48506         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48507         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48508         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48509         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48510         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48511         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48512         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48513         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48514         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48515         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48516         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48520         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48522         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48523         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48524         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48525         * sysdeps/ieee754/s_lib_version.c: Likewise.
48526         * sysdeps/mach/hurd/check_fds.c: Likewise.
48527         * sysdeps/mach/hurd/getsockname.c: Likewise.
48528         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48529         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48530         * sysdeps/powerpc/bits/link.h: Likewise.
48531         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48532         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48533         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48534         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48535         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48536         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48537         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48538         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48539         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48540         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48541         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48542         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48543         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48544         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48545         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48546         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48547         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48548         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48549         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48550         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48551         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48552         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48553         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48554         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48555         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48556         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48557         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48558         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48559         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48560         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48561         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48562         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48564         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48565         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48566         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48567         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48568         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48569         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48570         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48571         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48572         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48573         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48574         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48575         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48576         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48577         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48578         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48579         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48580         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48581         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48582         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48583         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48584         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48585         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48586         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48587         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48588         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48589         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48590         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48591         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48592         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48593         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48594         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48595         * sysdeps/powerpc/sysdep.h: Likewise.
48596         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48597         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48598         * sysdeps/sh/dl-trampoline.S: Likewise.
48599         * sysdeps/sh/memset.S: Likewise.
48600         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48601         * sysdeps/sh/strlen.S: Likewise.
48602         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48603         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48604         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48605         * sysdeps/sparc/sparc32/rem.S: Likewise.
48606         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48607         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48608         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48609         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48610         * sysdeps/sparc/sparc32/urem.S: Likewise.
48611         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48612         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48613         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48614         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48616         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48617         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48618         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48619         * sysdeps/unix/bsd/times.c: Likewise.
48620         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48621         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48625         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48626         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48627         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48628         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48629         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48630         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48631         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48632         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48633         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48634         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48635         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48636         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48637         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48638         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48639         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48640         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48641         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48642         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48643         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48644         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48645         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48646         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48647         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48648         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48649         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48650         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48651         * sysdeps/x86_64/strcspn.S: Likewise.
48653 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48655         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48656         generated file.  Regenerate properly from gen-translit.pl.
48657         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48658         locale/C-translit.h.
48660 2013-06-05  Andreas Schwab  <schwab@suse.de>
48662         [BZ #15100]
48663         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48664         week as 6 instead of -1.
48665         * time/tst-strptime.c (day_tests): Add test case.
48667 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48669         * sysdeps/generic/math_private.h
48670         (libc_feholdexcept_setround_53bit): Replace with
48671         libc_feholdsetround_53bit.
48672         (libc_feupdateenv_53bit): Replace with
48673         libc_feresetround_53bit.
48674         (SET_RESTORE_ROUND_53BIT): Adjust.
48676 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48678         * string/test-strchrnul.c: Add copyright header.
48680         * posix/tst-getaddrinfo4.c: Increase test timeout.
48682 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48684         [BZ #15536]
48685         * math/libm-test.inc (MAX_EXP): Remove
48686         (MIN_EXP): Define.
48687         (ulp): Use MIN_EXP - MANT_DIG.
48688         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48690 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48692         * po/be.po: Revert last change.
48693         * po/zh_CN.po: Likewise.
48694         * po/header.pot: Likewise.
48696 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48698         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48699         link-libc-deps to empty as target-specific variable.
48700         * Makerules (link-libc-args): New variable.
48701         (libc-for-link): Likewise.
48702         (link-libc-deps): Likewise.
48703         (lib%.so): Depend on $(link-libc-deps).  Link with
48704         $(link-libc-args).
48705         (build-module): Link with $(link-libc-args).
48706         (build-module-asneeded): Likewise.
48707         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48708         list of objects.
48709         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48710         target-specific variable.
48711         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48712         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48713         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48714         libc.
48715         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48716         libc and ld.so.
48717         ($(objpfx)libpcprofile.so): Likewise.
48718         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48719         libc_nonshared.a.
48720         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48721         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48722         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48723         $(link-libc-deps).
48724         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48725         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48726         * login/Makefile ($(objpfx)libutil.so): Likewise.
48727         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48728         * math/Makefile ($(objpfx)libm.so): Likewise.
48729         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48730         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48731         variable instead of depending directly on libc.
48732         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48733         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48734         $(link-libc-deps).
48735         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48736         libc.
48737         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48738         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48739         ($(objpfx)libanl.so): Likewise.
48740         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48741         ld.so.
48742         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48743         $(link-libc-deps).
48744         * sysdeps/i386/fpu/Makefile: Remove file.
48745         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48746         ($(objpfx)libm.so): Remove dependency on ld.so.
48748 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48750         [BZ # 15553]
48751         * nis/yp_xdr.c (XDRMAXNAME): Define.
48752         (XDRMAXRECORD): Define.
48753         (xdr_domainname): Use XDRMAXNAME.
48754         (xdr_mapname): Likewise.
48755         (xdr_peername): Likewise.
48756         (xdr_keydat): Use XDRMAXRECORD.
48757         (xdr_valdat): Likewise.
48759 2013-05-30  Jeff Law  <law@redhat.com>
48761         [BZ #14256]
48762         * manual/errno.texi (ESTALE): Update to account for more than
48763         just NFS file systems.
48764         * sysdeps/gnu/errlist.c: Regenerated.
48766 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48768         [BZ #15465]
48769         * elf/Makefile (tests): Add tst-null-argv.
48770         (modules-names):  Add tst-null-argv-lib.
48771         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48772         (tst-null-argv-ENV): Set environment for tst-null-argv.
48773         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48774         (RTLD_PROGNAME): New macro.
48775         * elf/tst-null-argv.c: New test case.
48776         * elf/tst-null-argv-lib.c: Library for test case.
48777         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48778         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48779         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48780         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48781         * elf/dl-init.c (call_init): Likewise.
48782         (_dl_init): Likewise.
48783         * elf/dl-load.c (print_search_path): Likewise.
48784         (_dl_map_object): Likewise.
48785         * elf/dl-lookup.c (do_lookup_x): Likewise.
48786         (add_dependency): Likewise.
48787         (_dl_lookup_symbol_x): Likewise.
48788         (_dl_debug_bindings): Likewise.
48789         * elf/dl-open.c (_dl_show_scope): Likewise.
48790         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48791         * elf/dl-version.c (match_symbol): Likewise.
48792         (_dl_check_map_versions): Likewise.
48793         * elf/rtld.c (dl_main): Likewise.
48794         (print_unresolved): Use RTLD_PROGNAME.
48795         (print_missing_version): Likewise.
48796         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48797         (elf_machine_rela): Likewise.
48798         * sysdeps/powerpc/powerpc32/dl-machine.c
48799         (__process_machine_rela): Likewise.
48800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48801         Likewise.
48802         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48803         Likewise.
48804         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48805         Likewise.
48806         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48808         Likewise.
48809         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48810         Likewise.
48811         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48813 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48815         * po/be.po: Add descriptive title.
48816         * po/zh_CN.po: Likewise.
48817         * po/header.pot: Likewise.
48819 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48821         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48822         error message.
48823         (enlarge_archive): Likewise.
48825 2013-05-28  Ben North  <ben@redfrontdoor.org>
48827         * manual/arith.texi (frexp): It is the magnitude of the return
48828         value which lies in [0.5, 1), not the return value itself.
48830 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48834 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48836         * stdio-common/bug26.c (main): Correct fscanf template.
48838         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48839         declare _dl_skip_args.
48841         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48842         Don't declare.
48844         * manual/platform.texi: Add missing @end deftypefun.
48846 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48848         [BZ #15529]
48849         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48850         bit of mantissa of 2^16382.
48851         * math/libm-test.inc (hypot_test_data): Add more tests.
48853         * math/libm-test.inc: Add drem and pow10 to list of tested
48854         functions.
48855         (pow10_test): New function.
48856         (drem_test): Likewise.
48857         (drem_test_tonearest): Likewise.
48858         (drem_test_towardzero): Likewise.
48859         (drem_test_downward): Likewise.
48860         (drem_test_upward): Likewise.
48861         (main): Call the new functions.
48863         * math/libm-test.inc (finite_test_data): Remove.
48864         (finite_test): Run tests from isfinite_test_data.
48865         (gamma_test_data): Remove.
48866         (gamma_test): Run tests from lgamma_test_data.
48867         * sysdeps/i386/fpu/libm-test-ulps: Update.
48868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48870 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48872         * manual/platform.texi: Add PowerPC PPR function set documentation.
48873         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48874         implementation.
48876 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48878         * math/libm-test.inc (MAX_EXP): Define.
48879         (ULPDIFF): Define.
48880         (ulp): New function.
48881         (check_float_internal): Use ULPDIFF.
48882         (cpow_test): Disable failing test.
48883         (check_ulp): Test ulp() implemetnation.
48884         (main): Call check_ulp before starting tests.
48886 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48888         * math/gen-libm-test.pl (generate_testfile): Do not handle
48889         START_DATA and END_DATA.
48890         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48891         END_DATA.
48892         (acos_tonearest_test_data): Likewise.
48893         (acos_towardzero_test_data): Likewise.
48894         (acos_downward_test_data): Likewise.
48895         (acos_upward_test_data): Likewise.
48896         (acosh_test_data): Likewise.
48897         (asin_test_data): Likewise.
48898         (asin_tonearest_test_data): Likewise.
48899         (asin_towardzero_test_data): Likewise.
48900         (asin_downward_test_data): Likewise.
48901         (asin_upward_test_data): Likewise.
48902         (asinh_test_data): Likewise.
48903         (atan_test_data): Likewise.
48904         (atanh_test_data): Likewise.
48905         (atan2_test_data): Likewise.
48906         (cabs_test_data): Likewise.
48907         (cacos_test_data): Likewise.
48908         (cacosh_test_data): Likewise.
48909         (carg_test_data): Likewise.
48910         (casin_test_data): Likewise.
48911         (casinh_test_data): Likewise.
48912         (catan_test_data): Likewise.
48913         (catanh_test_data): Likewise.
48914         (cbrt_test_data): Likewise.
48915         (ccos_test_data): Likewise.
48916         (ccosh_test_data): Likewise.
48917         (ceil_test_data): Likewise.
48918         (cexp_test_data): Likewise.
48919         (cimag_test_data): Likewise.
48920         (clog_test_data): Likewise.
48921         (clog10_test_data): Likewise.
48922         (conj_test_data): Likewise.
48923         (copysign_test_data): Likewise.
48924         (cos_test_data): Likewise.
48925         (cos_tonearest_test_data): Likewise.
48926         (cos_towardzero_test_data): Likewise.
48927         (cos_downward_test_data): Likewise.
48928         (cos_upward_test_data): Likewise.
48929         (cosh_test_data): Likewise.
48930         (cosh_tonearest_test_data): Likewise.
48931         (cosh_towardzero_test_data): Likewise.
48932         (cosh_downward_test_data): Likewise.
48933         (cosh_upward_test_data): Likewise.
48934         (cpow_test_data): Likewise.
48935         (cproj_test_data): Likewise.
48936         (creal_test_data): Likewise.
48937         (csin_test_data): Likewise.
48938         (csinh_test_data): Likewise.
48939         (csqrt_test_data): Likewise.
48940         (ctan_test_data): Likewise.
48941         (ctan_tonearest_test_data): Likewise.
48942         (ctan_towardzero_test_data): Likewise.
48943         (ctan_downward_test_data): Likewise.
48944         (ctan_upward_test_data): Likewise.
48945         (ctanh_test_data): Likewise.
48946         (ctanh_tonearest_test_data): Likewise.
48947         (ctanh_towardzero_test_data): Likewise.
48948         (ctanh_downward_test_data): Likewise.
48949         (ctanh_upward_test_data): Likewise.
48950         (erf_test_data): Likewise.
48951         (erfc_test_data): Likewise.
48952         (exp_test_data): Likewise.
48953         (exp_tonearest_test_data): Likewise.
48954         (exp_towardzero_test_data): Likewise.
48955         (exp_downward_test_data): Likewise.
48956         (exp_upward_test_data): Likewise.
48957         (exp10_test_data): Likewise.
48958         (exp2_test_data): Likewise.
48959         (expm1_test_data): Likewise.
48960         (fabs_test_data): Likewise.
48961         (fdim_test_data): Likewise.
48962         (finite_test_data): Likewise.
48963         (floor_test_data): Likewise.
48964         (fma_test_data): Likewise.
48965         (fma_towardzero_test_data): Likewise.
48966         (fma_downward_test_data): Likewise.
48967         (fma_upward_test_data): Likewise.
48968         (fmax_test_data): Likewise.
48969         (fmin_test_data): Likewise.
48970         (fmod_test_data): Likewise.
48971         (fpclassify_test_data): Likewise.
48972         (frexp_test_data): Likewise.
48973         (gamma_test_data): Likewise.
48974         (hypot_test_data): Likewise.
48975         (ilogb_test_data): Likewise.
48976         (isfinite_test_data): Likewise.
48977         (isgreater_test_data): Likewise.
48978         (isgreaterequal_test_data): Likewise.
48979         (isinf_test_data): Likewise.
48980         (isless_test_data): Likewise.
48981         (islessequal_test_data): Likewise.
48982         (islessgreater_test_data): Likewise.
48983         (isnan_test_data): Likewise.
48984         (isnormal_test_data): Likewise.
48985         (issignaling_test_data): Likewise.
48986         (isunordered_test_data): Likewise.
48987         (j0_test_data): Likewise.
48988         (j1_test_data): Likewise.
48989         (jn_test_data): Likewise.
48990         (ldexp_test_data): Likewise.
48991         (lgamma_test_data): Likewise.
48992         (lrint_test_data): Likewise.
48993         (lrint_tonearest_test_data): Likewise.
48994         (lrint_towardzero_test_data): Likewise.
48995         (lrint_downward_test_data): Likewise.
48996         (lrint_upward_test_data): Likewise.
48997         (llrint_test_data): Likewise.
48998         (llrint_tonearest_test_data): Likewise.
48999         (llrint_towardzero_test_data): Likewise.
49000         (llrint_downward_test_data): Likewise.
49001         (llrint_upward_test_data): Likewise.
49002         (log_test_data): Likewise.
49003         (log10_test_data): Likewise.
49004         (log1p_test_data): Likewise.
49005         (log2_test_data): Likewise.
49006         (logb_test_data): Likewise.
49007         (logb_downward_test_data): Likewise.
49008         (lround_test_data): Likewise.
49009         (llround_test_data): Likewise.
49010         (modf_test_data): Likewise.
49011         (nearbyint_test_data): Likewise.
49012         (nextafter_test_data): Likewise.
49013         (nexttoward_test_data): Likewise.
49014         (pow_test_data): Likewise.
49015         (pow_tonearest_test_data): Likewise.
49016         (pow_towardzero_test_data): Likewise.
49017         (pow_downward_test_data): Likewise.
49018         (pow_upward_test_data): Likewise.
49019         (remainder_test_data): Likewise.
49020         (remainder_tonearest_test_data): Likewise.
49021         (remainder_towardzero_test_data): Likewise.
49022         (remainder_downward_test_data): Likewise.
49023         (remainder_upward_test_data): Likewise.
49024         (remquo_test_data): Likewise.
49025         (rint_test_data): Likewise.
49026         (rint_tonearest_test_data): Likewise.
49027         (rint_towardzero_test_data): Likewise.
49028         (rint_downward_test_data): Likewise.
49029         (rint_upward_test_data): Likewise.
49030         (round_test_data): Likewise.
49031         (scalb_test_data): Likewise.
49032         (scalbn_test_data): Likewise.
49033         (scalbln_test_data): Likewise.
49034         (signbit_test_data): Likewise.
49035         (sin_test_data): Likewise.
49036         (sin_tonearest_test_data): Likewise.
49037         (sin_towardzero_test_data): Likewise.
49038         (sin_downward_test_data): Likewise.
49039         (sin_upward_test_data): Likewise.
49040         (sincos_test_data): Likewise.
49041         (sinh_test_data): Likewise.
49042         (sinh_tonearest_test_data): Likewise.
49043         (sinh_towardzero_test_data): Likewise.
49044         (sinh_downward_test_data): Likewise.
49045         (sinh_upward_test_data): Likewise.
49046         (sqrt_test_data): Likewise.
49047         (tan_test_data): Likewise.
49048         (tan_tonearest_test_data): Likewise.
49049         (tan_towardzero_test_data): Likewise.
49050         (tan_downward_test_data): Likewise.
49051         (tan_upward_test_data): Likewise.
49052         (tanh_test_data): Likewise.
49053         (tgamma_test_data): Likewise.
49054         (trunc_test_data): Likewise.
49055         (y0_test_data): Likewise.
49056         (y1_test_data): Likewise.
49057         (yn_test_data): Likewise.
49058         (significand_test_data): Likewise.
49060         * math/gen-libm-test.pl (@functions): Remove variable.
49061         (generate_testfile): Don't handle START and END lines.
49062         * math/libm-test.inc (START): New macro.
49063         (END): Likewise.
49064         (END_COMPLEX): Likewise.
49065         (acos_test): Use END macro without arguments.
49066         (acos_test_tonearest): Likewise.
49067         (acos_test_towardzero): Likewise.
49068         (acos_test_downward): Likewise.
49069         (acos_test_upward): Likewise.
49070         (acosh_test): Likewise.
49071         (asin_test): Likewise.
49072         (asin_test_tonearest): Likewise.
49073         (asin_test_towardzero): Likewise.
49074         (asin_test_downward): Likewise.
49075         (asin_test_upward): Likewise.
49076         (asinh_test): Likewise.
49077         (atan_test): Likewise.
49078         (atanh_test): Likewise.
49079         (atan2_test): Likewise.
49080         (cabs_test): Likewise.
49081         (cacos_test): Use END_COMPLEX macro without arguments.
49082         (cacosh_test): Likewise.
49083         (carg_test): Use END macro without arguments.
49084         (casin_test): Use END_COMPLEX macro without arguments.
49085         (casinh_test): Likewise.
49086         (catan_test): Likewise.
49087         (catanh_test): Likewise.
49088         (cbrt_test): Use END macro without arguments.
49089         (ccos_test): Use END_COMPLEX macro without arguments.
49090         (ccosh_test): Likewise.
49091         (ceil_test): Use END macro without arguments.
49092         (cexp_test): Use END_COMPLEX macro without arguments.
49093         (cimag_test): Use END macro without arguments.
49094         (clog_test): Use END_COMPLEX macro without arguments.
49095         (clog10_test): Likewise.
49096         (conj_test): Likewise.
49097         (copysign_test): Use END macro without arguments.
49098         (cos_test): Likewise.
49099         (cos_test_tonearest): Likewise.
49100         (cos_test_towardzero): Likewise.
49101         (cos_test_downward): Likewise.
49102         (cos_test_upward): Likewise.
49103         (cosh_test): Likewise.
49104         (cosh_test_tonearest): Likewise.
49105         (cosh_test_towardzero): Likewise.
49106         (cosh_test_downward): Likewise.
49107         (cosh_test_upward): Likewise.
49108         (cpow_test): Use END_COMPLEX macro without arguments.
49109         (cproj_test): Likewise.
49110         (creal_test): Use END macro without arguments.
49111         (csin_test): Use END_COMPLEX macro without arguments.
49112         (csinh_test): Likewise.
49113         (csqrt_test): Likewise.
49114         (ctan_test): Likewise.
49115         (ctan_test_tonearest): Likewise.
49116         (ctan_test_towardzero): Likewise.
49117         (ctan_test_downward): Likewise.
49118         (ctan_test_upward): Likewise.
49119         (ctanh_test): Likewise.
49120         (ctanh_test_tonearest): Likewise.
49121         (ctanh_test_towardzero): Likewise.
49122         (ctanh_test_downward): Likewise.
49123         (ctanh_test_upward): Likewise.
49124         (erf_test): Use END macro without arguments.
49125         (erfc_test): Likewise.
49126         (exp_test): Likewise.
49127         (exp_test_tonearest): Likewise.
49128         (exp_test_towardzero): Likewise.
49129         (exp_test_downward): Likewise.
49130         (exp_test_upward): Likewise.
49131         (exp10_test): Likewise.
49132         (exp2_test): Likewise.
49133         (expm1_test): Likewise.
49134         (fabs_test): Likewise.
49135         (fdim_test): Likewise.
49136         (finite_test): Likewise.
49137         (floor_test): Likewise.
49138         (fma_test): Likewise.
49139         (fma_test_towardzero): Likewise.
49140         (fma_test_downward): Likewise.
49141         (fma_test_upward): Likewise.
49142         (fmax_test): Likewise.
49143         (fmin_test): Likewise.
49144         (fmod_test): Likewise.
49145         (fpclassify_test): Likewise.
49146         (frexp_test): Likewise.
49147         (gamma_test): Likewise.
49148         (hypot_test): Likewise.
49149         (ilogb_test): Likewise.
49150         (isfinite_test): Likewise.
49151         (isgreater_test): Likewise.
49152         (isgreaterequal_test): Likewise.
49153         (isinf_test): Likewise.
49154         (isless_test): Likewise.
49155         (islessequal_test): Likewise.
49156         (islessgreater_test): Likewise.
49157         (isnan_test): Likewise.
49158         (isnormal_test): Likewise.
49159         (issignaling_test): Likewise.
49160         (isunordered_test): Likewise.
49161         (j0_test): Likewise.
49162         (j1_test): Likewise.
49163         (jn_test): Likewise.
49164         (ldexp_test): Likewise.
49165         (lgamma_test): Likewise.
49166         (lrint_test): Likewise.
49167         (lrint_test_tonearest): Likewise.
49168         (lrint_test_towardzero): Likewise.
49169         (lrint_test_downward): Likewise.
49170         (lrint_test_upward): Likewise.
49171         (llrint_test): Likewise.
49172         (llrint_test_tonearest): Likewise.
49173         (llrint_test_towardzero): Likewise.
49174         (llrint_test_downward): Likewise.
49175         (llrint_test_upward): Likewise.
49176         (log_test): Likewise.
49177         (log10_test): Likewise.
49178         (log1p_test): Likewise.
49179         (log2_test): Likewise.
49180         (logb_test): Likewise.
49181         (logb_test_downward): Likewise.
49182         (lround_test): Likewise.
49183         (llround_test): Likewise.
49184         (modf_test): Likewise.
49185         (nearbyint_test): Likewise.
49186         (nextafter_test): Likewise.
49187         (nexttoward_test): Likewise.
49188         (pow_test): Likewise.
49189         (pow_test_tonearest): Likewise.
49190         (pow_test_towardzero): Likewise.
49191         (pow_test_downward): Likewise.
49192         (pow_test_upward): Likewise.
49193         (remainder_test): Likewise.
49194         (remainder_test_tonearest): Likewise.
49195         (remainder_test_towardzero): Likewise.
49196         (remainder_test_downward): Likewise.
49197         (remainder_test_upward): Likewise.
49198         (remquo_test): Likewise.
49199         (rint_test): Likewise.
49200         (rint_test_tonearest): Likewise.
49201         (rint_test_towardzero): Likewise.
49202         (rint_test_downward): Likewise.
49203         (rint_test_upward): Likewise.
49204         (round_test): Likewise.
49205         (scalb_test): Likewise.
49206         (scalbn_test): Likewise.
49207         (scalbln_test): Likewise.
49208         (signbit_test): Likewise.
49209         (sin_test): Likewise.
49210         (sin_test_tonearest): Likewise.
49211         (sin_test_towardzero): Likewise.
49212         (sin_test_downward): Likewise.
49213         (sin_test_upward): Likewise.
49214         (sincos_test): Likewise.
49215         (sinh_test): Likewise.
49216         (sinh_test_tonearest): Likewise.
49217         (sinh_test_towardzero): Likewise.
49218         (sinh_test_downward): Likewise.
49219         (sinh_test_upward): Likewise.
49220         (sqrt_test): Likewise.
49221         (tan_test): Likewise.
49222         (tan_test_tonearest): Likewise.
49223         (tan_test_towardzero): Likewise.
49224         (tan_test_downward): Likewise.
49225         (tan_test_upward): Likewise.
49226         (tanh_test): Likewise.
49227         (tgamma_test): Likewise.
49228         (trunc_test): Likewise.
49229         (y0_test): Likewise.
49230         (y1_test): Likewise.
49231         (yn_test): Likewise.
49232         (significand_test): Likewise.
49234 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49236         [BZ #15381]
49237         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49239 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49241         [BZ #14894]
49242         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49243         __ppc_mdoio and __ppc_mdoom.
49244         * manual/platform.texi: Document new functions __ppc_yield,
49245         __ppc_mdoio and __ppc_mdoom.
49247 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49249         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49250         (main): Mention "tls" pseudo-hwcap is legacy.
49251         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49253 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49255         * math/gen-libm-test.pl (parse_args): Output only string of
49256         arguments as text for test name, not full call or descriptions of
49257         tests for extra outputs.
49258         (generate_testfile): Do not pass function name to parse_args.
49259         Generate this_func variable from START.
49260         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49261         field to arg_str.
49262         (struct test_ff_f_data): Likewise.
49263         (test_ff_f_data_nexttoward): Likewise.
49264         (struct test_fi_f_data): Likewise.
49265         (struct test_fl_f_data): Likewise.
49266         (struct test_if_f_data): Likewise.
49267         (struct test_fff_f_data): Likewise.
49268         (struct test_c_f_data): Likewise.
49269         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49270         (struct test_fF_f1_data): Likewise.
49271         (struct test_ffI_f1_data): Likewise.
49272         (struct test_c_c_data): Rename test_name field to arg_str.
49273         (struct test_cc_c_data): Likewise.
49274         (struct test_f_i_data): Likewise.
49275         (struct test_ff_i_data): Likewise.
49276         (struct test_f_l_data): Likewise.
49277         (struct test_f_L_data): Likewise.
49278         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49279         and extra2_name.
49280         (COMMON_TEST_SETUP): New macro.
49281         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49282         (COMMON_TEST_CLEANUP): Likewise.
49283         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49284         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49285         macros.
49286         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49287         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49288         macros.
49289         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49290         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49291         cleanup macros.
49292         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49293         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49294         macros.
49295         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49296         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49297         macros.
49298         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49299         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49300         cleanup macros.
49301         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49302         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49303         cleanup macros.
49304         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49305         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49306         cleanup macros.
49307         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49308         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49309         macros.
49310         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49311         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49312         macros.
49313         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49314         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49315         macros.
49316         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49317         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49318         cleanup macros.
49319         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49320         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49321         cleanup macros.
49322         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49323         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49324         macros.
49325         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49326         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49327         cleanup macros.
49328         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49329         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49330         macros.
49331         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49332         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49333         macros.
49334         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49335         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49336         cleanup macros.
49337         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49339 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49341         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49342         to _sifields.sigfault.
49343         (si_addr_lsb): Define new macro.
49344         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49345         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49346         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49348 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49350         [BZ #15441]
49351         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49352         returns -1.
49353         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49354         null return -1.
49355         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49356         loading the domain.
49358 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49360         * math/gen-libm-test.pl (parse_args): Do not include expected
49361         result in test name.
49362         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49363         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49364         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49365         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49366         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49369 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49371         * benchtests/Makefile: Sort function entries.
49373         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49374         tanh, asinh, acosh, atanh.
49375         * benchtests/acos-inputs: New file.
49376         * benchtests/acosh-inputs: New file.
49377         * benchtests/asin-inputs: New file.
49378         * benchtests/asinh-inputs: New file.
49379         * benchtests/atanh-inputs: New file.
49380         * benchtests/cosh-inputs: New file.
49381         * benchtests/log-inputs: New file.
49382         * benchtests/sinh-inputs: New file.
49383         * benchtests/tanh-inputs: New file.
49385 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49387         [BZ #15339]
49388         * posix/tst-getaddrinfo4.c: New test.
49389         * posix/Makefile (tests): Add it.
49391 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49393         [BZ #15339]
49394         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49395         when no services were used.
49396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49397         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49399 2013-05-21  Andreas Schwab  <schwab@suse.de>
49401         [BZ #15014]
49402         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49403         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49404         successful.
49405         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49406         redundant variable declarations and reallocation of buffer when
49407         parsing as IPv6 address.  Always set NSS status when called from
49408         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49409         buffer too small.  Correct computation of needed size.
49410         * nss/Makefile (tests): Add test-digits-dots.
49411         * nss/test-digits-dots.c: New test.
49413 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49415         * benchtests/Makefile: Remove instructions for adding
49416         benchmark tests.
49417         * benchtests/README: New file to explain how to execute and
49418         enhance the benchmark tests.
49420 2013-05-21  Andreas Schwab  <schwab@suse.de>
49422         [BZ #15493]
49423         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49424         * setjmp/tst-sigsetjmp.c: New test.
49426 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49428         * sysdeps/x86_64/memset.S (memset): New implementation.
49429         (__bzero): Likewise.
49430         (__memset_tail): New function.
49432 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49434         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49435         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49436         __memcpy_sse2_unaligned ifunc selection.
49437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49438         Add memcpy-sse2-unaligned.S.
49439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49440         Add: __memcpy_sse2_unaligned.
49442 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49444         [BZ #15490]
49445         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49446         math_force_eval before restoring floating-point envrionment.
49447         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49448         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49449         Likewise.
49450         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49451         <math_private.h>.
49452         (__nearbyintl): Use math_force_eval before restoring
49453         floating-point environment.
49454         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49456         * math/gen-libm-test.pl (special_functions): Remove.
49457         (parse_args): Don't handle TEST_extra.  Handle functions with no
49458         return value.
49459         * math/libm-test.inc (struct test_sincos_data): Replace with
49460         struct test_fFF_11_data.
49461         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49462         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49463         (sincos_test_data): Change element type to struct
49464         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49465         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49466         RUN_TEST_LOOP_sincos.
49467         * math/README.libm-test: Don't mention special handling of
49468         individual functions.
49469         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49470         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49471         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49472         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49473         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49476         * math/gen-libm-test.pl (get_variable): Remove function.
49477         (parse_args): Don't show pointer parameters to call in test
49478         names.  Use "extra output N" in test names for extra outputs
49479         rather than naming variables.
49481 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49483         [BZ #15488]
49484         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49485         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49486         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49487         double tests.
49488         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49489         disable.
49490         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49491         check_long_double.
49493         * math/gen-libm-test.pl (@tests): Remove variable.
49494         ($count): Likewise.
49495         (new_test): Remove function.
49496         (show_exceptions): New function.
49497         (special_functions): Use show_exceptions instead of new_test.
49498         (parse_args): Likewise.
49499         (generate_testfile): Pass only function name in generated call to
49500         print_max_error or print_complex_max_error.
49501         (get_ulps): Do not handle complex tests specially.
49502         (output_test): Rename to ...
49503         (get_all_ulps_for_test): ... this.  Return a string rather than
49504         printing to a file.  Require ulps to be present.
49505         (output_ulps): Generate arrays rather than #defines.
49506         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49507         (struct ulp_data): New type.
49508         (BUILD_COMPLEX_ULP): Remove macro.
49509         (compare_ulp_data): New function.
49510         (find_ulps): Likewise.
49511         (find_test_ulps): Likewise.
49512         (find_function_ulps): Likewise.
49513         (find_complex_function_ulps): Likewise.
49514         (print_max_error): Determine allowed ulps using
49515         find_function_ulps.
49516         (print_complex_max_error): Determine allowed ulps using
49517         find_complex_function_ulps.
49518         (check_float_internal): Determine max ulps using find_test_ulps.
49519         (check_float): Do not take max_ulp parameter.  Update call to
49520         check_float_internal.
49521         (check_complex): Likewise.
49522         (check_int): Do not take max_ulp parameter.
49523         (check_long): Likewise.
49524         (check_bool): Likewise.
49525         (check_longlong): Likewise.
49526         (struct test_f_f_data): Remove max_ulp field.
49527         (struct test_ff_f_data): Likewise.
49528         (struct test_ff_f_data_nexttoward): Likewise.
49529         (struct test_fi_f_data): Likewise.
49530         (struct test_fl_f_data): Likewise.
49531         (struct test_if_f_data): Likewise.
49532         (struct test_fff_f_data): Likewise.
49533         (struct test_c_f_data): Likewise.
49534         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49535         (struct test_fF_f1_data): Likewise.
49536         (struct test_ffI_f1_data): Likewise.
49537         (struct test_c_c_data): Remove max_ulp field.
49538         (struct test_cc_c_data): Likewise.
49539         (struct test_f_i_data): Likewise.
49540         (struct test_ff_i_data): Likewise.
49541         (struct test_f_l_data): Likewise.
49542         (struct test_f_L_data): Likewise.
49543         (struct test_sincos_data): Likewise.
49544         (RUN_TEST_f_f): Do not handle ulps.
49545         (RUN_TEST_LOOP_f_f): Likewise.
49546         (RUN_TEST_2_f): Likewise.
49547         (RUN_TEST_LOOP_2_f): Likewise.
49548         (RUN_TEST_fff_f): Likewise.
49549         (RUN_TEST_LOOP_fff_f): Likewise.
49550         (RUN_TEST_c_f): Likewise.
49551         (RUN_TEST_LOOP_c_f): Likewise.
49552         (RUN_TEST_f_f1): Likewise.
49553         (RUN_TEST_LOOP_f_f1): Likewise.
49554         (RUN_TEST_fF_f1): Likewise.
49555         (RUN_TEST_LOOP_fF_f1): Likewise.
49556         (RUN_TEST_fI_f1): Likewise.
49557         (RUN_TEST_LOOP_fI_f1): Likewise.
49558         (RUN_TEST_ffI_f1): Likewise.
49559         (RUN_TEST_LOOP_ffI_f1): Likewise.
49560         (RUN_TEST_c_c): Likewise.
49561         (RUN_TEST_LOOP_c_c): Likewise.
49562         (RUN_TEST_cc_c): Likewise.
49563         (RUN_TEST_LOOP_cc_c): Likewise.
49564         (RUN_TEST_f_i): Likewise.
49565         (RUN_TEST_LOOP_f_i): Likewise.
49566         (RUN_TEST_f_i_tg): Likewise.
49567         (RUN_TEST_LOOP_f_i_tg): Likewise.
49568         (RUN_TEST_ff_i_tg): Likewise.
49569         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49570         (RUN_TEST_f_b): Likewise.
49571         (RUN_TEST_LOOP_f_b): Likewise.
49572         (RUN_TEST_f_b_tg): Likewise.
49573         (RUN_TEST_LOOP_f_b_tg): Likewise.
49574         (RUN_TEST_f_l): Likewise.
49575         (RUN_TEST_LOOP_f_l): Likewise.
49576         (RUN_TEST_f_L): Likewise.
49577         (RUN_TEST_LOOP_f_L): Likewise.
49578         (RUN_TEST_sincos): Likewise.
49579         (RUN_TEST_LOOP_sincos): Likewise.
49581 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49583         [BZ #15480]
49584         [BZ #15485]
49585         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49586         main case of finite arguments, set rounding mode to FE_TONEAREST
49587         and discard exceptions.
49588         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49589         exceptions.
49590         (remainder_tonearest_test_data): New variable.
49591         (remainder_test_tonearest): New function.
49592         (remainder_towardzero_test_data): New variable.
49593         (remainder_test_towardzero): New function.
49594         (remainder_downward_test_data): New variable.
49595         (remainder_test_downward): New function.
49596         (remainder_upward_test_data): New variable.
49597         (remainder_test_upward): New function.
49598         (main): Call the new test functions.
49600         * math/libm-test.inc (struct test_f_f1_data): Remove field
49601         extra_init.
49602         (struct test_fF_f1_data): Likewise.
49603         (struct test_ffI_f1_data): Likewise.
49604         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49605         based on value of EXTRA_EXPECTED.
49606         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49607         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49608         EXTRA_VAR based on value of EXTRA_EXPECTED.
49609         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49610         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49611         EXTRA_VAR based on value of EXTRA_EXPECTED.
49612         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49613         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49614         EXTRA_VAR based on value of EXTRA_EXPECTED.
49615         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49616         * math/gen-libm-test.pl (parse_args): Don't output initializers
49617         for extra output values.
49619         * math/libm-test.inc (check_int): Expect result to be exactly
49620         equal to expected value and do not handle ulps.
49621         (check_long): Likewise.
49622         (check_longlong): Likewise.
49624         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49625         exceptions.
49626         (cimag_test_data): Likewise.
49627         (conj_test_data): Likewise.
49628         (copysign_test_data): Likewise.
49629         (cproj_test_data): Likewise.
49630         (creal_test_data): Likewise.
49631         (fabs_test_data): Likewise.
49632         (fdim_test_data): Likewise.
49633         (finite_test_data): Likewise.
49634         (floor_test_data): Likewise.
49635         (fmax_test_data): Likewise.
49636         (fmin_test_data): Likewise.
49637         (fmod_test_data): Likewise.
49638         (fpclassify_test_data): Likewise.
49639         (frexp_test_data): Likewise.
49640         (ilogb_test_data): Likewise.
49641         (isfinite_test_data): Likewise.
49642         (isgreater_test_data): Likewise.
49643         (isgreaterequal_test_data): Likewise.
49644         (isinf_test_data): Likewise.
49645         (isless_test_data): Likewise.
49646         (islessequal_test_data): Likewise.
49647         (islessgreater_test_data): Likewise.
49648         (isnan_test_data): Likewise.
49649         (isnormal_test_data): Likewise.
49650         (issignaling_test_data): Likewise.
49651         (isunordered_test_data): Likewise.
49652         (ldexp_test_data): Likewise.
49653         (lrint_test_data): Likewise.
49654         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49655         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49656         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49657         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49658         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49659         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49660         test input.
49661         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49662         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49663         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49664         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49665         that test input.
49666         (lrint_downward_test_data): Test for "inexact" exceptions.
49667         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49668         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49669         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49670         test input.
49671         (lrint_upward_test_data): Test for "inexact" exceptions.
49672         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49673         test input.
49674         (llrint_test_data): Test for "inexact" exceptions.
49675         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49676         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49677         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49678         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49679         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49680         (llrint_downward_test_data): Test for "inexact" exceptions.
49681         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49682         (llrint_upward_test_data): Test for "inexact" exceptions.
49683         (logb_test_data): Likewise.
49684         (logb_downward_test_data): Likewise.
49685         (nextafter_test_data): Likewise.
49686         (nexttoward_test_data): Likewise.
49687         (remainder_test_data): Likewise.
49688         (remquo_test_data): Likewise.
49689         (scalbn_test_data): Likewise.
49690         (scalbln_test_data): Likewise.
49691         (signbit_test_data): Likewise.
49692         (sqrt_test_data): Likewise.
49693         (significand_test_data): Likewise.
49695 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49697         [BZ #15424]
49698         * benchtests/bench-modf.c (struct args): Mark arg0 as
49699         volatile.
49700         * scripts/bench.pl: Mark members of struct args as volatile.
49702 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49704         [BZ # 15497]
49705         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49706         negative infinity on POWER6 or lower.
49707         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49709 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49711         [BZ #15442]
49712         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49713         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49714         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49715         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49716         (_FP_SETQNAN): New macro.
49717         (_FP_SETQNAN_SEMIRAW): Likewise.
49718         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49719         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49720         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49721         (FP_EXTEND): Use _FP_FRAC_SNANP.
49722         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49723         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49724         into account.
49725         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49726         New macro.
49727         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49728         Likewise.
49730 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49732         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49733         with DIVIDE_BY_ZERO_EXCEPTION.
49734         (gamma_test_data): Likewise.
49735         (lgamma_test_data): Likewise.
49736         (log_test_data): Likewise.
49737         (log10_test_data): Likewise.
49738         (log2_test_data): Likewise.
49739         (tgamma_test_data): Likewise.
49741         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49742         (acos_test_tonearest): Likewise.
49743         (acos_test_towardzero): Likewise.
49744         (acos_test_downward): Likewise.
49745         (acos_test_upward): Likewise.
49746         (acosh_test): Likewise.
49747         (asin_test): Likewise.
49748         (asin_test_tonearest): Likewise.
49749         (asin_test_towardzero): Likewise.
49750         (asin_test_downward): Likewise.
49751         (asin_test_upward): Likewise.
49752         (asinh_test): Likewise.
49753         (atan_test): Likewise.
49754         (atanh_test): Likewise.
49755         (atan2_test): Likewise.
49756         (cabs_test): Likewise.
49757         (cacos_test): Likewise.
49758         (cacosh_test): Likewise.
49759         (casin_test): Likewise.
49760         (casinh_test): Likewise.
49761         (catan_test): Likewise.
49762         (catanh_test): Likewise.
49763         (cbrt_test): Likewise.
49764         (ccos_test): Likewise.
49765         (ccosh_test): Likewise.
49766         (cexp_test): Likewise.
49767         (clog_test): Likewise.
49768         (clog10_test): Likewise.
49769         (cos_test): Likewise.
49770         (cos_test_tonearest): Likewise.
49771         (cos_test_towardzero): Likewise.
49772         (cos_test_downward): Likewise.
49773         (cos_test_upward): Likewise.
49774         (cosh_test): Likewise.
49775         (cosh_test_tonearest): Likewise.
49776         (cosh_test_towardzero): Likewise.
49777         (cosh_test_downward): Likewise.
49778         (cosh_test_upward): Likewise.
49779         (cpow_test): Likewise.
49780         (csin_test): Likewise.
49781         (csinh_test): Likewise.
49782         (csqrt_test): Likewise.
49783         (ctan_test): Likewise.
49784         (ctan_test_tonearest): Likewise.
49785         (ctan_test_towardzero): Likewise.
49786         (ctan_test_downward): Likewise.
49787         (ctan_test_upward): Likewise.
49788         (ctanh_test): Likewise.
49789         (ctanh_test_tonearest): Likewise.
49790         (ctanh_test_towardzero): Likewise.
49791         (ctanh_test_downward): Likewise.
49792         (ctanh_test_upward): Likewise.
49793         (erf_test): Likewise.
49794         (erfc_test): Likewise.
49795         (exp_test): Likewise.
49796         (exp_test_tonearest): Likewise.
49797         (exp_test_towardzero): Likewise.
49798         (exp_test_downward): Likewise.
49799         (exp_test_upward): Likewise.
49800         (exp10_test): Likewise.
49801         (exp2_test): Likewise.
49802         (expm1_test): Likewise.
49803         (fmod_test): Likewise.
49804         (gamma_test): Likewise.
49805         (hypot_test): Likewise.
49806         (j0_test): Likewise.
49807         (j1_test): Likewise.
49808         (jn_test): Likewise.
49809         (lgamma_test): Likewise.
49810         (log_test): Likewise.
49811         (log10_test): Likewise.
49812         (log1p_test): Likewise.
49813         (log2_test): Likewise.
49814         (logb_test_downward): Likewise.
49815         (pow_test): Likewise.
49816         (pow_test_tonearest): Likewise.
49817         (pow_test_towardzero): Likewise.
49818         (pow_test_downward): Likewise.
49819         (pow_test_upward): Likewise.
49820         (remainder_test): Likewise.
49821         (remquo_test): Likewise.
49822         (sin_test): Likewise.
49823         (sin_test_tonearest): Likewise.
49824         (sin_test_towardzero): Likewise.
49825         (sin_test_downward): Likewise.
49826         (sin_test_upward): Likewise.
49827         (sincos_test): Likewise.
49828         (sinh_test): Likewise.
49829         (sinh_test_tonearest): Likewise.
49830         (sinh_test_towardzero): Likewise.
49831         (sinh_test_downward): Likewise.
49832         (sinh_test_upward): Likewise.
49833         (sqrt_test): Likewise.
49834         (tan_test): Likewise.
49835         (tan_test_tonearest): Likewise.
49836         (tan_test_towardzero): Likewise.
49837         (tan_test_downward): Likewise.
49838         (tan_test_upward): Likewise.
49839         (tanh_test): Likewise.
49840         (tgamma_test): Likewise.
49841         (y0_test): Likewise.
49842         (y1_test): Likewise.
49843         (yn_test): Likewise.
49845         * math/gen-libm-test.pl (adjust_arg): Remove function.
49846         (special_function): Remove argument $in_func.  Only handle
49847         generating output for tables of tests, not inside functions.
49848         (parse_args): Likewise.
49849         (generate_testfile): Remove variable $in_func.  Update call to
49850         parse_args.
49851         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49852         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49853         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49854         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49855         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49856         (MAX_VALUE_INIT): Rename macro to max_value.
49857         (MIN_VALUE_INIT): Rename macro to min_value.
49858         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49859         (plus_zero): Remove variable.
49860         (minus_zero): Likewise.
49861         (plus_infty): Likewise.
49862         (minus_infty): Likewise.
49863         (qnan_value): Likewise.
49864         (max_value): Likewise.
49865         (min_value): Likewise.
49866         (min_subnorm_value): Likewise.
49868 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49870         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49871         uint64_t or uint32_t usage.
49872         * crypt/sha256-block.c: Likewise.
49873         * crypt/sha256-crypt.c: Likewise.
49874         * crypt/sha256.c: Likewise.
49875         * crypt/sha512-block.c: Likewise.
49876         * crypt/sha512-crypt.c: Likewise.
49877         * crypt/sha512.c: Likewise.
49878         * debug/backtrace-tst.c: Likewise.
49879         * debug/pcprofiledump.c: Likewise.
49880         * elf/cache.c: Likewise.
49881         * elf/dl-cache.c: Likewise.
49882         * elf/dl-misc.c: Likewise.
49883         * elf/dl-profile.c: Likewise.
49884         * elf/dl-support.c: Likewise.
49885         * elf/ldconfig.c: Likewise.
49886         * elf/sprof.c: Likewise.
49887         * iconv/dummy-repertoire.c: Likewise.
49888         * iconv/iconv_charmap.c: Likewise.
49889         * iconv/skeleton.c: Likewise.
49890         * iconvdata/8bit-generic.c: Likewise.
49891         * iconvdata/cp737.h: Likewise.
49892         * iconvdata/cp775.h: Likewise.
49893         * iconvdata/ibm1008.h: Likewise.
49894         * iconvdata/ibm1025.h: Likewise.
49895         * iconvdata/ibm1046.h: Likewise.
49896         * iconvdata/ibm1097.h: Likewise.
49897         * iconvdata/ibm1112.h: Likewise.
49898         * iconvdata/ibm1122.h: Likewise.
49899         * iconvdata/ibm1123.h: Likewise.
49900         * iconvdata/ibm1124.h: Likewise.
49901         * iconvdata/ibm1129.h: Likewise.
49902         * iconvdata/ibm1130.h: Likewise.
49903         * iconvdata/ibm1132.h: Likewise.
49904         * iconvdata/ibm1133.h: Likewise.
49905         * iconvdata/ibm1137.h: Likewise.
49906         * iconvdata/ibm1140.h: Likewise.
49907         * iconvdata/ibm1141.h: Likewise.
49908         * iconvdata/ibm1142.h: Likewise.
49909         * iconvdata/ibm1143.h: Likewise.
49910         * iconvdata/ibm1144.h: Likewise.
49911         * iconvdata/ibm1145.h: Likewise.
49912         * iconvdata/ibm1146.h: Likewise.
49913         * iconvdata/ibm1147.h: Likewise.
49914         * iconvdata/ibm1148.h: Likewise.
49915         * iconvdata/ibm1149.h: Likewise.
49916         * iconvdata/ibm1153.h: Likewise.
49917         * iconvdata/ibm1154.h: Likewise.
49918         * iconvdata/ibm1155.h: Likewise.
49919         * iconvdata/ibm1156.h: Likewise.
49920         * iconvdata/ibm1157.h: Likewise.
49921         * iconvdata/ibm1158.h: Likewise.
49922         * iconvdata/ibm1160.h: Likewise.
49923         * iconvdata/ibm1161.h: Likewise.
49924         * iconvdata/ibm1162.h: Likewise.
49925         * iconvdata/ibm1163.h: Likewise.
49926         * iconvdata/ibm1164.h: Likewise.
49927         * iconvdata/ibm1166.h: Likewise.
49928         * iconvdata/ibm1167.h: Likewise.
49929         * iconvdata/ibm12712.h: Likewise.
49930         * iconvdata/ibm1390.h: Likewise.
49931         * iconvdata/ibm1399.h: Likewise.
49932         * iconvdata/ibm16804.h: Likewise.
49933         * iconvdata/ibm4517.h: Likewise.
49934         * iconvdata/ibm4899.h: Likewise.
49935         * iconvdata/ibm4909.h: Likewise.
49936         * iconvdata/ibm4971.h: Likewise.
49937         * iconvdata/ibm5347.h: Likewise.
49938         * iconvdata/ibm803.h: Likewise.
49939         * iconvdata/ibm856.h: Likewise.
49940         * iconvdata/ibm901.h: Likewise.
49941         * iconvdata/ibm902.h: Likewise.
49942         * iconvdata/ibm9030.h: Likewise.
49943         * iconvdata/ibm9066.h: Likewise.
49944         * iconvdata/ibm921.h: Likewise.
49945         * iconvdata/ibm922.h: Likewise.
49946         * iconvdata/ibm9448.h: Likewise.
49947         * iconvdata/isiri-3342.h: Likewise.
49948         * iconvdata/jis0201.h: Likewise.
49949         * include/link.h: Likewise.
49950         * include/netdb.h: Likewise.
49951         * inet/check_native.c: Likewise.
49952         * inet/check_pf.c: Likewise.
49953         * inet/getipv4sourcefilter.c: Likewise.
49954         * inet/getnameinfo.c: Likewise.
49955         * inet/getsourcefilter.c: Likewise.
49956         * inet/htonl.c: Likewise.
49957         * inet/setipv4sourcefilter.c: Likewise.
49958         * inet/setsourcefilter.c: Likewise.
49959         * inet/test-inet6_opt.c: Likewise.
49960         * inet/tst-network.c: Likewise.
49961         * locale/C-collate.c: Likewise.
49962         * locale/C-ctype.c: Likewise.
49963         * locale/C-time.c: Likewise.
49964         * locale/C-translit.h: Likewise.
49965         * locale/loadarchive.c: Likewise.
49966         * locale/programs/3level.h: Likewise.
49967         * locale/programs/charmap.c: Likewise.
49968         * locale/programs/charmap.h: Likewise.
49969         * locale/programs/ld-address.c: Likewise.
49970         * locale/programs/ld-collate.c: Likewise.
49971         * locale/programs/ld-ctype.c: Likewise.
49972         * locale/programs/ld-identification.c: Likewise.
49973         * locale/programs/ld-measurement.c: Likewise.
49974         * locale/programs/ld-messages.c: Likewise.
49975         * locale/programs/ld-monetary.c: Likewise.
49976         * locale/programs/ld-name.c: Likewise.
49977         * locale/programs/ld-numeric.c: Likewise.
49978         * locale/programs/ld-paper.c: Likewise.
49979         * locale/programs/ld-telephone.c: Likewise.
49980         * locale/programs/ld-time.c: Likewise.
49981         * locale/programs/linereader.c: Likewise.
49982         * locale/programs/locale.c: Likewise.
49983         * locale/programs/locarchive.c: Likewise.
49984         * locale/programs/locfile.h: Likewise.
49985         * locale/programs/repertoire.c: Likewise.
49986         * locale/programs/simple-hash.c: Likewise.
49987         * locale/programs/simple-hash.h: Likewise.
49988         * malloc/memusage.c: Likewise.
49989         * malloc/memusagestat.c: Likewise.
49990         * nis/nis_defaults.c: Likewise.
49991         * nis/nis_hash.c: Likewise.
49992         * nis/nis_print.c: Likewise.
49993         * nis/nis_xdr.c: Likewise.
49994         * nscd/connections.c: Likewise.
49995         * nscd/hstcache.c: Likewise.
49996         * nscd/nscd_gethst_r.c: Likewise.
49997         * nscd/nscd_getserv_r.c: Likewise.
49998         * nscd/nscd_helper.c: Likewise.
49999         * nscd/servicescache.c: Likewise.
50000         * nss/makedb.c: Likewise.
50001         * nss/nss_db/db-XXX.c: Likewise.
50002         * nss/nss_db/db-initgroups.c: Likewise.
50003         * nss/nss_db/db-netgrp.c: Likewise.
50004         * nss/nss_files/files-network.c: Likewise.
50005         * nss/nss_files/files-parse.c: Likewise.
50006         * posix/bug-regex5.c: Likewise.
50007         * posix/fnmatch_loop.c: Likewise.
50008         * posix/regcomp.c: Likewise.
50009         * posix/regexec.c: Likewise.
50010         * posix/tst-rfc3484-2.c: Likewise.
50011         * posix/tst-rfc3484-3.c: Likewise.
50012         * posix/tst-rfc3484.c: Likewise.
50013         * resolv/nss_dns/dns-canon.c: Likewise.
50014         * resolv/nss_dns/dns-network.c: Likewise.
50015         * resolv/res_init.c: Likewise.
50016         * resolv/res_mkquery.c: Likewise.
50017         * resolv/tst-aton.c: Likewise.
50018         * stdlib/cxa_atexit.c: Likewise.
50019         * stdlib/cxa_finalize.c: Likewise.
50020         * stdlib/gen-fpioconst.c: Likewise.
50021         * stdlib/strtol_l.c: Likewise.
50022         * string/tst-endian.c: Likewise.
50023         * sunrpc/auth_des.c: Likewise.
50024         * sunrpc/clnt_udp.c: Likewise.
50025         * sunrpc/rtime.c: Likewise.
50026         * sunrpc/svcauth_des.c: Likewise.
50027         * sunrpc/xdr.c: Likewise.
50028         * sunrpc/xdr_intXX_t.c: Likewise.
50029         * sunrpc/xdr_rec.c: Likewise.
50030         * sysdeps/generic/ldconfig.h: Likewise.
50031         * sysdeps/generic/ldsodefs.h: Likewise.
50032         * sysdeps/generic/memusage.h: Likewise.
50033         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50034         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50035         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50036         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50037         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50039         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50040         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50041         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50042         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50043         * sysdeps/posix/getaddrinfo.c: Likewise.
50044         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50045         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50046         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50047         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50048         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50049         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50050         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50051         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50052         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50053         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50054         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50055         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50056         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50057         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50058         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50059         * sysdeps/x86_64/dl-tls.h: Likewise.
50060         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50061         * time/alt_digit.c: Likewise.
50062         * time/era.c: Likewise.
50063         * wcsmbs/tst-c16c32-1.c: Likewise.
50065 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50067         * math/libm-test.inc (struct test_sincos_data): New type.
50068         (RUN_TEST_LOOP_sincos): New macro.
50069         (sincos_test_data): New variable.
50070         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50072 2013-05-16  Richard Henderson  <rth@redhat.com>
50074         * math/atest-exp2.c (LIMB64): New macro.
50075         (CONSTSZ): New macro.
50076         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50077         (hexdig): Move ...
50078         (print_mpn_fp): ... to function scope.
50079         (read_mpn_hex): Remove.
50080         (get_log2): Remove.
50081         (exp2_mpn): Use mp_log2.
50082         (main): Use mp_exp1.
50084 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50086         * math/libm-test.inc: Remove comment about not testing "inexact"
50087         exceptions.
50088         (INEXACT_EXCEPTION): New macro.
50089         (NO_INEXACT_EXCEPTION): Likewise.
50090         (INVALID_EXCEPTION_OK): Update value.
50091         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50092         (OVERFLOW_EXCEPTION_OK): Likewise.
50093         (UNDERFLOW_EXCEPTION_OK): Likewise.
50094         (IGNORE_ZERO_INF_SIGN): Likewise.
50095         (ERRNO_UNCHANGED): Likewise.
50096         (ERRNO_EDOM): Likewise.
50097         (ERRNO_ERANGE): Likewise.
50098         (test_exceptions): Handle testing "inexact" exceptions.
50099         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50100         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50101         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50102         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50103         INEXACT_EXCEPTION.
50104         (rint_towardzero_test_data): Likewise.
50105         (rint_downward_test_data): Likewise.
50106         (rint_upward_test_data): Likewise.
50108         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50109         with OVERFLOW_EXCEPTION.
50110         (exp10_test_data): Likewise.
50111         (exp2_test_data): Likewise.
50112         (expm1_test_data): Likewise.
50113         (lgamma_test_data): Likewise.
50114         (pow_test_data): Likewise.
50115         (tgamma_test_data): Likewise.
50116         (yn_test_data): Remove duplicate test of overflow.
50118         * math/libm-test.inc (struct test_cc_c_data): New type.
50119         (RUN_TEST_LOOP_cc_c): New macro.
50120         (cpow_test_data): New variable.
50121         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50123         * math/libm-test.inc (struct test_f_L_data): New type.
50124         (RUN_TEST_LOOP_f_L): New macro.
50125         (llrint_test_data): New variable.
50126         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50127         (llrint_tonearest_test_data): New variable.
50128         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50129         (llrint_towardzero_test_data): New variable.
50130         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50131         (llrint_downward_test_data): New variable.
50132         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50133         (llrint_upward_test_data): New variable.
50134         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50135         (llround_test_data): New variable.
50136         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50138 2013-05-13  Peter Collingbourne  <pcc@google.com>
50140         * math/atest-exp2.c (get_log2): Remove const attribute.
50142 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50144         * math/libm-test.inc (struct test_f_l_data): New type.
50145         (RUN_TEST_LOOP_f_l): New macro.
50146         (lrint_test_data): New variable.
50147         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50148         (lrint_tonearest_test_data): New variable.
50149         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50150         (lrint_towardzero_test_data): New variable.
50151         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50152         (lrint_downward_test_data): New variable.
50153         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50154         (lrint_upward_test_data): New variable.
50155         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50156         (lround_test_data): New variable.
50157         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50159 2013-05-15  Peter Collingbourne  <pcc@google.com>
50161         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50162         (EXTRACT_WORDS64) Use where appropriate.
50163         (INSERT_WORDS64) Likewise.
50165         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50166         constraints with x constraints.
50167         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50169         * malloc/obstack.c (_obstack_compat): Add initializer.
50171 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50173         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50174         si_trapno and add si_addr_lsb to _sifields.sigfault.
50175         (si_trapno): Remove macro.
50176         (si_addr_lsb): Define new macro.
50177         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50179 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50181         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50182         instead of TEST_f_l.
50183         (llrint_test_tonearest): Likewise.
50184         (llrint_test_towardzero): Likewise.
50185         (llrint_test_downward): Likewise.
50186         (llrint_test_upward): Likewise.
50187         (llround_test): Likewise.
50189         * math/libm-test.inc (struct test_f_i_data): Add comment.
50190         (RUN_TEST_LOOP_f_b): New macro.
50191         (RUN_TEST_LOOP_f_b_tg): Likewise.
50192         (finite_test_data): New variable.
50193         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50194         (isfinite_test_data): New variable.
50195         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50196         (isinf_test_data): New variable.
50197         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50198         (isnan_test_data): New variable.
50199         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50200         (isnormal_test_data): New variable.
50201         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50202         (issignaling_test_data): New variable.
50203         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50204         (signbit_test_data): New variable.
50205         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50207         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50208         with INVALID_EXCEPTION.
50209         (acosh_test_data): Likewise.
50210         (asin_test_data): Likewise.
50211         (atanh_test_data): Likewise.
50212         (fmod_test_data): Likewise.
50213         (log_test_data): Likewise.
50214         (log10_test_data): Likewise.
50215         (log2_test_data): Likewise.
50216         (pow_test_data): Likewise.
50217         (sqrt_test_data): Likewise.
50218         (y0_test_data): Likewise.
50219         (y1_test_data): Likewise.
50220         (yn_test_data): Likewise.
50222         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50223         function contents.
50225         * math/libm-test.inc (struct test_ff_i_data): New type.
50226         (RUN_TEST_LOOP_ff_i_tg): New macro.
50227         (isgreater_test_data): New variable.
50228         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50229         (isgreaterequal_test_data): New variable.
50230         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50231         (isless_test_data): New variable.
50232         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50233         (islessequal_test_data): New variable.
50234         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50235         (islessgreater_test_data): New variable.
50236         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50237         (isunordered_test_data): New variable.
50238         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50240 2013-05-14  David S. Miller  <davem@davemloft.net>
50242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50244 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50246         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50248         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50249         extra_test to int.
50250         (struct test_f_i_data): Change type of max_ulp to int.
50252         * math/libm-test.inc (test_ffI_f1_data): New type.
50253         (RUN_TEST_LOOP_ffI_f1): New macro.
50254         (remquo_test_data): New variable.
50255         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50257         * setjmp/tst-setjmp-fp.c: New file.
50258         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50259         (link-libm): New variable.
50260         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50262         * math/libm-test.inc (struct test_f_i_data): New type.
50263         (RUN_TEST_LOOP_f_i): New macro.
50264         (RUN_TEST_LOOP_f_i_tg): Likewise.
50265         (fpclassify_test_data): New variable.
50266         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50267         (ilogb_test_data): New variable.
50268         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50270         * math/libm-test.inc (scalbln_test): Correct function name in END
50271         call.
50273         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50274         (RUN_TEST_LOOP_fI_f1): New macro.
50275         (frexp_test_data): New variable.
50276         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50278         * math/libm-test.inc (struct test_fF_f1_data): New type.
50279         (RUN_TEST_LOOP_fF_f1): New macro.
50280         (modf_test_data): New variable.
50281         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50283         * math/libm-test.inc (struct test_f_f1_data): New type.
50284         (RUN_TEST_LOOP_f_f1): New macro.
50285         (gamma_test_data): New variable.
50286         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50287         (lgamma_test_data): New variable.
50288         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50290 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50292         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50293         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50294         (main): Comment "tls" pseudo-hwcap.
50296 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50298         * math/libm-test.inc (struct test_fl_f_data): New type.
50299         (RUN_TEST_LOOP_fl_f): New variable.
50300         (scalbln_test_data): New variable.
50301         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50303         * math/libm-test.inc (struct test_fi_f_data): New type.
50304         (RUN_TEST_LOOP_fi_f): New macro.
50305         (ldexp_test_data): New variable.
50306         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50307         (scalbn_test_data): New variable.
50308         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50310         * math/libm-test.inc (struct test_c_f_data): New type.
50311         (RUN_TEST_LOOP_c_f): New macro.
50312         (cabs_test_data): New variable.
50313         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50314         (carg_test_data): New variable.
50315         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50316         (cimag_test_data): New variable.
50317         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50318         (creal_test_data): New variable.
50319         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50321         * math/libm-test.inc (struct test_if_f_data): New type.
50322         (RUN_TEST_LOOP_if_f): New macro.
50323         (jn_test_data): New variable.
50324         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50325         (yn_test_data): New variable.
50326         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50328         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50330 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50332         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50333         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50335 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50337         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50338         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50339         (bench-deps): Add bench-timing.h.
50340         * benchtests-bench-skeleton.c: Include bench-timing.h.
50341         (main): Use TIMING_* macros instead of clock_gettime.
50342         * benchtests/bench-timing.h: New file.
50344         [BZ #14582]
50345         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50346         Renamed from _LIB_VERSION.
50347         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50349 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50351         * math/libm-test.inc (struct test_fff_f_data): New type.
50352         (RUN_TEST_LOOP_fff_f): New macro.
50353         (fma_test_data): New variable.
50354         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50355         (fma_towardzero_test_data): New variable.
50356         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50357         (fma_downward_test_data): New variable.
50358         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50359         (fma_upward_test_data): New variable.
50360         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50362         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50363         (struct test_c_c_data): New type.
50364         (RUN_TEST_LOOP_c_c): New macro.
50365         (cacos_test_data): New variable.
50366         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50367         (cacosh_test_data): New variable.
50368         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50369         (casin_test_data): New variable.
50370         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50371         (casinh_test_data): New variable.
50372         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50373         (catan_test_data): New variable.
50374         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50375         (catanh_test_data): New variable.
50376         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50377         (ccos_test_data): New variable.
50378         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50379         (ccosh_test_data): New variable.
50380         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50381         (cexp_test_data): New variable.
50382         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50383         (clog_test_data): New variable.
50384         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50385         (clog10_test_data): New variable.
50386         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50387         (conj_test_data): New variable.
50388         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50389         (cproj_test_data): New variable.
50390         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50391         (csin_test_data): New variable.
50392         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50393         (csinh_test_data): New variable.
50394         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50395         (csqrt_test_data): New variable.
50396         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50397         (ctan_test_data): New variable.
50398         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50399         (ctan_tonearest_test_data): New variable.
50400         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50401         (ctan_towardzero_test_data): New variable.
50402         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50403         (ctan_downward_test_data): New variable.
50404         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50405         (ctan_upward_test_data): New variable.
50406         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50407         (ctanh_test_data): New variable.
50408         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50409         (ctanh_tonearest_test_data): New variable.
50410         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50411         (ctanh_towardzero_test_data): New variable.
50412         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50413         (ctanh_downward_test_data): New variable.
50414         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50415         (ctanh_upward_test_data): New variable.
50416         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50417         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50418         of BUILD_COMPLEX.
50420         * math/libm-test.inc (struct test_ff_f_data): New type.
50421         (struct test_ff_f_data_nexttoward): Likewise.
50422         (RUN_TEST_LOOP_2_f): New macro.
50423         (RUN_TEST_LOOP_ff_f): Likewise.
50424         (atan2_test_data): New variable.
50425         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50426         (copysign_test_data): New variable.
50427         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50428         (fdim_test_data): New variable.
50429         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50430         (fmax_test_data): New variable.
50431         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50432         (fmin_test_data): New variable.
50433         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50434         (fmod_test_data): New variable.
50435         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50436         (hypot_test_data): New variable.
50437         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50438         (nextafter_test_data): New variable.
50439         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50440         (nexttoward_test_data): New variable.
50441         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50442         (pow_test_data): New variable.
50443         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50444         (pow_tonearest_test_data): New variable.
50445         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50446         (pow_towardzero_test_data): New variable.
50447         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50448         (pow_downward_test_data): New variable.
50449         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50450         (pow_upward_test_data): New variable.
50451         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50452         (remainder_test_data): New variable.
50453         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50454         (scalb_test_data): New variable.
50455         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50456         * sysdeps/i386/fpu/libm-test-ulps: Update.
50458 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50460         * math/libm-test.inc (fma_test): Use max_value instead of local
50461         variable fltmax.
50462         (nextafter_test): Likewise.
50464         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50465         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50466         (acos_downward_test_data): New variable.
50467         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50468         (acos_upward_test_data): New variable.
50469         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50470         (acosh_test_data): New variable.
50471         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50472         (asin_test_data): New variable.
50473         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50474         (asin_tonearest_test_data): New variable.
50475         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50476         (asin_towardzero_test_data): New variable.
50477         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50478         (asin_downward_test_data): New variable.
50479         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50480         (asin_upward_test_data): New variable.
50481         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50482         (asinh_test_data): New variable.
50483         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50484         (atan_test_data): New variable.
50485         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50486         (atanh_test_data): New variable.
50487         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50488         (cbrt_test_data): New variable.
50489         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50490         (ceil_test_data): New variable.
50491         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50492         (cos_test_data): New variable.
50493         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50494         (cos_tonearest_test_data): New variable.
50495         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50496         (cos_towardzero_test_data): New variable.
50497         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50498         (cos_downward_test_data): New variable.
50499         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50500         (cos_upward_test_data): New variable.
50501         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50502         (cosh_test_data): New variable.
50503         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50504         (cosh_tonearest_test_data): New variable.
50505         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50506         (cosh_towardzero_test_data): New variable.
50507         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50508         (cosh_downward_test_data): New variable.
50509         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50510         (cosh_upward_test_data): New variable.
50511         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50512         (erf_test_data): New variable.
50513         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50514         (erfc_test_data): New variable.
50515         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50516         (exp_test_data): New variable.
50517         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50518         (exp_tonearest_test_data): New variable.
50519         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50520         (exp_towardzero_test_data): New variable.
50521         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50522         (exp_downward_test_data): New variable.
50523         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50524         (exp_upward_test_data): New variable.
50525         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50526         (exp10_test_data): New variable.
50527         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50528         (exp2_test_data): New variable.
50529         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50530         (expm1_test_data): New variable.
50531         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50532         (fabs_test_data): New variable.
50533         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50534         (floor_test_data): New variable.
50535         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50536         (j0_test_data): New variable.
50537         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50538         (j1_test_data): New variable.
50539         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50540         (log_test_data): New variable.
50541         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50542         (log10_test_data): New variable.
50543         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50544         (log1p_test_data): New variable.
50545         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50546         (log2_test_data): New variable.
50547         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50548         (logb_test_data): New variable.
50549         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50550         (logb_downward_test_data): New variable.
50551         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50552         (nearbyint_test_data): New variable.
50553         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50554         (rint_test_data): New variable.
50555         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50556         (rint_tonearest_test_data): New variable.
50557         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50558         (rint_towardzero_test_data): New variable.
50559         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50560         (rint_downward_test_data): New variable.
50561         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50562         (rint_upward_test_data): New variable.
50563         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50564         (round_test_data): New variable.
50565         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50566         (sin_test_data): New variable.
50567         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50568         (sin_tonearest_test_data): New variable.
50569         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50570         (sin_towardzero_test_data): New variable.
50571         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50572         (sin_downward_test_data): New variable.
50573         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50574         (sin_upward_test_data): New variable.
50575         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50576         (sinh_test_data): New variable.
50577         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50578         (sinh_tonearest_test_data): New variable.
50579         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50580         (sinh_towardzero_test_data): New variable.
50581         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50582         (sinh_downward_test_data): New variable.
50583         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50584         (sinh_upward_test_data): New variable.
50585         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50586         (sqrt_test_data): New variable.
50587         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50588         (tan_test_data): New variable.
50589         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50590         (tan_tonearest_test_data): New variable.
50591         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50592         (tan_towardzero_test_data): New variable.
50593         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50594         (tan_downward_test_data): New variable.
50595         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50596         (tan_upward_test_data): New variable.
50597         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50598         (tanh_test_data): New variable.
50599         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50600         (tgamma_test_data): New variable.
50601         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50602         (trunc_test_data): New variable.
50603         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50604         (y0_test_data): New variable.
50605         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50606         (y1_test_data): New variable.
50607         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50608         (significand_test_data): New variable.
50609         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50611 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50613         [BZ #12387]
50614         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50616 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50618         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50620 2013-05-10  Andreas Jaeger  <aj@suse.de>
50622         [BZ #15448]
50623         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50624         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50626 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50628         * math/gen-libm-test.pl (adjust_arg): New function.
50629         (special_functions): Handle generating output in both functions
50630         and arrays.
50631         (parse_args): Likewise.
50632         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50633         $in_func argument to parse_args.
50634         * math/libm-test.inc (struct test_f_f_data): New type.
50635         (IF_ROUND_INIT_): New macro.
50636         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50637         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50638         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50639         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50640         (ROUND_RESTORE_): Likewise.
50641         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50642         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50643         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50644         (ROUND_RESTORE_FE_UPWARD): Likewise.
50645         (RUN_TEST_LOOP_f_f): New macro.
50646         (acos_test_data): New variable.
50647         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50648         (acos_tonearest_test_data): New variable.
50649         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50651 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50653         * benchtests/bench-skeleton.c (startup): Fix coding style.
50655 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50657         [BZ #6809]
50658         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50659         negative infinity argument.
50660         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50661         negative infinity argument.
50662         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50663         negative infinity argument.
50664         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50665         domain errors.
50667 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50669         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50670         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50671         * iconv/iconv_prog.c (main): Likewise.
50672         * locale/programs/charmap-dir.c (charmap_readdir)
50673         (fopen_uncompressed): Likewise.
50674         * locale/programs/locfile.c (siblings_uncached)
50675         (write_locale_data): Use lstat64 instead of lstat.
50676         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50677         stat.
50679 2013-05-10  Andreas Jaeger  <aj@suse.de>
50681         [BZ #15395]
50682         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50683         localization.
50684         Include <locale.h>.
50686 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50688         * elf/dl-close.c (_dl_close_worker): Add comments.
50690 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50692         [BZ #15359]
50693         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50694         high part of pi/2.
50695         (__ieee754_rem_pio2l): Update comments.
50697         [BZ #15429]
50698         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50699         high part of pi/2.
50700         (__ieee754_rem_pio2l): Update comments.
50702         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50703         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50705         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50706         M_PI_4l.
50708         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50709         (M_PI_34_LOG10El): Likewise.
50710         (M_PI2_LOG10El): Likewise.
50711         (M_PI4_LOG10El): Likewise.
50712         (M_PI_LOG10El): Likewise.
50714 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50718 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50720         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50721         (MINUS_ZERO_INIT): Likewise.
50722         (PLUS_INFTY_INIT): Likewise.
50723         (MINUS_INFTY_INIT): Likewise.
50724         (QNAN_VALUE_INIT): Likewise.
50725         (MAX_VALUE_INIT): Likewise.
50726         (MIN_VALUE_INIT): Likewise.
50727         (MIN_SUBNORM_VALUE_INIT): Likewise.
50728         (plus_zero): Initialize with PLUS_ZERO_INIT.
50729         (minus_zero): Initialize with MINUS_ZERO_INIT.
50730         (plus_infty): Initialize with PLUS_INFTY_INIT.
50731         (minus_infty): Initialize with MINUS_INFTY_INIT.
50732         (qnan_value): Initialize with QNAN_VALUE_INIT.
50733         (max_value): Initialize with MAX_VALUE_INIT.
50734         (min_value): Initialize with MIN_VALUE_INIT.
50735         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50737         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50738         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50739         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50740         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50742         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50743         (RUN_TEST_2_f): Likewise.
50744         (RUN_TEST_ff_f): Likewise.
50745         (RUN_TEST_fi_f): Likewise.
50746         (RUN_TEST_fl_f): Likewise.
50747         (RUN_TEST_fff_f): Likewise.
50748         (RUN_TEST_c_f): Likewise.
50749         (RUN_TEST_f_f1): Likewise.
50750         (RUN_TEST_fF_f1): Likewise.
50751         (RUN_TEST_fI_f1): Likewise.
50752         (RUN_TEST_ffI_f1): Likewise.
50753         (RUN_TEST_c_c): Likewise.
50754         (RUN_TEST_cc_c): Likewise.
50755         (RUN_TEST_f_i): Likewise.
50756         (RUN_TEST_f_i_tg): Likewise.
50757         (RUN_TEST_ff_i_tg): Likewise.
50758         (RUN_TEST_f_b): Likewise.
50759         (RUN_TEST_f_b_tg): Likewise.
50760         (RUN_TEST_f_l): Likewise.
50761         (RUN_TEST_f_L): Likewise.
50762         (RUN_TEST_sincos): Likewise.
50763         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50764         whether to show exceptions.  Do not include ");\n" in return
50765         value.
50766         (special_functions): Output call to RUN_TEST_sincos instead of
50767         check_float calls.  Update calls to new_test.
50768         (parse_args): Output call to single RUN_TEST_* macro instead of
50769         check_* calls and other assignments.  Update calls to new_test.
50771         [BZ #2546]
50772         [BZ #2560]
50773         [BZ #5159]
50774         [BZ #15426]
50775         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50776         input to result for tgamma overflow.
50777         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50778         (gamma_coeff): New variable.
50779         (NCOEFF): New macro.
50780         (gamma_positive): New function.
50781         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50782         underflow here.  Use gamma_positive instead of exp (lgamma) for
50783         other arguments.
50784         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50785         (gamma_coeff): New variable.
50786         (NCOEFF): New macro.
50787         (gammaf_positive): New function.
50788         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50789         underflow here.  Use gamma_positive instead of exp (lgamma) for
50790         other arguments.
50791         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50792         (gamma_coeff): New variable.
50793         (NCOEFF): New macro.
50794         (gammal_positive): New function.
50795         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50796         underflow here.  Use gamma_positive instead of exp (lgamma) for
50797         other arguments.
50798         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50799         (gamma_coeff): New variable.
50800         (NCOEFF): New macro.
50801         (gammal_positive): New function.
50802         (__ieee754_gammal_r): Handle positive infinity, overflow and
50803         underflow here.  Handle NaN the same as positive infinity.  Remove
50804         check x < 0xffffffff for negative integers.  Use gamma_positive
50805         instead of exp (lgamma) for other arguments.
50806         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50807         (gamma_coeff): New variable.
50808         (NCOEFF): New macro.
50809         (gammal_positive): New function.
50810         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50811         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50812         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50813         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50814         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50815         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50816         * sysdeps/generic/math_private.h (__gamma_productf): New
50817         prototype.
50818         (__gamma_product): Likewise.
50819         (__gamma_productl): Likewise.
50820         * math/Makefile (libm-calls): Add gamma_product.
50821         * math/libm-test.inc (tgamma_test): Add more tests.
50822         * sysdeps/i386/fpu/libm-test-ulps: Update.
50823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50825 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50827         * benchtests/bench-skeleton.c (main): Preheat CPU.
50829 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50831         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50833 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50835         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50836         and _dl_skip_args_internal.
50838 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50840         * manual/message.texi (Message Translation): Talk about users.
50841         Message to key mapping impacts design.
50843 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50845         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50847         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50849         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50850         * sysdeps/wordsize-64/glob64.c: ... here.
50852         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50853         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50854         New macros.
50856         * debug/getlogin_r_chk.c: Moved to ...
50857         * login/getlogin_r_chk.c: ... here.
50858         * debug/Makefile (routines): Move getlogin_r_chk to ...
50859         * login/Makefile (routines): ... here.
50860         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50861         * login/Versions (libc: GLIBC_2.4): ... here.
50863         * io/poll.c (__poll): Renamed from poll.
50864         Add libc_hidden_def.
50865         (poll): Define as weak alias.
50867         * debug/ptsname_r_chk.c: Moved to ...
50868         * login/ptsname_r_chk.c: ... here.
50869         * debug/Makefile (routines): Move ptsname_r_chk to ...
50870         * login/Makefile (routines): ... here.
50871         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50872         * login/Versions (libc: GLIBC_2.4): ... here.
50874         * posix/getlogin.c: Moved to ...
50875         * login/getlogin.c: ... here.
50876         * posix/getlogin_r.c: Moved to ...
50877         * login/getlogin_r.c: ... here.
50878         * posix/getlogin_r.c: Moved to ...
50879         * login/getlogin_r.c: ... here.
50880         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50881         * login/Makefile (routines): ... here.
50882         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50883         * login/Versions (libc: GLIBC_2.0): ... here.
50885         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50886         (setrlimit): Define as weak alias.
50888         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50889         Call __ names for open, ftruncate, and close.
50890         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50891         (truncate): Define as weak alias.
50893 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50895         * math/gen-libm-test.pl (parse_args): Initialize x before each
50896         test of frexp, modf and remquo.
50898         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50899         test signgam value.
50901 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50903         [BZ #15418]
50904         [BZ #15419]
50905         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50906         internal tests.
50907         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50909 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50911         * elf/dl-writev.h: New file.
50912         * elf/dl-misc.c: Include it.
50913         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50914         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50916 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50918         * math/libm-test.inc (noXFails): Remove variable.
50919         (noXPasses): Likewise.
50920         (BUILD_COMPLEX_INT): Remove macro.
50921         (print_screen): Remove xfail argument.
50922         (print_screen_max_error): Likewise.
50923         (update_stats): Likewise.
50924         (print_max_error): Likewise.  Update calls to other affected
50925         functions.
50926         (print_complex_max_error): Likewise.
50927         (test_single_exception): Update calls to print_screen.
50928         (test_single_errno): Likewise.
50929         (check_float_internal): Remove xfail argument.  Update calls to
50930         other affected functions.
50931         (check_float): Likewise.
50932         (check_complex): Likewise.
50933         (check_int): Likewise.
50934         (check_long): Likewise.
50935         (check_bool): Likewise.
50936         (check_longlong): Likewise.
50937         (main): Don't print noXFails and noXPasses.
50938         * math/gen-libm-test.pl (top level): Don't mention expected
50939         failure handling in comment.
50940         (new_test): Don't handle expected failures.
50941         (parse_args): Don't mention expected failure handling in comment.
50942         (generate_testfile): Don't handle expected failures.
50943         (parse_ulps): Likewise.
50944         (print_ulps_file): Likewise.
50945         (get_failure): Remove function.
50946         (output_test): Don't handle expected failures.
50947         * make/README.libm-test: Don't mention expected failure handling.
50949         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50950         (minus_zero): Likewise.
50951         (plus_infty): Likewise.
50952         (minus_infty): Likewise.
50953         (qnan_value): Likewise.
50954         (max_value): Likewise.
50955         (min_value): Likewise.
50956         (min_subnorm_value): Likewise.
50957         (initialize): Do not initialize those variables dynamically.
50959 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50961         * io/open.c (__open_2): Moved to ...
50962         * io/open_2.c: ... this new file.
50963         * io/open64.c (__open64_2): Moved to ...
50964         * io/open64_2.c: ... this new file.
50965         * io/openat.c (__openat_2): Moved to ...
50966         * io/openat_2.c: ... this new file.
50967         * io/openat64.c (__openat64_2): Moved to ...
50968         * io/openat64_2.c: ... this new file.
50969         * io/Makefile (routines): Add them.
50970         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50971         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50972         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50973         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50974         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50975         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50976         (__openat64): Add hidden_ver.
50977         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50978         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50980         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50981         Separately conditionalize setting of GLRO(dl_sysinfo) so
50982         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50983         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50985 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50987         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50988         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50989         definition.
50990         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50991         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50992         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50993         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50994         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50996 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50998         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50999         test signgam value.
51001         * math/libm-test.inc (hypot_test): Do not use
51002         IGNORE_ZERO_INF_SIGN.
51004 2013-05-03  Andreas Jaeger  <aj@suse.de>
51006         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51007         Linux 3.9.
51008         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51009         (PF_MAX): Adjust for VSOCK change.
51011 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51015 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51017         [BZ #15264]
51018         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51019         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51020         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51022 2013-05-02  David S. Miller  <davem@davemloft.net>
51024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51026 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51028         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51030 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51032         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51034 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51036         [BZ #14952]
51037         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51038         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51039         Use __attribute__ ((__gnu_inline__)).
51040         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51041         Don't use __attribute__ ((__gnu_inline__)).
51043 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51045         [BZ #15423]
51046         * math/s_catan.c (__catan): Handle small real or imaginary part of
51047         input specially to avoid spurious underflow.
51048         * math/s_catanf.c (__catanf): Likewise.
51049         * math/s_catanh.c (__catanh): Likewise.
51050         * math/s_catanhf.c (__catanhf): Likewise.
51051         * math/s_catanhl.c (__catanhl): Likewise.
51052         * math/s_catanl.c (__catanl): Likewise.
51053         * math/libm-test.inc (catan_test): Add more tests.
51054         (catanh_test): Likewise.
51055         * sysdeps/i386/fpu/libm-test-ulps: Update.
51056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51058 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51062 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51064         [BZ #15416]
51065         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51066         accurately for denominator in atan2.
51067         * math/s_catanf.c (__catanf): Likewise.
51068         * math/s_catanh.c (__catanh): Likewise.
51069         * math/s_catanhf.c (__catanhf): Likewise.
51070         * math/s_catanhl.c (__catanhl): Likewise.
51071         * math/s_catanl.c (__catanl): Likewise.
51072         * math/libm-test.inc (catan_test): Add more tests.
51073         (catanh_test): Likewise.
51074         * sysdeps/i386/fpu/libm-test-ulps: Update.
51075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51077 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51079         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51081         * benchtests/Makefile (bench): Remove slow benchmarks.
51082         * benchtests/atan-inputs: Add slow benchmark inputs.
51083         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51084         (BENCH_FUNC): Accept variant offset.
51085         (VARIANT): Define.
51086         * benchtests/bench-skeleton.c (main): Run benchmark for each
51087         variant.
51088         * benchtests/cos-inputs: Add slow benchmark inputs.
51089         * benchtests/exp-inputs: Likewise.
51090         * benchtests/pow-inputs: Likewise.
51091         * benchtests/sin-inputs: Likewise.
51092         * benchtests/slowatan-inputs: Remove.
51093         * benchtests/slowatan.c: Remove.
51094         * benchtests/slowcos-inputs: Remove.
51095         * benchtests/slowcos.c: Remove.
51096         * benchtests/slowexp-inputs: Remove.
51097         * benchtests/slowexp.c: Remove.
51098         * benchtests/slowpow-inputs: Remove.
51099         * benchtests/slowpow.c: Remove.
51100         * benchtests/slowsin-inputs: Remove.
51101         * benchtests/slowsin.c: Remove.
51102         * benchtests/slowtan-inputs: Remove.
51103         * benchtests/slowtan.c: Remove.
51104         * benchtests/tan-inputs: Add slow benchmark inputs.
51105         * scripts/bench.pl: Parse comments and directives.
51107         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51108         in CPPFLAGS.
51109         ($(objpfx)bench-%.c): Remove *-ITER.
51110         * benchtests/bench-modf.c: Remove definition of ITER.
51111         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51112         (main): Loop for DURATION seconds instead of fixed number of
51113         iterations.
51114         * scripts/bench.pl: Don't expect iterations in parameters.
51116 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51118         * io/fchdir.c (__fchdir): Renamed from fchdir.
51119         (fchdir): Define as weak alias.
51121 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51123         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51124         (ERRNO_EDOM): Likewise.
51125         (ERRNO_ERANGE): Likewise.
51126         (noErrnoTests): New variable.
51127         (init_max_error): Set errno to 0.
51128         (test_single_errno): New function.
51129         (test_errno): Likewise.
51130         (check_float_internal): Call test_errno.  Set errno to 0.
51131         (check_complex): Refer to errno tests in comment.
51132         (check_int): Call test_errno.  Set errno to 0.
51133         (check_long): Likewise.
51134         (check_bool): Likewise.
51135         (check_longlong): Likewise.
51136         (cos_test): Use ERRNO_* flags for errno tests instead of
51137         check_int.
51138         (expm1_test): Likewise.
51139         (fmod_test): Likewise.
51140         (ilogb_test): Likewise.
51141         (lgamma_test): Likewise.
51142         (pow_test): Likewise.
51143         (remainder_test): Likewise.
51144         (sin_test): Likewise.
51145         (tan_test): Likewise.
51146         (yn_test): Likewise.
51147         (initialize): Set errno to 0.
51148         (main): Print number of errno tests.
51149         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51151 2013-04-29  Andreas Jaeger  <aj@suse.de>
51153         [BZ #15084]
51154         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51155         and RES_USEVC.
51157         [BZ #15085]
51158         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51159         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51160         unimplemented.
51162         [BZ #15380]
51163         * stdlib/random.c (__initstate): Return NULL if
51164         __initstate fails.
51166         [BZ #15086]
51167         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51168         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51169         RES_SNGLKUPREOP.
51171 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51175 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51177         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51178         of individual tests.
51179         (casin_test): Likewise.
51180         (casinh_test): Likewise.
51182 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51184         [BZ #15409]
51185         * math/s_catan.c (__catan): Handle arguments with large real or
51186         imaginary part separately without squaring.
51187         * math/s_catanf.c (__catanf): Likewise.
51188         * math/s_catanh.c (__catanh): Likewise.
51189         * math/s_catanhf.c (__catanhf): Likewise.
51190         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51191         and redefine.
51192         (__catanhl): Handle arguments with large real or imaginary part
51193         separately without squaring.
51194         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51195         and redefine.
51196         (__catanl): Handle arguments with large real or imaginary part
51197         separately without squaring.
51198         * math/libm-test.inc (catan_test): Add more tests.
51199         (catanh_test): Likewise.
51200         * sysdeps/i386/fpu/libm-test-ulps: Update.
51201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51203 2013-04-27  Andreas Jaeger  <aj@suse.de>
51205         [BZ #15007]
51206         * stdlib/stdlib.h: Update guards for qecvt.
51207         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51208         <stdlib.h>.
51210 2013-04-27  Allan McRae  <allan@archlinux.org>
51212         * sysdeps/i386/fpu/libm-test-ulps: Update.
51214 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51216         [BZ #15406]
51217         * math/s_catan.c: Include <float.h>.
51218         (__catan): Ensure underflow exception occurs for underflowed
51219         result.
51220         * math/s_catanf.c: Include <float.h>.
51221         (__catanf): Ensure underflow exception occurs for underflowed
51222         result.
51223         * math/s_catanh.c: Include <float.h>.
51224         (__catanh): Ensure underflow exception occurs for underflowed
51225         result.
51226         * math/s_catanhf.c: Include <float.h>.
51227         (__catanhf): Ensure underflow exception occurs for underflowed
51228         result.
51229         * math/s_catanhl.c: Include <float.h>.
51230         (__catanhl): Ensure underflow exception occurs for underflowed
51231         result.
51232         * math/s_catanl.c: Include <float.h>.
51233         (__catanl): Ensure underflow exception occurs for underflowed
51234         result.
51235         * math/libm-test.inc (catan_test): Add more tests.
51236         (catanh_test): Likewise.
51238         [BZ #15405]
51239         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51240         underflowed result.
51241         * math/s_ccoshf.c (__ccoshf): Likewise.
51242         * math/s_ccoshl.c (__ccoshl): Likewise.
51243         * math/s_csin.c (__csin): Likewise.
51244         * math/s_csinf.c (__csinf): Likewise.
51245         * math/s_csinh.c (__csinh): Likewise.
51246         * math/s_csinhf.c (__csinhf): Likewise.
51247         * math/s_csinhl.c (__csinhl): Likewise.
51248         * math/s_csinl.c (__csinl): Likewise.
51249         * math/libm-test.inc (ccos_test): Add more tests.
51250         (ccosh_test): Likewise.
51251         (csin_test): Likewise.
51252         (csinh_test): Likewise.
51254 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51256         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51257         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51258         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51259         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51260         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51261         powerpc/power5+/fpu folders.
51262         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51265 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51269 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51271         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51272         additions to variable.
51273         [$(config-machine) = x86_64] (modules-names): Likewise.
51274         ($(objpfx)tst-audit3): Remove dependency.
51275         ($(objpfx)tst-audit3.out): Likewise.
51276         ($(objpfx)tst-audit4): Likewise.
51277         ($(objpfx)tst-audit4.out): Likewise.
51278         ($(objpfx)tst-audit5): Likewise.
51279         ($(objpfx)tst-audit5.out): Likewise.
51280         ($(objpfx)tst-audit6): Likewise.
51281         ($(objpfx)tst-audit6.out): Likewise.
51282         ($(objpfx)tst-audit7): Likewise.
51283         ($(objpfx)tst-audit7.out): Likewise.
51284         (tst-audit3-ENV): Remove variable.
51285         (tst-audit4-ENV): Likewise.
51286         (tst-audit5-ENV): Likewise.
51287         (tst-audit6-ENV): Likewise.
51288         (tst-audit7-ENV): Likewise.
51289         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51290         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51291         addition to variable.
51292         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51293         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51294         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51295         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51296         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51297         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51298         tst-audit3, tst-audit4 and tst-audit5.
51299         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51300         tst-audit6 and tst-audit7.
51301         [$(subdir) = elf] (modules-names): Add audit modules for those
51302         tests.
51303         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51304         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51305         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51306         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51307         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51308         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51309         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51310         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51311         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51312         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51313         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51314         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51315         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51316         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51317         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51318         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51319         Likewise.
51320         [$(subdir) = elf && $(config-cflags-avx) = yes]
51321         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51322         [$(subdir) = elf && $(config-cflags-avx) = yes]
51323         (CFLAGS-tst-auditmod4a.c): Likewise.
51324         [$(subdir) = elf && $(config-cflags-avx) = yes]
51325         (CFLAGS-tst-auditmod4b.c): Likewise.
51326         [$(subdir) = elf && $(config-cflags-avx) = yes]
51327         (CFLAGS-tst-auditmod6b.c): Likewise.
51328         [$(subdir) = elf && $(config-cflags-avx) = yes]
51329         (CFLAGS-tst-auditmod6c.c): Likewise.
51330         [$(subdir) = elf && $(config-cflags-avx) = yes]
51331         (CFLAGS-tst-auditmod7b.c): Likewise.
51332         * elf/tst-audit3.c: Move to ...
51333         * sysdeps/x86_64/tst-audit3.c: ... here.
51334         * elf/tst-audit4.c: Move to ...
51335         * sysdeps/x86_64/tst-audit4.c: ... here.
51336         * elf/tst-audit5.c: Move to ...
51337         * sysdeps/x86_64/tst-audit5.c: ... here.
51338         * elf/tst-audit6.c: Move to ...
51339         * sysdeps/x86_64/tst-audit6.c: ... here.
51340         * elf/tst-audit7.c: Move to ...
51341         * sysdeps/x86_64/tst-audit7.c: ... here.
51342         * elf/tst-auditmod3a.c: Move to ...
51343         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51344         * elf/tst-auditmod3b.c: Move to ...
51345         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51346         * elf/tst-auditmod4a.c: Move to ...
51347         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51348         * elf/tst-auditmod4b.c: Move to ...
51349         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51350         * elf/tst-auditmod5a.c: Move to ...
51351         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51352         * elf/tst-auditmod5b.c: Move to ...
51353         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51354         * elf/tst-auditmod6a.c: Move to ...
51355         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51356         * elf/tst-auditmod6b.c: Move to ...
51357         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51358         * elf/tst-auditmod6c.c: Move to ...
51359         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51360         * elf/tst-auditmod7a.c: Move to ...
51361         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51362         * elf/tst-auditmod7b.c: Move to ...
51363         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51365 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51367         [BZ #15366]
51368         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51369         define unconditionally.
51370         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51371         define unconditionally.
51372         (INT8_C, INT16_C, etc.): Likewise.
51374 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51376         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51377         __ehdr_start with hidden visibility.
51379         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51381 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51383         * math/libm-test.inc (cos_test): Use accurate hex constants.
51384         (sincost_test): Likewise.
51386 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51388         * math/libm-test.inc (catan_test): Add more tests.
51389         (catanh_test): Likewise.
51391         * math/s_catanf.c (__catanf): Use suffixed floating-point
51392         constants.
51393         * math/s_catanhf.c (__catanhf): Likewise.
51394         * math/s_catanhl.c (__catanhl): Likewise.
51395         * math/s_catanl.c (__catanl): Likewise.
51397         [BZ #15394]
51398         * math/s_catan.c (__catan): Calculate imaginary part of result
51399         with log1p not log unless computing log of number close to 0.
51400         * math/s_catanf.c (__catanf): Likewise.
51401         * math/s_catanl.c (__catanl): Likewise.
51402         * math/s_catanh.c (__catanh): Calculate real part of result with
51403         log1p not log unless computing log of number close to 0.
51404         * math/s_catanhf.c (__catanhf): Likewise.
51405         * math/s_catanhl.c (__catanhl): Likewise.
51406         * math/libm-test.inc (catan_test): Add more tests.
51407         (catanh_test): Likewise.
51408         * sysdeps/i386/fpu/libm-test-ulps: Update.
51409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51411 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51413         * benchtests/Makefile: Mention files in which fast and slow
51414         paths of math functions are implemented.
51416 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51418         * sysdeps/posix/timespec_get.c: New file.
51420 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51422         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51423         POWER.
51424         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51425         for POWER.
51426         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51427         powerpc/power5/fpu folders.
51428         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51429         * benchtests/Makefile: Add modf testcase.
51430         * benchtests/bench-modf.c: New file: Benchmark test for mo
51432 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51434         [BZ #14888]
51435         * time/Makefile (tests): Add tst-strptime-whitespace.
51436         * time/strptime_l.c (get_number): Use ISSPACE.
51437         (__strptime_internal): Likewise.
51438         * time/tst-strptime-whitespace.c: New test case.
51440 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51442         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51443         member.
51444         (_nss_files_init): Set it here.
51446 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51448         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51449         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51450         unsigned.
51452 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51454         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51456 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51458         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51459         size just once.
51461 2013-04-21  David S. Miller  <davem@davemloft.net>
51463         * po/ru.po: Update Russion translation from translation project.
51465 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51467         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51468         and setfsgid.
51470 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51472         * configure.in: Remove i386 configure warning. Remove i386 case.
51473         * configure: Regenerate.
51474         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51475         Add example to error message.
51476         * sysdeps/i386/configure: Regenerate.
51478 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51480         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51481         slowtan.
51482         * benchtests/cos-inputs: New file.
51483         * benchtests/slowcos-inputs: New file.
51484         * benchtests/slowcos.c: New file.
51485         * benchtests/slowtan-inputs: New file.
51486         * benchtests/slowtan.c: New file.
51487         * benchtests/tan-inputs: New file.
51489 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51491         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51492         considered kosher.
51494 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51496         * benchtests/Makefile: Include cppflags-iterator.mk to add
51497         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51499         * Makefile.in (bench-clean): New target.
51500         * benchtests/Makefile (bench-clean): Likewise.
51502 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51504         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51506 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51508         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51510 2013-04-15  Andreas Schwab  <schwab@suse.de>
51512         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51513         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51514         * nscd/pwdcache.c (cache_addpw): Likewise.
51515         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51516         more than recsize.
51518 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51520         * benchtests/Makefile (bench): Write all output to
51521         bench-out.tmp together.
51523 2013-04-15  Andreas Schwab  <schwab@suse.de>
51525         * nscd/nscd.c (main): Don't fork again after closing files.
51527 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51529         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51531         * benchtests/Rules (bench-deps): Collect dependencies into a
51532         single variable.  Add Makefile to dependencies.
51533         ($(objpfx)bench-%.c): Depend on bench-deps.
51535 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51536             Xavier Roche  <roche+kml2@exalead.com>
51538         [BZ #15361]
51539         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51540         just that it's a file descriptor.
51541         * manual/llio.texi (Synchronizing AIO Operations): Update description
51542         for EBADF error from aio_fsync.
51544 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51546         * Rules (bench): Move target definition...
51547         * benchtests/Makefile: ... here.
51549 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51551         * math/libm-test.inc (cos_test): Fix PI/2 test.
51552         (sincos_test): Likewise.
51553         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51554         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51556 2013-04-11  Andreas Schwab  <schwab@suse.de>
51558         [BZ #13988]
51559         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51560         accept exponent character only when digits were seen.
51561         * stdio-common/Makefile (tests): Add bug26.
51562         * stdio-common/bug26.c: New file.
51564         [BZ #14293]
51565         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51566         non-freeable.
51568 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51570         * Makeconfig (rtld-prefix): Define built linker prefix.
51571         * Rules (run-bench): Use it.
51572         * math/Makefile (run-regen-ulps): Likewise.
51574         * Rules (bench): Remove eval.
51576 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51577             Roland McGrath  <roland@hack.frob.com>
51578             Ondrej Bilka  <neleai@seznam.cz>
51580         [BZ #15346]
51581         * time/getdate.c: Include ctype.h and alloca.h.
51582         (__getdate_r): Trim leading and trailing spaces of input.
51583         * time/tst-getdate.c (tests): Add tests with leading and
51584         trailing spaces.
51586 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51588         [BZ #14280]
51589         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51590         when computing value.
51592 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51594         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51595         Use testrun.sh to run libm tests.
51597         [BZ #15309]
51598         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51600 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51602         [BZ #15264]
51603         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51605 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51607         * Makefile.in (regen-ulps): New target.
51608         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51609         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51610         [ifneq (no,$(PERL)] (regen-ulps): New target.
51611         [ifeq (no,$(PERL)] (regen-ulps): New target.
51612         * math/libm-test.inc (ulps_file_name): Define.
51613         (output_dir): New variable.
51614         (options): Add "output-dir" option.
51615         (parse_opt): Handle 'o' case.
51616         (main): If output_dir is non-NULL use it as a prefix
51617         otherwise use "".
51618         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51620 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51622         [BZ #10060, #10062]
51623         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51624         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51625         fail configure if __sync_val_compare_and_swap is not inlined.
51626         * sysdeps/i386/configure: Regenerate.
51627         * configure.in: Build for i686 when configured for i386.
51628         * configure: Regenerate.
51629         * README: Remove i386 reference.
51631 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51633         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51634         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51636 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51638         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51639         (lmsnanval): New variables.
51640         (F): Add conversion tests.
51641         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51642         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51644         * stdio-common/tstdiomisc.c (F): Properly collect individual
51645         tests' results.
51647         [BZ #14686, #15336]
51648         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51649         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51650         Instead, use input NaN values or generate a qNaN by arithmetic
51651         operation.  Also fix bugs to comply with the standard.
51652         * math/libm-test.inc (remainder_test): Add more tests.
51654         [BZ #15335, #15342]
51655         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51657         input NaN values or generate a qNaN by arithmetic operation.
51659         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51660         unreachable code.
51662         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51663         definitions.
51665 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51667         [BZ #14478]
51668         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51669         underflowed result.
51670         * math/s_cexpf.c (__cexpf): Likewise.
51671         * math/s_cexpl.c (__cexpl): Likewise.
51672         * math/libm-test.inc (cexp_test): Add more tests.
51674 2013-04-03  Andreas Schwab  <schwab@suse.de>
51676         [BZ #15330]
51677         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51678         order arrays from heap if bigger than alloca cutoff.
51680 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51682         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51683         (SNAN_TESTS_double): Refer to GCC PR56831.
51684         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51685         GCC PR56828.
51687 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51689         * Rules (bench): Move bench.out after the run is complete.
51691         * Rules (bench): Echo currently running benchmark.
51693         * benchtests/Makefile (bench): Add atan and slowatan.
51694         * benchtests/atan-inputs: New file.
51695         * benchtests/slowatan-inputs: New file.
51696         * benchtests/slowatan.c: New file.
51698         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51699         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51700         its value.
51702         [BZ #15305]
51703         * sysdeps/unix/sysv/linux/kernel-features.h
51704         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51705         __ASSUME_XFS_RESTRICTED_CHOWN.
51706         * sysdeps/unix/sysv/linux/pathconf.c
51707         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51708         Save and restore errno.
51710 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51712         [BZ #15327]
51713         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51714         arguments using __kernel_casinh.
51715         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51716         arguments using __kernel_casinhf.
51717         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51718         arguments using __kernel_casinhl.
51719         * math/libm-test.inc (cacosh_test): Add more tests.
51720         * sysdeps/i386/fpu/libm-test-ulps: Update.
51721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51723 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51725         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51728         * bench/Makefile (bench): Add sin and slowsin.
51729         * benchtests/sin-inputs: New file.
51730         * benchtests/slowsin-inputs: New file.
51731         * benchtests/slowsin.c: New file.
51733         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51734         (bench): Add slowexp and slowpow.
51735         (exp-ITER): Increase iterations.
51736         (pow-ITER): Likewise.
51737         * benchtests/exp-inputs: Change input.
51738         * benchtests/pow-inputs: Likewise.
51739         * benchtests/slowexp-inputs: New file.
51740         * benchtests/slowexp.c: New file.
51741         * benchtests/slowpow-inputs: New file.
51742         * benchtests/slowpow.c: New file.
51744 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51746         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51747         instructions.
51748         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51749         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51750         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51751         * benchtests/Makefile: Add rint benchtest.
51752         * benchtests/rint-inputs: Input for rint benchtest.
51754 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51756         * Versions.def (libm): Add GLIBC_2.18.
51757         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51758         hidden libm prototypes.
51759         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51760         * math/Makefile (libm-calls): Add s_issignaling.
51761         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51762         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51763         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51764         declaration.
51765         * math/math.h [__USE_GNU] (issignaling): New macro.
51766         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51767         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51768         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51769         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51770         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51771         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51772         * manual/arith.texi (issignaling): New section.
51773         * manual/libm-err-tab.pl (@all_functions): Update comment.
51774         * math/gen-libm-test.pl (parse_args): Apply special handling for
51775         issignaling.
51776         * math/libm-test.inc (print_float, issignaling_test): New
51777         functions.
51778         (check_float_internal): Add issignaling checks.
51779         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51780         default definition.
51781         * sysdeps/powerpc/math-tests.h: New file.
51782         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51783         tests.
51784         * math/test-snan.c (TEST_FUNC): Likewise.
51786 2013-03-30  David S. Miller  <davem@davemloft.net>
51788         * po/de.po: Update from translation team.
51790 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51792         [BZ #10357]
51793         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51794         imaginary part less than 1.0 and real part less than 0.5
51795         specially.
51796         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51797         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51798         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51799         (cacos_test): Add more tests.
51800         (casin_test): Likewise.
51801         (casinh_test): Likewise.
51802         * sysdeps/i386/fpu/libm-test-ulps: Update.
51803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51805 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51807         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51808         ONE with its value.
51810         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51811         (__pow_mp): Replace ONE and MONE with their values.
51812         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51814         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51815         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51816         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51817         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51819         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51821         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51822         (__pow_mp): Replace ZERO and MZERO with their values.
51823         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51824         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51825         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51827         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51828         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51829         (__sqr): Likewise.
51831         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51833         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51835 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51837         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51838         Declare with __attribute__ ((weak)).
51839         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51840         Call __call_tls_dtors only if it's not NULL.
51842 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51844         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51845         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51846         magic __ehdr_start linker symbol if it's defined.
51847         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51848         them up here if it was already done.
51850         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51851         (_dl_aux_init): Use const in cast when setting it.
51852         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51853         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51854         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51856         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51857         Declare them here.
51858         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51859         * csu/libc-tls.c: Nor here.
51860         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51862         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51863         (__libc_message): Never call vsyslog.
51865 2013-03-28  Alan Modra  <amodra@gmail.com>
51867         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51868         Define as empty.
51869         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51870         Likewise.
51872 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51874         [BZ #15214]
51875         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51876         underflow.
51877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51879 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51881         [BZ #15304]
51882         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51883         Don't add gid passed as argument.
51885         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51887 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51889         [BZ #15307]
51890         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51891         imaginary part between 1.0 and 1.5 and real part less than 0.5
51892         specially.
51893         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51894         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51895         * math/libm-test.inc (cacos_test): Add more tests.
51896         (casin_test): Likewise.
51897         (casinh_test): Likewise.
51898         * sysdeps/i386/fpu/libm-test-ulps: Update.
51899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51901 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51903         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51904         constants.
51905         (norm): Likewise.
51906         (denorm): Likewise.
51907         (__dbl_mp): Likewise.
51908         (add_magnitudes): Likewise.
51909         (sub_magnitudes): Likewise.
51910         (__add): Likewise.
51911         (__sub): Likewise.
51912         (__mul): Likewise.
51913         (__sqr): Likewise.
51914         (__inv): Likewise.
51915         (__dvd): Likewise.
51917         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51918         commented code.
51919         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51920         (__dubcos): Likewise.
51921         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51922         (__ieee754_acos): Likewise.
51923         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51924         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51925         (__exp1): Likewise.
51926         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51928         (log1): Likewise.
51929         (my_log2): Likewise.
51930         (checkint): Likewise.
51931         * sysdeps/ieee754/dbl-64/e_remainder.c
51932         (__ieee754_remainder): Likewise.
51933         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51934         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51935         (bsloww): Likewise.
51936         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51938         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51940         MANTISSA_STORE_T to store computations on mantissa.  Use
51941         macros for rounding and division.
51942         (denorm): Likewise.
51943         (__dbl_mp): Likewise.
51944         (add_magnitudes): Likewise.
51945         (sub_magnitudes): Likewise.
51946         (__mul): Likewise.
51947         (__sqr): Likewise.
51948         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51949         powers of two in terms of TWOPOW macro.
51950         (mp_no): Make type of mantissa as MANTISSA_T.
51951         [!RADIXI]: Define RADIXI.
51952         [!TWO52]: Define TWO52.
51953         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51955 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51957         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51958         llroundl symbol when building for PPC32.
51960 2013-03-24  Mark H Weaver  <mhw@netris.org>
51962         * manual/arith.texi (Normalization Functions): Fix prototypes for
51963         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51965 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51967         [BZ #13889]
51968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51969         high value to check if expl overflow.
51970         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51971         to check for underflow and overflow.
51972         * math/libm-test.inc: Add exp test.
51974 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51976         [BZ #11120]
51977         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51978         with NOT_IN_libc.
51980 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51982         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51983         symbol.
51985 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51987         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51988         wrap blocks consisting of several statements.
51990         * sysdeps/generic/math-tests.h: New file.
51991         * sysdeps/i386/fpu/math-tests.h: Likewise.
51992         * math/test-snan.c: Include it.
51993         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51995 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51997         [BZ #15285]
51998         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51999         (__ieee754_j0l): Do not improve calculations using cos of twice
52000         input for inputs above LDBL_MAX / 2.0L.
52001         (__ieee754_y0l): Likewise.
52002         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52003         (__ieee754_j1l): Do not improve calculations using cos of twice
52004         input for inputs above LDBL_MAX / 2.0L.
52005         (__ieee754_y1l): Likewise.
52006         * math/libm-test.inc (j0_test): Add another test.
52007         (j1_test): Likewise.
52008         (y0_test): Likewise.
52009         (y1_test): Likewise.
52010         * sysdeps/i386/fpu/libm-test-ulps: Update.
52012 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52014         * Rules ($(objpfx)bench-%.c): Include code from a C source
52015         file.
52017 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52019         [BZ #15287]
52020         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52021         imaginary part 1.0 and real part less than 0.5 specially.
52022         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52023         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52024         * math/libm-test.inc (cacos_test): Add more tests.
52025         (casin_test): Likewise.
52026         (casinh_test): Likewise.
52027         * sysdeps/i386/fpu/libm-test-ulps: Update.
52028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52030 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52032         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52033         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52035 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52037         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52038         * config.make.in (config-cflags-sse4): Remove variable.
52039         (config-cflags-avx): Likewise.
52040         (config-cflags-sse2avx): Likewise.
52041         (config-cflags-novzeroupper): Likewise.
52042         (config-asflags-i686): Likewise.
52043         (have-mfma4): Likewise.
52044         (have-as-vis3): Likewise.
52045         (MIG): Likewise.
52046         * configure.in (MIG): Do not AC_SUBST.
52047         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52048         (libc_cv_cc_sse4): Do not AC_SUBST.
52049         (libc_cv_cc_avx): Likewise.
52050         (libc_cv_cc_sse2avx): Likewise.
52051         (libc_cv_cc_novzeroupper): Likewise.
52052         (libc_cv_cc_fma4): Likewise.
52053         (libc_cv_as_i686): Likewise.
52054         (libc_cv_sparc_as_vis3): Likewise.
52055         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52056         LIBC_CONFIG_VAR.
52057         (config-asflags-i686): Likewise.
52058         (config-cflags-avx): Likewise.
52059         (config-cflags-sse2avx): Likewise.
52060         (have-mfma4): Likewise.
52061         (config-cflags-novzeroupper): Likewise.
52062         * sysdeps/mach/configure.in (MIG): Likewise.
52063         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52064         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52065         LIBC_CONFIG_VAR.
52066         (config-cflags-avx): Likewise.
52067         (config-cflags-sse2avx): Likewise.
52068         (have-mfma4): Likewise.
52069         (config-cflags-novzeroupper): Likewise.
52070         * configure: Regenerated.
52071         * sysdeps/i386/configure: Likewise.
52072         * sysdeps/mach/configure: Likewise.
52073         * sysdeps/sparc/configure: Likewise.
52074         * sysdeps/x86_64/configure: Likewise.
52076 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52078         [BZ #14812]
52079         * locale/programs/localedef.c (options): Put N_ translation marker
52080         on argument names, not just descriptions.
52082 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52084         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52086 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52088         [BZ #14176]
52089         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52091 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52093         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52094         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52095         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52096         [!BEFORE_ABORT] (before_abort): New function.
52097         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52098         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52099         (writev_for_fatal): New function.
52100         (WRITEV_FOR_FATAL): New macro; call that.
52101         (backtrace_and_maps): New function.
52102         (BEFORE_ABORT): New macro; call that.
52103         (struct str_list): Type removed.
52104         (__libc_message, __libc_fatal): Functions removed.
52105         Include <sysdeps/posix/libc_fatal.c> instead.
52107 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52109         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52110         constants.
52111         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52112         double constants.
52114 2013-03-19  Andreas Schwab  <schwab@suse.de>
52116         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52117         * sysdeps/gnu/configure: Regenerate.
52119         * configure.in: Substitute libc_cv_rtlddir.
52120         * configure: Regenerate.
52121         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52122         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52123         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52124         * elf/Makefile (install-others, CFLAGS-interp.c)
52125         (ldso_install, common-ldd-rewrite): Likewise.
52126         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52127         $(inst_slibdir)/$(rtld-installed-name).
52128         * scripts/rellns-sh: Add -p option.
52129         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52130         for source.
52132 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52134         * manual/nptl.texi: Renamed to ...
52135         * manual/threads.texi: ... this.
52136         * manual/Makefile (chapters): Update.
52138 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52140         [BZ #14812]
52141         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52142         on argument names, not just descriptions.
52143         * malloc/memusagestat.c (options): Likewise.
52144         * nss/getent.c (options): Likewise.
52146 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52148         [BZ #14812]
52149         * iconv/iconv_prog.c (options): Put N_ translation marker
52150         on argument names, not just descriptions.
52151         * iconv/iconvconfig.c (options): Likewise.
52153 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52155         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52156         implementation which is faster on all x86_64 architectures.
52157         Tested on AMD, Intel Nehalem, SNB, IVB.
52158         * sysdeps/x86_64/strnlen.S: Likewise.
52160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52161         Remove all multiarch strlen and strnlen versions.
52162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52163         Remove strlen and strnlen related parts.
52165         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52166         Inline strlen part.
52167         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52169         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52170         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52171         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52172         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52173         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52174         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52176 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52178         * manual/memory.texi (Malloc Tunable Parameters):
52179         Sort parameters alphabetically. Add comments for missing entries.
52181 2013-03-17  David S. Miller  <davem@davemloft.net>
52183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52185 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52187         [BZ #15283]
52188         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52189         for arguments at most half maximum finite value.
52190         * math/libm-test.inc (j0_test): Add more tests.
52191         (j1_test): Likewise.
52192         (y0_test): Likewise.
52193         (y1_test): Likewise.
52194         * sysdeps/i386/fpu/libm-test-ulps: Update.
52195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52197         [BZ #14155]
52198         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52199         1 / x and functions P and Q for arguments above 0x1p256L.
52200         (__ieee754_y0l): Likewise.
52201         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52202         (__ieee754_y1l): Likewise.
52203         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52204         (j1_test): Likewise.
52205         (y0_test): Likewise.
52206         (y1_test): Likewise.
52208 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52210         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52211         variable.
52213 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52215         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52216         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52217         zero since it's initialized to EXEC_PAGESIZE.
52219         * sysdeps/unix/sysv/linux/ldsodefs.h
52220         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52221         * sysdeps/generic/ldsodefs.h: ... here.
52223 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52225         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52227         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52228         math/test-snan.c.
52229         * math/test-snan.c: Renamed from
52230         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52231         * math/Makefile (tests): Add test-snan.
52232         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52233         test-powerpc-snan.
52235         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52236         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52237         functions.
52238         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52239         __builtin_nan family of functions.
52240         * math/libm-test.inc (initialize): Initialize qnan_value with
52241         __builtin_nan family of functions.
52242         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52243         Remove variables.
52244         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52245         Remove functions.
52246         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52247         storage class.  Initialize qNaN_var and sNaN_var with
52248         __builtin_nan and __builtin_nans families of functions,
52249         respectively.
52251         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52252         (sqrt_test): Remove duplicate test with qNaN input.
52253         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52254         (round_test, signbit_test, significand_test): Note missing +/-Inf
52255         as well as qNaN tests.
52257         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52258         qNaN_var.  Fix a few strings, too.
52259         * math/libm-test.inc (nan_value): Rename to qnan_value.
52260         * math/gen-libm-test.pl (%beautify): Adjust to that.
52261         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52262         * math/test-misc.c (main): Likewise.
52263         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52264         to __qnan_bytes, and __qnan_union, respectively.
52265         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52266         Likewise.
52267         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52268         and lqnanval, respectively.
52269         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52270         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52271         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52272         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52274         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52275         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52276         doubles.
52278         * math/test-misc.c (main): Fix copy'n'pastos.
52279         * misc/tst-efgcvt.c (special): Likewise.
52281         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52282         Remove declarations.
52284 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52286         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52287         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52288         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52289         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52291 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52293         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52294         macro to return vdso values correctly in IFUNC implementations.
52295         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52296         Optimization by using IFUNC.
52298 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52299             Richard Henderson  <rth@redhat.com>
52300             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52302         * Makefile.in (bench): New target.
52303         * NEWS: Mention the benchmark framework.
52304         * Rules (bench): Likewise.
52305         (binaries-bench): Generate binaries for functions to
52306         benchmark.
52307         * benchtests/Makefile: New makefile for benchmark tests.
52308         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52309         programs.
52310         * benchtests/exp-inputs: New input file for EXP function.
52311         * benchtests/pow-inputs: New input file for POW function.
52312         * scripts/bench.pl: New script to generate source files for
52313         benchmark programs.
52315 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52317         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52318         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52319         computations on mantissa.  Use macros for rounding and
52320         division.
52321         (denorm): Likewise.
52322         (__dbl_mp): Likewise.
52323         (add_magnitudes): Likewise.
52324         (sub_magnitudes): Likewise.
52325         (__mul): Likewise.
52326         (__sqr): Likewise.
52327         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52328         powers of two in terms of TWOPOW macro.
52329         (mp_no): Make type of mantissa as MANTISSA_T.
52330         [!RADIXI]: Define RADIXI.
52331         [!TWO52]: Define TWO52.
52332         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52334         * manual/nptl.texi (cindex): Modify threads to pthreads.
52336 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52338         * sysdeps/x86_64/preconfigure: Regenerated.
52340 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52342         [BZ #14155]
52343         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52344         0x1p28 and above.
52345         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52346         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52347         0x1p28 and above.
52348         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52349         * math/libm-test.inc (j0_test): Do not allow one spurious
52350         underflow exception.
52351         (y1_test): Likewise.
52353 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52355         * manual/Makefile (chapters): Add nptl.
52356         * manual/debug.texi (Debugging Support): Add link to Threads
52357         chapter.
52358         * manual/nptl.texi: New file.
52360         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52362 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52364         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52365         for non-NULL pointer before the memory validity test. Pointed
52366         out by Holger Brunck <holger.brunck@keymile.com>.
52368 2013-03-13  Andreas Schwab  <schwab@suse.de>
52370         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52371         instead of .os.
52373 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52375         * timezone/zic.c: Update from tzcode 2013b.
52377 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52379         * manual/install.texi (Configuring and compiling):
52380         Mention i686 and i586.
52381         * INSTALL: Regenerate.
52383 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52385         * sysdeps/init_array/elf-init.c: New file.
52386         * csu/elf-init.c
52387         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52388         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52390         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52391         __gmon_start__ as global, but as static with a .preinit_array pointer.
52392         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52393         * sysdeps/init_array/crti.S: New file, empty except for comments.
52394         * sysdeps/init_array/crtn.S: Likewise.
52396 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52398         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52399         definining bcopy.
52400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52401         Remove Prefer_SSE_for_memop.
52402         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52403         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52404         HAS_PREFER_SSE_FOR_MEMOP.
52405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52406         memset-x86-64.
52407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52408         Remove bzero, memset ifunc support.
52409         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52410         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52411         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52412         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52414 2013-03-11  Andreas Schwab  <schwab@suse.de>
52416         [BZ #15234]
52417         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52418         by SHLIB_COMPAT.
52419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52420         (GLIBC_2.16): Remove pthread_atfork.
52422 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52424         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52425         (ptestcases.h): Likewise.
52427 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52429         * Makeconfig ($(common-objpfx)config.status): Depend on
52430         sysdeps/*/preconfigure{,.in} too.
52432 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52434         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52435         (__free_hook): Use void * instead of __malloc_ptr_t.
52436         (__malloc_hook): Likewise.
52437         (__realloc_hook): Likewise.
52438         (__memalign_hook): Likewise.
52439         (__after_morecore_hook): Likewise.
52440         * malloc/arena.c (save_malloc_hook): Likewise.
52441         (save_free_hook): Likewise.
52442         * malloc/hooks.c (malloc_hook_ini): Likewise.
52443         (realloc_hook_ini): Likewise.
52444         (memalign_hook_ini): Likewise.
52445         * malloc/malloc.c (malloc_hook_ini): Likewise.
52446         (realloc_hook_ini): Likewise.
52447         (memalign_hook_ini): Likewise.
52448         (__free_hook): Likewise.
52449         (__malloc_hook): Likewise.
52450         (__realloc_hook): Likewise.
52451         (__memalign_hook): Likewise.
52452         (__libc_malloc): Likewise.
52453         (__libc_free): Likewise.
52454         (__libc_realloc): Likewise.
52455         (__libc_memalign): Likewise.
52456         (__libc_valloc): Likewise.
52457         (__libc_pvalloc): Likewise.
52458         (__libc_calloc): Likewise.
52459         (__posix_memalign): Likewise.
52460         * malloc/morecore.c (__sbrk): Likewise.
52461         (__default_morecore): Likewise.
52463         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52465         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52466         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52467         __malloc_ptrdiff_t.
52469         * malloc/malloc.h (__malloc_size_t): Remove macro.
52470         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52471         __malloc_size_t.
52472         (old_memalign_hook): Likewise.
52473         (old_realloc_hook): Likewise.
52474         (struct hdr): Likewise.
52475         (flood): Likewise.
52476         (mallochook): Likewise.
52477         (memalignhook): Likewise.
52478         (reallochook): Likewise.
52479         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52480         (tr_old_realloc_hook): Likewise.
52481         (tr_old_memalign_hook): Likewise.
52482         (tr_mallochook): Likewise.
52483         (tr_reallochook): Likewise.
52484         (tr_memalignhook): Likewise.
52486 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52488         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52489         default_ldbl_pack and using as default implementation.
52490         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52491         implementation.
52492         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52493         redundant definition.
52494         (ldbl_insert_mantissa): Likewise.
52495         (ldbl_canonicalize): Likewise.
52496         (ldbl_nearbyint): Likewise.
52497         (ldbl_pack): Rename to ldbl_pack_ppc.
52498         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52499         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52500         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52502 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52505         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52506         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52507         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52509         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52510         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52511         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52513 2013-03-07  Andreas Jaeger  <aj@suse.de>
52515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52516         bits/mman-linux.h.
52518 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52520         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52521         Include mpa.h and declare __MPEXP.
52522         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52523         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52524         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52525         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52526         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52527         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52528         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52530         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52531         (__slowpow): Use long double EXPL and LOGL functions to
52532         compute POW.
52533         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52534         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52535         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52536         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52537         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52538         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52541         intermediate variable to calculate exponent.
52542         (__sqr): Likewise.
52543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52544         Likewise.
52545         (__sqr): Likewise.
52547         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52548         [!NO__SQR]: Define __sqr.
52549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52550         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52551         sysdeps/ieee754/dbl-64/mpa.c.
52552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52554         [BZ #12723]
52555         * posix/Makefile (tests): Add tst-pathconf.
52556         * posix/tst-pathconf.c: New test case.
52557         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52558         _PC_PIPE_BUF.
52559         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52561 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52563         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52565 2013-03-06  Andreas Jaeger  <aj@suse.de>
52567         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52568         definition via __MAP_ANONYMOUS.
52570         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52571         it's not part of Linux headers.
52573         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52574         (MAP_HUGE_MASK): Define.
52576         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52577         Define.
52578         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52579         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52580         Define.
52581         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52582         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52583         Define.
52584         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52585         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52586         Define.
52587         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52589         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52590         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52591         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52592         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52593         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52594         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52596         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52597         Handle f2fs.
52599         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52600         Handle f2fs and efivarfs.
52602         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52603         f2fs.
52605         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52606         (EFIVARFS_MAGIC): Add.
52607         (F2FS_LINK_MAX): Add.
52609 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52611         * stdio-common/vfprintf.c: Replace __builtin_expect with
52612         __glibc_unlikely.
52614 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52616         [BZ #13550]
52617         * sysdeps/generic/bp-sym.h: Remove file.
52618         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52619         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52620         <bp-sym.h> and <bp-asm.h>.
52621         (__longjmp): Don't use BP_SYM.
52622         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52623         and <bp-asm.h>.
52624         (memcpy): Don't use BP_SYM.
52625         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52626         <bp-sym.h> and <bp-asm.h>.
52627         (memcpy): Don't use BP_SYM.
52628         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52629         <bp-asm.h>.
52630         (memcpy): Don't use BP_SYM.
52631         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52632         <bp-asm.h>.
52633         (memset): Don't use BP_SYM.
52634         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52635         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52636         (__bzero): Don't use BP_SYM.
52637         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52638         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52639         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52640         <bp-sym.h> and <bp-asm.h>.
52641         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52642         pointers.
52643         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52644         <bp-sym.h> and <bp-asm.h>.
52645         (memcpy): Don't use BP_SYM.
52646         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52647         <bp-sym.h> and <bp-asm.h>.
52648         (memset): Don't use BP_SYM.
52649         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52650         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52651         (__bzero): Don't use BP_SYM.
52652         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52653         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52654         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52655         <bp-sym.h> and <bp-asm.h>.
52656         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52657         pointers.
52658         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52659         <bp-sym.h> and <bp-asm.h>.
52660         (memcpy): Don't use BP_SYM.
52661         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52662         <bp-sym.h> and <bp-asm.h>.
52663         (memset): Don't use BP_SYM.
52664         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52665         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52666         (__bzero): Don't use BP_SYM.
52667         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52668         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52669         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52670         <bp-sym.h> and <bp-asm.h>.
52671         (__memchr): Don't use BP_SYM.
52672         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52673         <bp-sym.h> and <bp-asm.h>.
52674         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52675         pointers.
52676         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52677         <bp-sym.h> and <bp-asm.h>.
52678         (memcpy): Don't use BP_SYM.
52679         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52680         <bp-sym.h> and <bp-asm.h>.
52681         (__mempcpy): Don't use BP_SYM.
52682         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52683         <bp-sym.h> and <bp-asm.h>.
52684         (__memrchr): Don't use BP_SYM.
52685         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52686         <bp-sym.h> and <bp-asm.h>.
52687         (memset): Don't use BP_SYM.
52688         (__bzero): Likewise.
52689         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52690         <bp-sym.h> and <bp-asm.h>.
52691         (__rawmemchr): Don't use BP_SYM.
52692         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52693         <bp-sym.h> and <bp-asm.h>.
52694         (__STRCMP): Don't use BP_SYM.
52695         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52696         <bp-sym.h> and <bp-asm.h>.
52697         (strchr): Don't use BP_SYM.
52698         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52699         <bp-sym.h> and <bp-asm.h>.
52700         (__strchrnul): Don't use BP_SYM.
52701         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52702         <bp-sym.h> and <bp-asm.h>.
52703         (strlen): Don't use BP_SYM.
52704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52705         <bp-sym.h> and <bp-asm.h>.
52706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52707         pointers.
52708         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52709         <bp-sym.h> and <bp-asm.h>.
52710         (__strnlen): Don't use BP_SYM.
52711         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52712         <bp-sym.h> and <bp-asm.h>.
52713         (__GI__setjmp): Don't use BP_SYM.
52714         (_setjmp): Likewise.
52715         (__sigsetjmp): Likewise.
52716         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52717         (L(start_addresses)): Don't use BP_SYM.
52718         (_start): Likewise.
52719         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52720         <bp-asm.h>.
52721         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52722         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52723         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52724         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52725         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52726         <bp-asm.h>.
52727         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52728         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52729         about bounded pointers.
52730         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52731         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52732         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52733         <bp-asm.h>.
52734         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52735         about bounded pointers.  Remove GKM FIXME comments.
52736         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52737         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52738         <bp-asm.h>.
52739         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52740         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52741         Remove GKM FIXME comments.
52742         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52743         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52744         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52745         <bp-asm.h>.
52746         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52747         about bounded pointers.  Remove GKM FIXME comment.
52748         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52749         and <bp-asm.h>.
52750         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52751         pointers.
52752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52753         <bp-sym.h> and <bp-asm.h>.
52754         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52756         <bp-sym.h> and <bp-asm.h>.
52757         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52758         comment.
52760 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52762         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52763         call free(NULL).
52765 2013-03-05  David S. Miller  <davem@davemloft.net>
52767         * po/es.po: Update from translation team.
52769 2013-03-05  Andreas Jaeger  <aj@suse.de>
52771         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52772         <bits/mman-linux.h>.
52773         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52774         is fine.
52775         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52776         <bits/mman-linux.h> to end of file.
52777         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52778         is fine.
52779         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52780         <bits/mman-linux.h> to end of file.
52781         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52782         is fine.
52783         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52784         <bits/mman-linux.h> to end of file.
52786         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52787         (MCL_CURRENT, MCL_FUTURE): Define here.
52789 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52791         [BZ #15232]
52792         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52793         attribute_hidden.
52794         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52796 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52798         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52799         fourth parameter needed for rt_sigprocmask syscall.
52800         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52801         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52802         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52803         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52804         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52805         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52807 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52809         [BZ #13550]
52810         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52811         comment about bounded pointers.
52812         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52813         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52815 2013-03-04  Andreas Jaeger  <aj@suse.de>
52817         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52818         common definitions.
52820         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52821         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52822         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52823         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52824         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52825         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52827 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52829         [BZ #15055]
52830         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52831         __ieee754_sqrl instead of __sqrl.
52833 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52835         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52836         * sysdeps/powerpc/fpu_control.h: ... here.
52837         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52838         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52839         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52840         * sysdeps/powerpc/bits/mathinline.h: ... here.
52842 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52844         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52845         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52846         to just [NEED_DL_SYSINFO_DSO].
52847         * elf/dl-support.c: Likewise.
52848         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52849         * elf/rtld.c (dl_main): Likewise.
52850         * elf/setup-vdso.h (setup_vdso): Likewise.
52851         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52852         * sysdeps/unix/sysv/linux/dl-sysdep.c
52853         (_dl_discover_osversion): Likewise.
52855 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52857         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52858         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52860 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52862         * NEWS: Mention libm performance improvements and non-x86 PI
52863         futex support.
52865         * csu/libc-start.c (__pthread_initialize_minimal): Change
52866         function arguments.
52867         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52869 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52871         [BZ #13550]
52872         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52873         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52874         <bp-sym.h> and <bp-asm.h>.
52875         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52876         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52877         and <bp-asm.h>.
52878         (memcpy): Don't use BP_SYM.
52879         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52880         <bp-asm.h>.
52881         (__mpn_add_n): Don't use BP_SYM.
52882         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52883         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52884         and <bp-asm.h>.
52885         (__mpn_addmul_1): Don't use BP_SYM.
52886         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52887         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52888         <bp-sym.h>.
52889         (_setjmp): Don't use BP_SYM.
52890         (__novmx_setjmp): Likewise.
52891         (__GI__setjmp): Likewise.
52892         (__vmx_setjmp): Likewise.
52893         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52894         <bp-sym.h>.
52895         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52896         (__bzero): Don't use BP_SYM.
52897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52899         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52900         <bp-sym.h> and <bp-asm.h>.
52901         (memcpy): Don't use BP_SYM.
52902         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52903         <bp-sym.h> and <bp-asm.h>.
52904         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52905         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52906         <bp-sym.h> and <bp-asm.h>.
52907         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52908         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52909         <bp-asm.h>.
52910         (__mpn_lshift): Don't use BP_SYM.
52911         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52912         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52913         <bp-asm.h>.
52914         (memset): Don't use BP_SYM.
52915         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52916         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52917         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52918         <bp-asm.h>.
52919         (__mpn_mul_1): Don't use BP_SYM.
52920         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52921         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52922         <bp-sym.h> and <bp-asm.h>.
52923         (memcmp): Don't use BP_SYM.
52924         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52925         <bp-sym.h> and <bp-asm.h>.
52926         (memcpy): Don't use BP_SYM.
52927         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52928         <bp-sym.h> and <bp-asm.h>.
52929         (memset): Don't use BP_SYM.
52930         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52931         <bp-sym.h> and <bp-asm.h>.
52932         (strncmp): Don't use BP_SYM.
52933         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52934         <bp-sym.h> and <bp-asm.h>.
52935         (memcpy): Don't use BP_SYM.
52936         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52937         <bp-sym.h> and <bp-asm.h>.
52938         (memset): Don't use BP_SYM.
52939         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52940         <bp-sym.h> and <bp-asm.h>.
52941         (__memchr): Don't use BP_SYM.
52942         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52943         <bp-sym.h> and <bp-asm.h>.
52944         (memcmp): Don't use BP_SYM.
52945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52946         <bp-sym.h> and <bp-asm.h>.
52947         (memcpy): Don't use BP_SYM.
52948         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52949         <bp-sym.h> and <bp-asm.h>.
52950         (__mempcpy): Don't use BP_SYM.
52951         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52952         <bp-sym.h> and <bp-asm.h>.
52953         (__memrchr): Don't use BP_SYM.
52954         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52955         <bp-sym.h> and <bp-asm.h>.
52956         (memset): Don't use BP_SYM.
52957         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52958         <bp-sym.h> and <bp-asm.h>.
52959         (__rawmemchr): Don't use BP_SYM.
52960         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52961         <bp-sym.h> and <bp-asm.h>.
52962         (__STRCMP): Don't use BP_SYM.
52963         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52964         <bp-sym.h> and <bp-asm.h>.
52965         (strchr): Don't use BP_SYM.
52966         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52967         <bp-sym.h> and <bp-asm.h>.
52968         (__strchrnul): Don't use BP_SYM.
52969         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52970         <bp-sym.h> and <bp-asm.h>.
52971         (strlen): Don't use BP_SYM.
52972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52973         <bp-sym.h> and <bp-asm.h>.
52974         (strncmp): Don't use BP_SYM.
52975         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52976         <bp-sym.h> and <bp-asm.h>.
52977         (__strnlen): Don't use BP_SYM.
52978         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52979         <bp-asm.h>.
52980         (__mpn_rshift): Don't use BP_SYM.
52981         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52982         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52983         <bp-sym.h> and <bp-asm.h>.
52984         (__sigsetjmp): Don't use BP_SYM.
52985         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52986         (L(start_addresses)): Don't use BP_SYM.
52987         (_start): Likewise.
52988         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52989         <bp-asm.h>.
52990         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52991         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52992         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52993         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52994         <bp-asm.h>.
52995         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52996         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52997         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52998         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52999         <bp-asm.h>.
53000         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53001         comments.
53002         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53003         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53004         <bp-asm.h>.
53005         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53006         FIXME comments.
53007         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53008         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53009         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53010         <bp-asm.h>.
53011         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53012         comment.
53013         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53014         and <bp-asm.h>.
53015         (strncmp): Don't use BP_SYM,
53016         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53017         <bp-asm.h>.
53018         (__mpn_sub_n): Don't use BP_SYM.
53019         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53020         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53021         and <bp-asm.h>.
53022         (__mpn_submul_1): Don't use BP_SYM.
53023         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53025         <bp-sym.h> and <bp-asm.h>.
53026         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53028         <bp-sym.h> and <bp-asm.h>.
53029         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53030         comment.
53032 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53035         Use ZK to minimize writes to Z.
53036         (sub_magnitudes): Simplify code a bit.
53037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53038         Use ZK to minimize writes to Z.
53039         (sub_magnitudes): Simplify code a bit.
53041 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53043         * csu/gmon-start.c: Add special exception to license text.
53045 2013-02-27  Richard Henderson  <rth@redhat.com>
53047         * scripts/config.guess: Update from config.git.
53048         * scripts/config.sub: Likewise.
53050 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53052         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53054         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53056         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53058         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53060         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53062 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53064         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53065         [$(build-shared = yes].
53067 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53069         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53070         (__mul): Reduce iterations for calculating mantissa.
53072         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53073         MPTWO.
53074         (__mpranred): Likewise.
53076         [BZ #15160]
53077         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53078         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53080 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53082         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53083         Define __attribute__.
53085 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53087         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53088         unused.
53089         * posix/regex_internal.h (__attribute): Remove.
53090         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53091         (re_string_context_at): Likewise.
53092         (bitset_not): Use __attribute__ and mark function as possibly
53093         unused.
53094         (bitset_merge): Likewise.
53095         (bitset_mask): Likewise.
53096         (re_string_char_size_at): Likewise.
53097         (re_string_wchar_at): Likewise.
53098         (re_string_elem_size_at): Likewise.
53100 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53102         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53103         code.
53104         (cc32): Likewise.
53106         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53107         (__acr): Likewise.
53108         (__cpy): Likewise.
53109         (norm): Likewise.
53110         (denorm): Likewise.
53111         (__dbl_mp): Likewise.
53112         (add_magnitudes): Likewise.
53113         (sub_magnitudes): Likewise.
53114         (__mul): Likewise.
53115         (__inv): Likewise.
53117         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53118         style.
53120         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53121         style.
53123         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53124         code.
53126         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53127         up changes with default code.
53128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53129         Likewise.
53131 2013-02-24  Allan McRae  <allan@archlinux.org>
53133         * manual/socket.texi (The Internet Namespace): Order menu items
53134         to match that in the file.
53136         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53137         node listing of the info page menu.
53139 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53141         [BZ #13550]
53142         * sysdeps/i386/bp-asm.h: Remove file.
53143         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53144         (PARMS): Do not use macros from bp-asm.h.
53145         (S1): Likewise.
53146         (S2): Likewise.
53147         (SIZE): Likewise.
53148         (__mpn_add_n): Do not use BP_SYM
53149         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53150         "bp-asm.h".
53151         (PARMS): Do not use macros from bp-asm.h.
53152         (S1): Likewise.
53153         (SIZE): Likewise.
53154         (__mpn_addmul_1): Do not use BP_SYM
53155         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53156         "bp-asm.h".
53157         (PARMS): Do not use macros from bp-asm.h.
53158         (SIGMSK): Likewise.
53159         (_setjmp): Likewise.  Do not use BP_SYM.
53160         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53161         "bp-asm.h".
53162         (PARMS): Do not use macros from bp-asm.h.
53163         (SIGMSK): Likewise.
53164         (setjmp): Likewise.  Do not use BP_SYM.
53165         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53166         "bp-asm.h".
53167         (PARMS): Do not use macros from bp-asm.h.
53168         (__frexp): Do not use BP_SYM.
53169         (frexp): Likewise.
53170         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53171         "bp-asm.h".
53172         (PARMS): Do not use macros from bp-asm.h.
53173         (__frexpf): Do not use BP_SYM.
53174         (frexpf): Likewise.
53175         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53176         "bp-asm.h".
53177         (PARMS): Do not use macros from bp-asm.h.
53178         (__frexpl): Do not use BP_SYM.
53179         (frexpl): Likewise.
53180         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53181         "bp-asm.h".
53182         (PARMS): Do not use macros from bp-asm.h.
53183         (__remquo): Do not use BP_SYM.
53184         (remquo): Likewise.
53185         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53186         "bp-asm.h".
53187         (PARMS): Do not use macros from bp-asm.h.
53188         (__remquof): Do not use BP_SYM.
53189         (remquof): Likewise.
53190         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53191         "bp-asm.h".
53192         (PARMS): Do not use macros from bp-asm.h.
53193         (__remquol): Do not use BP_SYM.
53194         (remquol): Likewise.
53195         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53196         "bp-asm.h".
53197         (PARMS): Do not use macros from bp-asm.h.
53198         (DEST): Likewise.
53199         (SRC): Likewise.
53200         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53201         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53202         "bp-asm.h".
53203         (PARMS): Do not use macros from bp-asm.h.
53204         (strlen): Do not use BP_SYM.
53205         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53206         "bp-asm.h".
53207         (PARMS): Do not use macros from bp-asm.h.
53208         (S1): Likewise.
53209         (S2): Likewise.
53210         (SIZE): Likewise.
53211         (__mpn_add_n): Do not use BP_SYM.
53212         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53213         "bp-asm.h".
53214         (PARMS): Do not use macros from bp-asm.h.
53215         (S1): Likewise.
53216         (SIZE): Likewise.
53217         (__mpn_addmul_1): Do not use BP_SYM.
53218         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53219         weak_alias.
53220         (bzero): Likewise.
53221         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53222         "bp-asm.h".
53223         (PARMS): Do not use macros from bp-asm.h.
53224         (S): Likewise.
53225         (SIZE): Likewise.
53226         (__mpn_lshift): Do not use BP_SYM.
53227         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53228         "bp-asm.h".
53229         (PARMS): Do not use macros from bp-asm.h.
53230         (DEST): Likewise.
53231         (SRC): Likewise.
53232         (LEN): Likewise.
53233         (memcpy): Likewise.  Do not use BP_SYM.
53234         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53235         libc_hidden_def and weak_alias.
53236         (mempcpy): Do not use BP_SYM in weak_alias.
53237         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53238         "bp-asm.h".
53239         (PARMS): Do not use macros from bp-asm.h.
53240         (DEST): Likewise.
53241         (LEN): Likewise.
53242         [!BZERO_P] (CHR): Likewise.
53243         (memset): Likewise.  Do not use BP_SYM.
53244         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53245         "bp-asm.h".
53246         (PARMS): Do not use macros from bp-asm.h.
53247         (S1): Likewise.
53248         (SIZE): Likewise.
53249         (__mpn_mul_1): Do not use BP_SYM.
53250         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53251         "bp-asm.h".
53252         (PARMS): Do not use macros from bp-asm.h.
53253         (S): Likewise.
53254         (SIZE): Likewise.
53255         (__mpn_rshift): Do not use BP_SYM.
53256         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53257         "bp-asm.h".
53258         (PARMS): Do not use macros from bp-asm.h.
53259         (STR): Likewise.
53260         (CHR): Likewise.
53261         (strchr): Likewise.  Do not use BP_SYM.
53262         (index): Do not use BP_SYM in weak_alias.
53263         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53264         "bp-asm.h".
53265         (PARMS): Do not use macros from bp-asm.h.
53266         (DEST): Likewise.
53267         (SRC): Likewise.
53268         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53269         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53270         "bp-asm.h".
53271         (PARMS): Do not use macros from bp-asm.h.
53272         (strlen): Do not use BP_SYM.
53273         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53274         "bp-asm.h".
53275         (PARMS): Do not use macros from bp-asm.h.
53276         (S1): Likewise.
53277         (S2): Likewise.
53278         (SIZE): Likewise.
53279         (__mpn_sub_n): Do not use BP_SYM.
53280         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53281         "bp-asm.h".
53282         (PARMS): Do not use macros from bp-asm.h.
53283         (S1): Likewise.
53284         (SIZE): Likewise.
53285         (__mpn_submul_1): Do not use BP_SYM.
53286         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53287         "bp-asm.h".
53288         (PARMS): Do not use macros from bp-asm.h.
53289         (S1): Likewise.
53290         (S2): Likewise.
53291         (SIZE): Likewise.
53292         (__mpn_add_n): Do not use BP_SYM.
53293         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53294         weak_alias.
53295         (bzero): Likewise.
53296         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53297         "bp-asm.h".
53298         (PARMS): Do not use macros from bp-asm.h.
53299         (BLK2): Likewise.
53300         (LEN): Likewise.
53301         (memcmp): Do not use BP_SYM.
53302         (bcmp): Do not use BP_SYM in weak_alias.
53303         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53304         "bp-asm.h".
53305         (PARMS): Do not use macros from bp-asm.h.
53306         (DEST): Likewise.
53307         (SRC): Likewise.
53308         (LEN): Likewise.
53309         (memcpy): Likewise.  Do not use BP_SYM.
53310         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53311         "bp-asm.h".
53312         (PARMS): Do not use macros from bp-asm.h.
53313         (DEST): Likewise.
53314         (SRC): Likewise.
53315         (LEN): Likewise.
53316         (memmove): Likewise.  Do not use BP_SYM.
53317         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53318         "bp-asm.h".
53319         (PARMS): Do not use macros from bp-asm.h.
53320         (DEST): Likewise.
53321         (SRC): Likewise.
53322         (LEN): Likewise.
53323         (__mempcpy): Likewise.  Do not use BP_SYM.
53324         (mempcpy): Do not use BP_SYM in weak_alias.
53325         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53326         "bp-asm.h".
53327         (PARMS): Do not use macros from bp-asm.h.
53328         (DEST): Likewise.
53329         (LEN): Likewise.
53330         [!BZERO_P] (CHR): Likewise.
53331         (memset): Likewise.  Do not use BP_SYM.
53332         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53333         "bp-asm.h".
53334         (PARMS): Do not use macros from bp-asm.h.
53335         (STR2): Likewise.
53336         (strcmp): Do not use BP_SYM.
53337         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53338         "bp-asm.h".
53339         (PARMS): Do not use macros from bp-asm.h.
53340         (STR): Likewise.
53341         (DELIM): Likewise.
53342         [USE_AS_STRTOK_R] (SAVE): Likewise.
53343         (FUNCTION): Likewise.  Do not use BP_SYM.
53344         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53345         aliases.
53346         (strtok_r): Likewise.
53347         (__GI___strtok_r): Likewise.
53348         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53349         (PARMS): Do not use macros from bp-asm.h.
53350         (S): Likewise.
53351         (SIZE): Likewise.
53352         (__mpn_lshift): Do not use BP_SYM.
53353         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53354         (PARMS): Do not use macros from bp-asm.h.
53355         (STR): Likewise.
53356         (CHR): Likewise.
53357         (__memchr): Do not use BP_SYM.
53358         (memchr): Do not use BP_SYM in weak_alias.
53359         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53360         (PARMS): Do not use macros from bp-asm.h.
53361         (BLK2): Likewise.
53362         (LEN): Likewise.
53363         (memcmp): Do not use BP_SYM.
53364         (bcmp): Do not use BP_SYM in weak_alias.
53365         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53366         (PARMS): Do not use macros from bp-asm.h.
53367         (S1): Likewise.
53368         (SIZE): Likewise.
53369         (__mpn_mul_1): Do not use BP_SYM.
53370         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53371         "bp-asm.h".
53372         (PARMS): Do not use macros from bp-asm.h.
53373         (STR): Likewise.
53374         (CHR): Likewise.
53375         (__rawmemchr): Do not use BP_SYM.
53376         (rawmemchr): Do not use BP_SYM in weak_alias.
53377         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53378         (PARMS): Do not use macros from bp-asm.h.
53379         (S): Likewise.
53380         (SIZE): Likewise.
53381         (__mpn_rshift): Do not use BP_SYM.
53382         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53383         (PARMS): Do not use macros from bp-asm.h.
53384         (SIGMSK): Likewise.
53385         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53386         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53387         (_start): Do not use BP_SYM.
53388         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53389         (PARMS): Do not use macros from bp-asm.h.
53390         (DEST): Likewise.
53391         (SRC): Likewise.
53392         (__stpcpy): Likewise.  Do not use BP_SYM.
53393         (stpcpy): Do not use BP_SYM in weak_alias.
53394         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53395         "bp-asm.h".
53396         (PARMS): Do not use macros from bp-asm.h.
53397         (DEST): Likewise.
53398         (SRC): Likewise.
53399         (LEN): Likewise.
53400         (__stpncpy): Likewise.  Do not use BP_SYM.
53401         (stpncpy): Do not use BP_SYM in weak_alias.
53402         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53403         (PARMS): Do not use macros from bp-asm.h.
53404         (STR): Likewise.
53405         (CHR): Likewise.
53406         (strchr): Likewise.  Do not use BP_SYM.
53407         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53408         "bp-asm.h".
53409         (PARMS): Do not use macros from bp-asm.h.
53410         (STR): Likewise.
53411         (CHR): Likewise.
53412         (__strchrnul): Likewise.  Do not use BP_SYM.
53413         (strchrnul): Do not use BP_SYM in weak_alias.
53414         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53415         "bp-asm.h".
53416         (PARMS): Do not use macros from bp-asm.h.
53417         (STOP): Likewise.
53418         (strcspn): Do not use BP_SYM.
53419         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53420         "bp-asm.h".
53421         (PARMS): Do not use macros from bp-asm.h.
53422         (STR): Likewise.
53423         (STOP): Likewise.
53424         (strpbrk): Likewise.  Do not use BP_SYM.
53425         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53426         "bp-asm.h".
53427         (PARMS): Do not use macros from bp-asm.h.
53428         (STR): Likewise.
53429         (CHR): Likewise.
53430         (strrchr): Likewise.  Do not use BP_SYM.
53431         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53432         (PARMS): Do not use macros from bp-asm.h.
53433         (SKIP): Likewise.
53434         (strspn): Do not use BP_SYM.
53435         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53436         (PARMS): Do not use macros from bp-asm.h.
53437         (STR): Likewise.
53438         (DELIM): Likewise.
53439         (SAVE): Likewise.
53440         (FUNCTION): Likewise.  Do not use BP_SYM.
53441         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53442         aliases.
53443         (strtok_r): Likewise.
53444         (__GI___strtok_r): Likewise.
53445         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53446         (PARMS): Do not use macros from bp-asm.h.
53447         (S1): Likewise.
53448         (S2): Likewise.
53449         (SIZE): Likewise.
53450         (__mpn_sub_n): Do not use BP_SYM.
53451         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53452         "bp-asm.h".
53453         (PARMS): Do not use macros from bp-asm.h.
53454         (S1): Likewise.
53455         (SIZE): Likewise.
53456         (__mpn_submul_1): Do not use BP_SYM.
53457         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53458         <bp-sym.h>.
53459         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53460         and <bp-asm.h>.
53461         (PARMS): Do not use macros from bp-asm.h.
53462         (FLAGS): Likewise.
53463         (PTID): Likewise.
53464         (TLS): Likewise.
53465         (CTID): Likewise.
53466         (__clone): Do not use BP_SYM.
53467         (clone): Do not use BP_SYM in weak_alias.
53468         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53469         and <bp-asm.h>.
53470         (PARMS): Do not use macros from bp-asm.h.
53471         (LEN): Likewise.
53472         (__mmap64): Do not use BP_SYM.
53473         (mmap64): Do not use BP_SYM in weak_alias.
53474         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53475         <bp-sym.h> and <bp-asm.h>.
53476         (PARMS): Do not use macros from bp-asm.h.
53477         (__posix_fadvise64_l64): Do not use BP_SYM.
53478         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53479         (PARMS): Do not use macros from bp-asm.h.
53480         (NSOPS): Likewise.
53481         (semtimedop): Do not use BP_SYM.
53482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53483         and <bp-asm.h>.
53485 2013-02-21  Allan McRae  <allan@archlinux.org>
53487         * manual/message.texi (Charset conversion in gettext):
53488         Move @end statement to beginning of line.
53490 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53492         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53493         static.
53494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53495         Likewise.
53497         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53498         (denorm): Likewise.
53499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53502 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53504         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53505         tail-call to the resolved function if pltexit isn't needed.
53507 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53509         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53510         or Y being zero as being unlikely.
53511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53512         Likewise.
53514 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53516         * manual/nss.texi (System Databases and Name Service Switch):
53517         Remove frobnicate @pxref.
53519 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53521         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53522         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53524 2013-02-20  Petr Machata  <pmachata@redhat.com>
53526         * elf/elf.h (R_ARM_TARGET1): New macro.
53527         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53528         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53529         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53530         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53531         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53532         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53533         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53534         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53535         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53536         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53537         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53538         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53539         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53540         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53541         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53542         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53543         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53544         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53545         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53546         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53547         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53548         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53549         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53550         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53551         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53552         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53553         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53554         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53555         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53556         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53557         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53558         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53559         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53560         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53561         (R_ARM_THM_GOT_BREL12): Likewise.
53562         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53563         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53564         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53565         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53566         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53567         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53568         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53569         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53570         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53572 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53574         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53575         __attribute_used__ to __attribute__ ((unused)).
53577 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53579         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53580         powerpc mpa.c.
53581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53582         comment formatting.
53583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53585 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53587         [BZ #13550]
53588         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53589         Remove macro.
53590         (ENTER): Remove both macro definitions.
53591         (LEAVE): Likewise.
53592         (CHECK_BOUNDS_LOW): Likewise.
53593         (CHECK_BOUNDS_HIGH): Likewise.
53594         (CHECK_BOUNDS_BOTH): Likewise.
53595         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53596         (RETURN_BOUNDED_POINTER): Likewise.
53597         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53598         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53599         (POP_ERRNO_LOCATION_RETURN): Likewise.
53600         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53601         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53602         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53603         macros.
53604         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53605         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53606         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53607         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53608         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53609         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53610         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53611         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53612         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53613         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53614         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53615         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53616         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53617         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53618         removed macros.
53619         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53620         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53621         macros.
53622         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53623         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53624         * sysdeps/i386/i586/memset.S (memset): Likewise.
53625         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53626         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53627         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53628         macros.
53629         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53630         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53631         Change uses of L(2) to L(out).
53632         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53633         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53634         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53635         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53636         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53637         removed macros.
53638         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53639         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53640         macros.
53641         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53642         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53643         (RETURN): Do not use macro LEAVE.
53644         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53645         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53646         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53647         * sysdeps/i386/i686/memset.S (memset): Likewise.
53648         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53649         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53650         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53651         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53652         Likewise.
53653         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53654         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53655         L(1_2) and L(1_3) into L(1).
53656         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53657         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53658         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53659         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53660         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53661         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53662         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53663         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53664         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53665         macros.
53666         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53667         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53668         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53669         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53670         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53671         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53672         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53673         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53674         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53675         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53676         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53677         * sysdeps/i386/strspn.S (strspn): Likewise.
53678         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53679         conditional code.
53680         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53681         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53682         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53683         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53684         L(1_3) into L(1_1).
53685         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53686         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53687         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53688         macros.
53689         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53691 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53693         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53694         macro.
53696 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53698         * math/atest-exp.c (exp_mpn): Remove ROUND.
53699         * math/atest-exp2.c (exp_mpn): Likewise.
53700         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53702         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53703         * stdlib/tst-tls-atexit-lib.c: Likewise.
53704         * stdlib/tst-tls-atexit.c: Likewise.
53706 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53708         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53709         and __attribute_alloc_size__.
53711 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53713         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53714         __attribute_alloc_size__.
53715         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53716         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53718 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53720         * include/programs/xmalloc.h: New file.
53721         * catgets/gencat.c: Include it.
53722         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53723         * elf/pldd.c: Likewise.
53724         * iconv/iconv_charmap.c: Likewise.
53725         * iconv/iconvconfig.c: Likewise.
53726         * iconv/strtab.c: Likewise.
53727         * locale/programs/locale.c: Likewise.
53728         * locale/programs/localedef.h: Likewise.
53729         * locale/programs/simple-hash.c: Likewise.
53730         * nscd/nscd.h: Likewise.
53731         * nss/makedb.c: Likewise.
53732         * sysdeps/generic/ldconfig.h: Likewise.
53734 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53736         * Versions.def: Add GLIBC_2.18.
53737         * include/link.h (struct link_map): New member l_tls_dtor_count.
53738         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53739         (__call_tls_dtors): Likewise.
53740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53741         __cxa_thread_atexit_impl.
53742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53743         Likewise.
53744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53745         Likewise.
53746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53747         Likewise.
53748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53749         Likewise.
53750         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53752         Likewise.
53753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53754         Likewise.
53755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53757         Likewise.
53758         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53759         (tests): Add test case tst-tls-atexit.
53760         (modules-names): Add shared library for tst-tls-atexit.
53761         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53762         (GLIBC_PRIVATE): Add __call_tls_dtors.
53763         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53764         for libstdc++.
53765         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53766         * stdlib/tst-tls-atexit.c: New test case.
53767         * stdlib/tst-tls-atexit-lib.c: New test case.
53769         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53771         * elf/Versions (ld): Add _dl_find_dso_for_object.
53772         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53773         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53774         (dl_open_worker): Use _dl_find_dso_for_object.
53775         * elf/dl-sym.c (do_sym): Likewise.
53776         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53778 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53780         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53781         Syntactic changes only.
53782         (_dl_runtime_profile): Do a tail-call to the resolved function.
53784 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53786         [BZ #13550]
53787         * sysdeps/x86_64/bp-asm.h: Remove file.
53788         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53789         <bp-sym.h> and <bp-asm.h>.
53790         (__clone): Do not use BP_SYM.
53791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53792         <bp-sym.h> and <bp-asm.h>.
53793         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53794         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53795         "bp-asm.h".
53796         (_setjmp): Do not use BP_SYM.
53797         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53798         "bp-asm.h".
53799         (setjmp): Do not use BP_SYM.
53800         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53801         libc_hidden_def.
53802         (mempcpy): Do not use BP_SYM in weak_alias.
53803         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53804         "bp-asm.h".
53805         (strchr): Do not use BP_SYM.
53806         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53807         "bp-asm.h".
53808         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53809         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53810         (_start): Do not use BP_SYM.
53811         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53812         "bp-asm.h".
53813         (strcat): Do not use BP_SYM.
53814         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53815         "bp-asm.h".
53816         (STRCMP): Do not use BP_SYM.
53817         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53818         "bp-asm.h".
53819         (STRCPY): Do not use BP_SYM.
53820         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53821         "bp-asm.h".
53822         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53823         "bp-asm.h".
53824         (FUNCTION): Do not use BP_SYM.
53825         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53826         weak_alias.
53827         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53829 2013-02-17  Andreas Jaeger  <aj@suse.de>
53831         * time/Versions: Sort entries.
53832         * string/Versions: Likewise.
53833         * resolv/Versions: Likewise.
53834         * posix/Versions: Likewise.
53835         * iconv/Versions: Likewise.
53836         * elf/Versions: Likewise.
53837         * wcsmbs/Versions: Likewise.
53839 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53841         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53842         loop termination condition.
53844         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53845         variable to calculate EZ.
53846         (__sqr): Likewise.
53848         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53849         the lower precision input.
53851 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53853         [BZ #13550]
53854         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53855         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53856         (run-via-rtld-prefix): Do not handle %-bp tests.
53857         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53858         (all-object-suffixes): Remove .ob.
53859         (bppfx): Remove variable.
53860         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53861         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53862         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53863         [$(build-bounded) = yes] (libtype.ob): Likewise.
53864         * Makerules (elide-routines.ob): Remove variable.
53865         (do-tests-clean): Do not handle *-bp.out.
53866         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53867         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53868         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53869         (tests): Do not include $(tests-bp.out).
53870         (xtests): Do not include $(xtests-bp.out).
53871         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53872         [$(build-bounded) = yes] ($(addprefix
53873         $(objpfx),$(binaries-bounded))): Remove rule.
53874         ($(objpfx)%-bp.out): Remove rule.
53875         * config.make.in (build-bounded): Remove variable.
53876         * crypt/Makefile [$(build-bounded) = yes]
53877         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53878         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53879         append to variable.
53880         [$(build-bounded) = yes] (install-lib): Likewise.
53881         [$(build-bounded) = yes] (generated): Likewise.
53882         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53883         Remove rule.
53884         * intl/Makefile [$(build-bounded) = yes]
53885         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53886         * math/Makefile [$(build-bounded) = yes]
53887         ($(tests:%=$(objpfx)%-bp): Likewise.
53888         * misc/Makefile [$(build-bounded) = yes]
53889         ($(objpfx)tst-tsearch-bp): Likewise.
53890         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53891         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53892         Remove dependency.
53893         * string/Makefile (o-objects.ob): Remove variable.
53894         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53895         (CFLAGS-.ob): Remove variable.
53896         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53897         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53898         both definitions of variable.
53899         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53900         (ASFLAGS-.ob): Remove variable.
53902 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53904         [BZ #13550]
53905         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53906         Remove __BOUNDED_POINTERS__ from condition.
53907         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53908         * string/bits/string2.h [!__NO_STRING_INLINES &&
53909         !__BOUNDED_POINTERS__]: Likewise.
53910         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53911         Likewise.
53912         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53913         Remove conditional code.
53914         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53915         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53916         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53917         condition.
53919         [BZ #13550]
53920         * csu/libc-start.c: Do not include <bp-sym.h>.
53921         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53922         * elf/dl-open.c: Do not include <bp-sym.h>.
53923         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53924         * math/fegetenv.c: Do not include <bp-sym.h>.
53925         (fegetenv): Do not use BP_SYM in versioned symbols.
53926         * nptl/sysdeps/pthread/bits/libc-lockP.h
53927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53928         <bp-sym.h>.
53929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53930         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53932         (__pthread_mutex_destroy): Likewise.
53933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53934         (__pthread_mutex_lock): Likewise.
53935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53936         (__pthread_mutex_trylock): Likewise.
53937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53938         (__pthread_mutex_unlock): Likewise.
53939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53940         (__pthread_mutexattr_init): Likewise.
53941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53942         (__pthread_mutexattr_destroy): Likewise.
53943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53944         (__pthread_mutexattr_settype): Likewise.
53945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53946         (__pthread_rwlock_init): Likewise.
53947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53948         (__pthread_rwlock_destroy): Likewise.
53949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53950         (__pthread_rwlock_rdlock): Likewise.
53951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53952         (__pthread_rwlock_tryrdlock): Likewise.
53953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53954         (__pthread_rwlock_wrlock): Likewise.
53955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53956         (__pthread_rwlock_trywrlock): Likewise.
53957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53958         (__pthread_rwlock_unlock): Likewise.
53959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53960         (__pthread_key_create): Likewise.
53961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53962         (__pthread_setspecific): Likewise.
53963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53964         (__pthread_getspecific): Likewise.
53965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53966         Likewise.
53967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53968         (_pthread_cleanup_push_defer): Likewise.
53969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53970         (_pthread_cleanup_pop_restore): Likewise.
53971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53972         (pthread_setcancelstate): Likewise.
53973         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53974         <bp-sym.h>.
53975         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53976         (memchr): Do not use BP_SYM in weak_alias.
53977         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53978         (fegetenv): Do not use BP_SYM in versioned symbols.
53979         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53980         (fesetenv): Do not use BP_SYM in versioned symbols.
53981         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53982         (feupdateenv): Do not use BP_SYM in versioned symbols.
53983         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53984         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53985         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53986         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53987         (open64): Do not use BP_SYM in weak_alias.
53988         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53989         (fegetenv): Do not use BP_SYM in versioned symbols.
53990         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53991         (fesetenv): Do not use BP_SYM in versioned symbols.
53992         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53993         (feupdateenv): Do not use BP_SYM in versioned symbols.
53994         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53995         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53996         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53997         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53998         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53999         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54000         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54001         <bp-sym.h>.
54002         (__libc_start_main): Do not use BP_SYM.
54004 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54007         redundant return line.
54008         (norm): Likewise.
54009         (denorm): Likewise.
54010         (dbl_mp): Likewise.
54011         (sub_magnitudes): Likewise.
54012         (__add): Likewise.
54013         (__sub): Likewise.
54014         (__mul): Likewise.
54015         (__inv): Likewise.
54016         (__dvd): Likewise.
54017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54018         (norm): Likewise.
54019         (denorm): Likewise.
54020         (dbl_mp): Likewise.
54021         (sub_magnitudes): Likewise.
54022         (__add): Likewise.
54023         (__sub): Likewise.
54024         (__mul): Likewise.
54025         (__inv): Likewise.
54026         (__dvd): Likewise.
54028         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54029         instead of __mul.
54030         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54031         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54032         (cc32): Likewise.
54034         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54035         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54036         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54037         of __mul for squares.
54038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54039         function
54040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54041         Likewise.
54042         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54043         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54045 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54047         [BZ #13550]
54048         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54049         code.
54050         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54051         prototype or function definition.  Rename ubp_* variables and
54052         parameters.  Remove argv definitions conditional on
54053         [__BOUNDED_POINTERS__].
54054         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54055         * elf/dl-runtime.c (_dl_fixup): Likewise.
54056         * include/set-hooks.h (RUN_HOOK): Likewise.
54057         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54058         definition.
54059         * string/strcpy.c (strcpy): Do not use __unbounded.
54060         * sysdeps/generic/frame.h (struct layout): Likewise.
54061         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54062         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54063         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54064         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54065         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54066         (__backtrace): Likewise.
54067         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54068         use __ptrvalue.
54069         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54070         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54071         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54072         Likewise.
54073         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54074         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54075         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54076         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54077         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54078         Do not use __unbounded.
54079         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54080         Rename __unboundedrlimits parameter to rlimits in prototype.
54081         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54082         Do not use __unbounded.
54083         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54084         not use __ptrvalue.
54085         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54086         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54087         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54088         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54089         __ptrvalue or __unbounded.
54090         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54091         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54092         use __unbounded.
54093         (__new_msgctl): Do not use __ptrvalue.
54094         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54095         __unbounded.
54096         (__libc_msgrcv): Do not use __ptrvalue.
54097         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54098         startup_info): Do not use __unbounded.
54099         (__libc_start_main): Likewise.  Rename ubp_* variables and
54100         parameters.  Remove argv definitions conditional on
54101         [__BOUNDED_POINTERS__].
54102         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54103         __ptrvalue.
54104         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54105         use __unbounded.
54106         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54107         or __ptrvalue.
54108         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54109         use __unbounded.
54110         (__new_shmctl): Do not use __ptrvalue.
54111         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54112         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54113         Likewise.
54114         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54115         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54116         (__libc_sigaction): Likewise.
54117         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54118         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54119         Likewise.
54120         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54122 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54124         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54126         * string/mempcpy.c: Implement by calling memcpy.
54128 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54132         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54133         evaluation.
54135         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54136         values in the mantissa.
54138         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54139         minimize writes to Z.
54140         (sub_magnitudes): Simplify code a bit.
54142 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54144         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54145         from the message.  The linker prefixes all warnings with that already.
54147 2013-02-12  Andreas Schwab  <schwab@suse.de>
54149         [BZ #15078]
54150         * posix/regexec.c (extend_buffers): Add parameter min_len.
54151         (check_matching): Pass minimum needed length.
54152         (clean_state_log_if_needed): Likewise.
54153         (get_subexp): Likewise.
54154         * posix/Makefile (tests): Add bug-regex34.
54155         (bug-regex34-ENV): Define.
54156         * posix/bug-regex34.c: New file.
54158         [BZ #11561]
54159         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54160         elements compare against the byte sequence of it, not its name.
54161         * posix/Makefile (tests): Add bug-regex35.
54162         (bug-regex35-ENV): Define.
54163         * posix/bug-regex35.c: New file.
54165 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54167         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54168         comment.
54169         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54170         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54171         (CHECK_EOL): Add undef.
54173 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54175         * bits/stdlib-bsearch.h: New file.
54176         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54177         * stdlib/stdlib.h: Likewise.
54179 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54181         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54182         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54183         declaration.
54184         * manual/search.texi (Array Search Function): Add missing const in
54185         lfind prototype.
54186         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54187         declaration to use rlim_t.
54188         (Basic Scheduling Functions): Remove erroneous const from
54189         sched_getparam prototype.  Remove erroneous * from
54190         sched_get_priority_max and sched_get_priority_min prototypes.
54191         (Resource Usage): Fix summary @comment on vtimes to refer to
54192         sys/vtimes.h rather than vtimes.h.
54193         Add missing *s in vtimes prototype.
54194         (Limits on Resources): Fix ulimit prototype to return long int.
54195         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54196         prototypes to use long int rather than double.
54197         (BSD Random): Fix initstate and setstate to use char *, not void *.
54198         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54199         prototype to make second argument 'struct aiocb64 *const[]'.
54200         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54201         (Status of AIO Operations): Remove erroneous const in aio_return and
54202         aio_return64 prototypes.
54203         (Synchronizing I/O): Fix sync prototype to return void.
54204         * manual/startup.texi (Suboptions): Remove an erroneous const in
54205         getsubopt prototype.
54206         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54207         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54208         use size_t rather than int.
54209         (Scanning All Users): Likewise for getpwent_r.
54210         (Setting Groups): Add missing const to setgroups prototype.
54211         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54212         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54213         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54214         'const void *' rather than 'const char *'.
54215         (Host Address Functions): Likewise for inet_ntop.
54216         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54217         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54218         ssize_t for return value.
54219         (Sending Data): Likewise for send, sendto, sendmsg.
54220         (Socket Option Functions): Add a missing const in setsockopt prototype.
54221         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54222         use wchar_t for the argument.
54223         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54224         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54225         take no arguments.
54226         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54227         double/float/long double for second argument.
54228         Fix return types of significand, significandf, significandl.
54229         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54230         argument in fchmod prototype.
54231         (File Owner): Use uid_t and gid_t in fchown prototype.
54232         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54233         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54234         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54235         use 'const struct dirent **' as argument types to CMP function pointer
54236         argument.
54237         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54238         (File Times): Fix summary magic @comment for struct utimbuf and utime
54239         to refer to utime.h, not time.h.
54240         * manual/string.texi (Argz Functions): Add missing const in
54241         argz_extract and argz_next prototypes.
54242         (Finding Tokens in a String): Likewise for basename.
54243         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54244         (Copying and Concatenation): Fix typo in wmemmove prototype.
54245         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54246         (Signal Stack): Remove erroneous const in sigstack prototype.
54247         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54248         prototype.
54249         (Simple Calendar Time): Likewise for stime.
54250         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54251         prototype.
54252         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54253         say sys/sysctl.h instead.
54254         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54255         and vsyslog prototypes.
54257 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54259         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54260         Remove.
54262 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54264         * misc/sys/mman.h: Fix typo in mremap comment.
54266 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54268         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54269         the '\0' terminator.
54271 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54273         [BZ #13550]
54274         * debug/segfault.c: Don't include <bp-checks.h>.
54275         * sysdeps/generic/bp-checks.h: Remove file.
54276         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54277         (__GETDENTS): Don't use CHECK_N.
54278         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54279         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54280         (__getgroups): Don't use CHECK_N.
54281         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54282         (setgroups): Don't use CHECK_N.
54283         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54284         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54285         (__libc_msgrcv): Don't use CHECK_N.
54286         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54287         (__libc_msgsnd): Don't use CHECK_N.
54288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54289         <bp-checks.h>.
54290         (__libc_pread): Don't use CHECK_N.
54291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54292         include <bp-checks.h>.
54293         (__libc_pread64): Don't use CHECK_N.
54294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54295         include <bp-checks.h>.
54296         (__libc_pwrite): Don't use CHECK_N.
54297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54298         include <bp-checks.h>.
54299         (__libc_pwrite64): Don't use CHECK_N.
54300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54301         <bp-checks.h>.
54302         (__libc_pread): Don't use CHECK_N.
54303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54304         include <bp-checks.h>.
54305         (__libc_pread64): Don't use CHECK_N.
54306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54307         include <bp-checks.h>.
54308         (__libc_pwrite): Don't use CHECK_N.
54309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54310         include <bp-checks.h>.
54311         (__libc_pwrite64): Don't use CHECK_N.
54312         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54313         (do_pread): Don't use CHECK_N.
54314         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54315         (do_pread64): Don't use CHECK_N.
54316         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54317         (do_pwrite): Don't use CHECK_N.
54318         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54319         (do_pwrite64): Don't use CHECK_N.
54320         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54321         (__libc_readv): Don't use CHECK_N.
54322         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54323         (semop): Don't use CHECK_N.
54324         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54325         <bp-checks.h>.
54326         (semtimedop): Don't use CHECK_N.
54327         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54328         (__libc_pread): Don't use CHECK_N.
54329         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54330         <bp-checks.h>.
54331         (__libc_pread64): Don't use CHECK_N.
54332         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54333         <bp-checks.h>.
54334         (__libc_pwrite): Don't use CHECK_N.
54335         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54336         <bp-checks.h>.
54337         (__libc_pwrite64): Don't use CHECK_N.
54338         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54339         <bp-checks.h>.
54340         (__libc_msgrcv): Don't use CHECK_N.
54341         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54342         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54343         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54344         (__libc_writev): Don't use CHECK_N.
54346 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54348         * string/strcpy.c: Removed unused variable.
54350         * Makeconfig (+sysdep-includes): Define with := rather than =.
54351         Use an existing include/ subdir of each sysdeps dir before it.
54353 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54355         * nscd/connection.c (register_traced_file): Comment function.
54356         [HAVE_INOTIFY] (union __inev): Define.
54357         [HAVE_INOTIFY] (inotify_check_files): New function.
54358         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54359         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54360         clear_db_cache.
54361         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54363 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54365         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54366         loaded if not already and that a failure is permanent.
54368 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54370         [BZ #15006]
54371         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54372         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54374 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54376         [BZ #13550]
54377         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54378         (CHECK_1_NULL_OK): Likewise.
54379         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54380         (__fxstat): Do not use CHECK_1.
54381         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54382         <bp-checks.h>.
54383         (___fxstat64): Do not use CHECK_1.
54384         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54385         <bp-checks.h>.
54386         (__fxstatat): Do not use CHECK_1.
54387         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54388         <bp-checks.h>.
54389         (__fxstatat64): Do not use CHECK_1.
54390         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54391         <bp-checks.h>.
54392         (__fxstat): Do not use CHECK_1.
54393         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54394         <bp-checks.h>.
54395         (__fxstatat): Do not use CHECK_1.
54396         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54397         <bp-checks.h>.
54398         (__getresgid): Do not use CHECK_1.
54399         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54400         <bp-checks.h>.
54401         (__getresuid): Do not use CHECK_1.
54402         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54403         <bp-checks.h>.
54404         (__lxstat): Do not use CHECK_1.
54405         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54406         <bp-checks.h>.
54407         (__old_msgctl): Do not use CHECK_1.
54408         (__new_msgctl): Likewise.
54409         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54410         <bp-checks.h>.
54411         (__new_setrlimit): Do not use CHECK_1.
54412         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54413         <bp-checks.h>.
54414         (__old_shmctl): Do not use CHECK_1.
54415         (__new_shmctl): Likewise.
54416         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54417         <bp-checks.h>.
54418         (__xstat): Do not use CHECK_1.
54419         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54420         (__lxstat): Do not use CHECK_1.
54421         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54422         <bp-checks.h>.
54423         (___lxstat64): Do not use CHECK_1.
54424         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54425         (__old_msgctl): Do not use CHECK_1.
54426         (__new_msgctl): Likewise.
54427         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54428         <bp-checks.h>.
54429         (__gettimeofday): Do not use CHECK_1.
54430         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54431         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54432         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54433         <bp-checks.h>.
54434         (__gettimeofday): Do not use CHECK_1.
54435         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54436         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54437         (__new_shmctl): Do not use CHECK_1.
54438         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54439         <bp-checks.h>.
54440         (do_sigtimedwait): Do not use CHECK_1.
54441         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54442         <bp-checks.h>.
54443         (do_sigwaitinfo): Do not use CHECK_1.
54444         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54445         <bp-checks.h>.
54446         (msgctl): Do not use CHECK_1.
54447         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54448         <bp-checks.h>.
54449         (shmctl): Do not use CHECK_1.
54450         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54451         (ustat): Do not use CHECK_1.
54452         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54453         <bp-checks.h>.
54454         (__fxstat): Do not use CHECK_1.
54455         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54456         <bp-checks.h>.
54457         (__fxstatat): Do not use CHECK_1.
54458         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54459         <bp-checks.h>.
54460         (__lxstat): Do not use CHECK_1.
54461         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54462         <bp-checks.h>.
54463         (__xstat): Do not use CHECK_1.
54464         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54465         (__xstat): Do not use CHECK_1.
54466         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54467         (___xstat64): Do not use CHECK_1.
54469         [BZ #13550]
54470         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54471         definitions.
54472         (CHECK_BOUNDS_HIGH): Likewise.
54473         * string/strcpy.c: Do not include <bp-checks.h>.
54474         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54476 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54478         * nscd/nscd-client.h (__nscd_drop_map_ref):
54479         Add __attribute__ ((unused)).
54480         * nis/nss-nisplus.h (niserr2nss): Likewise.
54482         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54483         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54485         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54486         Remove inline keyword.
54487         * include/rounding-mode.h (round_away): Likewise.
54488         * libio/wfileops.c (adjust_wide_data): Likewise.
54489         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54490         (__m128i_strloadu_tolower): Likewise.
54491         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54492         (__m128i_strloadu_tolower): Likewise.
54493         * time/mktime.c (ydhms_diff): Likewise.
54494         * locale/elem-hash.h (elem_hash): Likewise.
54495         * locale/setlocale.c (setdata): Likewise.
54496         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54497         (re_string_wchar_at): Likewise.
54498         (bitset_not, bitset_merge, bitset_mask): Likewise.
54499         [!(__GNUC__ > 3)] (inline): Remove macro.
54500         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54501         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54502         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54503         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54504         * string/memcmp.c (memcmp_bytes): Likewise.
54505         * locale/programs/locarchive.c (compute_hashval): Likewise.
54506         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54507         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54508         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54509         * nss/getent.c (print_rpc, print_protocols): Likewise.
54510         (print_passwd, print_group, print_aliases): Likewise.
54511         * nis/nss-nisplus.h (niserr2nss): Likewise.
54512         * nscd/connections.c (restart_p): Likewise.
54513         Change return type to bool.
54515 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54517         * Makeconfig (all-Depend-files): Add existing
54518         $(sorted-subdirs:=/Depend) files.
54519         (all-subdirs): Remove nss.
54520         * sysdeps/unix/inet/Subdirs: Add it here instead.
54521         * hesiod/Depend: New file.
54523         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54524         instead of calling alloca.
54526         * io/lseek.c (__lseek): Rename to __libc_lseek.
54527         Define __lseek as an alias.
54529         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54531 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54533         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54534         else clause and remove check for non-standard endianness.
54536 2013-02-04  David S. Miller  <davem@davemloft.net>
54538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54540 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54542         [BZ #13550]
54543         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54544         (__ubp_memchr): Remove prototype.
54545         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54546         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54547         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54548         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54549         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54550         Remove alias.
54551         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54552         (__ubp_memchr): Likewise.
54553         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54554         (__ubp_memchr): Likewise.
54555         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54556         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54557         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54558         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54559         CHECK_STRING.
54560         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54561         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54562         (__getcwd): Do not use CHECK_STRING.
54563         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54564         <bp-checks.h>.
54565         (__real_chown): Do not use CHECK_STRING.
54566         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54567         <bp-checks.h>.
54568         (fchownat): Do not use CHECK_STRING.
54569         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54570         CHECK_STRING.
54571         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54572         <bp-checks.h>.
54573         (__lchown): Do not use CHECK_STRING.
54574         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54575         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54576         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54577         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54579         include <bp-checks.h>.
54580         (truncate64): Do not use CHECK_STRING.
54581         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54582         <bp-checks.h>.
54583         (__real_chown): Do not use CHECK_STRING.
54584         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54585         <bp-checks.h>.
54586         (__lchown): Do not use CHECK_STRING.
54587         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54588         <bp-checks.h>.
54589         (__chown): Do not use CHECK_STRING.
54590         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54591         <bp-checks.h>.
54592         (truncate64): Do not use CHECK_STRING.
54593         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54594         Likewise.
54595         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54596         (__xmknod): Do not use CHECK_STRING.
54597         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54598         <bp-checks.h>.
54599         (__xmknodat): Do not use CHECK_STRING.
54600         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54601         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54603 2013-02-04  Andreas Schwab  <schwab@suse.de>
54605         [BZ #14142]
54606         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54607         * include/netdb.h: Likewise for h_errno.
54608         * elf/tst-stackguard1.c: Include <tls.h>.
54610 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54612         * elf/link.h (struct link_map): Extend the l_addr comment.
54613         * include/link.h (struct link_map): Likewise.
54615 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54617         [BZ #13550]
54618         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54619         (BOUNDED_1): Remove macro.
54620         * debug/backtrace.c: Don't include <bp-checks.h>.
54621         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54622         (__backtrace): Likewise.
54623         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54624         <bp-checks.h>.
54625         (__backtrace): Don't use BOUNDED_1.
54626         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54627         <bp-checks.h>.
54628         (__backtrace): Don't use BOUNDED_1.
54629         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54630         (__backtrace): Don't use BOUNDED_1.
54631         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54632         (shmat): Don't use BOUNDED_N.
54634 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54636         [BZ #13550]
54637         * sysdeps/generic/bp-start.h: Remove file.
54638         * csu/libc-start.c: Don't include <bp-start.h>.
54639         (LIBC_START_MAIN): Set up __environ directly instead of using
54640         INIT_ARGV_and_ENVIRON.
54641         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54642         <bp-start.h>.
54644         [BZ #13550]
54645         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54646         definitions.
54647         (CHECK_FCNTL): Likewise.
54648         (CHECK_N_PAGES): Likewise.
54650         [BZ #13550]
54651         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54652         definitions.
54653         (CHECK_SIGSET_NULL_OK): Likewise.
54654         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54655         <bp-checks.h>.
54656         (sigpending): Don't use CHECK_SIGSET.
54657         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54658         <bp-checks.h>.
54659         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54660         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54661         <bp-checks.h>.
54662         (do_sigsuspend): Don't use CHECK_SIGSET.
54663         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54664         use CHECK_SIGSET.
54665         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54666         (do_sigwait): Don't use CHECK_SIGSET.
54667         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54668         use CHECK_SIGSET.
54669         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54670         include <bp-checks.h>.
54671         (sigpending): Don't use CHECK_SIGSET.
54672         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54673         include <bp-checks.h>.
54674         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54675         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54676         <bp-checks.h>.
54677         (sigpending): Don't use CHECK_SIGSET.
54678         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54679         <bp-checks.h>.
54680         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54682         [BZ #13550]
54683         * sysdeps/generic/bp-semctl.h: Remove file.
54684         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54685         <bp-checks.h> and <bp-semctl.h>.
54686         (__old_semctl): Don't use CHECK_SEMCTL.
54687         (__new_semctl): Likewise.
54688         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54689         and <bp-semctl.h>.
54690         (__old_semctl): Don't use CHECK_SEMCTL.
54691         (__new_semctl): Likewise.
54692         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54693         <bp-checks.h> and <bp-semctl.h>.
54694         (__old_semctl): Don't use CHECK_SEMCTL.
54695         (__new_semctl): Likewise.
54696         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54697         <bp-checks.h> and <bp-semctl.h>.
54698         (semctl): Don't use CHECK_SEMCTL.
54700         [BZ #13550]
54701         * Makerules (elide-bp-thunks): Remove variable.
54702         (elide-routines.oS): Don't use $(elide-bp-thunks).
54703         (elide-routines.os): Likewise.
54704         (elide-routines.o): Likewise.
54705         (elide-routines.op): Likewise.
54706         (elide-routines.og): Likewise.
54707         (objects): Don't use $(bp-thunks).
54708         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54709         include.
54710         (common-generated): Do not add s-proto-bp.d.
54711         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54712         (int): Likewise.
54713         (typ): Likewise.
54714         Do not generate makefile rules for bounded-pointer thunks.
54715         * sysdeps/generic/bp-thunks.h: Remove file.
54716         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54717         * sysdeps/unix/s-proto-bp.S: Likewise.
54719         [BZ #15062]
54720         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54721         parts of result separately when argument is not close to line from
54722         -i to i and one part of argument is small.
54723         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54724         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54725         * math/libm-test.inc (cacos_test): Add more tests.
54726         (casin_test): Likewise.
54727         (casinh_test): Likewise.
54728         * sysdeps/i386/fpu/libm-test-ulps: Update.
54729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54731 2013-01-31  David S. Miller  <davem@davemloft.net>
54733         * po/de.po: Update from translation team.
54735 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54737         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54739 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54741         * configure.in (_AC_PROG_CC_C89): New definition.
54742         * configure: Regenerate.
54744         * configure.in (AC_PROG_CPP): New definition.
54745         * configure: Regenerate.
54747 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54749         * debug/tst-backtrace.h: New file.
54750         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54751         (ret): Remove variable.
54752         (x): Likewise.
54753         (FAIL): Remove macro.
54754         (NO_INLINE): Likewise.
54755         (fn1): Use match function instead of strstr.
54756         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54757         (ret): Remove variable.
54758         (x): Likewise.
54759         (FAIL): Remove macro.
54760         (NO_INLINE): Likewise.
54761         (fn): Use match function instead of strstr.
54762         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54763         (ret): Remove variable.
54764         (x): Likewise.
54765         (FAIL): Remove macro.
54766         (NO_INLINE): Likewise.
54767         (handle_signal): Use match function instead of strstr.
54768         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54769         (ret): Remove variable.
54770         (x): Likewise.
54771         (FAIL): Remove macro.
54772         (NO_INLINE): Likewise.
54773         (handle_signal): Use match function instead of strstr.
54775 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54777         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54779 2013-01-23  David S. Miller  <davem@davemloft.net>
54781         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54782         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54783         argument of CAS if possible.
54784         * sysdeps/sparc/sparc64/bits/atomic.h
54785         (__arch_compare_and_exchange_val_32_acq): Likewise.
54786         (__arch_compare_and_exchange_val_64_acq): Likewise.
54788 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54790         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54791         * sysdeps/posix/ulimit.c: ... this.
54792         Include <limits.h>.
54793         * sysdeps/unix/bsd/ulimit.c: Remove file.
54795 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54797         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54798         (LDFLAGS-tst-array5): Likewise.
54800 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54802         [BZ #15036]
54803         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54804         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54805         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54806         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54808 2013-01-21  David S. Miller  <davem@davemloft.net>
54810         * sysdeps/sparc/backtrace.c: New file.
54811         * sysdeps/sparc/sparc32/backtrace.h: New file.
54812         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54813         * sysdeps/sparc/sparc64/backtrace.h: New file.
54814         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54815         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54816         -funwind-tables.
54818 2013-01-21  Andreas Schwab  <schwab@suse.de>
54820         [BZ #15020]
54821         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54822         closed its stdout.
54824 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54827         "mpa2.h".
54828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54830 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54831             Mark Mitchell  <mark@codesourcery.com>
54832             Tom de Vries  <tom@codesourcery.com>
54833             Paul Pluzhnikov  <ppluzhnikov@google.com>
54835         * debug/tst-backtrace2.c: New file.
54836         * debug/tst-backtrace3.c: Likewise.
54837         * debug/tst-backtrace4.c: Likewise.
54838         * debug/tst-backtrace5.c: Likewise.
54839         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54840         (CFLAGS-tst-backtrace3.c): Likewise.
54841         (CFLAGS-tst-backtrace4.c): Likewise.
54842         (CFLAGS-tst-backtrace5.c): Likewise.
54843         (LDFLAGS-tst-backtrace2): Likewise.
54844         (LDFLAGS-tst-backtrace3): Likewise.
54845         (LDFLAGS-tst-backtrace4): Likewise.
54846         (LDFLAGS-tst-backtrace5): Likewise.
54847         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54848         tst-backtrace4 and tst-backtrace5.
54850 2013-01-18  Anton Blanchard  <anton@samba.org>
54851             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54853         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54854         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54855         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54856         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54858         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54859         "+r" and remove output regs list as redundant.  Add explicit inline
54860         asm to specify register of return val to work around compiler codegen
54861         bug.  Remove (int) cast on return value.  Add return type parameter to
54862         use in macro so that this macro does not truncate return value for
54863         64-bit values.
54864         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54865         pass to INTERNAL_VSYSCALL_NCS.
54866         (INLINE_VSYSCALL): Add 'long int' as return type to
54867         INTERNAL_VSYSCALL_NCS macro invocation.
54868         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54869         INTERNAL_VSYSCALL_NCS macro invocation.
54870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54872 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54874         [BZ #14496]
54875         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54876         Fix application of SIMD FP exception mask.
54878         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54879         mp_no from a power of two.
54880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54881         __mpexp_twomm1.  Use __pow_mp.
54883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54884         multiplication.
54886 2013-01-17  David S. Miller  <davem@davemloft.net>
54888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54890 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54892         [BZ #15023]
54893         * include/complex.h: Condition contents on [!_COMPLEX_H].
54894         (__kernel_casinhf): New prototype.
54895         (__kernel_casinh): Likewise.
54896         (__kernel_casinhl): Likewise.
54897         * math/Makefile (libm_calls): Add k_casinh.
54898         * math/k_casinh.c: New file.
54899         * math/k_casinhf.c: Likewise.
54900         * math/k_casinhl.c: Likewise.
54901         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54902         finite nonzero arguments.
54903         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54904         finite nonzero arguments.
54905         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54906         finite nonzero arguments.
54907         * math/s_casinh.c: Do not include <float.h>.
54908         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54909         * math/s_casinhf.c: Do not include <float.h>.
54910         (__casinhf): Move code for finite nonzero arguments to
54911         k_casinhf.c.
54912         * math/s_casinhl.c: Do not include <float.h>.
54913         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54914         redefine.
54915         (__casinhl): Move code for finite nonzero arguments to
54916         k_casinhl.c.
54917         * math/libm-test.inc (cacos_test): Add more tests.
54918         * sysdeps/i386/fpu/libm-test-ulps: Update.
54919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54921 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54923         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54924         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54925         [!HAVE_MREMAP]: Remove [defined linux] case.
54926         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54928 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54930         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54932 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54934         * elf/elf.h (R_386_SIZE32): New relocation.
54935         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54936         R_386_SIZE32.
54937         (elf_machine_rela): Likewise.
54938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54939         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54941 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54943         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54944         (FP_FAST_FMA): Do not define.
54945         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54946         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54947         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54948         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54949         !_SOFT_FLOAT]: Likewise.
54950         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54951         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54952         value.
54953         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54954         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54955         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54956         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54957         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54958         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54959         file.
54961 2013-01-16  Andreas Schwab  <schwab@suse.de>
54963         [BZ #14327]
54964         * include/stdlib.h (__mktemp): Add declaration.
54965         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54966         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54968 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54970         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54971         definitions.
54972         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54973         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54974         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54975         definitions here.
54976         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54977         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54978         definitions.
54979         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54980         and ONE.
54981         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54982         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54983         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54984         definitions.
54985         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54986         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54987         definitions.
54988         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54990         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54992 2013-01-15  David S. Miller  <davem@davemloft.net>
54994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54995         trunc{,f} to libm-sysdep_routes.
54996         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54998         file.
54999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55001         file.
55002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55003         file.
55004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55006         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55007         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55008         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55009         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55010         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55011         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55014         nearbyint{,f} to libm-sysdep_routes.
55015         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55017         New file.
55018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55019         file.
55020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55021         New file.
55022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55023         file.
55024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55026         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55027         file.
55028         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55029         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55030         file.
55031         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55032         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55033         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55035         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55036         libc_feholdexcept and libc_fesetenv.
55038 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55040         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55042 2013-01-14  David S. Miller  <davem@davemloft.net>
55044         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55045         (SPARC_ASM_VIS2_IFUNC): Likewise.
55046         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55048         use of 'siam' instruction.
55049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55050         Likewise.
55051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55052         Likewise.
55053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55054         Likewise.
55055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55056         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55060         file.
55061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55062         file.
55063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55064         file.
55065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55066         file.
55067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55072         new VIS2 routines.
55073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55076         Likewise.
55077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55082         routines to libm-sysdep_routines.
55083         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55086         fdim/fdimf to libm-sysdep_routines.
55087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55088         file.
55089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55091         file.
55092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55095         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55096         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55097         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55098         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55100 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55102         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55103         to optimize copies.
55105         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55110         local variable MPTWO.
55111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55112         Likewise.
55114 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55116         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55117         GLOB_NOESCAPE.
55119 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55121         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55123 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55125         * manual/pattern.texi (glob_t): Document gl_flags.
55126         (glob64_t): Likewise.
55128 2013-01-11  David S. Miller  <davem@davemloft.net>
55130         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55131         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55132         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55133         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55134         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55135         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55136         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55137         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55138         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55139         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55140         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55141         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55142         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55144         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55145         sparc V9 rather than using V8 code.
55146         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55147         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55149         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55150         Move to...
55151         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55152         Here.
55154 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55156         [BZ #14941]
55157         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55158         not in the main loop.
55159         * configure: Regenerated.
55161 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55163         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55164         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55165         to just #else.
55166         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55167         [!__GLIBC_HAVE_LONG_LONG] case.
55168         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55169         condition to just #else.
55170         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55171         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55172         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55173         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55174         unconditional.
55175         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55176         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55177         #elif condition to just #else.
55178         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55179         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55180         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55181         #elif condition to just #else.
55183 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55185         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55186         (EF_MIPS_ARCH_64): Fix value.
55187         (EF_MIPS_ARCH_32R2): New.
55188         (EF_MIPS_ARCH_64R2): New.
55190 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55192         * Makeconfig (+link-pie-before-libc): New.
55193         (+link-pie-after-libc): Likewise.
55194         (+link-pie-tests): Likewise.
55195         (+link-pie): Rewritten.
55196         (link-before-libc): Remove $(config-LDFLAGS).
55197         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55198         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55199         (config-LDFLAGS): Renamed to ...
55200         (rtld-LDFLAGS): This.
55201         (rtld-tests-LDFLAGS): New macro.
55202         (link-libc-rpath-link): Likewise.
55203         (link-libc-tests-rpath-link): Likewise.
55204         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55205         (link-libc): Prepand $(link-libc-rpath-link).
55206         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55207         (test-program-prefix): New macro.
55208         (test-via-rtld-prefix): Likewise.
55209         (test-program-cmd): Likewise.
55210         (host-test-program-cmd): Likewise.
55211         * Makefile ($(common-objpfx)testrun.sh): Replace
55212         $(run-program-prefix) with $(test-program-prefix).
55213         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55214         $(rtld-LDFLAGS).
55215         ($(common-objpfx)shlib.lds): Likewise.
55216         (build-module-helper): Likewise.
55217         ($(common-objpfx)format.lds): Likewise.
55218         * Rules (binaries-pie-tests): New.
55219         (binaries-pie-notests): Likewise.
55220         (binaries-pie): Rewritten.
55221         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55222         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55223         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55224         (make-test-out): Replace $(host-built-program-cmd) with
55225         $(host-test-program-cmd).
55226         * config.make.in (build-hardcoded-path-in-tests): New variable.
55227         * configure.in (--enable-hardcoded-path-in-tests): New configure
55228         option.
55229         (hardcoded_path_in_tests): New AC_SUBST.
55230         * configure: Regenerated.
55231         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55232         $(built-program-cmd) with $(test-program-cmd).
55233         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55234         (test_program_cmd): This.
55235         * elf/Makefile ($(objpfx)order.out): Run test with
55236         $(test-program-prefix).
55237         ($(objpfx)order2.out): Likewise.
55238         ($(objpfx)tst-initorder.out): Likewise.
55239         ($(objpfx)tst-initorder2.out): Likewise.
55240         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55241         $(test-program-cmd).
55242         ($(objpfx)tst-array1-static.out): Likewise.
55243         ($(objpfx)tst-array2.out): Likewise.
55244         ($(objpfx)tst-array3.out): Likewise.
55245         ($(objpfx)tst-array4.out): Likewise.
55246         ($(objpfx)tst-array5.out): Likewise.
55247         ($(objpfx)tst-array5-static.out): Likewise.
55248         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55249         $(test-program-cmd).
55250         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55251         $(run-program-prefix) with $(test-program-prefix).
55252         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55253         (test_program_prefix): This.
55254         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55255         $(run-program-prefix) with $(test-program-prefix).
55256         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55257         (test_program_prefix): This.
55258         * iconvdata/tst-tables.sh: Likewise.
55259         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55260         $(run-program-prefix) with $(test-program-prefix).
55261         ($(objpfx)tst-translit.out): Likewise.
55262         ($(objpfx)tst-gettext2.out): Likewise.
55263         ($(objpfx)tst-gettext4.out): Likewise.
55264         ($(objpfx)tst-gettext6.out): Likewise.
55265         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55266         (test_program_prefix): This.
55267         * intl/tst-gettext2.sh: Likewise.
55268         * intl/tst-gettext4.sh  Likewise.
55269         * intl/tst-gettext6.sh: Likewise.
55270         * intl/tst-translit.sh: Likewise.
55271         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55272         with $(test-program-cmd).
55273         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55274         $(run-program-prefix) with $(test-program-prefix).
55275         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55276         (test_program_prefix): This.
55277         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55278         $(run-program-prefix) with $(test-program-prefix).
55279         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55280         (test_program_prefix): This.
55281         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55282         * posix/Makefile ($(objpfx)globtest.out): Replace
55283         $(run-via-rtld-prefix) and $(test-wrapper) with
55284         $(test-program-prefix) and $(test-via-rtld-prefix).
55285         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55286         $(test-program-prefix).
55287         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55288         $(host-test-program-cmd).
55289         (tst-spawn-ARGS): Likewise.
55290         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55291         $(test-program-prefix).
55292         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55293         (test_via_rtld_prefix): This.
55294         (test_wrapper): Renamed to ...
55295         (test_program_prefix): This.
55296         (run_program_prefix): Replaced by test_program_prefix.
55297         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55298         (test_program_prefix): This.
55299         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55300         with $(host-test-program-cmd).
55301         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55302         $(run-program-prefix) with $(test-program-prefix).
55303         ($(objpfx)tst-printf.out): Likewise.
55304         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55305         $(test-program-cmd).
55306         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55307         (test_program_prefix): This.
55308         * stdio-common/tst-unbputc.sh: Likewise.
55309         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55310         $(run-program-prefix) with $(test-program-prefix).
55311         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55312         (test_program_prefix): This.
55313         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55314         $(built-program-cmd) with $(test-program-cmd).
55316 2013-01-11  Andreas Jaeger  <aj@suse.de>
55318         [BZ #15003]
55319         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55320         value. Sync with Linux 3.7.
55322 2013-01-10  David S. Miller  <davem@davemloft.net>
55324         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55325         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55326         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55328 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55330         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55331         never set.
55332         * configure: Regenerated.
55334 2013-01-10  David S. Miller  <davem@davemloft.net>
55336         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55337         sparc V9 rather than using V8 code.
55338         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55339         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55341 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55343         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55344         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55345         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55346         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55347         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55348         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55349         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55350         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55351         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55352         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55353         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55354         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55355         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55356         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55357         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55358         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55359         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55360         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55361         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55362         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55363         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55364         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55365         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55366         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55367         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55368         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55369         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55371 2013-01-10  David S. Miller  <davem@davemloft.net>
55373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55375 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55377         * posix/Makefile (tests-static): New variable.
55378         (tests): Add $(tests-static).
55379         (tst-exec-static-ARGS): New variable.
55380         (tst-spawn-static-ARGS): Likewise.
55381         * posix/tst-exec-static.c: New file.
55382         * posix/tst-spawn-static.c: Likewise.
55383         * posix/tst-exec.c: Support run directly.
55384         * posix/tst-spawn.c: Likewise.
55386 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55388         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55389         long.
55390         * math/bits/mathcalls.h (llrint): Likewise.
55391         (llround): Likewise.
55392         * stdlib/stdlib.h (struct drand48_data): Likewise.
55393         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55394         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55395         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55396         Likewise.
55397         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55398         Likewise.
55399         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55400         (elf_greg_t): Likewise.
55401         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55402         (__jmp_buf): Likewise.
55403         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55404         definitions.
55405         (llrint): Likewise, for all definitions.
55406         (llrintl): Likewise.
55408         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55409         Remove [__GNUC__] condition.
55410         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55411         condition to just [__USE_ISOC99].
55412         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55414 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55416         [BZ #14200]
55417         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55418         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55419         defined.
55420         (_POSIX_V6_ILP32_OFF32): Likewise.
55421         (_XBS5_ILP32_OFF32): Likewise.
55422         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55423         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55425 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55427         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55429         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55430         doubles __mpexp_twomm1.  Adjust usage.
55431         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55432         Remove.
55434 2013-01-10  Andreas Schwab  <schwab@suse.de>
55436         [BZ #14964]
55437         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55438         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55440 2013-01-09  David S. Miller  <davem@davemloft.net>
55442         [BZ #15003]
55443         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55444         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55445         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55446         (TCP_FASTOPEN): Define.
55447         (tcp_repair_opt): New structure.
55448         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55449         enum values.
55450         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55451         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55452         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55453         (tcp_cookie_transactions): New structure.
55455 2013-01-09  Anton Blanchard  <anton@samba.org>
55457         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55458         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55459         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55460         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55462 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55464         * include/features.h (__USE_ANSI): Remove.
55466 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55468         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55470         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55472 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55474         * sysdeps/s390/fpu/libm-test-ulps: Update.
55476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55478         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55479         (__acr): Likewise.
55480         (__cpy): Likewise.
55481         (norm): Likewise.
55482         (denorm): Likewise.
55483         (__mp_dbl): Likewise.
55484         (__dbl_mp): Likewise.
55485         (add_magnitudes): Likewise.
55486         (sub_magnitudes): Likewise.
55487         (__add): Likewise.
55488         (__sub): Likewise.
55489         (__mul): Likewise.
55490         (__inv): Likewise.
55491         (__dvd): Likewise.
55492         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55493         (__acr): Likewise.
55494         (__cpy): Likewise.
55495         (norm): Likewise.
55496         (denorm): Likewise.
55497         (__mp_dbl): Likewise.
55498         (__dbl_mp): Likewise.
55499         (add_magnitudes): Likewise.
55500         (sub_magnitudes): Likewise.
55501         (__add): Likewise.
55502         (__sub): Likewise.
55503         (__mul): Likewise.
55504         (__inv): Likewise.
55505         (__dvd): Likewise.
55506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55507         (__acr): Likewise.
55508         (__cpy): Likewise.
55509         (norm): Likewise.
55510         (denorm): Likewise.
55511         (__mp_dbl): Likewise.
55512         (__dbl_mp): Likewise.
55513         (add_magnitudes): Likewise.
55514         (sub_magnitudes): Likewise.
55515         (__add): Likewise.
55516         (__sub): Likewise.
55517         (__mul): Likewise.
55518         (__inv): Likewise.
55519         (__dvd): Likewise.
55521 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55523         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55524         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55525         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55526         2 && __USE_EXTERN_INLINES]: Likewise.
55528 2013-01-08  Andreas Jaeger  <aj@suse.de>
55530         [BZ# 14985]
55531         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55532         Remove.
55533         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55534         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55536 2013-01-07  Anton Blanchard  <anton@samba.org>
55538         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55539         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55540         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55541         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55542         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55543         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55544         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55545         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55546         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55547         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55548         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55549         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55550         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55551         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55552         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55553         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55554         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55555         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55556         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55557         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55558         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55559         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55560         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55561         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55562         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55563         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55564         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55565         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55566         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55567         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55568         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55570         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55571         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55572         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55573         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55574         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55575         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55576         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55577         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55578         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55579         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55580         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55582 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55584         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55585         (__MALLOC_PMT): Likewise.
55586         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55587         [__GNUC__], only on [_LIBC].
55588         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55589         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55590         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55591         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55592         forward declaration.
55593         (realloc_hook_ini): Likewise.
55594         (memalign_hook_ini): Likewise.
55595         (__libc_memalign): Do not use __MALLOC_PMT in variable
55596         declaration.
55597         (__libc_valloc): Likewise.
55598         (__libc_pvalloc): Likewise.
55599         (__libc_calloc): Likewise.
55600         (__posix_memalign): Likewise.
55602         [BZ #14996]
55603         * math/s_casinh.c: Include <float.h>.
55604         (__casinh): Do not do computation with squaring and square root
55605         for large arguments.
55606         * math/s_casinhf.c: Include <float.h>.
55607         (__casinhf): Do not do computation with squaring and square root
55608         for large arguments.
55609         * math/s_casinhl.c: Include <float.h>.
55610         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55611         (__casinhl): Do not do computation with squaring and square root
55612         for large arguments.
55613         * math/libm-test.inc (casin_test): Add more tests.
55614         (casinh_test): Likewise.
55615         * sysdeps/i386/fpu/libm-test-ulps: Update.
55616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55618 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55620         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55621         (__x86_64_raw_data_cache_size): Likewise.
55622         (__x86_64_data_cache_size_half): Likewise.
55623         (__x86_64_raw_data_cache_size_half): Likewise.
55624         (__x86_64_shared_cache_size): Likewise.
55625         (__x86_64_raw_shared_cache_size): Likewise.
55626         (__x86_64_shared_cache_size_half): Likewise.
55627         (__x86_64_raw_shared_cache_size_half): Likewise.
55628         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55629         to ...
55630         (__x86_data_cache_size): This.
55631         (__x86_64_raw_data_cache_size): Renamed to ...
55632         (__x86_raw_data_cache_size): This.
55633         (__x86_64_data_cache_size_half): Renamed to ...
55634         (__x86_data_cache_size_half): This.
55635         (__x86_64_raw_data_cache_size_half): Renamed to ...
55636         (__x86_raw_data_cache_size_half): This.
55637         (__x86_64_shared_cache_size): Renamed to ...
55638         (__x86_shared_cache_size): This.
55639         (__x86_64_raw_shared_cache_size): Renamed to ...
55640         (__x86_raw_shared_cache_size): This.
55641         (__x86_64_shared_cache_size_half): Renamed to ...
55642         (__x86_shared_cache_size_half): This.
55643         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55644         (__x86_raw_shared_cache_size_half): This.
55645         * sysdeps/x86_64/memcpy.S: Updated.
55646         * sysdeps/x86_64/memset.S: Likewise.
55647         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55648         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55649         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55651 2013-01-04  David S. Miller  <davem@davemloft.net>
55653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55655 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55657         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55658         1 to avoid redefinition warning.
55659         (__USE_GNU): Don't define.
55660         (init_signaling_nan): Protoize.
55662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55664 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55666         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55668         (__cpymn): Likewise.
55669         (norm): Remove commented code.
55670         (denorm): Likewise.
55671         (__mp_dbl): Likewise.
55672         (__inv): Likewise.
55673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55674         (__cpymn): Likewise.
55675         (norm): Remove commented code.
55676         (denorm): Likewise.
55677         (__mp_dbl): Likewise.
55678         (__inv): Likewise.
55680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55681         mp_no value for 1.0 and 2.0.
55682         (norm): Use RADIXI instead of radixi.d.
55683         (denorm): Likewise.
55684         (__mul): Use 0.0 instead of zero.d.
55685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55686         mp_no value for 1.0 and 2.0.
55687         (norm): Use RADIXI instead of radixi.d.
55688         (denorm): Likewise.
55689         (__mul): Use 0.0 instead of zero.d.
55691 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55693         [BZ #14994]
55694         * math/s_casinh.c (__casinh): Reduce finite argument to first
55695         quadrant then set signs of results at the end.
55696         * math/s_casinhf.c (__casinhf): Likewise.
55697         * math/s_casinhl.c (__casinhl): Likewise.
55698         * math/libm-test.inc (casin_test): Add more tests.
55699         (casinh_test): Likewise.
55700         * sysdeps/i386/fpu/libm-test-ulps: Update.
55701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55703 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55705         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55707         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55709         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55710         declarations.
55711         (denorm): Likewise.
55712         (__mp_dbl): Likewise.
55713         (__inv): Likewise.
55715         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55716         and adjust the header comment.
55718         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55719         variable name from declaration.
55721 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55724         Initialize COMMON_CPUID_INDEX_7 element.
55725         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55726         (CPUID_RTM): Likewise.
55727         (HAS_RTM): Likewise.
55728         (COMMON_CPUID_INDEX_7): New enum.
55730 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55732         [BZ #14981]
55733         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55734         size is zero, record memory as freed.
55736 2013-01-03  Andreas Jaeger  <aj@suse.de>
55738         * po/ia.po: Add new Interlingua translation.
55740 2012-01-03  Allan McRae  <allan@archlinux.org>
55742         * locale/programs/localedef.c: Fix description of '--posix' flag.
55744 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55746         * NEWS: Update dates in second copyright notice.
55747         * README: Update copyright dates in example.
55748         * manual/libc.texinfo: Update copyright dates.
55749         * scripts/test-installation.pl: Update copyright date in --version
55750         output.
55752         * hurd/ctty-input.c: Fix copyright notice formatting.
55753         * hurd/ctty-output.c: Likewise.
55754         * hurd/dtable.c: Likewise.
55755         * hurd/hurd-raise.c: Likewise.
55756         * hurd/hurdprio.c: Likewise.
55757         * hurd/msgportdemux.c: Likewise.
55758         * misc/sys/file.h: Likewise.
55759         * misc/sys/ioctl.h: Likewise.
55760         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55761         * sysdeps/mach/hurd/chdir.c: Likewise.
55762         * sysdeps/mach/hurd/fchdir.c: Likewise.
55763         * sysdeps/mach/hurd/rename.c: Likewise.
55764         * sysdeps/mach/hurd/rmdir.c: Likewise.
55765         * sysdeps/mach/hurd/seekdir.c: Likewise.
55766         * sysdeps/mach/hurd/setsid.c: Likewise.
55767         * sysdeps/posix/wait3.c: Likewise.
55769         * All files with FSF copyright notices: Update copyright dates
55770         using scripts/update-copyrights.
55771         * intl/plural.c: Regenerated.
55772         * locale/programs/charmap-kw.h: Likewise.
55773         * locale/programs/locfile-kw.h: Likewise.
55775 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55777         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55778         four values.
55780         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55781         calculation loop and add branch prediction.
55783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55784         check access beyond bounds of m1np.
55786         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55787         MPTWO.
55788         (__inv): Remove local variable MPTWO to use the global
55789         constant.
55790         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55791         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55792         variable MPTWO.
55793         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55794         MP3HALFS static const.
55796 2013-01-01  David S. Miller  <davem@davemloft.net>
55798         * po/ca.po: Update from translation team.
55800 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55802         * scripts/update-copyrights: New file.
55803         * Makeconfig: Reformat copyright notice.
55804         * ctype/ctype.h: Likewise.
55805         * debug/swprintf_chk.c: Likewise.
55806         * elf/dl-cache.c: Likewise.
55807         * elf/dl-debug.c: Likewise.
55808         * elf/dl-object.c: Likewise.
55809         * grp/initgroups.c: Likewise.
55810         * hurd/Makefile: Likewise.
55811         * hurd/hurd/signal.h: Likewise.
55812         * hurd/hurdfault.c: Likewise.
55813         * hurd/hurdioctl.c: Likewise.
55814         * hurd/hurdlookup.c: Likewise.
55815         * hurd/intr-msg.c: Likewise.
55816         * iconv/gconv_open.c: Likewise.
55817         * libio/swprintf.c: Likewise.
55818         * locale/lc-ctype.c: Likewise.
55819         * locale/nl_langinfo.c: Likewise.
55820         * mach/Machrules: Likewise.
55821         * mach/Makefile: Likewise.
55822         * malloc/obstack.h: Likewise.
55823         * manual/Makefile: Likewise.
55824         * manual/tsort.awk: Likewise.
55825         * misc/bits/stab.def: Likewise.
55826         * nis/nis_print_group_entry.c: Likewise.
55827         * nis/nis_table.c: Likewise.
55828         * nis/nss_compat/compat-pwd.c: Likewise.
55829         * nis/nss_compat/compat-spwd.c: Likewise.
55830         * po/Makefile: Likewise.
55831         * posix/fnmatch.c: Likewise.
55832         * posix/regex.h: Likewise.
55833         * resolv/Makefile: Likewise.
55834         * resolv/nss_dns/dns-network.c: Likewise.
55835         * resolv/res_hconf.c: Likewise.
55836         * scripts/gen-sorted.awk: Likewise.
55837         * soft-fp/soft-fp.h: Likewise.
55838         * stdio-common/printf.h: Likewise.
55839         * stdlib/monetary.h: Likewise.
55840         * stdlib/random.c: Likewise.
55841         * stdlib/random_r.c: Likewise.
55842         * sysdeps/generic/Makefile: Likewise.
55843         * sysdeps/gnu/Makefile: Likewise.
55844         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55845         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55846         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55847         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55848         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55849         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55850         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55851         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55852         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55853         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55854         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55855         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55856         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55857         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55858         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55859         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55860         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55861         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55862         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55863         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55864         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55865         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55866         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55867         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55868         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55869         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55870         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55871         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55872         * sysdeps/mach/hurd/errnos.awk: Likewise.
55873         * sysdeps/mach/hurd/fork.c: Likewise.
55874         * sysdeps/mach/hurd/getcwd.c: Likewise.
55875         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55876         * sysdeps/mach/hurd/mmap.c: Likewise.
55877         * sysdeps/mach/hurd/utimes.c: Likewise.
55878         * sysdeps/mach/hurd/xmknod.c: Likewise.
55879         * sysdeps/posix/profil.c: Likewise.
55880         * sysdeps/posix/readdir_r.c: Likewise.
55881         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55882         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55883         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55884         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55886         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55887         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55888         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55890         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55891         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55892         * sysdeps/pthread/lio_listio.c: Likewise.
55893         * sysdeps/sparc/dl-procinfo.h: Likewise.
55894         * sysdeps/unix/i386/sysdep.S: Likewise.
55895         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55896         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55897         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55898         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55900         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55901         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55902         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55903         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55904         * sysdeps/wordsize-32/divdi3.c: Likewise.
55905         * time/sys/time.h: Likewise.
55906         * wcsmbs/Makefile: Likewise.
55908 2013-01-01  David S. Miller  <davem@davemloft.net>
55910         * po/fr.po: Update from translation team.
55912         * catgets/gencat.c: Update copyright year.
55913         * csu/version.c: Likewise.
55914         * debug/catchsegv.sh: Likewise.
55915         * debug/pcprofiledump.c: Likewise.
55916         * debug/xtrace.sh: Likewise.
55917         * elf/ldconfig.c: Likewise.
55918         * elf/ldd.bash.in: Likewise.
55919         * elf/pldd.c: Likewise.
55920         * elf/sotruss.ksh: Likewise.
55921         * elf/sprof.c: Likewise.
55922         * iconv/iconv_prog.c: Likewise.
55923         * iconv/iconvconfig.c: Likewise.
55924         * locale/programs/locale.c: Likewise.
55925         * locale/programs/localedef.c: Likewise.
55926         * login/programs/pt_chown.c: Likewise.
55927         * malloc/memusage.sh: Likewise.
55928         * malloc/memusagestat.c: Likewise.
55929         * malloc/mtrace.pl: Likewise.
55930         * nscd/nscd.c: Likewise.
55931         * nss/getent.c: Likewise.
55932         * nss/makedb.c: Likewise.
55933         * posix/getconf.c: Likewise.
55935 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55937         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55938         numbers.
55940 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55942         * math/bits/mathcalls.h (modf): Use __nonnull.
55944 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55946         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55947         (split): Use macro CN instead of the bare value.
55948         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55949         could be used.
55950         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55951         instead of the bare value.
55952         (power1): Likewise.
55954 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55956         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55957         __ATAN_TWOM.
55958         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55960         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55961         their values.
55962         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55963         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55964         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55965         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55967 2012-12-28  Andreas Jaeger  <aj@suse.de>
55969         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55970         values are from Linux 3.7.
55972         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55973         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55975 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55977         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55978         TRUE case.
55980         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55981         (norm): Likewise.
55982         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55983         variables with preprocessor constants.
55984         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55985         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55986         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55988 2012-12-27  Bruno Haible  <bruno@clisp.org>
55990         [BZ #14317]
55991         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55992         only if needed.
55994 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55997         and use variable directly.
55998         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56000         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56001         MPONE.
56002         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56003         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56004         variable MPONE.
56005         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56007         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56008         include directive.  Remove local variable MPONE.
56009         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56010         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56011         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56013 2012-12-25  David S. Miller  <davem@davemloft.net>
56015         * version.h (RELEASE): Set to "development".
56016         (VERSION): Set to "2.17.90".
56017         * NEWS: Add 2.18 section.
56019 2012-12-21  David S. Miller  <davem@davemloft.net>
56021         * po/hr.po: Update from translation team.
56023 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56025         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56027 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56029         * NEWS:  Mention new memcpy for MIPS.
56031 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56033         * manual/contrib.texi (Contributors): Spelling correction.
56035 2012-12-15  David S. Miller  <davem@davemloft.net>
56037         * po/ru.po: Update from translation team.
56039 2012-12-13  David S. Miller  <davem@davemloft.net>
56041         * NEWS: Mention IFUNC testsuite enhancements.
56043         * po/pl.po: Update from translation team.
56044         * po/bg.po: Likewise.
56046         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56047         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56049 2012-12-11  David S. Miller  <davem@davemloft.net>
56051         * po/sv.po: Update from translation team.
56053         * po/vi.po: Update from translation team.
56055         * po/cs.po: Update from translation team.
56057         * po/de.po: Update from translation team.
56058         * po/eo.po: Likewise.
56059         * po/nl.po: Likewise.
56061 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56063         [BZ #14246]
56064         * manual/argp.texi (Argp Helper Functions): Move node to follow
56065         Argp Parsing State.
56067         [BZ #14872]
56068         * manual/conf.texi (Limits on File System Capacity): Mention if
56069         terminating null is included in the max size.
56071 2012-12-10  Andreas Jaeger  <aj@suse.de>
56073         * po/cs.po: Update from translation team.
56075 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56077         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56078         void pointer and cast to uintptr_t.
56079         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56080         path.
56081         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56082         * sysdeps/s390/s390-64/memset.S: Likewise.
56084 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56086         [BZ #14833]
56087         * menual/message.texi (Message Translation): Fix typos.
56088         (Helper programs for gettext): Likewise.
56090 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56092         [BZ #14898]
56093         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56094         Change to -1.
56096 2012-12-07  David S. Miller  <davem@davemloft.net>
56098         * po/libc.pot: Update.
56100 2012-12-07  Richard Henderson  <rth@redhat.com>
56102         [BZ #10114]
56103         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56104         normal/normal case to before the switch.
56105         (_FP_DIV): Likewise.
56107 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56108             Mike Frysinger  <vapier@gentoo.org>
56110         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56111         check for __NR_fadvise64_64.
56113 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56115         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56116         0, not just to plain "0" as a statement.
56117         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56118         with cw.
56120 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56122         * NEWS: Use sourceware.org in Bugzilla URL.
56124 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56127         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56129         * stdio-common/tst-put-error.c (do_test): Add newline to the
56130         padded test to ensure flush.
56132 2012-12-05  Jeff Law  <law@redhat.com>
56134         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56136 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56138         * README: Don't refer to ports add-on as distributed separately.
56139         Mention AArch64 in list of systems supported in the ports add-on.
56141         * LICENSES: Add more non-FSF copyright and license notices.
56143         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56144         ((unused)).
56146         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56148         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56149         10000 as width of padded output.
56151 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56153         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56155         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56156         variable LX with __attribute__ ((unused)).
56157         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56158         Likewise.
56159         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56160         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56161         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56162         with __attribute__ ((unused)).
56164 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56166         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56168 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56170         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56171         (CFLAGS-nldbl-acos.c): New variable.
56172         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56173         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56174         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56175         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56176         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56177         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56178         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56179         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56180         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56181         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56182         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56183         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56184         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56185         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56186         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56187         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56188         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56189         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56190         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56191         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56192         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56193         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56194         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56195         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56196         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56197         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56198         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56199         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56200         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56201         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56202         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56203         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56204         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56205         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56206         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56207         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56208         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56209         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56210         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56211         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56212         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56213         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56214         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56215         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56216         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56217         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56218         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56219         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56220         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56221         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56222         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56223         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56224         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56225         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56226         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56227         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56228         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56229         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56230         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56231         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56232         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56233         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56234         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56235         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56236         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56237         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56238         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56239         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56240         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56241         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56242         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56243         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56244         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56245         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56246         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56247         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56248         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56249         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56250         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56251         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56252         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56253         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56254         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56255         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56256         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56257         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56258         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56259         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56260         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56261         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56262         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56263         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56264         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56265         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56266         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56267         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56268         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56271         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56273         [BZ #14914]
56274         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56275         whole low double instead of just low 47 bits when splitting values
56276         into two parts.
56278 2012-12-03  Allan McRae  <allan@archlinux.org>
56280         * manual/stdio.texi (Predefined Printf Handlers): Remove
56281         @hsep and @vsep usage.
56283 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56285         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56286         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56288 2012-12-03  Jeff Law  <law@redhat.com>
56290         * time/sys/time.h (settimeofday): Do not mark TV argument
56291         as __nonnull.
56293 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56295         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56296         when currently writing and seek to current position when not.
56297         * libio/Makefile (tests): Remove bug-fclose1.
56298         * libio/bug-fclose1.c: Delete.
56300 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56302         * manual/arith.texi (feenableexcept): Fix typo.
56303         (fedisableexcept): Likewise.
56305 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56307         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56308         second, differently-typed declaration, rather than a cast.
56310 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56312         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56313         * include/rpc/svc.h: ... here.
56315 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56317         [BZ #13013]
56318         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56319         depending n and resplen2 to catch cases where answer
56320         equals answerp2.
56322 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56324         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56325         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56327 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56329         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56331 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56333         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56335 2012-11-28  Jeff Law  <law@redhat.com>
56337         [BZ #13761]
56338         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56339         dataset_temporary.  Track alloca usage into alloca_used.
56340         If dataset is large allocate and release it via malloc/free.
56342 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56344         [BZ #14197]
56345         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56347 2012-11-28  David S. Miller  <davem@davemloft.net>
56349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56351 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56353         [BZ #14803]
56354         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56355         of pi/2 rounded to nearest to 64 bits.
56356         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56357         nearest to 64 bits.
56358         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56359         bits.
56361 2012-11-28  Jeff Law <law@redhat.com>
56362             Martin Osvald <mosvald@redhat.com>
56364         [BZ #14889]
56365         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56366         * sunrpc/svc.c: Include time.h.
56367         (__svc_accept_failed): New function.
56368         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56369         any reason other than EINTR, call __svc_accept_failed.
56370         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56371         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56373 2012-11-28  Andreas Schwab  <schwab@suse.de>
56375         * scripts/abilist.awk: Also handle indirect functions in .opd
56376         section.
56378 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56380         [BZ #13881]
56381         * sysdeps/x86/fpu/powl_helper.c: New file.
56382         * sysdeps/x86/fpu/Makefile: Likewise.
56383         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56384         (p3): New object.
56385         (__ieee754_powl): Use __powl_helper for finite arguments except
56386         integer exponents below 8.
56387         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56388         (p3): New object.
56389         (__ieee754_powl): Use __powl_helper for finite arguments except
56390         integer exponents below 8.
56391         * math/libm-test.inc (pow_test): Add more tests and enable some
56392         previously disabled tests.
56393         * sysdeps/i386/fpu/libm-test-ulps: Update.
56394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56396 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56397             Carlos O'Donell  <carlos_odonell@mentor.com>
56399         * nss/makedb.c (is_prime): Assert that input is odd and greater
56400         than 4.  Note that fact in a comment too.
56401         (next_prime): Add 4 to input.
56403 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56405         [BZ #11741]
56406         * libio/Makefile (tests): Add test case tst-fwrite-error.
56407         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56408         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56409         * libio/tst-fwrite-error.c: New test case.
56411 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56413         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56414         before casting to void *.
56415         * include/libc-internal.h (__pointer_type): New macro.
56416         (__integer_if_pointer_type_sub): Likewise.
56417         (__integer_if_pointer_type): Likewise.
56418         (cast_to_integer): Likewise.
56419         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56420         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56421         before casting to atomic64_t.
56422         (atomic_exchange_acq): Likewise.
56423         (__arch_exchange_and_add_body): Likewise.
56424         (__arch_add_body): Likewise.
56425         (atomic_add_negative): Likewise.
56426         (atomic_add_zero): Likewise.
56428 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56430         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56431         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56432         (add_fdes): Likewise.
56433         (linear_search_fdes): Likewise.
56434         (binary_search_unencoded_fdes): Likewise.
56436 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56438         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56440 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56442         * configure.in: Autodetect C++ header directories.
56443         * configure: Regenerated.
56445 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56447         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56449 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56453 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56455         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56456         LDBL_MANT_DIG == 106]: Disable some tests.
56457         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56458         Likewise.
56459         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56460         Likewise.
56462         [BZ #14871]
56463         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56464         input for small inputs.  Return +/- pi/2 for large inputs.
56465         * math/libm-test.inc (atan_test): Add more tests.
56467         * sysdeps/generic/unwind-dw2-fde-glibc.c
56468         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56469         __attribute__ ((unused)).
56471         [BZ #14645]
56472         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56473         x * y if x and y are nonzero and z is zero.
56475         [BZ #14811]
56476         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56477         nonzero exponents with absolute value below 0x1p-117 to +/-
56478         0x1p-117.
56480         [BZ #14869]
56481         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56482         up arguments below 2**-450, not just those below 2**-500.
56483         * math/libm-test.inc (hypot_test): Add another test.
56485         [BZ #14868]
56486         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56487         Return a+b for ratio over 2**120, not 2**60.
56488         * math/libm-test.inc (hypot_test): Add another test.
56490         * math/libm-test.inc (clog_test): Use
56491         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56492         (clog10_test): Likewise.
56494         [BZ #6778]
56495         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56497 2012-11-22  Andreas Schwab  <schwab@suse.de>
56499         * sysdeps/i386/fpu/libm-test-ulps: Update.
56501 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56503         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56504         printf output with newline.
56506 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56508         [BZ #14865]
56509         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56510         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56511         -z nodlopen, -z initfirst and -z execstack support.
56512         * configure: Regenerated.
56514         * elf/elf.h (DF_1_NODIRECT): New macro.
56515         (DF_1_IGNMULDEF): Likewise.
56516         (DF_1_NOKSYMS): Likewise.
56517         (DF_1_NOHDR): Likewise.
56518         (DF_1_EDITED): Likewise.
56519         (DF_1_NORELOC): Likewise.
56520         (DF_1_SYMINTPOSE): Likewise.
56521         (DF_1_GLOBAUDIT): Likewise.
56522         (DF_1_SINGLETON): Likewise.
56523         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56524         DT_1_SUPPORTED_MASK bits.
56525         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56527 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56529         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56531 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56533         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56534         macro.
56536         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56537         (sendmmsg): Move declarations...
56538         * socket/sys/socket.h: ... here.
56539         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56540         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56541         include it from...
56542         * socket/recvmmsg.c: ... this new file.
56543         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56544         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56545         definition of __sendmmsg hidden.
56546         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56547         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56548         Move ENOSYS stub into and include it from...
56549         * socket/sendmmsg.c: ... this new file.
56550         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56551         (sysdep_routines): Move recvmmsg and sendmmsg...
56552         * socket/Makefile (routines): ... here.
56553         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56554         (GLIBC_PRIVATE): Add __sendmmsg.
56555         * include/sys/socket.h (__sendmmsg): Add declarations.
56556         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56557         sendmmsg.
56559 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56561         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56562         variable I1 with __attribute__ ((unused)).
56563         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56565 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56567         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56568         DUMMY variables with __attribute__ ((unused)).
56570         * bits/byteswap.h: Include <bits/types.h>.
56571         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56573 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56575         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56576         string_t.  Do not manually set errno.
56577         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56578         length with __strnlen.  Make sure to both set errno and return it on
56579         failure.
56581 2012-11-19  David S. Miller  <davem@davemloft.net>
56583         With help from Joseph Myers.
56584         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56585         very large arguments properly.
56586         * math/libm-test.inc (atan_test): New tests.
56587         (atan2_test): New tests.
56588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56591 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56593         [BZ #14856]
56594         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56595         Define to 3.
56597         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56598         [POSIX] (EADDRNOTAVAIL): Likewise.
56599         [POSIX] (EAFNOSUPPORT): Likewise.
56600         [POSIX] (EALREADY): Likewise.
56601         [POSIX] (ECONNABORTED): Likewise.
56602         [POSIX] (ECONNREFUSED): Likewise.
56603         [POSIX] (ECONNRESET): Likewise.
56604         [POSIX] (EDESTADDRREQ): Likewise.
56605         [POSIX] (EDQUOT): Likewise.
56606         [POSIX] (EHOSTUNREACH): Likewise.
56607         [POSIX] (EIDRM): Likewise.
56608         [POSIX] (EISCONN): Likewise.
56609         [POSIX] (ELOOP): Likewise.
56610         [POSIX] (EMULTIHOP): Likewise.
56611         [POSIX] (ENETDOWN): Likewise.
56612         [POSIX] (ENETUNREACH): Likewise.
56613         [POSIX] (ENOBUFS): Likewise.
56614         [POSIX] (ENODATA): Likewise.
56615         [POSIX] (ENOLINK): Likewise.
56616         [POSIX] (ENOMSG): Likewise.
56617         [POSIX] (ENOPROTOOPT): Likewise.
56618         [POSIX] (ENOSR): Likewise.
56619         [POSIX] (ENOSTR): Likewise.
56620         [POSIX] (ENOTCONN): Likewise.
56621         [POSIX] (ENOTSOCK): Likewise.
56622         [POSIX] (EOPNOTSUPP): Likewise.
56623         [POSIX] (EOVERFLOW): Likewise.
56624         [POSIX] (EPROTO): Likewise.
56625         [POSIX] (EPROTONOSUPPORT): Likewise.
56626         [POSIX] (EPROTOTYPE): Likewise.
56627         [POSIX] (ESTALE): Likewise.
56628         [POSIX] (ETIME): Likewise.
56629         [POSIX] (ETXTBSY): Likewise.
56630         [POSIX] (EWOULDBLOCK): Likewise.
56631         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56632         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56633         [POSIX] (SEEK_CUR): Likewise.
56634         [POSIX] (SEEK_END): Likewise.
56635         [POSIX || UNIX98] (mode_t): Do not require.
56636         [POSIX] (off_t): Likewise.
56637         [POSIX] (pid_t): Likewise.
56638         [POSIX] (sys/stat.h): Do not allow header.
56639         [POSIX] (unistd.h): Likewise.
56640         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56641         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56642         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56643         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56644         require.
56645         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56646         sigevent): Specify elements.
56647         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56648         entry.
56649         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56650         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56652         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56653         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56654         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56655         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56656         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56657         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56658         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56659         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56660         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56661         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56662         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56663         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56664         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56665         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56666         Likewise.
56667         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56668         Likewise.
56669         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56670         Likewise.
56671         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56672         Likewise.
56673         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56674         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56675         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56676         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56677         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56678         Specify lower bound on value.
56679         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56680         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56681         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56682         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56683         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56684         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56685         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56686         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56687         value.
56688         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56689         as optional.
56690         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56691         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56692         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56693         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56694         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56695         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56696         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56697         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56698         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56699         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56700         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56701         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56702         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56703         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56704         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56705         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56706         entry.
56707         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56708         optional.
56709         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56710         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56711         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56712         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56713         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56714         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56715         Likewise.
56716         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56717         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56718         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56719         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56720         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56721         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56722         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56723         as optional.
56724         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56725         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56726         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56727         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56728         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56729         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56730         specify as optional.
56731         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56732         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56733         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56734         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56735         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56736         [XPG3] (NL_LANGMAX): Likewise.
56737         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56738         [POSIX || XPG3] (NL_NMAX): Likewise.
56739         [POSIX || XPG3] (NL_SETMAX): Likewise.
56740         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56741         [XPG3] (NZERO): Likewise.
56742         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56743         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56744         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56745         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56746         (REG_ERANGE): Expect.
56747         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56748         optional-constant.
56749         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56750         Use (void) in prototype.
56751         [POSIX] (*_t): Allow.
56752         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56753         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56754         (WRDE_BADVAL): Expect.
56756         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56757         expect.
56758         [XPG3 || XPG4] (O_RSYNC): Likewise.
56759         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56760         Likewise.
56761         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56762         [XPG3 || XPG4] (sigqueue): Likewise.
56763         [XPG3 || XPG4] (sigtimedwait): Likewise.
56764         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56765         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56766         [XPG3 || XPG4] (vsnprintf): Likewise.
56767         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56768         Likewise.
56769         [XPG3 || XPG4] (blksize_t): Likewise.
56770         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56771         Likewise.
56772         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56773         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56774         [XPG3 || XPG4] (struct itimerspec): Likewise.
56775         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56776         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56777         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56778         [XPG3 || XPG4] (clockid_t): Likewise.
56779         [XPG3 || XPG4] (timer_t): Likewise.
56780         [XPG3 || XPG4] (clock_getres): Likewise.
56781         [XPG3 || XPG4] (clock_gettime): Likewise.
56782         [XPG3 || XPG4] (clock_settime): Likewise.
56783         [XPG3 || XPG4] (nanosleep): Likewise.
56784         [XPG3 || XPG4] (timer_create): Likewise.
56785         [XPG3 || XPG4] (timer_delete): Likewise.
56786         [XPG3 || XPG4] (timer_gettime): Likewise.
56787         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56788         [XPG3 || XPG4] (timer_settime): Likewise.
56789         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56790         [XPG3 || XPG4] (getlogin_r): Likewise.
56791         [XPG3 || XPG4] (pread): Likewise.
56792         [XPG3 || XPG4] (pthread_atfork): Likewise.
56793         [XPG3 || XPG4] (pwrite): Likewise.
56795         [BZ #14835]
56796         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56797         <bits/siginfo.h>.
56799 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56801         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56802         finalizing MALLSTREAM.
56804         * sysdeps/mach/hurd/syncfs.c: New file.
56806 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56808         [BZ #14719]
56809         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56810         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56811         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56812         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56813         (_nss_dns_gethostbyname4_r): Likewise.
56814         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56815         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56817 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56819         [BZ #13763]
56820         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56822 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56824         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56825         * elf/cache.c (print_entry): Print ",AArch64" for
56826         FLAG_AARCH64_LIB64
56828         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56829         * elf/cache.c (print_entry): Print ",hard-float" for
56830         FLAG_ARM_LIBHF.
56832 2012-11-18  David S. Miller  <davem@davemloft.net>
56834         With help from Joseph Myers.
56835         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56836         cutoff to 2**-13.
56837         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56838         cutoff to 2**-25.
56839         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56840         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56841         small.
56842         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56843         * math/libm-test.inc (y0_test): New tests.
56844         (y1_test): New tests.
56845         * sysdeps/i386/fpu/libm-test-ulps: Update.
56846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56849 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56851         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56852         64-bit targets.
56853         * configure: Regenerated.
56855 2012-11-17  David S. Miller  <davem@davemloft.net>
56857         [BZ #14811]
56858         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56859         nonzero exponents with absolute value below 0x1p-128 to +/-
56860         0x1p-128.
56862 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56864         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56866         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56868         * posix/getconf-speclist.c: New file.
56869         * posix/posix-envs.def: Likewise.
56870         * posix/confstr.c (START_ENV_GROUP): New macro.
56871         (END_ENV_GROUP): Likewise.
56872         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56873         (KNOWN_PRESENT_ENV_STRING): Likewise.
56874         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56875         (UNKNOWN_ENVIRONMENT): Likewise.
56876         (confstr): Include posix-envs.def instead of handling
56877         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56878         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56879         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56880         (END_ENV_GROUP): Likewise.
56881         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56882         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56883         (UNKNOWN_ENVIRONMENT): Likewise.
56884         (__sysconf): Include posix-envs.def instead of handling associated
56885         cases directly here.
56886         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56887         preprocessing getconf-speclist.c rather than running getconf or
56888         generating empty file.
56890 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56892         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56894 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56896         [BZ #14672]
56897         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56899 2012-11-16  David S. Miller  <davem@davemloft.net>
56901         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56902         smaller than LDBL_EPSILON/2.0L, just return xm1.
56904 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56906         * elf/tst-array1.c (init): Set constructor priority to 1000.
56907         (fini): Set destructor priority to 1000.
56908         * elf/tst-array2dep.c: Likewise.
56910 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56912         [BZ #11741]
56913         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56914         (_IO_new_file_xsputn): Also return EOF if none of the input
56915         data was written when overflow failed.
56916         * libio/iopadn.c (_IO_padn): Likewise.
56917         * libio/iowpadn.c (_IO_wpadn): Likewise.
56918         * stdio-common/tst-put-error.c: Add copyright notice.
56919         (do_test): Add case for printing padded string.
56920         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56921         _IO_padn returned error.
56922         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56923         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56924         return EOF.
56926 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56928         * libio/libioP.h: Add comment note that the references to C++
56929         bits are now obsolete.
56931 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56933         * math/libm-test.inc (check_complex): Use asprintf.
56935 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56937         * debug/pcprofiledump.c (print_version): Update copyright year.
56938         * malloc/memusagestat.c (print_version): Likewise.
56940 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56942         [BZ #14831]
56943         * elf/Makefile (tests): Add tst-audit8.
56944         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56945         ($(objpfx)tst-audit8.out): New target.
56946         (tst-audit8-ENV): New variable.
56947         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56948         audit if l_reloc_result is NULL.
56949         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56950         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56951         * elf/tst-audit8.c: New file.
56953 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56955         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56956         * misc/Makefile (CFLAGS-select.c): Define.
56957         * posix/Makefile (CFLAGS-pause.c): Define.
56959 2012-11-13  David S. Miller  <davem@davemloft.net>
56961         * crypt/Makefile: Move test targets after toplevel Rules
56962         inclusion.  Grab any necessary sysdep routines when linking.
56963         * crypt/md5.c (md5_process_block): Remove define, we will always
56964         name it __md5_process_block.
56965         (md5_finish_ctx): Update md5_process_block call.
56966         (md5_stream): Likewise.
56967         (md5_process_bytes): Likewise.
56968         (md5_process_block): Rename to __md5_process_block and move to ...
56969         * crypt/md5-block.c: ... here.
56970         * crypt/sha256.c (sha256_process_block): Move to ...
56971         * crypt/sha256-block.c: ... here.
56972         * crypt/sha512.c (sha512_process_block): Move to ...
56973         * crypt/sha512-block.c: ... here.
56974         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56975         path.
56976         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56977         * sysdeps/sparc/sparc64/multiarch/Makefile
56978         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56979         crypt subdir.
56980         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56981         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56982         multiarch changes.
56983         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56984         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56985         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56986         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56987         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56988         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56989         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56990         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56991         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56992         file.
56993         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56994         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56995         file.
56996         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56998 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57000         * timezone/tzselect.ksh: Update from tzcode git revision
57001         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57002         * timezone/zdump.c: Likewise.
57003         * timezone/zic.c: Likewise.
57004         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57005         in TZVERSION setting, not $(PKGVERSION).
57006         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57007         REPORT_BUGS_TO settings.
57009         [BZ #14838]
57010         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57011         macro.
57013 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57015         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57016         detection to immediately after _FP_ROUND().
57017         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57018         bits are 0.
57020 2012-11-11  David S. Miller  <davem@davemloft.net>
57022         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57023         inttypes.h
57024         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57025         __close rather than their public counterparts.
57027 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57029         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57030         file.
57031         [UNIX98] (sem_timedwait): Do not expect.
57032         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57033         [XPG4 || UNIX98] (sockatmark): Do not expect.
57034         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57035         (clock_getcpuclockid): Do not expect.
57036         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57037         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57038         Do not expect.
57039         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57040         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57041         [UNIX98] (vwscanf): Likewise.
57042         [UNIX98] (vswscanf): Likewise.
57044 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57046         * timezone/version.h: Remove file.
57047         * timezone/README: Do not refer to version.h.
57048         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57049         $(objpfx)version.h.
57050         ($(objpfx)zdump.o): Likewise.
57051         ($(objpfx)version.h): New target.
57053         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57054         2012i.
57055         * timezone/README: Don't mention modification to tzselect.ksh.
57056         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57057         work on unmodified tzselect.ksh.  Substitute version numbers in
57058         tzselect.ksh.
57060         * Makefile (format-me): Remove.
57061         (INSTALL): Adjust indentation.  Use commands directly instead of
57062         using $(format-me).
57064         * aclocal.m4 (ACX_PKGVERSION): New macro.
57065         (ACX_BUGURL): Likewise.
57066         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57067         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57068         (REPORT_BUGS_TO): Likewise.
57069         * configure: Regenerated.
57070         * config.h.in (PKGVERSION): New macro.
57071         (REPORT_BUGS_TO): Likewise.
57072         * config.make.in (PKGVERSION): New variable.
57073         (PKGVERSION_TEXI): Likewise.
57074         (REPORT_BUGS_TO): Likewise.
57075         (REPORT_BUGS_TEXI): Likewise.
57076         * Makefile (format-me): Use -I$(common-objpfx)manual.
57077         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57078         ($(common-objpfx)manual/%): New target.
57079         (manual/%): Remove target.
57080         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57081         (print_version): Use PKGVERSION.
57082         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57083         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57084         and REPORT_BUGS_TO.
57085         ($(objpfx)xtrace): Likewise.
57086         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57087         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57088         (print_version): Use PKGVERSION.
57089         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57090         (do_version): Use PKGVERSION.
57091         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57092         REPORT_BUGS_TO.
57093         (common-ldd-rewrite): Likewise.
57094         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57095         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57096         (print_version): Use PKGVERSION.
57097         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57098         * elf/pldd.c (argp_program_bug_address): Remove variable.
57099         (more_help): New function.
57100         (argp): Use more_help.
57101         (print_version): Use PKGVERSION.
57102         * elf/sln.c (main): Use PKGVERSION.
57103         (usage): Use REPORT_BUGS_TO.
57104         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57105         (top level): Use PKGVERSION.
57106         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57107         (print_version): Use PKGVERSION.
57108         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57109         (print_version): Use PKGVERSION.
57110         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57111         (print_version): Use PKGVERSION.
57112         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57113         (print_version): Use PKGVERSION.
57114         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57115         (print_version): Use PKGVERSION.
57116         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57117         (print_version): Use PKGVERSION.
57118         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57119         and BUGURL.
57120         ($(objpfx)memusage): Likewise.
57121         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57122         (do_version): Use PKGVERSION.
57123         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57124         (print_version): Use PKGVERSION.
57125         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57126         ($PKGVERSION): New variable.
57127         ($REPORT_BUGS_TO): Likewise.
57128         (usage): Use $REPORT_BUGS_TO.
57129         (top level): Use $PKGVERSION.
57130         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57131         ($(objpfx)pkgvers.texi): New rule.
57132         ($(objpfx)stamp-pkgvers): Likewise.
57133         * manual/install.texi: Include pkgvers.texi.
57134         (--with-pkgversion): Document new configure option.
57135         (--with-bugurl): Likewise.
57136         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57137         than necessarily for this particular distribution.  Use
57138         REPORT_BUGS_TO for where to report bugs.
57139         * INSTALL: Regenerated.
57140         * manual/libc.texinfo: Include pkgvers.texi.
57141         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57142         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57143         (print_version): Use PKGVERSION.
57144         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57145         (print_version): Use PKGVERSION.
57146         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57147         (print_version): Use PKGVERSION.
57148         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57149         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57150         macro.
57151         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57152         (print_version): Use PKGVERSION.
57153         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57154         (print_version): Use PKGVERSION.
57155         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57156         and PKGVERSION.
57158         * timezone/checktab.awk: Update from tzcode 2012i.
57159         * timezone/ialloc.c: Likewise.
57160         * timezone/private.h: Likewise.
57161         * timezone/scheck.c: Likewise.
57162         * timezone/tzfile.h: Likewise.
57163         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57164         (TZVERSION): Hardcode tzcode version number.
57165         * timezone/zdump.c: Update from tzcode 2012i.
57166         * timezone/zic.c: Likewise.
57167         * timezone/version.h: New file.
57168         * timezone/README: Describe version.h.  Update upstream location.
57170         [BZ #14824]
57171         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57172         (mktemp): Enable declaration.
57173         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57174         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57176         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57177         Likewise.
57178         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57179         Likewise.
57180         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57181         Likewise.
57182         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57183         Likewise.
57184         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57185         Likewise.
57186         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57187         Likewise.
57189         [BZ #14821]
57190         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57191         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57192         for copies of such integer values.
57193         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57194         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57196 2012-11-09  Andreas Jaeger  <aj@suse.de>
57198         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57199         definitions and declarations that are provided by
57200         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57202 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57204         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57205         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57206         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57207         definition.
57209 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57211         * elf/elf.h: Update comment before AArch64 relocations.
57213 2012-11-07  David S. Miller  <davem@davemloft.net>
57215         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57216         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57217         (__start_context): Declare.
57218         (__makecontext_ret): Delete.
57219         (__makecontext): Hook up __start_context instead of
57220         __makecontext_ret.
57221         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57222         (sysdep_routines): Add __start_context when in stdlib.
57224 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57226         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57227         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57228         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57229         hardcoded "nm".
57230         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57231         (READELF): New variable.  Use it instead of hardcoded "readelf".
57233 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57235         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57236         * sysdeps/x86/Makefile: Here.
57237         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57238         * sysdeps/x86/tst-xmmymm.sh: This.
57240 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57242         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57243         expectations.
57244         [UNIX98] (pthread_barrier_t): Do not expect.
57245         [UNIX98] (pthread_barrierattr_t): Likewise.
57246         [UNIX98] (pthread_spinlock_t): Likewise.
57247         [UNIX98] (pthread_barrier_destroy): Likewise.
57248         [UNIX98] (pthread_barrier_init): Likewise.
57249         [UNIX98] (pthread_barrier_wait): Likewise.
57250         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57251         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57252         [UNIX98] (pthread_barrierattr_init): Likewise.
57253         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57254         [UNIX98] (pthread_getcpuclockid): Likewise.
57255         [UNIX98] (pthread_mutex_timedlock): Likewise.
57256         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57257         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57258         [UNIX98] (pthread_sigmask): Likewise.
57259         [UNIX98] (pthread_spin_destroy): Likewise.
57260         [UNIX98] (pthread_spin_init): Likewise.
57261         [UNIX98] (pthread_spin_lock): Likewise.
57262         [UNIX98] (pthread_spin_trylock): Likewise.
57263         [UNIX98] (pthread_spin_unlock): Likewise.
57264         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57265         Do not expect.
57266         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57267         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57268         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57269         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57270         [XPG3 || XPG4] (pthread_key_t): Likewise.
57271         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57272         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57273         [XPG3 || XPG4] (pthread_once_t): Likewise.
57274         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57275         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57276         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57277         [XPG3 || XPG4] (pthread_t): Likewise.
57279         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57280         not expect.
57281         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57283         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57284         Change function return type to int.
57286         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57287         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57288         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57289         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57290         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57291         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57292         [!POSIX] (posix_madvise): Likewise.
57293         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57294         && !UNIX98].
57295         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57296         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57297         (mode_t): Likewise.
57298         (posix_mem_offset): Likewise.
57299         (posix_typed_mem_get_info): Likewise.
57300         (posix_typed_mem_open): Likewise.
57302         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57303         Change condition to [XOPEN2K8].
57305         * conform/conformtest.pl: Preprocess allow-header data with -x c
57306         instead of from stdin.
57307         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57308         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57309         [C99-based standards] (cerfc): Likewise.
57310         [C99-based standards] (cexp2): Likewise.
57311         [C99-based standards] (cexpm1): Likewise.
57312         [C99-based standards] (clog10): Likewise.
57313         [C99-based standards] (clog1p): Likewise.
57314         [C99-based standards] (clog2): Likewise.
57315         [C99-based standards] (clgamma): Likewise.
57316         [C99-based standards] (ctgamma): Likewise.
57317         [C99-based standards] (cerff): Likewise.
57318         [C99-based standards] (cerfcf): Likewise.
57319         [C99-based standards] (cexp2f): Likewise.
57320         [C99-based standards] (cexpm1f): Likewise.
57321         [C99-based standards] (clog10f): Likewise.
57322         [C99-based standards] (clog1pf): Likewise.
57323         [C99-based standards] (clog2f): Likewise.
57324         [C99-based standards] (clgammaf): Likewise.
57325         [C99-based standards] (ctgammaf): Likewise.
57326         [C99-based standards] (cerfl): Likewise.
57327         [C99-based standards] (cerfcl): Likewise.
57328         [C99-based standards] (cexp2l): Likewise.
57329         [C99-based standards] (cexpm1l): Likewise.
57330         [C99-based standards] (clog10l): Likewise.
57331         [C99-based standards] (clog1pl): Likewise.
57332         [C99-based standards] (clog2l): Likewise.
57333         [C99-based standards] (clgammal): Likewise.
57334         [C99-based standards] (ctgammal): Likewise.
57335         * conform/data/inttypes.h-data [C99-based standards]: Include
57336         stdint.h-data.  Remove all expectations for stdint.h contents.
57337         [C99-based standards] (PRI*): Do not allow.
57338         [C99-based standards] (SCN*): Likewise.
57339         [C99-based standards] (*_t): Likewise.
57340         [C99-based-standards] (PRId8): Expect macro.
57341         [C99-based-standards] (PRIi8): Likewise.
57342         [C99-based-standards] (PRIo8): Likewise.
57343         [C99-based-standards] (PRIu8): Likewise.
57344         [C99-based-standards] (PRIx8): Likewise.
57345         [C99-based-standards] (PRIX8): Likewise.
57346         [C99-based-standards] (SCNd8): Likewise.
57347         [C99-based-standards] (SCNi8): Likewise.
57348         [C99-based-standards] (SCNo8): Likewise.
57349         [C99-based-standards] (SCNu8): Likewise.
57350         [C99-based-standards] (SCNx8): Likewise.
57351         [C99-based-standards] (PRIdLEAST8): Likewise.
57352         [C99-based-standards] (PRIiLEAST8): Likewise.
57353         [C99-based-standards] (PRIoLEAST8): Likewise.
57354         [C99-based-standards] (PRIuLEAST8): Likewise.
57355         [C99-based-standards] (PRIxLEAST8): Likewise.
57356         [C99-based-standards] (PRIXLEAST8): Likewise.
57357         [C99-based-standards] (SCNdLEAST8): Likewise.
57358         [C99-based-standards] (SCNiLEAST8): Likewise.
57359         [C99-based-standards] (SCNoLEAST8): Likewise.
57360         [C99-based-standards] (SCNuLEAST8): Likewise.
57361         [C99-based-standards] (SCNxLEAST8): Likewise.
57362         [C99-based-standards] (PRIdFAST8): Likewise.
57363         [C99-based-standards] (PRIiFAST8): Likewise.
57364         [C99-based-standards] (PRIoFAST8): Likewise.
57365         [C99-based-standards] (PRIuFAST8): Likewise.
57366         [C99-based-standards] (PRIxFAST8): Likewise.
57367         [C99-based-standards] (PRIXFAST8): Likewise.
57368         [C99-based-standards] (SCNdFAST8): Likewise.
57369         [C99-based-standards] (SCNiFAST8): Likewise.
57370         [C99-based-standards] (SCNoFAST8): Likewise.
57371         [C99-based-standards] (SCNuFAST8): Likewise.
57372         [C99-based-standards] (SCNxFAST8): Likewise.
57373         [C99-based-standards] (PRId16): Likewise.
57374         [C99-based-standards] (PRIi16): Likewise.
57375         [C99-based-standards] (PRIo16): Likewise.
57376         [C99-based-standards] (PRIu16): Likewise.
57377         [C99-based-standards] (PRIx16): Likewise.
57378         [C99-based-standards] (PRIX16): Likewise.
57379         [C99-based-standards] (SCNd16): Likewise.
57380         [C99-based-standards] (SCNi16): Likewise.
57381         [C99-based-standards] (SCNo16): Likewise.
57382         [C99-based-standards] (SCNu16): Likewise.
57383         [C99-based-standards] (SCNx16): Likewise.
57384         [C99-based-standards] (PRIdLEAST16): Likewise.
57385         [C99-based-standards] (PRIiLEAST16): Likewise.
57386         [C99-based-standards] (PRIoLEAST16): Likewise.
57387         [C99-based-standards] (PRIuLEAST16): Likewise.
57388         [C99-based-standards] (PRIxLEAST16): Likewise.
57389         [C99-based-standards] (PRIXLEAST16): Likewise.
57390         [C99-based-standards] (SCNdLEAST16): Likewise.
57391         [C99-based-standards] (SCNiLEAST16): Likewise.
57392         [C99-based-standards] (SCNoLEAST16): Likewise.
57393         [C99-based-standards] (SCNuLEAST16): Likewise.
57394         [C99-based-standards] (SCNxLEAST16): Likewise.
57395         [C99-based-standards] (PRIdFAST16): Likewise.
57396         [C99-based-standards] (PRIiFAST16): Likewise.
57397         [C99-based-standards] (PRIoFAST16): Likewise.
57398         [C99-based-standards] (PRIuFAST16): Likewise.
57399         [C99-based-standards] (PRIxFAST16): Likewise.
57400         [C99-based-standards] (PRIXFAST16): Likewise.
57401         [C99-based-standards] (SCNdFAST16): Likewise.
57402         [C99-based-standards] (SCNiFAST16): Likewise.
57403         [C99-based-standards] (SCNoFAST16): Likewise.
57404         [C99-based-standards] (SCNuFAST16): Likewise.
57405         [C99-based-standards] (SCNxFAST16): Likewise.
57406         [C99-based-standards] (PRId32): Likewise.
57407         [C99-based-standards] (PRIi32): Likewise.
57408         [C99-based-standards] (PRIo32): Likewise.
57409         [C99-based-standards] (PRIu32): Likewise.
57410         [C99-based-standards] (PRIx32): Likewise.
57411         [C99-based-standards] (PRIX32): Likewise.
57412         [C99-based-standards] (SCNd32): Likewise.
57413         [C99-based-standards] (SCNi32): Likewise.
57414         [C99-based-standards] (SCNo32): Likewise.
57415         [C99-based-standards] (SCNu32): Likewise.
57416         [C99-based-standards] (SCNx32): Likewise.
57417         [C99-based-standards] (PRIdLEAST32): Likewise.
57418         [C99-based-standards] (PRIiLEAST32): Likewise.
57419         [C99-based-standards] (PRIoLEAST32): Likewise.
57420         [C99-based-standards] (PRIuLEAST32): Likewise.
57421         [C99-based-standards] (PRIxLEAST32): Likewise.
57422         [C99-based-standards] (PRIXLEAST32): Likewise.
57423         [C99-based-standards] (SCNdLEAST32): Likewise.
57424         [C99-based-standards] (SCNiLEAST32): Likewise.
57425         [C99-based-standards] (SCNoLEAST32): Likewise.
57426         [C99-based-standards] (SCNuLEAST32): Likewise.
57427         [C99-based-standards] (SCNxLEAST32): Likewise.
57428         [C99-based-standards] (PRIdFAST32): Likewise.
57429         [C99-based-standards] (PRIiFAST32): Likewise.
57430         [C99-based-standards] (PRIoFAST32): Likewise.
57431         [C99-based-standards] (PRIuFAST32): Likewise.
57432         [C99-based-standards] (PRIxFAST32): Likewise.
57433         [C99-based-standards] (PRIXFAST32): Likewise.
57434         [C99-based-standards] (SCNdFAST32): Likewise.
57435         [C99-based-standards] (SCNiFAST32): Likewise.
57436         [C99-based-standards] (SCNoFAST32): Likewise.
57437         [C99-based-standards] (SCNuFAST32): Likewise.
57438         [C99-based-standards] (SCNxFAST32): Likewise.
57439         [C99-based-standards] (PRId64): Likewise.
57440         [C99-based-standards] (PRIi64): Likewise.
57441         [C99-based-standards] (PRIo64): Likewise.
57442         [C99-based-standards] (PRIu64): Likewise.
57443         [C99-based-standards] (PRIx64): Likewise.
57444         [C99-based-standards] (PRIX64): Likewise.
57445         [C99-based-standards] (SCNd64): Likewise.
57446         [C99-based-standards] (SCNi64): Likewise.
57447         [C99-based-standards] (SCNo64): Likewise.
57448         [C99-based-standards] (SCNu64): Likewise.
57449         [C99-based-standards] (SCNx64): Likewise.
57450         [C99-based-standards] (PRIdLEAST64): Likewise.
57451         [C99-based-standards] (PRIiLEAST64): Likewise.
57452         [C99-based-standards] (PRIoLEAST64): Likewise.
57453         [C99-based-standards] (PRIuLEAST64): Likewise.
57454         [C99-based-standards] (PRIxLEAST64): Likewise.
57455         [C99-based-standards] (PRIXLEAST64): Likewise.
57456         [C99-based-standards] (SCNdLEAST64): Likewise.
57457         [C99-based-standards] (SCNiLEAST64): Likewise.
57458         [C99-based-standards] (SCNoLEAST64): Likewise.
57459         [C99-based-standards] (SCNuLEAST64): Likewise.
57460         [C99-based-standards] (SCNxLEAST64): Likewise.
57461         [C99-based-standards] (PRIdFAST64): Likewise.
57462         [C99-based-standards] (PRIiFAST64): Likewise.
57463         [C99-based-standards] (PRIoFAST64): Likewise.
57464         [C99-based-standards] (PRIuFAST64): Likewise.
57465         [C99-based-standards] (PRIxFAST64): Likewise.
57466         [C99-based-standards] (PRIXFAST64): Likewise.
57467         [C99-based-standards] (SCNdFAST64): Likewise.
57468         [C99-based-standards] (SCNiFAST64): Likewise.
57469         [C99-based-standards] (SCNoFAST64): Likewise.
57470         [C99-based-standards] (SCNuFAST64): Likewise.
57471         [C99-based-standards] (SCNxFAST64): Likewise.
57472         [C99-based-standards] (PRIdMAX): Likewise.
57473         [C99-based-standards] (PRIiMAX): Likewise.
57474         [C99-based-standards] (PRIoMAX): Likewise.
57475         [C99-based-standards] (PRIuMAX): Likewise.
57476         [C99-based-standards] (PRIxMAX): Likewise.
57477         [C99-based-standards] (PRIXMAX): Likewise.
57478         [C99-based-standards] (SCNdMAX): Likewise.
57479         [C99-based-standards] (SCNiMAX): Likewise.
57480         [C99-based-standards] (SCNoMAX): Likewise.
57481         [C99-based-standards] (SCNuMAX): Likewise.
57482         [C99-based-standards] (SCNxMAX): Likewise.
57483         [C99-based-standards] (PRIdPTR): Likewise.
57484         [C99-based-standards] (PRIiPTR): Likewise.
57485         [C99-based-standards] (PRIoPTR): Likewise.
57486         [C99-based-standards] (PRIuPTR): Likewise.
57487         [C99-based-standards] (PRIxPTR): Likewise.
57488         [C99-based-standards] (PRIXPTR): Likewise.
57489         [C99-based-standards] (SCNdPTR): Likewise.
57490         [C99-based-standards] (SCNiPTR): Likewise.
57491         [C99-based-standards] (SCNoPTR): Likewise.
57492         [C99-based-standards] (SCNuPTR): Likewise.
57493         [C99-based-standards] (SCNxPTR): Likewise.
57494         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57495         allow.
57496         * conform/data/stdint.h-data: Update comments to clarify
57497         requirements.
57498         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57499         type.
57500         [C99-based standards] (INT8_MAX): Likewise.
57501         [C99-based standards] (INT16_MIN): Likewise.
57502         [C99-based standards] (INT16_MAX): Likewise.
57503         [C99-based standards] (INT32_MIN): Likewise.
57504         [C99-based standards] (INT32_MAX): Likewise.
57505         [C99-based standards] (INT64_MIN): Likewise.
57506         [C99-based standards] (INT64_MAX): Likewise.
57507         [C99-based standards] (UINT8_MAX): Likewise.
57508         [C99-based standards] (UINT16_MAX): Likewise.
57509         [C99-based standards] (UINT32_MAX): Likewise.
57510         [C99-based standards] (UINT64_MAX): Likewise.
57511         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57512         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57513         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57514         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57515         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57516         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57517         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57518         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57519         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57520         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57521         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57522         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57523         [C99-based standards] (INT_FAST8_MIN): Likewise.
57524         [C99-based standards] (INT_FAST8_MAX): Likewise.
57525         [C99-based standards] (INT_FAST16_MIN): Likewise.
57526         [C99-based standards] (INT_FAST16_MAX): Likewise.
57527         [C99-based standards] (INT_FAST32_MIN): Likewise.
57528         [C99-based standards] (INT_FAST32_MAX): Likewise.
57529         [C99-based standards] (INT_FAST64_MIN): Likewise.
57530         [C99-based standards] (INT_FAST64_MAX): Likewise.
57531         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57532         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57533         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57534         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57535         [C99-based standards] (INTPTR_MIN): Likewise.
57536         [C99-based standards] (INTPTR_MAX): Likewise.
57537         [C99-based standards] (UINTPTR_MAX): Likewise.
57538         [C99-based standards] (INTMAX_MIN): Likewise.
57539         [C99-based standards] (INTMAX_MAX): Likewise.
57540         [C99-based standards] (UINTMAX_MAX): Likewise.
57541         [C99-based standards] (PTRDIFF_MIN): Likewise.
57542         [C99-based standards] (PTRDIFF_MAX): Likewise.
57543         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57544         [C99-based standards] (SIZE_MAX): Likewise.
57545         [C99-based standards] (WCHAR_MAX): Likewise.
57546         [C99-based standards] (WINT_MAX): Likewise.
57547         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57548         constraint on value.
57549         [C99-based standards] (WCHAR_MIN): Likewise.
57550         [C99-based standards] (WINT_MIN): Likewise.
57551         [C99-based standards] (*_t): Allow.
57552         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57553         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57554         Include math.h-data and complex.h-data.  Remove all expectations
57555         of math.h and complex.h contents.
57556         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57557         at end of line.
57558         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57559         (struct tm): Expect tag.
57560         [C99-based-standards] (wcstof): Expect function.
57561         [C99-based-standards] (wcstold): Likewise.
57562         [C99-based-standards] (wcstoll): Likewise.
57563         [C99-based-standards] (wcstoull): Likewise.
57564         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57565         macro-int-constant.  Specify type.
57566         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57567         constraint on value.
57568         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57569         Specify type.
57570         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57571         Specify value.
57572         [ISO C standards]: Do not allow headers.
57573         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57574         wcs[abcdefghijklmnopqrstuvwxyz]*.
57575         [ISO C standards] (*_t): Do not allow.
57576         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57577         Expect function.
57578         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57579         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57580         Specify type.
57581         [ISO C standards]: Do not allow headers.
57582         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57583         is[abcdefghijklmnopqrstuvwxyz]*.
57584         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57585         to[abcdefghijklmnopqrstuvwxyz]*.
57586         [ISO C standards] (*_t): Do not allow.
57587         * conform/data/stdalign.h-data: New file.
57588         * conform/data/stdbool.h-data: Likewise.
57589         * conform/data/stdnoreturn.h-data: Likewise.
57591 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57593         [BZ #14815]
57594         * manual/filesys.texi (Directory Entries): Typo fix.
57595         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57597 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57599         * elf/elf.h (EM_AARCH64): New macro.
57600         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57601         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57602         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57603         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57604         (R_AARCH64_TLSDESC): Likewise.
57605         (NT_ARM_TLS): Likewise.
57606         (NT_ARM_HW_BREAK): Likewise.
57607         (NT_ARM_HW_WATCH): Likewise.
57609 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57611         [BZ #14811]
57612         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57613         (__ieee754_powl): Saturate nonzero exponents with absolute value
57614         below 0x1p-79 to +/- 0x1p-79.
57615         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57616         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57617         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57618         nonzero exponents with absolute value below 0x1p-32 to +/-
57619         0x1p-32.
57620         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57621         (__ieee754_powl): Saturate nonzero exponents with absolute value
57622         below 0x1p-79 to +/- 0x1p-79.
57623         * math/libm-test.inc (pow_test): Add more tests.
57625 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57627         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57628         _dl_s390_cap_flags with kernel. Increase string length.
57629         (_dl_s390_platforms): Add z196 and zEC12.
57631 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57633         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57634         Change XOPEN21K to XOPEN2K.
57636 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57638         * string/memmove.c: Use memcpy when possible.
57640 2012-11-06  Andreas Jaeger  <aj@suse.de>
57642         * po/eo.po: Update from translation team.
57644 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57646         [BZ #14793]
57647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57648         exponent and small x and y exponents, scale x or y up.  Increase
57649         by 2 the exponent used in scaling up.
57650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57652         * math/libm-test.inc (fma_test): Add more tests.
57653         (fma_test_towardzero): Likewise.
57654         (fma_test_downward): Likewise.
57655         (fma_test_upward): Likewise.
57657 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57659         [BZ #14805]
57660         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57661         fenv_t *.
57663         [BZ #14801]
57664         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57665         namespace for names of struct fields.
57666         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57667         fenv_t fields.
57668         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57669         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57671 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57673         [BZ #3665]
57674         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57676 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57678         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57679         PTR_DEMANGLE.
57681         [BZ #5246]
57682         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57683         PTR_DEMANGLE.
57685 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57687         [BZ #14797]
57688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57689         definitely overflow as x * y not x * y + z.
57690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57691         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57692         * math/libm-test.inc (fma_test): Add more tests.
57693         (fma_test_towardzero): Likewise.
57694         (fma_test_downward): Likewise.
57695         (fma_test_upward): Likewise.
57697 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57699         [BZ #157]
57701         * include/stub-tag.h: Remove file.
57702         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57703         '#include' of it.
57704         * manual/maint.texi (Porting): Don't reference it.
57705         * Makerules ($(objpfx)stubs): Likewise.
57706         * dirent/closedir.c: Don't include <stub-tag.h>.
57707         * dirent/dirfd.c: Likewise.
57708         * dirent/fdopendir.c: Likewise.
57709         * dirent/getdents.c: Likewise.
57710         * dirent/getdents64.c: Likewise.
57711         * dirent/opendir.c: Likewise.
57712         * dirent/readdir.c: Likewise.
57713         * dirent/readdir64.c: Likewise.
57714         * dirent/readdir64_r.c: Likewise.
57715         * dirent/readdir_r.c: Likewise.
57716         * dirent/rewinddir.c: Likewise.
57717         * dirent/seekdir.c: Likewise.
57718         * dirent/telldir.c: Likewise.
57719         * gmon/profil.c: Likewise.
57720         * grp/setgroups.c: Likewise.
57721         * inet/if_index.c: Likewise.
57722         * io/access.c: Likewise.
57723         * io/chdir.c: Likewise.
57724         * io/chmod.c: Likewise.
57725         * io/chown.c: Likewise.
57726         * io/close.c: Likewise.
57727         * io/dup.c: Likewise.
57728         * io/dup2.c: Likewise.
57729         * io/dup3.c: Likewise.
57730         * io/euidaccess.c: Likewise.
57731         * io/faccessat.c: Likewise.
57732         * io/fchdir.c: Likewise.
57733         * io/fchmod.c: Likewise.
57734         * io/fchmodat.c: Likewise.
57735         * io/fchown.c: Likewise.
57736         * io/fchownat.c: Likewise.
57737         * io/fcntl.c: Likewise.
57738         * io/flock.c: Likewise.
57739         * io/fstatfs.c: Likewise.
57740         * io/fstatfs64.c: Likewise.
57741         * io/fstatvfs.c: Likewise.
57742         * io/fstatvfs64.c: Likewise.
57743         * io/futimens.c: Likewise.
57744         * io/fxstat.c: Likewise.
57745         * io/fxstat64.c: Likewise.
57746         * io/fxstatat.c: Likewise.
57747         * io/fxstatat64.c: Likewise.
57748         * io/getcwd.c: Likewise.
57749         * io/isatty.c: Likewise.
57750         * io/lchmod.c: Likewise.
57751         * io/lchown.c: Likewise.
57752         * io/link.c: Likewise.
57753         * io/linkat.c: Likewise.
57754         * io/lseek.c: Likewise.
57755         * io/lseek64.c: Likewise.
57756         * io/lxstat64.c: Likewise.
57757         * io/mkdir.c: Likewise.
57758         * io/mkdirat.c: Likewise.
57759         * io/mkfifo.c: Likewise.
57760         * io/mkfifoat.c: Likewise.
57761         * io/open.c: Likewise.
57762         * io/open64.c: Likewise.
57763         * io/openat.c: Likewise.
57764         * io/openat64.c: Likewise.
57765         * io/pipe.c: Likewise.
57766         * io/pipe2.c: Likewise.
57767         * io/poll.c: Likewise.
57768         * io/posix_fadvise.c: Likewise.
57769         * io/posix_fadvise64.c: Likewise.
57770         * io/posix_fallocate.c: Likewise.
57771         * io/posix_fallocate64.c: Likewise.
57772         * io/read.c: Likewise.
57773         * io/readlink.c: Likewise.
57774         * io/readlinkat.c: Likewise.
57775         * io/rmdir.c: Likewise.
57776         * io/sendfile.c: Likewise.
57777         * io/sendfile64.c: Likewise.
57778         * io/statfs.c: Likewise.
57779         * io/statfs64.c: Likewise.
57780         * io/statvfs.c: Likewise.
57781         * io/statvfs64.c: Likewise.
57782         * io/symlink.c: Likewise.
57783         * io/symlinkat.c: Likewise.
57784         * io/ttyname.c: Likewise.
57785         * io/ttyname_r.c: Likewise.
57786         * io/umask.c: Likewise.
57787         * io/unlink.c: Likewise.
57788         * io/unlinkat.c: Likewise.
57789         * io/utime.c: Likewise.
57790         * io/utimensat.c: Likewise.
57791         * io/write.c: Likewise.
57792         * io/xmknod.c: Likewise.
57793         * io/xmknodat.c: Likewise.
57794         * io/xstat.c: Likewise.
57795         * io/xstat64.c: Likewise.
57796         * login/getpt.c: Likewise.
57797         * login/grantpt.c: Likewise.
57798         * login/unlockpt.c: Likewise.
57799         * math/e_acoshl.c: Likewise.
57800         * math/e_acosl.c: Likewise.
57801         * math/e_asinl.c: Likewise.
57802         * math/e_atan2l.c: Likewise.
57803         * math/e_atanhl.c: Likewise.
57804         * math/e_coshl.c: Likewise.
57805         * math/e_expl.c: Likewise.
57806         * math/e_fmodl.c: Likewise.
57807         * math/e_gammal_r.c: Likewise.
57808         * math/e_hypotl.c: Likewise.
57809         * math/e_j0l.c: Likewise.
57810         * math/e_j1l.c: Likewise.
57811         * math/e_jnl.c: Likewise.
57812         * math/e_lgammal_r.c: Likewise.
57813         * math/e_log10l.c: Likewise.
57814         * math/e_log2l.c: Likewise.
57815         * math/e_logl.c: Likewise.
57816         * math/e_powl.c: Likewise.
57817         * math/e_rem_pio2l.c: Likewise.
57818         * math/e_sinhl.c: Likewise.
57819         * math/e_sqrtl.c: Likewise.
57820         * math/fclrexcpt.c: Likewise.
57821         * math/fedisblxcpt.c: Likewise.
57822         * math/feenablxcpt.c: Likewise.
57823         * math/fegetenv.c: Likewise.
57824         * math/fegetexcept.c: Likewise.
57825         * math/fegetround.c: Likewise.
57826         * math/feholdexcpt.c: Likewise.
57827         * math/fesetenv.c: Likewise.
57828         * math/fesetround.c: Likewise.
57829         * math/feupdateenv.c: Likewise.
57830         * math/fgetexcptflg.c: Likewise.
57831         * math/fraiseexcpt.c: Likewise.
57832         * math/fsetexcptflg.c: Likewise.
57833         * math/ftestexcept.c: Likewise.
57834         * math/k_cosl.c: Likewise.
57835         * math/k_rem_pio2l.c: Likewise.
57836         * math/k_sinl.c: Likewise.
57837         * math/k_tanl.c: Likewise.
57838         * math/s_asinhl.c: Likewise.
57839         * math/s_atanl.c: Likewise.
57840         * math/s_cbrtl.c: Likewise.
57841         * math/s_erfl.c: Likewise.
57842         * math/s_expm1l.c: Likewise.
57843         * math/s_log1pl.c: Likewise.
57844         * math/s_tanhl.c: Likewise.
57845         * misc/acct.c: Likewise.
57846         * misc/brk.c: Likewise.
57847         * misc/chflags.c: Likewise.
57848         * misc/chroot.c: Likewise.
57849         * misc/fchflags.c: Likewise.
57850         * misc/fgetxattr.c: Likewise.
57851         * misc/flistxattr.c: Likewise.
57852         * misc/fremovexattr.c: Likewise.
57853         * misc/fsetxattr.c: Likewise.
57854         * misc/fsync.c: Likewise.
57855         * misc/ftruncate.c: Likewise.
57856         * misc/futimes.c: Likewise.
57857         * misc/futimesat.c: Likewise.
57858         * misc/getdomain.c: Likewise.
57859         * misc/getdtsz.c: Likewise.
57860         * misc/gethostid.c: Likewise.
57861         * misc/gethostname.c: Likewise.
57862         * misc/getloadavg.c: Likewise.
57863         * misc/getpagesize.c: Likewise.
57864         * misc/getsysstats.c: Likewise.
57865         * misc/getxattr.c: Likewise.
57866         * misc/gtty.c: Likewise.
57867         * misc/ioctl.c: Likewise.
57868         * misc/lgetxattr.c: Likewise.
57869         * misc/listxattr.c: Likewise.
57870         * misc/llistxattr.c: Likewise.
57871         * misc/lremovexattr.c: Likewise.
57872         * misc/lsetxattr.c: Likewise.
57873         * misc/lutimes.c: Likewise.
57874         * misc/madvise.c: Likewise.
57875         * misc/mincore.c: Likewise.
57876         * misc/mlock.c: Likewise.
57877         * misc/mlockall.c: Likewise.
57878         * misc/mmap.c: Likewise.
57879         * misc/mprotect.c: Likewise.
57880         * misc/msync.c: Likewise.
57881         * misc/munlock.c: Likewise.
57882         * misc/munlockall.c: Likewise.
57883         * misc/munmap.c: Likewise.
57884         * misc/preadv.c: Likewise.
57885         * misc/preadv64.c: Likewise.
57886         * misc/ptrace.c: Likewise.
57887         * misc/pwritev.c: Likewise.
57888         * misc/pwritev64.c: Likewise.
57889         * misc/readv.c: Likewise.
57890         * misc/reboot.c: Likewise.
57891         * misc/remap_file_pages.c: Likewise.
57892         * misc/removexattr.c: Likewise.
57893         * misc/revoke.c: Likewise.
57894         * misc/select.c: Likewise.
57895         * misc/setdomain.c: Likewise.
57896         * misc/setegid.c: Likewise.
57897         * misc/seteuid.c: Likewise.
57898         * misc/sethostid.c: Likewise.
57899         * misc/sethostname.c: Likewise.
57900         * misc/setregid.c: Likewise.
57901         * misc/setreuid.c: Likewise.
57902         * misc/setxattr.c: Likewise.
57903         * misc/sstk.c: Likewise.
57904         * misc/stty.c: Likewise.
57905         * misc/swapoff.c: Likewise.
57906         * misc/swapon.c: Likewise.
57907         * misc/sync.c: Likewise.
57908         * misc/syncfs.c: Likewise.
57909         * misc/syscall.c: Likewise.
57910         * misc/truncate.c: Likewise.
57911         * misc/ualarm.c: Likewise.
57912         * misc/usleep.c: Likewise.
57913         * misc/ustat.c: Likewise.
57914         * misc/utimes.c: Likewise.
57915         * misc/vhangup.c: Likewise.
57916         * misc/writev.c: Likewise.
57917         * posix/_exit.c: Likewise.
57918         * posix/alarm.c: Likewise.
57919         * posix/execve.c: Likewise.
57920         * posix/fexecve.c: Likewise.
57921         * posix/fork.c: Likewise.
57922         * posix/fpathconf.c: Likewise.
57923         * posix/getaddrinfo.c: Likewise.
57924         * posix/getegid.c: Likewise.
57925         * posix/geteuid.c: Likewise.
57926         * posix/getgid.c: Likewise.
57927         * posix/getgroups.c: Likewise.
57928         * posix/getlogin.c: Likewise.
57929         * posix/getlogin_r.c: Likewise.
57930         * posix/getpgid.c: Likewise.
57931         * posix/getpid.c: Likewise.
57932         * posix/getppid.c: Likewise.
57933         * posix/getresgid.c: Likewise.
57934         * posix/getresuid.c: Likewise.
57935         * posix/getsid.c: Likewise.
57936         * posix/getuid.c: Likewise.
57937         * posix/glob64.c: Likewise.
57938         * posix/nanosleep.c: Likewise.
57939         * posix/pathconf.c: Likewise.
57940         * posix/pause.c: Likewise.
57941         * posix/posix_madvise.c: Likewise.
57942         * posix/pread.c: Likewise.
57943         * posix/pread64.c: Likewise.
57944         * posix/pwrite.c: Likewise.
57945         * posix/pwrite64.c: Likewise.
57946         * posix/sched_getaffinity.c: Likewise.
57947         * posix/sched_getp.c: Likewise.
57948         * posix/sched_gets.c: Likewise.
57949         * posix/sched_primax.c: Likewise.
57950         * posix/sched_primin.c: Likewise.
57951         * posix/sched_rr_gi.c: Likewise.
57952         * posix/sched_setaffinity.c: Likewise.
57953         * posix/sched_setp.c: Likewise.
57954         * posix/sched_sets.c: Likewise.
57955         * posix/sched_yield.c: Likewise.
57956         * posix/setgid.c: Likewise.
57957         * posix/setlogin.c: Likewise.
57958         * posix/setpgid.c: Likewise.
57959         * posix/setresgid.c: Likewise.
57960         * posix/setresuid.c: Likewise.
57961         * posix/setsid.c: Likewise.
57962         * posix/setuid.c: Likewise.
57963         * posix/sleep.c: Likewise.
57964         * posix/spawni.c: Likewise.
57965         * posix/sysconf.c: Likewise.
57966         * posix/times.c: Likewise.
57967         * posix/wait.c: Likewise.
57968         * posix/wait3.c: Likewise.
57969         * posix/wait4.c: Likewise.
57970         * posix/waitpid.c: Likewise.
57971         * resolv/gai_sigqueue.c: Likewise.
57972         * resource/getpriority.c: Likewise.
57973         * resource/getrlimit.c: Likewise.
57974         * resource/getrusage.c: Likewise.
57975         * resource/nice.c: Likewise.
57976         * resource/setpriority.c: Likewise.
57977         * resource/setrlimit.c: Likewise.
57978         * resource/ulimit.c: Likewise.
57979         * rt/aio_cancel.c: Likewise.
57980         * rt/aio_fsync.c: Likewise.
57981         * rt/aio_read.c: Likewise.
57982         * rt/aio_sigqueue.c: Likewise.
57983         * rt/aio_suspend.c: Likewise.
57984         * rt/aio_write.c: Likewise.
57985         * rt/clock_getres.c: Likewise.
57986         * rt/clock_gettime.c: Likewise.
57987         * rt/clock_nanosleep.c: Likewise.
57988         * rt/clock_settime.c: Likewise.
57989         * rt/lio_listio.c: Likewise.
57990         * rt/mq_close.c: Likewise.
57991         * rt/mq_getattr.c: Likewise.
57992         * rt/mq_notify.c: Likewise.
57993         * rt/mq_open.c: Likewise.
57994         * rt/mq_receive.c: Likewise.
57995         * rt/mq_send.c: Likewise.
57996         * rt/mq_setattr.c: Likewise.
57997         * rt/mq_timedreceive.c: Likewise.
57998         * rt/mq_timedsend.c: Likewise.
57999         * rt/mq_unlink.c: Likewise.
58000         * rt/shm_open.c: Likewise.
58001         * rt/shm_unlink.c: Likewise.
58002         * rt/timer_create.c: Likewise.
58003         * rt/timer_delete.c: Likewise.
58004         * rt/timer_getoverr.c: Likewise.
58005         * rt/timer_gettime.c: Likewise.
58006         * rt/timer_settime.c: Likewise.
58007         * setjmp/__longjmp.c: Likewise.
58008         * setjmp/setjmp.c: Likewise.
58009         * signal/kill.c: Likewise.
58010         * signal/killpg.c: Likewise.
58011         * signal/raise.c: Likewise.
58012         * signal/sigaction.c: Likewise.
58013         * signal/sigaltstack.c: Likewise.
58014         * signal/sigblock.c: Likewise.
58015         * signal/sigignore.c: Likewise.
58016         * signal/sigintr.c: Likewise.
58017         * signal/signal.c: Likewise.
58018         * signal/sigpause.c: Likewise.
58019         * signal/sigpending.c: Likewise.
58020         * signal/sigqueue.c: Likewise.
58021         * signal/sigreturn.c: Likewise.
58022         * signal/sigset.c: Likewise.
58023         * signal/sigsetmask.c: Likewise.
58024         * signal/sigstack.c: Likewise.
58025         * signal/sigsuspend.c: Likewise.
58026         * signal/sigtimedwait.c: Likewise.
58027         * signal/sigvec.c: Likewise.
58028         * signal/sigwait.c: Likewise.
58029         * signal/sigwaitinfo.c: Likewise.
58030         * signal/sysv_signal.c: Likewise.
58031         * socket/accept.c: Likewise.
58032         * socket/accept4.c: Likewise.
58033         * socket/bind.c: Likewise.
58034         * socket/connect.c: Likewise.
58035         * socket/getpeername.c: Likewise.
58036         * socket/getsockname.c: Likewise.
58037         * socket/getsockopt.c: Likewise.
58038         * socket/isfdtype.c: Likewise.
58039         * socket/listen.c: Likewise.
58040         * socket/recv.c: Likewise.
58041         * socket/recvfrom.c: Likewise.
58042         * socket/recvmsg.c: Likewise.
58043         * socket/send.c: Likewise.
58044         * socket/sendmsg.c: Likewise.
58045         * socket/sendto.c: Likewise.
58046         * socket/setsockopt.c: Likewise.
58047         * socket/shutdown.c: Likewise.
58048         * socket/sockatmark.c: Likewise.
58049         * socket/socket.c: Likewise.
58050         * socket/socketpair.c: Likewise.
58051         * stdio-common/ctermid.c: Likewise.
58052         * stdio-common/cuserid.c: Likewise.
58053         * stdio-common/remove.c: Likewise.
58054         * stdio-common/rename.c: Likewise.
58055         * stdio-common/renameat.c: Likewise.
58056         * stdio-common/tempname.c: Likewise.
58057         * stdlib/getcontext.c: Likewise.
58058         * stdlib/makecontext.c: Likewise.
58059         * stdlib/setcontext.c: Likewise.
58060         * stdlib/swapcontext.c: Likewise.
58061         * stdlib/system.c: Likewise.
58062         * streams/fattach.c: Likewise.
58063         * streams/fdetach.c: Likewise.
58064         * streams/getmsg.c: Likewise.
58065         * streams/getpmsg.c: Likewise.
58066         * streams/putmsg.c: Likewise.
58067         * streams/putpmsg.c: Likewise.
58068         * sysdeps/unix/bsd/getpt.c: Likewise.
58069         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58070         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58071         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58073         Likewise.
58074         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58075         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58076         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58077         * sysvipc/msgctl.c: Likewise.
58078         * sysvipc/msgget.c: Likewise.
58079         * sysvipc/msgrcv.c: Likewise.
58080         * sysvipc/msgsnd.c: Likewise.
58081         * sysvipc/semctl.c: Likewise.
58082         * sysvipc/semget.c: Likewise.
58083         * sysvipc/semop.c: Likewise.
58084         * sysvipc/semtimedop.c: Likewise.
58085         * sysvipc/shmat.c: Likewise.
58086         * sysvipc/shmctl.c: Likewise.
58087         * sysvipc/shmdt.c: Likewise.
58088         * sysvipc/shmget.c: Likewise.
58089         * termios/tcdrain.c: Likewise.
58090         * termios/tcflow.c: Likewise.
58091         * termios/tcflush.c: Likewise.
58092         * termios/tcgetattr.c: Likewise.
58093         * termios/tcgetpgrp.c: Likewise.
58094         * termios/tcsendbrk.c: Likewise.
58095         * termios/tcsetattr.c: Likewise.
58096         * termios/tcsetpgrp.c: Likewise.
58097         * time/adjtime.c: Likewise.
58098         * time/clock.c: Likewise.
58099         * time/getitimer.c: Likewise.
58100         * time/gettimeofday.c: Likewise.
58101         * time/setitimer.c: Likewise.
58102         * time/settimeofday.c: Likewise.
58103         * time/stime.c: Likewise.
58104         * time/time.c: Likewise.
58106 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58108         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58109         /usr/old/bin.
58111         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58112         instead of spaces.
58113         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58115 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58117         [BZ #14796]
58118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58119         FE_TONEAREST before applying Dekker multiplication and Knuth
58120         addition.  Clear inexact exceptions and check for exact zero
58121         results afterwards.
58122         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58123         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58124         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58125         * math/libm-test.inc (fma_test): Add more tests.
58126         (fma_test_towardzero): Likewise.
58127         (fma_test_downward): Likewise.
58128         (fma_test_upward): Likewise.
58129         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58130         function.
58131         (libc_fesetround): New macro.
58132         (libc_fesetroundf): Likewise.
58133         (libc_fesetroundl): Likewise.
58134         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58135         function.
58136         (libc_fesetround_387): Likewise.
58137         (libc_fesetroundf): New macro.
58138         (libc_fesetround): Likewise.
58139         (libc_fesetroundl): Likewise.
58140         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58141         function.
58142         (libc_fesetroundf): New macro.
58143         (libc_fesetround): Likewise.
58144         (libc_fesetroundl): Likewise.
58145         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58146         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58147         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58148         libm_hidden_ver.
58149         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58150         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58151         libm_hidden_def.
58152         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58153         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58154         libm_hidden_ver.
58155         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58156         libm_hidden_def.
58158         [BZ #3439]
58159         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58160         integer constant usable in #if and use that to give value to enum
58161         constant.
58162         (FE_DIVBYZERO): Likewise.
58163         (FE_UNDERFLOW): Likewise.
58164         (FE_OVERFLOW): Likewise.
58165         (FE_INVALID): Likewise.
58166         (FE_INVALID_SNAN): Likewise.
58167         (FE_INVALID_ISI): Likewise.
58168         (FE_INVALID_IDI): Likewise.
58169         (FE_INVALID_ZDZ): Likewise.
58170         (FE_INVALID_IMZ): Likewise.
58171         (FE_INVALID_COMPARE): Likewise.
58172         (FE_INVALID_SOFTWARE): Likewise.
58173         (FE_INVALID_SQRT): Likewise.
58174         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58175         (FE_TONEAREST): Likewise.
58176         (FE_TOWARDZERO): Likewise.
58177         (FE_UPWARD): Likewise.
58178         (FE_DOWNWARD): Likewise.
58179         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58180         (FE_DIVBYZERO): Likewise.
58181         (FE_OVERFLOW): Likewise.
58182         (FE_UNDERFLOW): Likewise.
58183         (FE_INEXACT): Likewise.
58184         (FE_TONEAREST): Likewise.
58185         (FE_DOWNWARD): Likewise.
58186         (FE_UPWARD): Likewise.
58187         (FE_TOWARDZERO): Likewise.
58188         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58189         (FE_UNDERFLOW): Likewise.
58190         (FE_OVERFLOW): Likewise.
58191         (FE_DIVBYZERO): Likewise.
58192         (FE_INVALID): Likewise.
58193         (FE_TONEAREST): Likewise.
58194         (FE_TOWARDZERO): Likewise.
58195         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58196         (FE_OVERFLOW): Likewise.
58197         (FE_UNDERFLOW): Likewise.
58198         (FE_DIVBYZERO): Likewise.
58199         (FE_INEXACT): Likewise.
58200         (FE_TONEAREST): Likewise.
58201         (FE_TOWARDZERO): Likewise.
58202         (FE_UPWARD): Likewise.
58203         (FE_DOWNWARD): Likewise.
58204         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58205         (FE_DIVBYZERO): Likewise.
58206         (FE_OVERFLOW): Likewise.
58207         (FE_UNDERFLOW): Likewise.
58208         (FE_INEXACT): Likewise.
58209         (FE_TONEAREST): Likewise.
58210         (FE_DOWNWARD): Likewise.
58211         (FE_UPWARD): Likewise.
58212         (FE_TOWARDZERO): Likewise.
58214 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58216         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58218 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58220         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58221         commands.  Quote $PWD.
58222         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58223         -x" by "export".
58224         (remove_newlines): Remove.
58226 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58228         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58229         * stdlib/stdlib.h (atof): Moved to ...
58230         * include/bits/stdlib-float.h: Here.  New file.
58231         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58232         * stdlib/bits/stdlib-float.h: New file.
58233         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58234         -mno-sse -mno-mmx.
58235         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58236         <xmmintrin.h>.
58238 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58240         * conform/conformtest.pl (@headers): Add fenv.h.
58241         * conform/data/fenv.h-data: New file.
58242         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58243         include of <math/fenv.h>.
58245         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58246         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58247         && !UNIX98].  Enables tests for XOPEN2K8.
58248         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58249         POSIX2008]: Likewise.
58251         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58252         (struct rusage): Do not expect type or its members.
58254         [BZ #3439]
58255         * math/math.h (FP_NAN): Define macro to integer constant usable in
58256         #if and use that to give value to enum constant.
58257         (FP_INFINITE): Likewise.
58258         (FP_ZERO): Likewise.
58259         (FP_SUBNORMAL): Likewise.
58260         (FP_NORMAL): Likewise.
58262 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58264         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58265         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58266         arguments.
58268 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58270         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58271         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58272         autoconf-time if not.
58273         * configure.in: Remove AC_PREREQ.
58275 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58277         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58278         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58279         of the internal implementation.
58281 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58283         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58284         except include of <misc/sys/syslog.h>.
58286 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58289         function returns with a NULL context exit with zero.
58291 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58293         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58295 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58297         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58298         (run_program_cmd): This.
58299         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58300         (tst_langinfo): New variable.  Use it.
58302 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58304         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58305         floating point opcodes.
58307 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58309         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58310         variable.
58312         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58314         * sysdeps/mach/hurd/powerpc: Remove directory.
58315         * sysdeps/mach/powerpc: Likewise.
58317 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58319         * scripts/check-local-headers.sh: Ignore c++ headers.
58321 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58323         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58324         __libc_cleanup_region_start argument.
58326 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58328         [BZ #14784]
58329         [BZ #14785]
58330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58331         x * y using scaling, not as x * y + z.
58332         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58333         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58334         * math/libm-test.inc (fma_test): Add more tests.
58335         (fma_test_towardzero): Likewise.
58336         (fma_test_downward): Likewise.
58337         (fma_test_upward): Likewise.
58339 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58341         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58343 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58345         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58346         New variable.
58348 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58350         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58352 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58355         Fix sort order.
58356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58357         Likewise.
58359 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58362         Fix the order of the list for glibc 2.17.
58363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58364         Likewise.
58366 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58370 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58372         [BZ #14610]
58373         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58374         for low part of x being zero before using __atanl (y).
58375         * math/libm-test.inc (atan2_test): Add another test.
58377         * manual/install.texi (Configuring and compiling): Document
58378         general use of test-wrapper and test-wrapper-env.
58379         * INSTALL: Regenerated.
58381         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58382         (__fma): Do not extract and scale down low bits on after-rounding
58383         systems when result rounded to normal precision would have normal
58384         exponent.
58385         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58386         (__fmal): Do not extract and scale down low bits on after-rounding
58387         systems when result rounded to normal precision would have normal
58388         exponent.
58389         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58390         (__fmal): Do not extract and scale down low bits on after-rounding
58391         systems when result rounded to normal precision would have normal
58392         exponent.
58393         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58394         macro.
58395         (fma_test): Add more tests.
58396         (fma_test_towardzero): Likewise.
58397         (fma_test_downward): Likewise.
58398         (fma_test_upward): Likewise.
58400 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58402         * sysdeps/i386/tininess.h: Renamed to ...
58403         * sysdeps/x86/tininess.h: This.
58404         * sysdeps/x86_64/tininess.h: Removed.
58406 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58408         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58409         input.  Use $(build-program-cmd).
58410         ($(objpfx)tst-array1-static.out): Likewise.
58411         ($(objpfx)tst-array2.out): Likewise.
58412         ($(objpfx)tst-array3.out): Likewise.
58413         ($(objpfx)tst-array4.out): Likewise.
58414         ($(objpfx)tst-array5.out): Likewise.
58415         ($(objpfx)tst-array5-static.out): Likewise.
58417 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58419         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58420         if defined.
58422         * nss/nsswitch.h (nss_interface_function): Provide new
58423         macro for use with NSS functions.
58424         * grp/initgroups.c: Use new macro.
58425         * nss/getXXbyYY.c: Likewise.
58426         * nss/getXXbyYY_r.c: Likewise.
58427         * nss/getXXent.c: Likewise.
58428         * nss/getXXent_r.c: Likewise.
58429         * sysdeps/posix/getaddrinfo.c: Likewise.
58431 2012-10-30  Andreas Jaeger  <aj@suse.de>
58433         * po/ru.po: Update Russion translation from translation project.
58435 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58437         [BZ #14152]
58438         [BZ #14783]
58439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58440         result and shift together with sticky bit instead of replicating
58441         round-to-nearest rounding.
58442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58443         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58444         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58445         missing underflow exceptions.
58446         (fma_test_towardzero): Add more tests.
58447         (fma_test_downward): Likewise.
58448         (fma_test_upward): Likewise.
58450         [BZ #14047]
58451         * sysdeps/generic/tininess.h: New file.
58452         * sysdeps/i386/tininess.h: Likewise.
58453         * sysdeps/sh/tininess.h: Likewise.
58454         * sysdeps/x86_64/tininess.h: Likewise.
58455         * stdlib/tst-strtod-underflow.c: Likewise.
58456         * stdlib/tst-tininess.c: Likewise.
58457         * stdlib/strtod_l.c: Include <tininess.h>.
58458         (round_and_return): Do not set errno for exact underflow cases.
58459         Force an underflow exception when setting errno for underflow.
58460         Determine underflow based on rounding to normal precision if
58461         TININESS_AFTER_ROUNDING.
58462         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58463         ERANGE for exact underflow cases.
58464         * stdlib/Makefile (tests): Add tst-tininess and
58465         tst-strtod-underflow.
58466         ($(objpfx)tst-tininess): Use $(link-libm).
58467         ($(objpfx)tst-strtod-underflow): Likewise.
58469 2012-10-30  Andreas Jaeger  <aj@suse.de>
58471         [BZ#14767]
58472         * elf/Makefile (tests): Remove conditional for have-initfini-array
58473         since this is now always required and the variable does not exist
58474         anymore.
58475         (tests-static): Likewise.
58476         (modules-names): Likewise.
58478         * po/eo.po: Add Esperanto translation from translation project.
58480         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58481         merged with constructor/destructor.
58482         (init_array): Likewise.
58483         * elf/tst-array2dep.c (fini_array): Likewise.
58484         (init_array): Likewise.
58486 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58488         * manual/message.texi: Delete @cartouche tags.
58490 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58492         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58493         EOPNOTSUPP.
58494         * sysdeps/mach/hurd/fsync.c: Likewise.
58496         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58497         [_POSIX_REALTIME_SIGNALS]: Change condition to
58498         [_POSIX_REALTIME_SIGNALS > 0].
58500 2012-10-27  Andreas Jaeger  <aj@suse.de>
58502         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58503         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58504         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58505         [__WORDSIZE != 64]: Likewise.
58507 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58509         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58510         *  iconvdata/tst-tables.sh: Likewise.
58512 2012-10-25  David S. Miller  <davem@davemloft.net>
58514         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58515         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58516         of strtoull.
58518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58519         ifunc-impl-list.c
58520         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58521         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58522         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58523         file.
58525 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58527         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58528         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58529         __getdirentries.
58531 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58532             Jim Blandy  <jimb@codesourcery.com>
58534         * scripts/cross-test-ssh.sh: New file.
58535         * manual/install.texi (Configuring and compiling): Document use of
58536         cross-test-ssh.sh.
58537         * INSTALL: Regenerated.
58539 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58541         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58542         EOPNOTSUPP.
58544 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58546         * Makeconfig (run-program-prefix): Fix comment.
58548 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58549             Jim Blandy  <jimb@codesourcery.com>
58551         * Makeconfig (test-wrapper): New variable,
58552         (test-wrapper-env): Likewise.
58553         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58554         (run-built-tests): Define to yes.
58555         (run-program-prefix): Use $(test-wrapper).
58556         (built-program-cmd): Likewise.
58557         * Rules (make-test-out): Use $(test-wrapper-env) and
58558         $(host-built-program-cmd).
58559         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58560         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58561         tst-pathopt.sh.
58562         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58563         $(test-wrapper-env) to tst-rtld-load-self.sh.
58564         ($(objpfx)order2.out): Use $(test-wrapper).
58565         ($(objpfx)tst-initorder.out): Likewise.
58566         ($(objpfx)tst-initorder2.out): Likewise.
58567         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58568         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58569         (test_wrapper_env): New variable.  Use it to run ld.so.
58570         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58571         Use it to run ld.so.
58572         (test_wrapper_env): Likewise.
58573         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58574         $(test-wrapper) to run-iconv-test.sh.
58575         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58576         (ICONV): Use $test_wrapper.
58577         * posix/Makefile ($(objpfx)globtest.out): Pass
58578         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58579         globtest.sh, not $(run-program-prefix).
58580         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58581         (test_wrapper): Likewise.
58582         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58583         set together with run_via_rtld_prefix.
58584         (run_program_prefix): Define in terms of test_wrapper and
58585         run_via_rtld_prefix.
58587 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58589         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58590         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58591         Targets removed.
58593         [BZ #14743]
58594         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58595         Declare __clock_getres, __clock_gettime, __clock_settime,
58596         __clock_nanosleep, and __clock_getcpuclockid.
58597         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58598         Remove librt_hidden_def (clock_gettime).
58599         * sysdeps/unix/clock_gettime.c: Likewise.
58600         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58601         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58602         * rt/clock_getres.c: Define __clock_getres as an alias.
58603         * sysdeps/posix/clock_getres.c: Likewise.
58604         * rt/clock_settime.c: Define __clock_settime as an alias.
58605         * sysdeps/unix/clock_settime.c: Likewise.
58606         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58607         * sysdeps/unix/clock_nanosleep.c: Likewise.
58608         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58609         * rt/clock-compat.c: New file.
58610         * rt/Makefile (librt-routines): Add clock-compat and move
58611         $(clock-routines) to ...
58612         (routines): ... here, new variable.
58613         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58614         Don't add get_clockfreq here.
58615         * rt/Versions (libc: GLIBC_2.17): New version set.
58616         Add clock_* symbols here.
58617         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58618         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58619         (GLIBC_2.17): Add clock_* symbols.
58620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58624         Likewise.
58625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58626         Likewise.
58627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58631         * NEWS: Mention the move.
58633         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58634         Use __open, __read, __close rather than their public counterparts.
58635         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58636         (__get_clockfreq_via_cpuinfo): Likewise.
58637         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58638         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58640         * config.h.in (HAVE_IFUNC): New #undef.
58641         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58642         was successful.
58643         * configure: Regenerated.
58645 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58647         * configure.in: Move READELF check to start of file.
58648         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58649         libc_cv_asm_gnu_indirect_function in the process.
58650         * configure: Regenerated.
58652 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58654         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58655         send the output to /dev/null.
58656         (libc_cv_cc_with_libunwind): Likewise.
58657         (libc_cv_as_noexecstack): Likewise.
58658         * configure: Regenerate.
58660 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58662         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58664         * posix/globtest.sh (TMPDIR): Do not set.
58665         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58666         (testout): Likewise.
58668 2012-10-24  Andreas Jaeger  <aj@suse.de>
58670         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58671         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58672         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58673         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58674         posix_fadvise64, posix_fallocate64.
58676         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58677         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58678         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58679         Likewise.
58680         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58681         Likewise.
58682         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58685         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58686         <bits/fcntl-linux.h>.
58687         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58689         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58690         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58691         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58692         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58693         [__WORDSIZE != 64]: Likewise.
58695 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58697         * Makeconfig (run-built-tests): New variable.
58698         * Rules [$(cross-compiling) = yes]: Change condition to
58699         [$(run-built-tests) = no].
58700         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58701         to [$(run-built-tests) = yes].
58702         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58703         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58704         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58705         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58706         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58707         * io/Makefile [$(cross-compiling) = no]: Likewise.
58708         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58709         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58710         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58711         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58712         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58713         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58714         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58715         * string/Makefile [$(cross-compiling) = no]: Likewise.
58717         * posix/Makefile ($(objpfx)globtest.out): Pass
58718         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58719         $(rtld-installed-name).
58720         * posix/globtest.sh (elf_objpfx): Remove variable.
58721         (rtld_installed_name): Likewise.
58722         (library_path): Likewise.
58723         (run_program_prefix): New variable.  Use for running globtest
58724         binary.
58726 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58727             Joseph Myers  <joseph@codesourcery.com>
58729         * Makeconfig (host-built-program-cmd): New variable.
58730         * elf/Makefile (tst-stackguard1-ARGS): Use
58731         $(host-built-program-cmd).
58732         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58733         (tst-spawn-ARGS): Likewise.
58734         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58736 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58737             Jim Blandy  <jimb@codesourcery.com>
58739         * Makeconfig (run-via-rtld-prefix): New variable.
58740         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58741         (built-program-cmd): Likewise.
58743 2012-10-22  Andreas Jaeger  <aj@suse.de>
58745         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58746         __O_RSYNC if it exists, otherwise to O_SYNC.
58748 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58749             Joseph Myers  <joseph@codesourcery.com>
58751         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58752         /dev/null.
58753         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58754         from /dev/null
58755         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58756         /dev/null.
58758 2012-10-22  Andreas Jaeger  <aj@suse.de>
58760         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58761         Define always.
58762         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58764         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58765         bits/fcntl-linux.h.
58767         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58768         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58770         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58771         to __O_LARGEFILE.
58772         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58773         to __O_LARGEFILE.
58775 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58776             Joseph Myers  <joseph@codesourcery.com>
58778         * config.make.in (NM): New variable.
58780 2012-10-21  Andreas Jaeger  <aj@suse.de>
58782         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58783         definitions and declarations that are provided by
58784         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58786 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58788         [BZ #14683]
58789         * elf/Makefile (tests-static): Add tst-leaks1-static.
58790         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58791         ($(objpfx)tst-leaks1-static): New rule.
58792         ($(objpfx)tst-leaks1-static-mem): Likewise.
58793         (tst-leaks1-static-ENV): New macro.
58794         * elf/dl-open.c (dl_open_worker): Check the main application
58795         only if SHARED is defined.
58796         * elf/tst-leaks1-static.c: New file.
58798 2012-10-20  Andreas Jaeger  <aj@suse.de>
58800         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58801         generic values for Linux.
58802         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58803         and declarations that are provided by <bits/fcntl-linux.h> and
58804         include <bits/fcntl-linux.h>.
58805         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58806         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58808 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58810         * io/fcntl.h: Move include of <bits/types.h> to the top and
58811         include it unconditionally.
58813 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58815         * wcsmbs/Makefile (tests-ifunc): New variable.
58816         (tests): Add $(tests-ifunc).
58817         * wcsmbs/test-wcschr-ifunc.c: New file.
58818         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58819         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58820         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58821         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58822         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58824         * string/Makefile (tests-ifunc): New variable.
58825         (tests): Add $(tests-ifunc).
58826         * string/test-memccpy.c (TEST_NAME): New macro.
58827         * string/test-memchr.c (TEST_NAME): Likewise.
58828         * string/test-memcmp.c (TEST_NAME): Likewise.
58829         * string/test-memcpy.c (TEST_NAME): Likewise.
58830         * string/test-memmem.c (TEST_NAME): Likewise.
58831         * string/test-memmove.c (TEST_NAME): Likewise.
58832         * string/test-memset.c (TEST_NAME): Likewise.
58833         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58834         * string/test-stpcpy.c (TEST_NAME): Likewise.
58835         * string/test-stpncpy.c (TEST_NAME): Likewise.
58836         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58837         * string/test-strcasestr.c (TEST_NAME): Likewise.
58838         * string/test-strcat.c (TEST_NAME): Likewise.
58839         * string/test-strchr.c (TEST_NAME): Likewise.
58840         * string/test-strcmp.c(TEST_NAME): Likewise.
58841         * string/test-strcpy.c (TEST_NAME): Likewise.
58842         * string/test-strcspn.c (TEST_NAME): Likewise.
58843         * string/test-strlen.c (TEST_NAME): Likewise.
58844         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58845         * string/test-strncmp.c (TEST_NAME): Likewise.
58846         * string/test-strncpy.c (TEST_NAME): Likewise.
58847         * string/test-strnlen.c (TEST_NAME): Likewise.
58848         * string/test-strpbrk.c (TEST_NAME): Likewise.
58849         * string/test-strrchr.c (TEST_NAME): Likewise.
58850         * string/test-strspn.c (TEST_NAME): Likewise.
58851         * string/test-strstr.c (TEST_NAME): Likewise.
58852         * string/test-bcopy-ifunc.c: New file.
58853         * string/test-bzero-ifunc.c: Likewise.
58854         * string/test-memccpy-ifunc.c: Likewise.
58855         * string/test-memchr-ifunc.c: Likewise.
58856         * string/test-memcmp-ifunc.c: Likewise.
58857         * string/test-memcpy-ifunc.c: Likewise.
58858         * string/test-memmem-ifunc.c: Likewise.
58859         * string/test-memmove-ifunc.c: Likewise.
58860         * string/test-mempcpy-ifunc.c: Likewise.
58861         * string/test-memset-ifunc.c: Likewise.
58862         * string/test-rawmemchr-ifunc.c: Likewise.
58863         * string/test-stpcpy-ifunc.c: Likewise.
58864         * string/test-stpncpy-ifunc.c: Likewise.
58865         * string/test-strcasecmp-ifunc.c: Likewise.
58866         * string/test-strcasestr-ifunc.c: Likewise.
58867         * string/test-strcat-ifunc.c: Likewise.
58868         * string/test-strchr-ifunc.c: Likewise.
58869         * string/test-strchrnul-ifunc.c: Likewise.
58870         * string/test-strcmp-ifunc.c: Likewise.
58871         * string/test-strcpy-ifunc.c: Likewise.
58872         * string/test-strcspn-ifunc.c: Likewise.
58873         * string/test-strlen-ifunc.c: Likewise.
58874         * string/test-strncasecmp-ifunc.c: Likewise.
58875         * string/test-strncat-ifunc.c: Likewise.
58876         * string/test-strncmp-ifunc.c: Likewise.
58877         * string/test-strncpy-ifunc.c: Likewise.
58878         * string/test-strnlen-ifunc.c: Likewise.
58879         * string/test-strpbrk-ifunc.c: Likewise.
58880         * string/test-strrchr-ifunc.c: Likewise.
58881         * string/test-strspn-ifunc.c: Likewise.
58882         * string/test-strstr-ifunc.c: Likewise.
58884         * debug/Makefile (tests-ifunc): New variable.
58885         (tests): Add $(tests-ifunc).
58886         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58887         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58888         * debug/test-stpcpy_chk-ifunc.c: New file.
58889         * debug/test-strcpy_chk-ifunc.c: Likewise.
58891 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58893         [BZ #13601]
58894         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58895         header is not read in.
58897 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58899         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58900         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58901         directly.  Pass built executable to script as
58902         $(built-program-cmd).
58903         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58904         $testprogram without using LD_LIBRARY_PATH and $ldso.
58906         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58907         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58908         $(rtld-installed-name).
58909         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58910         (rtld_installed_name): Likewise.
58911         (library_path): Likewise.
58912         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58913         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58914         $(run-program-prefix) to tst-tables.sh.
58915         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58916         it to run tst-table-from and tst-table-to.
58917         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58918         Pass it to tst-table.sh.
58919         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58920         $(run-program-prefix) to tst-gettext.sh.
58921         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58922         tst-translit.sh.
58923         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58924         tst-gettext2.sh.
58925         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58926         to run tst-gettext.
58927         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58928         to run tst-gettext2.
58929         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58930         to run tst-translit.
58931         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58932         $(run-program-prefix) to tst-mtrace.sh.
58933         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58934         to run tst-mtrace.
58935         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58936         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58937         $(rtld-installed-name).
58938         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58939         (rtld_installed_name): Likewise.
58940         (run_program_prefix): New variable.  Use it to run wordexp-test.
58942         * Makeconfig (ARCH): Remove all definitions.
58943         (machine): Likewise.
58944         [ARCH]: Remove conditional code.
58945         [!objdir]: Give error.
58946         [!objdir] (objpfx): Remove.
58947         [!objdir] (common-objpfx): Likewise.
58948         [!objdir] (common-objdir): Likewise.
58949         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58950         AC_CONFIG_FILES call.
58951         * configure: Regenerated.
58953         [BZ #13888]
58954         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58955         or TMPDIR.
58956         (testout): Likewise.
58958         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58959         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58960         $(rtld-installed-name).
58961         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58962         (rtld_installed_name): Likwise.
58963         (runit): Remove function.
58964         (run_getconf): New variable,  Use it for running getconf binary.
58966 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58968         [BZ #14716]
58969         * string/test-memmem.c (check_result): New function.
58970         (do_one_test): Use it.
58971         (check1): New function.
58972         (test_main): Use it.
58974 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58976         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58978 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58980         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58981         (_G_LSEEK64): Likewise.
58982         (_G_MMAP64): Likewise.
58983         (_G_FSTAT64): Likewise.
58984         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58985         (_G_LSEEK64): Likewise.
58986         (_G_MMAP64): Likewise.
58987         (_G_FSTAT64): Likewise.
58988         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58989         unconditional.  Call __mmap64 directly.
58990         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58991         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58992         __lseek64 directly.
58993         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58994         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58995         __mmap64 directly.
58996         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58997         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58998         __lseek64 directly.
58999         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59000         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59001         __lseek64 directly.
59002         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59003         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59004         __lseek64 directly.
59005         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59006         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59007         __fxstat64 directly.
59008         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59009         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59010         unconditional.
59011         (freopen64) [!_G_OPEN64]: Remove conditional code.
59012         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59013         unconditional.
59014         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59015         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59016         unconditional.
59017         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59018         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59019         unconditional.
59020         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59021         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59022         unconditional.
59023         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59024         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59025         unconditional.
59026         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59027         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59028         unconditional.
59029         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59030         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59031         unconditional.
59032         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59034 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59036         [BZ #12140]
59037         * manual/memory.texi (Malloc Tunable Parameters): Add note
59038         about free list pointers overwriting some perturb bytes.
59039         Wording suggested by Roland McGrath.
59041 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59043         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59044         (lgamma_test): Likewise.
59045         (tgamma_test): Likewise.
59047 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59049         [BZ #14700]
59050         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59051         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59053 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59055         * NEWS: Mention BZ #14716.
59056         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59057         when removing AVAILABLE1_USES_J macro.
59059 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59061         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59062         (__bswap_64): __uint64_t for unsigned 64-bit int.
59064 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59066         * include/string.h (memmem): Declare libc hidden alias.
59067         * string/memmem.c (memmem): Define libc hidden alias.
59068         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59069         __read, __close instead of open, read, close.
59071 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59074         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59075         global and hidden.
59076         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59077         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59078         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59079         Likewise.
59080         (__rawmemchr_sse2): Likewise.
59081         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59082         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59083         (__strchr_sse2): Likewise.
59084         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59085         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59086         (__strcasecmp_sse2): Likewise.
59087         (__strncasecmp_sse2): Likewise.
59088         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59089         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59090         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59091         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59092         (__strrchr_sse2): Likewise.
59093         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59094         ifunc-impl-list.c.
59095         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59096         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59097         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59098         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59099         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59100         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59101         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59102         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59103         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59104         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59105         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59106         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59107         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59108         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59109         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59110         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59111         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59112         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59113         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59114         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59115         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59116         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59117         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59118         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59119         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59120         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59121         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59122         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59123         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59124         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59126         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59127         global and hidden.
59128         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59129         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59130         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59131         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59132         Likewise.
59133         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59134         Likewise.
59135         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59136         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59137         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59138         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59139         ifunc-impl-list.c.
59140         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59141         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59142         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59143         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59144         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59145         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59146         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59147         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59148         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59149         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59150         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59151         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59152         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59153         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59154         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59155         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59156         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59157         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59158         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59159         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59160         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59161         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59162         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59163         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59164         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59165         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59166         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59167         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59168         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59169         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59170         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59171         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59172         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59173         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59174         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59175         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59176         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59177         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59178         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59179         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59180         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59182         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59183         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59184         * include/ifunc-impl-list.h: New file.
59185         * misc/ifunc-impl-list.c: Likewise.
59186         * misc/Makefile (routines): Add ifunc-impl-list.
59187         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59188         * string/test-string.h: Include <ifunc-impl-list.h>.
59189         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59190         TEST_NAME]: New variables.
59191         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59192         are defined.
59193         (test_init): Call __libc_ifunc_impl_list to initialize
59194         func_list if TEST_IFUNC and TEST_NAME are defined.
59196         * string/Makefile (strop-tests): Add bcopy and bzero.
59197         * string/test-bcopy.c: New file.
59198         * string/test-bzero.c: Likewise.
59199         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59200         defined.
59201         * string/test-memset.c: Support bzero test if TEST_BZERO is
59202         defined.
59203         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59204         __libc_memmove.
59205         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59206         __libc_memset.
59207         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59208         of memset.
59210 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59212         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59213         * configure: Regenerated.
59215         * Makeconfig (+link-static-before-libc): Don't include
59216         $(link-static-libc).
59218         * libio/libio.h (_IO_pos_t): Remove.
59220 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59222         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59223         McGrath.
59225 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59227         * crypt/crypt-entry.c: Include fips-private.h.
59228         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59229         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59230         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59231         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59233 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59235         * crypt/crypt-private.h: Include stdbool.h.
59236         (_ufc_setup_salt_r): Return bool.
59237         * crypt/crypt-entry.c: Include errno.h.
59238         (__crypt_r): Return NULL with EINVAL for bad salt.
59239         * crypt/crypt_util.c (bad_for_salt): New.
59240         (_ufc_setup_salt_r): Check that salt is long enough and within
59241         the specified alphabet.
59242         * crypt/badsalttest.c: New file.
59243         * crypt/Makefile (tests): Add it.
59244         ($(objpfx)badsalttest): New.
59246 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59248         * NEWS: Add entry for BZ #14602.
59250 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59252         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59253         type-generic.
59254         * math/libm-test.inc: Update comment listing what functions and
59255         macros are tested.
59256         (isgreater_test): New function.
59257         (isgreaterequal_test): Likewise.
59258         (isless_test): Likewise.
59259         (islessequal_test): Likewise.
59260         (islessgreater_test): Likewise.
59261         (isunordered_test): Likewise.
59262         (main): Call the new functions.
59264 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59266         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59267         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59268         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59269         * sysdeps/i386/configure: Regenerated.
59270         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59271         * sysdeps/mach/configure: Regenerated.
59272         * sysdeps/mach/hurd/configure: Regenerated.
59273         * sysdeps/powerpc/configure: Regenerated.
59274         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59275         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59276         * sysdeps/s390/s390-32/configure: Regenerated.
59277         * sysdeps/s390/s390-64/configure: Regenerated.
59278         * sysdeps/sh/configure: Regenerated.
59279         * sysdeps/sparc/configure: Regenerated.
59280         * sysdeps/unix/sysv/linux/configure: Regenerated.
59281         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59282         * sysdeps/x86_64/configure: Regenerated.
59284         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59285         defined.  Don't check if MAP is NULL.
59287 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59289         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59290         (_G_stat64): Likewise.
59291         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59292         (_G_stat64): Likewise.
59293         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59294         instead of struct _G_stat64.
59295         * libio/fileops.c (mmap_remap_check): Likewise.
59296         (decide_maybe_mmap): Likewise.
59297         (_IO_new_file_seekoff): Likewise.
59298         (_IO_file_stat): Likewise.
59299         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59300         _G_off64_t.
59301         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59302         instead of struct _G_stat64.
59303         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59305 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59307         [BZ #14602]
59308         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59309         Replace with ...
59310         (CHECK_EOL): New macro.
59311         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59312         CHECK_EOL.
59313         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59314         Replace with CHECK_EOL.
59315         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59316         Replace with CHECK_EOL.
59318 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59320         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59321         type-generic.
59322         * math/libm-test.inc: Update comment listing what functions and
59323         macros are tested.
59324         (finite_test): New function.
59325         (isinf_test): Likewise.
59326         (isnan_test): Likewise.
59327         (fpclassify_test): Test subnormal input.
59328         (isfinite_test): Likewise.
59329         (isnormal_test): Likewise.
59330         (main): Call the new functions.
59332 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59334         [BZ #14660]
59335         * Makerules (%.dynsym): Force C locale when running
59336         $(OBJDUMP) --dynamic-syms.
59338 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59340         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59341         <stdint.h>.
59343 2012-10-06  David S. Miller  <davem@davemloft.net>
59345         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59346         upper 32-bits of the length value in %o2 since we use branch-on-register
59347         tests which consider the entire 64-bit register.
59349 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59351         * string/test-strstr.c (check2): Add a test for page boundary.
59353 2012-10-05  David S. Miller  <davem@davemloft.net>
59355         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59356         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59357         file.
59358         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59359         sysdep_routines.
59360         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59361         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59362         and bzero when HWCAP_SPARC_CRYPTO is present.
59364 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59366         [BZ #14602]
59367         * string/test-strstr.c (check2): New function.
59368         (test_main): Call check2.
59370         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59371         and bug-strchr1.
59372         * string/bug-strcasestr1.c (do_test): Moved to ...
59373         * string/test-strcasestr.c (check1): Here.  New function.
59374         (do_one_test): Break out result checking code into ...
59375         (check_result): This.  New function.
59376         (do_one_test): Call check_result.
59377         (test_main): Call check1.
59378         * string/bug-strchr1.c (do_test): Moved to ...
59379         * string/test-strchr.c (check1): Here.  New function.
59380         (do_one_test): Break out result checking code into ...
59381         (check_result): This.  New function.
59382         (do_one_test): Call check_result.
59383         (test_main): Call check1.
59384         * string/bug-strstr1.c (main): Moved to ...
59385         * string/test-strstr.c (check1): Here.  New function.
59386         (do_one_test): Break out result checking code into ...
59387         (check_result): This.  New function.
59388         (do_one_test): Call check_result.
59389         (test_main): Call check1.
59390         * string/bug-strcasestr1.c: Removed.
59391         * string/bug-strchr1.c: Likewise.
59392         * string/bug-strstr1.c: Likewise.
59394         * elf/Makefile (dl-routines): Add hwcaps.
59395         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59396         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59397         (_dl_important_hwcaps): Moved to ...
59398         * elf/dl-hwcaps.c: Here.  New file.
59399         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59401         [BZ #14557]
59402         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59403         if IS_IN_rtld isn't defined.
59405         * elf/dl-support.c (_dl_sysinfo_map): New.
59406         Include "get-dynamic-info.h" and "setup-vdso.h".
59407         (_dl_non_dynamic_init): Call setup_vdso.
59408         * elf/dynamic-link.h: Don't include <assert.h>.
59409         (elf_get_dynamic_info): Moved to ...
59410         * elf/get-dynamic-info.h: Here.  New file.
59411         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59412         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59413         * elf/setup-vdso.h: Here.  New file.
59414         * elf/rtld.c: Include "setup-vdso.h".
59415         (dl_main): Call setup_vdso.
59417 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59419         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59420         creal in comment listing functions tested.  List finite, isinf,
59421         isnan, isless, islessequal, isgreater, isgreaterequal,
59422         islessgreater, isunordered, lgamma_r and pow10 as functions and
59423         macros not tested.  Mention which functions not tested are aliases
59424         for other functions.  Fix typo.  Note that signs of NaNs are not
59425         tested.
59427         * scripts/config.guess: Update from config.git.
59428         * scripts/config.sub: Likewise.
59430 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59432         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59433         * misc/madvise.c (madvise): Renamed to __madvise.
59434         Make madvise a weak alias.
59435         * include/sys/mman.h: Declare __madvise.
59436         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59437         * sysdeps/unix/syscalls.list
59438         (madvise): Make __madvise the strong name, and madvise a weak alias.
59439         * sysdeps/unix/sysv/linux/syscalls.list
59440         (madvise, mmap): Remove redundant entries.
59441         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59442         * malloc/malloc.c (mtrim): Likewise.
59443         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59445 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59447         * sysdeps/mach/hurd/dl-cache.c: File removed.
59448         * config.h.in (USE_LDCONFIG): New #undef.
59449         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59450         * configure: Regenerated.
59451         * elf/Makefile (dl-routines): Add dl-cache only under
59452         [$(use-ldconfig) = yes].
59453         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59454         cache on [USE_LDCONFIG].
59455         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59456         [USE_LDCONFIG].
59457         * elf/rtld.c (dl_main): Likewise.
59459 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59461         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59462         _SC_LEVEL4_CACHE_LINESIZE.
59464 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59466         * sysdeps/unix/bsd/confstr.h: File removed.
59468 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59470         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59471         sys/sdt-config.h.
59473 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59475         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59476         Make 'mapoff' field ElfW(Off) rather than off_t.
59478 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59480         * nscd/Makefile: Remove nscd-cflags and all its users.
59481         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59482         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59484         [BZ #10631]
59485         * malloc.c (malloc_printerr): Clarify error message.
59487 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59489         [BZ #14648]
59490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59491         Set bit_FMA_Usable if FMA is supported.
59492         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59493         macro.
59494         (bit_FMA4_Usable): Updated.
59495         (index_FMA_Usable): New macro.
59496         (CPUID_FMA): Likewise.
59497         (HAS_FMA): Defined with bit_FMA_Usable.
59499 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59501         * bits/types.h (__swblk_t): Type removed.
59502         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59503         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59504         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59505         (__SWBLK_T_TYPE): Likewise.
59506         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59507         (__SWBLK_T_TYPE): Likewise.
59508         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59509         (__SWBLK_T_TYPE): Likewise.
59510         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59511         (__SWBLK_T_TYPE): Likewise.
59513 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59514             Honza Horak <hhorak@redhat.com>
59516         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59517         (xdr_mapname): Use YPMAXMAP as maxsize.
59518         (xdr_peername): Use YPMAXPEER as maxsize.
59519         (xdr_keydat): Use YPAXRECORD as maxsize.
59520         (xdr_valdat): Use YPMAXRECORD as maxsize.
59522 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59524         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59526         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59527         * csu/init-first.c: ... here.
59528         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59529         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59530         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59531         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59532         * sysdeps/i386/init-first.c: File removed.
59533         * sysdeps/sh/init-first.c: File removed.
59535 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59537         [BZ #14645]
59538         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59539         if x * y might underflow to zero and z is zero.
59540         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59541         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59542         * math/libm-test.inc (min_subnorm_value): New variable.
59543         (fma_test): Add more tests.
59544         (fma_test_towardzero): Likewise.
59545         (fma_test_downward): Likewise.
59546         (fma_test_upward): Likewise.
59547         (initialize): Set min_subnorm_value.
59549 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59551         [BZ #14638]
59552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59553         0 + 0.
59554         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59555         mode for addition resulting in exact zero.
59556         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59558         exact 0 + 0.
59559         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59560         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59561         * math/libm-test.inc (fma_test): Add more tests.
59562         (fma_test_towardzero): New function.
59563         (fma_test_downward): Likewise.
59564         (fma_test_upward): Likewise.
59565         (main): Call the new functions.
59567 2012-09-28  David S. Miller  <davem@davemloft.net>
59569         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59571 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59573         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59574         instead of SIGALRM.
59576         * sysdeps/gnu/_G_config.h: Moved to ...
59577         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59578         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59579         * sysdeps/generic/_G_config.h: ... here.
59581         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59583         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59585         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59586         Conditionalize target on [libnss_test1.so-version].
59588         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59590         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59591         (elfobjdir): Move out of conditionals.
59593         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59594         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59595         (__nss_lookup_function): Conditionalize label remove_from_tree on
59596         [!DO_STATIC_NSS || SHARED], matching its only use.
59598 2012-09-28  David S. Miller  <davem@davemloft.net>
59600         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59601         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59602         file.
59603         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59604         sysdep_routines.
59605         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59607         when HWCAP_SPARC_CRYPTO is present.
59609 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59611         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59613 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59615         [BZ #6530]
59616         * stdio-common/vfprintf.c (process_string_arg): Revert
59617         2000-07-22 change.
59619 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59621         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59622         for testcase.
59623         * stdio-common/tst-sprintf.c: Include <locale.h>
59624         (main): Test sprintf's handling of incomplete multibyte
59625         characters.
59627 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59629         * elf/dl-runtime.c (VERSYMIDX): Removed.
59630         * elf/dl-version.c (VERSYMIDX): Likewise.
59631         * elf/do-rel.h (VERSYMIDX): Likewise.
59632         (VALIDX): Likewise.
59633         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59634         * elf/rtld.c (VALIDX): Likewise.
59635         (ADDRIDX): Likewise.
59636         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59637         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59638         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59639         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59640         (VALIDX): Likewise.
59641         (ADDRIDX): Likewise.
59643 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59645         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59647 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59649         [BZ #11438]
59650         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59651         to global scope.
59652         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59653         addresses are in the same scope as 192.0.2/24.
59654         * posix/gai.conf: Document new scope table defaults.
59656 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59658         [BZ #5298]
59659         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59660         for ftell.  Compute offsets from write pointers instead.
59661         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59663 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59665         [BZ #14543]
59666         * libio/Makefile (tests): New test case tst-fseek.
59667         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59668         combination works in wide mode.
59669         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59670         state when the external buffer state changes.
59672 2012-09-27  David S. Miller  <davem@davemloft.net>
59674         [BZ #14376]
59675         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59676         pass reloc->r_addend in as the 'high' argument to
59677         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59681 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59683         * rt/tst-aio2.c: Include <pthread.h>.
59684         * rt/tst-aio3.c: Likewise.
59686 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59688         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59690 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59692         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59693         contents on [SHARED].
59695 2012-09-26  Marek Polacek  <polacek@redhat.com>
59697         [BZ #14530]
59698         [BZ #13741]
59699         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59700         for C++ and GCC <4.3 as well as for non GCC compilers.
59702 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59706 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59708         * Makefile.in (all, install): Declare with .PHONY.
59709         Reported by Michael Hope <michael.hope@linaro.org>.
59711 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59713         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59714         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59715         system header.
59716         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59717         Likewise.
59718         (sydep_routines): Add the new and the internal functions.
59719         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59720         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59722         (GLIBC_2.17): Add the new function.
59723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59724         (GLIBC_2.17): Likewise.
59725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59726         (GLIBC_2.17): Likewise.
59727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59728         (GLIBC_2.17): Likewise.
59729         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59731 2012-09-25  Alan Modra  <amodra@gmail.com>
59733         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59734         Add release barrier before setting once_control to say
59735         initialisation is done.  Add hints on lwarx.  Use macro in
59736         place of isync.
59737         (clear_once_control): Add release barrier.
59739 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59741         [BZ #13629]
59742         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59743         specially.
59744         * math/s_clog10.c (__clog10): Likewise.
59745         * math/s_clog10f.c (__clog10f): Likewise.
59746         * math/s_clog10l.c (__clog10l): Likewise.
59747         * math/s_clogf.c (__clogf): Likewise.
59748         * math/s_clogl.c (__clogl): Likewise.
59749         * math/Makefile (libm-calls): Add x2y2m1.
59750         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59751         (__x2y2m1): Likewise.
59752         (__x2y2m1l): Likewise.
59753         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59754         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59755         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59756         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59757         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59758         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59759         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59760         * sysdeps/i386/fpu/libm-test-ulps: Update.
59761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59763         [BZ #14621]
59764         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59765         int as type of variable DEPTH.
59766         (glob): Use size_t instead of int as type of variables NEWCOUNT
59767         and OLD_PATHC.
59769 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59771         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59772         Add s_sincosf-sse2.
59773         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59774         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59775         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59776         macros for using routine as __sincosf_ia32.
59777         Use macro for function declaration and weak_alias.
59778         * sysdeps/i386/fpu/libm-test-ulps: Update.
59780         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59783         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59784         subnormal argument.
59785         * math/s_cexpf.c (__cexpf): Likewise.
59786         * math/s_csinf.c (__csinf): Likewise.
59787         * math/s_csinhf.c (__csinhf): Likewise.
59788         * math/s_ctanf.c (__ctanf): Likewise.
59789         * math/s_ctanhf.c (__ctanhf): Likewise.
59790         * math/s_ccosh.c (__ccoshf): Likewise.
59791         * math/s_cexp.c (__cexpl): Likewise.
59792         * math/s_csin.c (__csin): Likewise.
59793         * math/s_csinh.c (__csinh): Likewise.
59794         * math/s_ctan.c (__ctan): Likewise.
59795         * math/s_ctanh.c (ctanh): Likewise.
59796         * math/s_ccoshl.c (__ccoshl): Likewise.
59797         * math/s_cexpl.c (__cexpl): Likewise.
59798         * math/s_csinl.c (__csinl): Likewise.
59799         * math/s_csinhl.c (__csinhl): Likewise.
59800         * math/s_ctanl.c (__ctanl): Likewise.
59801         * math/s_ctanhl.c (__ctanhl): Likewise.
59803 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59805         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59806         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59807         (_IO_off_t): Define to __off_t, not _G_off_t.
59808         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59809         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59810         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59811         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59812         type of __dummy and __dummy2 fields.
59813         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59814         (_G_ssize_t): Likewise.
59815         (_G_off_t): Likewise.
59816         (_G_pid_t): Likewise.
59817         (_G_uid_t): Likewise.
59818         (_G_wchar_t): Likewise.
59819         (_G_wint_t): Likewise.
59820         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59821         (_G_ssize_t): Likewise.
59822         (_G_off_t): Likewise.
59823         (_G_pid_t): Likewise.
59824         (_G_uid_t): Likewise.
59825         (_G_wchar_t): Likewise.
59826         (_G_wint_t): Likewise.
59827         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59828         (_G_ssize_t): Likewise.
59829         (_G_off_t): Likewise.
59830         (_G_pid_t): Likewise.
59831         (_G_uid_t): Likewise.
59832         (_G_wchar_t): Likewise.
59833         (_G_wint_t): Likewise.
59835 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59837         * malloc/arena.c: Include malloc-sysdep.h.
59838         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59839         is sufficient to shrink the heap or an unmap is needed.
59840         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59841         new function check_may_shrink_heap.
59842         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59843         new function check_may_shrink_heap.
59845 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59847         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59848         comments.
59850 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59852         * catgets/test-gencat.sh: Add "set -e".
59853         * elf/tst-pathopt.sh: Likewise.
59854         * grp/tst_fgetgrent.sh: Likewise.
59855         * iconvdata/run-iconv-test.sh: Likewise.
59856         * intl/tst-gettext.sh: Likewise.
59857         * intl/tst-gettext2.sh: Likewise.
59858         * intl/tst-gettext4.sh: Likewise.
59859         * intl/tst-gettext6.sh: Likewise.
59860         * intl/tst-translit.sh: Likewise.
59861         * io/ftwtest-sh: Likewise.
59862         * libio/test-freopen.sh: Likewise.
59863         * malloc/tst-mtrace.sh: Likewise.
59864         * posix/globtest.sh: Likewise.
59865         * posix/tst-getconf.sh: Likewise.
59866         * posix/wordexp-tst.sh: Likewise.
59867         * stdio-common/tst-printf.sh: Likewise.
59868         * stdio-common/tst-unbputc.sh: Likewise.
59869         * stdlib/tst-fmtmsg.sh: Likewise.
59870         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59871         * catgets/Makefile: Do not specify -e option when running
59872         testsuite shell scripts.
59873         * elf/Makefile: Likewise.
59874         * grp/Makefile: Likewise.
59875         * iconvdata/Makefile: Likewise.
59876         * intl/Makefile: Likewise.
59877         * io/Makefile: Likewise.
59878         * libio/Makefile: Likewise.
59879         * malloc/Makefile: Likewise.
59880         * posix/Makefile: Likewise.
59881         * stdio-common/Makefile: Likewise.
59882         * stdlib/Makefile: Likewise.
59883         * sysdeps/x86_64/Makefile: Likewise.
59885         * io/ftwtest-sh: Add copyright header.
59886         * posix/globtest.sh: Likewise.
59887         * posix/tst-getconf.sh: Likewise.
59888         * posix/wordexp-tst.sh: Likewise.
59889         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59891 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59893         [BZ #13679]
59894         * Makeconfig (+link): Defined as $(+link-static) if
59895         $(build-shared) isn't yes.
59896         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59897         isn't yes.
59898         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59900         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59902         [BZ #14562]
59903         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59904         new chunk size with MALLOC_ALIGN_MASK.
59906 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59908         [BZ #5044]
59909         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59910         <rounding-mode.h>.
59911         (__printf_fphex): Determine rounding using get_rounding_mode and
59912         round_away.
59913         * stdio-common/tst-printf-round.c (struct hex_test): New
59914         structure.
59915         (hex_tests): New variable.
59916         (test_hex_in_one_mode): New function.
59917         (do_test): Also run tests for hex float output.
59919 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59921         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59922         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59923         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59924         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59925         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59926         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59927         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59928         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59930 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59932         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59933         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59934         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59935         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59937 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59939         [BZ #14579]
59940         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59941         mode only.
59942         * elf/tst-rtld-load-self.sh: New test.
59943         * elf/Makefile: Run it.
59945 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59947         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59948         (tst-writev-ENV): Remove.
59949         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59951 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59953         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59955 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59957         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59958         unconditional.
59959         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59960         Likewise.
59961         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59962         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59963         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59964         Likewise.
59966 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59968         [BZ #14587]
59969         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59970         * config.make.in (have-cpp-asm-debuginfo): Removed.
59971         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59972         * configure: Regenerated.
59974 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59976         [BZ #5044]
59977         * stdio-common/printf_fp.c: Include <stdbool.h> and
59978         <rounding-mode.h>.
59979         (___printf_fp): Determine rounding using get_rounding_mode and
59980         round_away.
59981         * stdio-common/tst-printf-round.c: New file.
59982         * stdio-common/Makefile (tests): Add tst-printf-round.
59983         (link-libm): New variable.
59984         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59986 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59988         [BZ #14576]
59989         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59990         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59991         Likewise.
59992         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59993         Likewise.
59995 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59997         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59998         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59999         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60000         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60002 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60004         [BZ #14518]
60005         * include/rounding-mode.h: New file.
60006         * sysdeps/generic/get-rounding-mode.h: Likewise.
60007         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60008         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60009         (MAX_VALUE): New macro.
60010         (MIN_VALUE): Likewise.
60011         (overflow_value): New function.
60012         (underflow_value): Likewise.
60013         (round_and_return): Use overflow_value and underflow_value to
60014         determine return values in overflow and underflow cases.  Use
60015         round_away to determine rounding depending on rounding mode.
60016         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60017         determine return values in overflow and underflow cases.
60018         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60019         (struct test_results): New structure.
60020         (struct test): Use struct test_results to store expected results
60021         for all rounding modes.
60022         (TEST): Include expected results for all rounding modes.
60023         (test_in_one_mode): New function.
60024         (do_test): Use test_in_one_mode to compute and check results.
60025         Check results for all rounding modes.
60026         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60027         $(link-libm).
60029 2012-12-09  Allan McRae  <allan@archlinux.org>
60031         * sysdeps/i386/fpu/libm-test-ulps: Update
60033 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60035         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60036         (_G_int32_t): Likewise.
60037         (_G_uint16_t): Likewise.
60038         (_G_uint32_t): Likewise.
60039         (_G_HAVE_BOOL): Likewise.
60040         (_G_HAVE_ATEXIT): Likewise.
60041         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60042         (_G_HAVE_IO_FILE_OPEN): Likewise.
60043         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60044         (_G_int32_t): Likewise.
60045         (_G_uint16_t): Likewise.
60046         (_G_uint32_t): Likewise.
60047         (_G_HAVE_BOOL): Likewise.
60048         (_G_HAVE_ATEXIT): Likewise.
60049         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60050         (_G_HAVE_IO_FILE_OPEN): Likewise.
60051         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60052         (_G_int32_t): Likewise.
60053         (_G_uint16_t): Likewise.
60054         (_G_uint32_t): Likewise.
60055         (_G_HAVE_BOOL): Likewise.
60056         (_G_HAVE_ATEXIT): Likewise.
60057         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60058         (_G_HAVE_IO_FILE_OPEN): Likewise.
60060 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60062         * csu/libc-tls.c: Update copyright years.
60064 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60066         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60067         [!_G_USING_THUNKS]: Remove conditional code.
60068         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60069         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60071         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60072         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60073         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60074         (_G_VTABLE_LABEL_PREFIX): Likewise.
60075         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60076         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60077         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60078         (_G_VTABLE_LABEL_PREFIX): Likewise.
60079         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60080         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60081         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60082         (_G_VTABLE_LABEL_PREFIX): Likewise.
60083         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60085 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60087         * libio/Makefile: Include ../Makeconfig before tests.
60088         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60089         only if $(build-shared) is yes.
60091         * iconv/gconv_db.c: Update copyright years.
60093 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60095         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60096         unwind info if defined PIC. Fix special cases description.
60097         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60099         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60100         DP_HI_MASK entry.
60101         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60103 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60105         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60107         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60108         is NULL.
60110         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60111         (LDLIBS-tst-chk4): This.
60112         (LDFLAGS-tst-chk5): Renamed to ...
60113         (LDLIBS-tst-chk5): This.
60114         (LDFLAGS-tst-chk6): Renamed to ...
60115         (LDLIBS-tst-chk6): This.
60116         (LDFLAGS-tst-lfschk4): Renamed to ...
60117         (LDLIBS-tst-lfschk4): This.
60118         (LDFLAGS-tst-lfschk5): Renamed to ...
60119         (LDLIBS-tst-lfschk5): This.
60120         (LDFLAGS-tst-lfschk6): Renamed to ...
60121         (LDLIBS-tst-lfschk6): This.
60123         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60124         on $(common-objpfx)soversions.mk.
60126 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60128         [BZ #10014]
60129         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60130         example host name.
60132 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60134         * malloc/arena.c (arena_get_retry): New function that gets
60135         another arena for the caller to try its request on.
60136         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60137         current arena cannot fulfill the request.
60138         (__libc_memalign): Likewise.
60139         (__libc_memalign): Likewise.
60140         (__libc_pvalloc): Likewise.
60141         (__libc_calloc): Likewise.
60143 2012-09-05  John Tobey  <john.tobey@gmail.com>
60145         [BZ #13542]
60146         * manual/arith.texi (Operations on Complex): Fix description
60147         of carg branch cut.
60149 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60151         [BZ #10014]
60152         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60153         host name.
60155         [BZ #10038]
60156         * manual/memory.texi (Memory): Make order of menu items match
60157         order of sections.
60159 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60161         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60162         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60163         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60165 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60167         * csu/libc-tls.c (static_dtv): Renamed to ...
60168         (_dl_static_dtv): This.  Make it global.
60169         (_dl_initial_dtv): Removed.
60170         (__libc_setup_tls): Updated.
60171         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60172         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60173         DL_INITIAL_DTV.
60175 2012-09-06  Petr Machata  <pmachata@redhat.com>
60177         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60178         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60179         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60180         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60182 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60184         [BZ #14545]
60185         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60186         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60187         freeing dtv[-1].
60189 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60191         [BZ #14544]
60192         * Makeconfig (link-static-before-libc): Replace $(+prector)
60193         with $(+prectorT).
60194         (link-static-after-libc): Replace $(+postctor) with
60195         $(+postctorT).
60196         (link-bounded): Replace $(+prector)/$(+postctor) with
60197         $(+prectorT)/$(+postctorT).
60198         (+prectorT): New macro.
60199         (+postctorT): Likewise.
60201 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60203         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60204         (round_str): Handle values above the maximum for IBM long double
60205         as inexact.
60206         * stdlib/tst-strtod-round.c (tests): Regenerated.
60208 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60210         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60211         assembler flag.
60212         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60213         zarch_nohighgprs around the zarch optimized routines.
60214         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60215         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60216         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60217         for zarch.
60219 2012-09-05  David S. Miller  <davem@davemloft.net>
60221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60223         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60224         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60225         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60226         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60227         entries.
60229 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60231         * malloc/arena.c: Fold copyright years.
60232         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60234 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60236         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60238 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60240         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60242 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60244         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60245         change internal state upon failure.
60247 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60249         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60250         * malloc/memusage.c (mmap): Likewise.
60251         (mmap64, mremap): Likewise.  Adjust name in comment.
60253 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60255         * libio/fileops.c: Fix typos in comments.
60256         * libio/oldfileops.c: Likewise.
60257         * libio/wfileops.c: Likewise.
60259 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60261         [BZ #1349]
60262         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60263         (tst-malloc-usable-ENV): Set environment for test case.
60264         * malloc/hooks.c (malloc_check_get_size): New function to get
60265         requested size.
60266         * malloc/malloc.c (musable): Use malloc_check_get_size.
60267         * malloc/tst-malloc-usable.c: New test case.
60269 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60271         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60273 2012-09-05  Allan McRae  <allan@archlinux.org>
60275         [BZ #13966]
60276         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60277         determine header location.
60278         * configure: Regenerated.
60280 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60282         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60283         float format.
60284         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60285         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60286         format.
60287         (test): Regenerate.
60289 2012-09-04  David S. Miller  <davem@davemloft.net>
60291         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60292         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60293         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60295 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60297         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60298         failures.
60300         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60302 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60304         [BZ #9914]
60305         * libio/iogetdelim.c: Include <limits.h>.
60306         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60307         + len + 1 would overflow.
60309 2012-09-03  Andreas Jaeger  <aj@suse.de>
60311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60312         * sysdeps/i386/fpu/libm-test-ulps: Update.
60314 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60316         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60317         Add s_sinf-sse2, s_conf-sse2.
60319         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60320         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60321         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60322         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60324         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60325         for using routine as __sinf_ia32.
60326         Use macro for function declaration and weak_alias.
60327         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60328         for using routine as __cosf_ia32.
60329         Use macro for function declaration and weak_alias.
60331         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60332         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60334         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60335         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60338         * math/libm-test.inc (cos_test): Add more test cases.
60339         (sin_test): Likewise.
60340         (sincos_test): Likewise.
60342 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60344         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60345         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60346         hidden.
60347         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60349 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60351         [BZ #14538]
60352         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60353         first element of the GOT.
60354         (elf_machine_load_address): Return the difference between
60355         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60357 2012-09-01  Allan McRae  <allan@archlinux.org>
60359         [BZ #13412]
60360         * configure.in (AWK): Require gawk version 3.0 or later.
60361         * configure: Regenerated.
60363 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60365         * sysdeps/unix/sysv/linux/kernel-features.h
60366         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60367         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60368         [__NR_clock_getres]: Make code unconditional.
60369         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60370         (clock_getcpuclockid): Remove code left unreachable by removal of
60371         conditionals.
60372         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60373         code unconditional.
60374         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60375         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60376         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60377         Make code unconditional.
60378         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60379         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60380         * sysdeps/unix/sysv/linux/clock_settime.c
60381         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60382         conditional code.
60383         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60384         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60386 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60388         [BZ #14476]
60389         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60390         scripts/test-installation.pl.
60392         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60393         and $ld_so_version if it is set.
60395 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60397         [BZ #14516]
60398         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60399         failure if reading from procfs failed.
60400         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60402 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60404         * sysdeps/unix/sysv/linux/kernel-features.h
60405         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60406         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60407         Remove conditional code.
60408         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60409         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60410         Remove conditional code.
60411         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60412         * sysdeps/unix/sysv/linux/i386/fxstat.c
60413         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60414         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60415         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60416         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60417         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60418         * sysdeps/unix/sysv/linux/i386/lxstat.c
60419         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60420         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60421         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60422         Remove conditional code.
60423         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60424         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60425         Remove conditional code.
60426         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60427         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60428         <kernel-features.h>.
60429         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60430         Remove.
60431         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60432         Remove conditional code.
60433         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60434         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60435         Remove conditional.
60437 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60439         [BZ #5400]
60440         * NEWS: Add fixed bug number.
60442 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60444         [BZ #14519]
60445         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60446         underflowing exponent in case of negative sign.
60447         * stdlib/tst-strtod-round-data: Add more tests.
60448         * stdlib/tst-strtod-round.c (tests): Regenerated.
60450         [BZ #3479]
60451         * stdlib/strtod_l.c (NDIG): Remove.
60452         (HEXNDIG): Likewise.
60453         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60454         smallest representable value.
60455         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60456         lie within an exact representation of 1/2 ulp of the result.
60457         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60458         unconditionally.
60459         (TENS_P9_IDX): Define unconditionally.
60460         (TENS_P9_SIZE): Likewise.
60461         (TENS_P10_IDX): Likewise.
60462         (TENS_P10_SIZE): Likewise.
60463         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60464         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60465         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60466         entries for 10^2^13 and 10^2^14.
60467         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60468         (TENS_P13_IDX): Define.
60469         (TENS_P13_SIZE): Likewise.
60470         (TENS_P14_IDX): Likewise.
60471         (TENS_P14_SIZE): Likewise.
60472         (_fpioconst_pow10): Change array size to
60473         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60474         unconditional.
60475         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60476         1024]: Add entries for 10^2^13 and 10^2^14.
60477         [LAST_POW10 > _LAST_POW10]: Remove #error.
60478         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60479         (_fpioconst_pow10): Change array size to
60480         FPIOCONST_POW10_ARRAY_SIZE.
60481         * stdlib/gen-fpioconst.c: New file.
60482         * stdlib/gen-tst-strtod-round.c: Likewise.
60483         * stdlib/tst-strtod-round-data: Likewise.
60484         * stdlib/tst-strtod-round.c: Likewise.
60485         * stdlib/Makefile (tests): Add tst-strtod-round.
60487         [BZ #14459]
60488         * stdlib/strtod_l.c: Include <stdint.h>.
60489         (NDEBUG): Do not define.
60490         (round_and_return): Change EXPONENT parameter to type intmax_t.
60491         Rearrange calculations to avoid internal overflow possibilities.
60492         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60493         Rearrange calculations to avoid internal overflow possibilities.
60494         Assert that number fits inside MPNSIZE limbs.
60495         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60496         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60497         calculations and add assertions to avoid internal overflow
60498         possibilities.  Add casts to avoid signed/unsigned operations.
60499         * stdlib/tst-strtod-overflow.c: New file.
60500         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60502 2012-08-25  Marek Polacek  <polacek@redhat.com>
60504         * time/time.h: Fix some typos in comments.
60506 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60508         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60509         * posix/tst-rfc3484-2.c: Likewise.
60510         * posix/tst-rfc3484-3.c: Likewise.
60512 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60514         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60515         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60517 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60519         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60520         #include of fxstatat64.c.
60522 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60524         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60525         * shadow/getspent_r.c: Likewise.
60526         * shadow/getspnam.c: Likewise.
60527         * shadow/getspnam_r.c: Likewise.
60528         * gshadow/getsgent.c: Likewise.
60529         * gshadow/getsgent_r.c: Likewise.
60530         * gshadow/getsgnam.c: Likewise.
60531         * gshadow/getsgnam_r.c: Likewise.
60532         * inet/getnetbyad.c: Likewise.
60533         * inet/getnetbyad_r.c: Likewise.
60534         * inet/getnetbynm.c: Likewise.
60535         * inet/getnetbynm_r.c: Likewise.
60536         * inet/getnetent.c: Likewise.
60537         * inet/getnetent_r.c: Likewise.
60538         * inet/getproto.c: Likewise.
60539         * inet/getproto_r.c: Likewise.
60540         * inet/getprtent.c: Likewise.
60541         * inet/getprtent_r.c: Likewise.
60542         * inet/getprtname.c: Likewise.
60543         * inet/getprtname_r.c: Likewise.
60544         * inet/getrpcbyname.c: Likewise.
60545         * inet/getrpcbyname_r.c: Likewise.
60546         * inet/getrpcbynumber.c: Likewise.
60547         * inet/getrpcbynumber_r.c: Likewise.
60548         * inet/getrpcent.c: Likewise.
60549         * inet/getrpcent_r.c: Likewise.
60550         * inet/getaliasent.c: Likewise.
60551         * inet/getaliasent_r.c: Likewise.
60552         * inet/getaliasname.c: Likewise.
60553         * inet/getaliasname_r.c: Likewise.
60554         * nscd/getgrgid_r.c: Likewise.
60555         * nscd/getgrnam_r.c: Likewise.
60556         * nscd/gethstbyad_r.c: Likewise.
60557         * nscd/gethstbynm3_r.c: Likewise.
60558         * nscd/getpwnam_r.c: Likewise.
60559         * nscd/getpwuid_r.c: Likewise.
60560         * nscd/getsrvbynm_r.c: Likewise.
60561         * nscd/getsrvbypt_r.c: Likewise.
60562         * nscd/gai.c: Likewise.
60564         * configure.in (build_nscd): New substituted variable, set
60565         by --disable-build-nscd and defaults to $use_nscd.
60566         * configure: Regenerated.
60567         * config.make.in (build-nscd): New substituted variable.
60568         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60569         Change conditional to require [$(build-nscd) = yes] as well.
60570         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60572         [BZ# 13696]
60573         * configure.in (use_nscd): New substituted variable, set by
60574         --disable-nscd.  If enabled, define USE_NSCD.
60575         * configure: Regenerated.
60576         * config.h.in: Add USE_NSCD.
60577         * config.make.in (use-nscd): New substituted variable.
60578         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60579         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60580         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60581         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60582         (CFLAGS-getgrnam_r.c): Likewise.
60583         (CFLAGS-initgroups.c): Likewise.
60584         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60585         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60586         Variables removed.
60587         * inet/getnetgrent_r.c
60588         (nscd_setnetgrent): New function, broken out of ...
60589         (setnetgrent): ... here.  Call it.
60590         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60591         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60592         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60593         * nscd/Makefile (routines, aux): Move definitions after include of
60594         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60595         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60596         Conditionalize on [USE_NSCD].
60597         (is_nscd, nscd_init_cb): Likewise.
60598         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60599         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60600         * nss/nss_db/db-init.c: Likewise.
60601         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60602         [USE_NSCD].
60603         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60604         (make_request): Use it.
60605         (cache_valid_p): New function.
60606         (__check_pf): Use it.
60607         * NEWS: Add item for --disable-nscd.
60609 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60611         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60612         to support sed >= 4.2.1-20-ga9bf076.
60613         * configure: Regenerated.
60615 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60617         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60618         Conditionalize whole body on [IREL].
60620 2012-08-22  Jeff Law <law@redhat.com>
60622         [BZ #14505]
60623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60624         if the family is PF_UNSPEC.
60626 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60628         * Makerules (lib-version): Rename from V.
60629         (install-lib-nosubdir): Change V to lib-version.
60631 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60633         [BZ #14252]
60634         * powerpc32/power6/wcschr.c: New file.
60635         * powerpc32/power6/wcscpy.c: New file.
60636         * powerpc32/power6/wcsrchr.c: New file.
60637         * powerpc64/power6/wcschr.c: New file.
60638         * powerpc64/power6/wcscpy.c: New file.
60639         * powerpc64/power6/wcsrchr.c: New file.
60641 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60643         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60644         (two_way_short_needle): Use it.
60645         * string/strstr.c (AVAILABLE1_USES_J): Define.
60646         * string/strcasestr.c: Likewise.
60648         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60649         array references.
60650         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60652         [BZ #11607]
60653         * NEWS: Add an entry.
60654         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60655         define their defaults.
60656         (two_way_short_needle): Detect end-of-string on-the-fly.
60657         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60658         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60659         * string/bug-strcasestr1.c: New test.
60660         * string/Makefile: Run it.
60662 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60664         [BZ #11607]
60665         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60666         the first character.
60668 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60670         * csu/elf-init.c (__libc_csu_irel): Function removed.
60671         * csu/libc-start.c (apply_irel): New function.
60672         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60674 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60676         * sysdeps/unix/sysv/linux/kernel-features.h
60677         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60678         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60679         <kernel-features.h>.
60680         [__NR_fadvise64_64]: Make code unconditional.
60681         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60682         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60683         !__NR_fadvise64_64)]: Likewise.
60684         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60685         !__NR_fadvise64_64))]: Likewise.
60686         [__NR_fadvise64]: Make code unconditional.
60687         [!__NR_fadvise64]: Remove conditional code.
60688         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60689         <kernel-features.h>.
60690         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60691         unconditional.
60692         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60693         conditional code.
60694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60695         not include <kernel-features.h>.
60696         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60697         unconditional.
60698         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60699         conditional code.
60700         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60701         include <kernel-features.h>.
60702         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60703         unconditional.
60704         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60705         conditional code.
60707 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60709         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60710         slight instruction rearrangements per scrollpipe analysis.
60711         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60713 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60715         * manual/syslog.texi (syslog; vsyslog, closelog):
60716         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60717         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60719         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60720         DSOCAPS to match condition on defining it.
60722 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60724         * sysdeps/unix/sysv/linux/kernel-features.h
60725         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60727         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60728         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60730         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60731         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60733         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60734         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60736         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60737         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60739         * sysdeps/unix/sysv/linux/kernel-features.h
60740         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60741         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60742         unconditional.
60743         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60744         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60745         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60746         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60747         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60748         Make code unconditional.
60749         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60750         (__mmap64) [!__NR_mmap2]: Likewise.
60751         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60752         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60753         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60754         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60755         [__NR_mmap2]: Make code unconditional.
60756         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60757         (__mmap64) [!__NR_mmap2]: Likewise.
60759 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60761         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60763 2012-08-18  Andreas Jaeger  <aj@suse.de>
60765         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60767 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60769         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60770         * include/unistd.h (__have_sock_cloexec): Likewise.
60771         (__have_pipe2): Likewise.
60772         (__have_dup3): Likewise.
60774 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60776         [BZ #9685]
60777         * include/unistd.h (__have_pipe2): Change define into an extern int.
60778         (__have_dup3): Likewise.
60779         * socket/have_sock_cloexec.c: Include fcntl.h.
60780         (__have_pipe2): New variable.
60781         (__have_dup3): Likewise.
60783 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60785         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60787 2012-08-17  Marek Polacek  <polacek@redhat.com>
60789         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60790         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60792 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60794         * configure.in: Add AC_SUBST for sysheaders.
60795         * configure: Regenerated.
60796         * config.make.in (sysheaders): New substituted variable.
60798         * sysdeps/unix/mkfifo.c: Moved ...
60799         * sysdeps/posix/mkfifo.c: ... here.
60800         * sysdeps/unix/mkfifoat.c: Moved ...
60801         * sysdeps/posix/mkfifoat.c: ... here.
60803         * sysdeps/unix/utime.c: Moved ...
60804         * sysdeps/posix/utime.c: ... here.
60806         * sysdeps/unix/time.c: Moved ...
60807         * sysdeps/posix/time.c: ... here.
60808         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60809         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60811         * sysdeps/unix/nice.c: Moved ...
60812         * sysdeps/posix/nice.c: ... here.
60814         * sysdeps/unix/alarm.c: Moved ...
60815         * sysdeps/posix/alarm.c: ... here.
60817         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60819 2012-08-17  Jeff Law <law@redhat.com>
60821         * intl/Makefile (codeset_mo): New variable.
60822         ($(codeset_mo)): New target.
60823         (tst-codeset.out): Depend on that.  Remove explicit rule.
60824         (tst-gettext3.out, tst-gettext5.out): Likewise.
60825         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60826         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60827         * intl/tst-codeset.sh: Remove.
60828         * intl/tst-gettext3.sh: Likewise.
60829         * intl/tst-gettext5.sh: Likewise.
60831 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60833         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60834         * sysdeps/unix/syscalls.list: ... here.
60836         * sysdeps/posix/getaddrinfo.c
60837         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60838         (gaiconf_init, gaiconf_reload): Use them.
60839         [!_STATBUF_ST_NSEC]
60840         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60841         Define using time_t rather than struct timespec.
60843         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60844         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60845         Macros removed.
60846         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60847         [!NO_THREADS].
60848         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60849         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60850         Likewise.
60852         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60853         __libc_cleanup_push argument.
60855         * bits/param.h: New file.
60856         * misc/sys/param.h: New file.
60857         * include/sys/param.h: New file.
60858         * misc/Makefile (headers): Add bits/param.h.
60859         * sysdeps/generic/sys/param.h: File removed.
60860         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60861         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60862         * sysdeps/mach/hurd/bits/param.h: New file.
60863         * sysdeps/mach/hurd/sys/param.h: File removed.
60865         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60866         last change.
60868         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60869         [_IO_MTSAFE_IO].
60870         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60871         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60872         New macros.
60874         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60875         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60876         rather than -D_IO_MTSAFE_IO conditionally.
60877         * stdio-common/Makefile (CPPFLAGS): Likewise.
60878         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60879         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60880         Use $(libio-mtsafe).
60881         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60882         of -D_IO_MTSAFE_IO.
60883         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60884         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60885         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60886         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60887         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60888         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60889         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60890         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60891         (CFLAGS-fread_u_chk.c): Likewise.
60892         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60893         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60894         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60895         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60896         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60897         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60898         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60899         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60900         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60902         * libio/Makefile: Test [$(libc-reentrant) = yes]
60903         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60905         * Makeconfig
60906         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60907         * sysdeps/pthread/configure: File removed.
60908         * sysdeps/pthread/Makeconfig: New file.
60909         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60910         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60912 2012-08-16  Gary Benson  <gbenson@redhat.com>
60914         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60915         unmapping the first object in a namespace.
60917 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60919         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60920         (__internal_setnetgrent): ... this.  Add internal_function to
60921         definition.  Add libc_hidden_def.
60922         (setnetgrent): Update caller.
60923         (internal_endnetgrent): Renamed to ...
60924         (__internal_endnetgrent): ... this.  Add internal_function to
60925         definition.  Add libc_hidden_def.
60926         (endnetgrent): Update caller.
60927         (internal_getnetgrent_r): Renamed to ...
60928         (__internal_getnetgrent_r): ... this.  Add internal_function to
60929         definition.  Add libc_hidden_def.
60930         (__getnetgrent_r): Update caller.
60931         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60933 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60935         * stdlib/longlong.h: Update from GCC.
60937 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60939         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60940         on _QL, which is set by umul_ppmm but never used.
60941         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60942         variables, which are set by GMP macros but never used.
60943         * stdio-common/_itowa.c (_itowa): Likewise.
60944         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60945         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60947 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60949         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60950         struct La_sh_regs is not constant.
60951         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60952         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60953         and struct La_sparc64_regs are not constant.
60955 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60957         * sysdeps/unix/sysv/linux/kernel-features.h
60958         (__ASSUME_POSIX_TIMERS): Remove.
60959         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60960         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60961         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60962         Make code unconditional.
60963         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60964         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60965         Make code unconditional.
60966         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60967         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60968         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60969         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60970         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60971         Make code unconditional.
60972         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60973         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60974         (__libc_missing_posix_timers): Remove.
60976 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60978         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60979         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60981         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60983         * elf/dl-sym.c: Include <stdlib.h>.
60985         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60986         constants, which avoids warnings in 32-bit builds.
60988         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60989         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60991         * misc/lseek.c: File moved to ...
60992         * io/lseek.c: ... here.
60994         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60996         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60997         shifting LEN more than 31 bits at once.
60999 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61001         [BZ #14195]
61002         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61003         segmentation fault for a case of two empty input strings.
61004         * string/test-strncasecmp.c (check1): Renamed to...
61005         (bz12205): ...this.
61006         (bz14195): Add new testcase for two empty input strings and N > 0.
61007         (test_main): Call new testcase, adapt for renamed function.
61009 2012-08-15  Andreas Jaeger  <aj@suse.de>
61011         [BZ #14090]
61012         * crypt/md5test2.c: New test, based on test supplied by Serge
61013         Belyshev <belyshev@depni.sinp.msu.ru>.
61014         * crypt/Makefile (xtests): Add md5test-giant..
61015         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61017 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61019         [BZ #14090]
61020         * crypt/md5.c (md5_process_block): Don't assume the buffer
61021         length is less than 2**32.
61022         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61023         length is less than 2**64.
61025 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61027         * string/str-two-way.h: Include <sys/param.h>.
61028         (MAX): Macro removed.
61030         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61031         Move #define and #undef of memmove to just before and after
61032         including <string.h>.
61034         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61035         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61036         and after including <string.h>.  Move declarations of
61037         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61038         to before #include "string/memmove.c".
61040         * include/dirent.h: Declare __getdirentries.
61042         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61043         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61045 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61047         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61048         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61049         * sysdeps/i386/configure: Regenerated.
61050         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61051         STABS_CURRENT_FILE, and STABS_FUN.
61052         (END): Remove call to STABS_FUN_END.
61053         (STABS_CURRENT_FILE1): Delete.
61054         (STABS_CURRENT_FILE): Likewise.
61055         (STABS_FUN): Likewise.
61056         (STABS_FUN_END): Likewise.
61057         (STABS_FUN2): Likewise.
61058         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61059         * sysdeps/x86_64/configure: Regenerated.
61061 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61063         * elf/dl-open.c: Include <atomic.h>.
61064         * elf/dl-lookup.c: Likewise.
61066 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61068         * sysdeps/unix/sysv/linux/kernel-features.h
61069         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61070         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61071         unconditionally.
61072         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61073         unconditionally.
61074         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61075         condition on __ASSUME_CLONE_THREAD_FLAGS.
61077 2012-08-14  Andreas Jaeger  <aj@suse.de>
61079         * sysdeps/i386/fpu/libm-test-ulps: Update.
61081 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61083         * include/atomic.h (atomic_exchange_and_add): Split into ...
61084         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61085         New atomic macros.
61087 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61091 2012-08-13  Jeff Law <law@redhat.com>
61093         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61094         null byte in the output string.
61096 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61098         * sysdeps/unix/sysv/linux/kernel-features.h
61099         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61100         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61101         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61102         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61103         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61104         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61105         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61107 2012-08-09  Jeff Law <law@redhat.com>
61109         [BZ #13939]
61110         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61111         When avoid_arena is set, don't retry in the that arena.  Pick the
61112         next one, whatever it might be.
61113         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61114         (arena_lock): Pass in new parameter to arena_get2.
61115         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61116         arena_get2.
61117         (__libc_malloc): Unify retrying after main arena failure with
61118         __libc_memalign version.
61119         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61121 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61123         [BZ #14166]
61124         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61125         to __redirect_strstr.
61126         (__strstr_sse42): Use typeof __redirect_strstr.
61127         (__strstr_ia32): Likewise.
61128         (__libc_strstr): New prototype.
61129         (strstr): Renamed to ...
61130         (__libc_strstr): This.
61131         (strstr): New strong alias of __libc_strstr.
61132         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61133         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61134         __redirect_time.
61135         Include <time.h>.
61136         (__libc_time): New prototype.
61137         (time_ifunc): Replace time with __libc_time.
61138         (time): New strong alias and hidden definition of __libc_time.
61139         (__GI_time): Remove strong alias.
61140         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61141         Include <stddef.h>.
61142         (memmove): Redefined to __redirect_memmove.
61143         (__memmove_sse2): Use typeof __redirect_memmove.
61144         (__memmove_ssse3): Likewise.
61145         (__memmove_ssse3_back): Likewise.
61146         (__libc_memmove): New prototype.
61147         (memmove): Renamed to ...
61148         (__libc_memmove): This.
61149         (memmove): New strong alias of __libc_memmove.
61151 2012-08-08  Mark Salter  <msalter@redhat.com>
61153         * elf/elf.h
61154         (R_MN10300_TLS_GD): Define.
61155         (R_MN10300_TLS_LD): Likewise.
61156         (R_MN10300_TLS_LDO): Likewise.
61157         (R_MN10300_TLS_GOTIE): Likewise.
61158         (R_MN10300_TLS_IE): Likewise.
61159         (R_MN10300_TLS_LE): Likewise.
61160         (R_MN10300_TLS_DTPMOD): Likewise.
61161         (R_MN10300_TLS_DTPOFF): Likewise.
61162         (R_MN10300_TLS_TPOFF): Likewise.
61163         (R_MN10300_SYM_DIFF): Likewise.
61164         (R_MN10300_ALIGN): Likewise.
61165         (R_MN10300_NUM): Update.
61167 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61169         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61170         Remove.
61172 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61174         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61176         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61177         sysdeps/unix -> sysdeps/posix move.
61178         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61180 2012-08-07      Allan McRae     <allan@archlinux.org>
61182         [BZ #14303]
61183         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61184         (SUNOS_CPP): Likewise.
61185         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61186         not found.
61187         (open_input): Call CPP using execvp.
61189 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61191         * sysdeps/unix/sysv/linux/kernel-features.h
61192         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61193         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61194         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61195         (__ASSUME_WAITID_SYSCALL): Likewise.
61196         * sysdeps/unix/sysv/linux/dl-execstack.c
61197         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61198         code unconditional.
61199         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61200         conditional code.
61201         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61202         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61203         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61204         code.
61205         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61206         unconditional.
61207         [__ASSUME_WAITID_SYSCALL]: Likewise.
61208         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61210 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61212         * sysdeps/unix/closedir.c: Renamed to ...
61213         * sysdeps/posix/closedir.c: ... here.
61214         * sysdeps/unix/dirfd.c: Renamed to ...
61215         * sysdeps/posix/dirfd.c: ... here.
61216         * sysdeps/unix/dirstream.h: Renamed to ...
61217         * sysdeps/posix/dirstream.h: ... here.
61218         * sysdeps/unix/fdopendir.c: Renamed to ...
61219         * sysdeps/posix/fdopendir.c: ... here.
61220         * sysdeps/unix/opendir.c: Renamed to ...
61221         * sysdeps/posix/opendir.c: ... here.
61222         * sysdeps/unix/readdir.c: Renamed to ...
61223         * sysdeps/posix/readdir.c: ... here.
61224         * sysdeps/unix/readdir_r.c: Renamed to ...
61225         * sysdeps/posix/readdir_r.c: ... here.
61226         * sysdeps/unix/rewinddir.c: Renamed to ...
61227         * sysdeps/posix/rewinddir.c: ... here.
61228         * sysdeps/unix/seekdir.c: Renamed to ...
61229         * sysdeps/posix/seekdir.c: ... here.
61230         * sysdeps/unix/telldir.c: Renamed to ...
61231         * sysdeps/posix/telldir.c: ... here.
61232         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61233         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61234         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61235         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61237         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61238         * bits/fcntl.h: ... here.
61240         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61241         not 0.
61242         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61243         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61244         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61245         (struct flock): Move l_start, l_len to the beginning.
61246         Use __pid_t for l_pid.
61247         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61248         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61249         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61250         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61251         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61252         [__USE_LARGEFILE64] (struct flock64): New type.
61253         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61255         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61256         * bits/dirent.h: ... here.
61258         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61259         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61261 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61263         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61264         Change from 2.6.0 to 2.6.16.
61265         * sysdeps/unix/sysv/linux/configure: Regenerated.
61266         * sysdeps/unix/sysv/linux/kernel-features.h
61267         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61268         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61269         version.
61270         (__ASSUME_UTIMES): Likewise.
61271         (__ASSUME_CLONE_STOPPED): Remove.
61272         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61273         architectures, not kernel version.
61274         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61275         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61276         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61277         (__ASSUME_WAITID_SYSCALL): Likewise.
61278         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61279         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61280         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61281         refer to older versions.
61283 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61285         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61286         Define alphasort64 as an alias.
61287         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61288         Define versionsort64 as an alias.
61289         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61290         Define scandir64 as an alias.
61291         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61292         Define scandirat64 as an alias.
61293         * dirent/alphasort64.c (alphasort64):
61294         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61295         * dirent/versionsort64.c: Likewise.
61296         * dirent/scandir64.c: Likewise.
61297         * dirent/scandirat64.c: Likewise.
61298         * sysdeps/wordsize-64/alphasort.c: File removed.
61299         * sysdeps/wordsize-64/alphasort64.c: File removed.
61300         * sysdeps/wordsize-64/scandir.c: File removed.
61301         * sysdeps/wordsize-64/scandir64.c: File removed.
61302         * sysdeps/wordsize-64/scandirat.c: File removed.
61303         * sysdeps/wordsize-64/scandirat64.c: File removed.
61304         * sysdeps/wordsize-64/versionsort.c: File removed.
61305         * sysdeps/wordsize-64/versionsort64.c: File removed.
61306         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61307         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61309         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61311         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61312         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61313         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61315         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61316         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61317         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61318         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61319         [defined __arch64__ || defined __sparcv9]
61320         (__INO_T_MATCHES_INO64_T): New macro.
61321         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61322         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61323         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61324         * sysdeps/unix/sysv/linux/bits/dirent.h
61325         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61326         (_DIRENT_MATCHES_DIRENT64): New macro.
61328         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61329         Define lockf64 as an alias.
61330         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61331         Define fseeko64 as an alias.
61332         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61333         Define ftello64 as an alias.
61334         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61335         Define _IO_fgetpos64 and fgetpos64 as aliases.
61336         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61337         Define _IO_fsetpos64 and fsetpos64 as aliases.
61338         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61339         Conditionalize body on this.
61340         * libio/fseeko64.c: Likewise.
61341         * libio/ftello64.c: Likewise.
61342         * libio/iofgetpos64.c: Likewise.
61343         * libio/iofsetpos64.c: Likewise.
61344         * sysdeps/wordsize-64/lockf.c: File removed.
61345         * sysdeps/wordsize-64/lockf64.c: File removed.
61346         * sysdeps/wordsize-64/fseeko.c: File removed.
61347         * sysdeps/wordsize-64/fseeko64.c: File removed.
61348         * sysdeps/wordsize-64/ftello.c: File removed.
61349         * sysdeps/wordsize-64/ftello64.c: File removed.
61350         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61351         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61352         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61353         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61354         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61355         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61356         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61357         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61358         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61359         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61360         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61361         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61362         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61363         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61365         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61366         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61367         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61368         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61369         [defined __arch64__ || defined __sparcv9]
61370         (__OFF_T_MATCHES_OFF64_T): New macro.
61371         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61372         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61373         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61374         (__OFF_T_MATCHES_OFF64_T): New macro.
61376 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61378         * stdlib/secure-getenv.c (__secure_getenv): Replace
61379         GLIBC_2_16 with GLIBC_2_17.
61381 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61383         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61384         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61386 2012-08-03  David S. Miller  <davem@davemloft.net>
61388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61390 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61392         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61393         Remove.
61394         (__ASSUME_CORRECT_SI_PID): Likewise.
61395         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61396         (__ASSUME_TMPFS_NAME): Likewise.
61397         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61398         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61399         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61400         (HAVE_AUX_SECURE): Make definition unconditional.
61401         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61402         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61404 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61406         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61407         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61408         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61409         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61410         __eloop_threshold instead of SYMLOOP_MAX.
61412         * sysdeps/generic/eloop-threshold.h: New file.
61413         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61414         of MAXSYMLINKS.
61415         * elf/chroot_canon.c (chroot_canon): Likewise.
61417 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61419         [BZ #13717]
61420         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61421         Change to 2.6.0 everywhere.
61422         * sysdeps/unix/sysv/linux/configure: Regenerated.
61423         * sysdeps/unix/sysv/linux/kernel-features.h
61424         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61425         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61426         kernel versions.
61427         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61428         (__ASSUME_FUTEX_REQUEUE): Remove.
61429         (__ASSUME_STATFS64): Define unconditionally.
61430         (__ASSUME_AT_SECURE): Likewise.
61431         (__ASSUME_CORRECT_SI_PID): Likewise.
61432         (__ASSUME_TGKILL): Define without depending on kernel version for
61433         i386.
61434         (__ASSUME_UTIMES): Likewise.
61435         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61436         kernel version.
61437         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61438         (__ASSUME_TMPFS_NAME): Likewise.
61439         * README: Update reference to Linux kernel versions.
61441 2012-08-02  Marek Polacek  <polacek@redhat.com>
61443         [BZ# 14150]
61444         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61445         libc_cv_asm_type_prefix with %.
61446         * configure: Regenerated.
61447         * include/libc-symbols.h: Remove comment about
61448         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61449         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61450         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61451         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61452         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61453         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61454         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61455         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61456         * elf/tst-unique2mod1.c: Likewise.
61457         * elf/tst-unique1mod2.c: Likewise.
61458         * elf/tst-unique1mod1.c: Likewise.
61459         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61460         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61461         Replace ASM_TYPE_DIRECTIVE with .type.
61462         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61463         * sysdeps/i386/sysdep.h: Likewise.
61464         * sysdeps/x86_64/sysdep.h: Likewise.
61465         * sysdeps/sh/sysdep.h: Likewise.
61466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61467         Do not define ASM_TYPE_DIRECTIVE.
61468         * sysdeps/powerpc/sysdep.h: Likewise.
61469         * sysdeps/powerpc/powerpc32/sysdep.h:
61470         Replace ASM_TYPE_DIRECTIVE with .type.
61471         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61472         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61473         * sysdeps/i386/fpu/e_powf.S: Likewise.
61474         * sysdeps/i386/fpu/e_expl.S: Likewise.
61475         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61476         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61477         * sysdeps/i386/fpu/e_pow.S: Likewise.
61478         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61479         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61480         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61481         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61482         * sysdeps/i386/fpu/e_log2.S: Likewise.
61483         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61484         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61485         * sysdeps/i386/fpu/e_powl.S: Likewise.
61486         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61487         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61488         * sysdeps/i386/fpu/e_logl.S: Likewise.
61489         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61490         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61491         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61492         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61493         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61494         * sysdeps/i386/fpu/e_log.S: Likewise.
61495         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61496         * sysdeps/i386/fpu/e_logf.S: Likewise.
61497         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61498         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61499         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61500         * sysdeps/i386/fpu/e_log10.S: Likewise.
61501         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61502         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61503         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61504         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61505         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61506         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61507         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61508         * sysdeps/i386/i686/strtok.S: Likewise.
61509         * sysdeps/i386/i386-mcount.S: Likewise.
61510         * sysdeps/i386/strtok.S: Likewise.
61511         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61512         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61513         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61514         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61515         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61516         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61517         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61518         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61519         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61520         * sysdeps/x86_64/_mcount.S: Likewise.
61521         * sysdeps/x86_64/strtok.S: Likewise.
61522         * sysdeps/sh/_mcount.S: Likewise.
61524 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61526         * libio/iofopen.c: Include <fcntl.h>.
61527         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61528         (_IO_fopen64, fopen64): Define as aliases.
61529         * libio/iofopen64.c: Include <fcntl.h>.
61530         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61531         Conditionalize body on this.
61532         * sysdeps/wordsize-64/iofopen.c: File removed.
61533         * sysdeps/wordsize-64/iofopen64.c: File removed.
61535 2012-08-01  Marek Polacek  <polacek@redhat.com>
61537         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61538         Use dlfcn directly instead of a variable.
61539         (binfmt-subdir): Do not define.
61540         (dlfcn): Likewise.
61542 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61544         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61545         Remove all definitions.
61546         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61547         <kernel-features.h>.
61548         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61549         (miss_F_GETOWN_EX): Remove all definitions.
61550         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61551         macro definition.
61552         [!__ASSUME_FCNTL64]: Remove conditional code.
61553         [__ASSUME_FCNTL64]: Make code unconditional.
61554         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61555         <kernel-features.h>.
61556         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61557         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61558         (lockf64) [__NR_fcntl64]: Make code unconditional.
61559         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61561         * sysdeps/unix/sysv/linux/kernel-features.h
61562         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61563         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61564         Make code unconditional.
61565         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61566         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61568         [__NR_vfork]: Make code unconditional.
61569         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61570         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61572         [__NR_vfork]: Make code unconditional.
61573         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61574         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61576 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61578         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61579         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61581         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61582         Define mkstemp64 as an alias.
61583         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61584         Define mkstemps64 as an alias.
61585         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61586         Define mkostemp64 as an alias.
61587         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61588         Define mkostemps64 as an alias.
61589         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61590         Conditionalize body on this.
61591         * misc/mkostemp64.c: Likewise.
61592         * misc/mkostemps64.c: Likewise.
61593         * misc/mkstemps64.c: Likewise.
61594         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61595         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61596         * sysdeps/wordsize-64/mkostemp.c: File removed.
61597         * sysdeps/wordsize-64/mkstemp.c: File removed.
61598         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61599         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61600         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61601         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61603         [BZ #14138]
61604         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61605         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61606         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61607         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61609         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61610         compat_symbol macros from <shlib-compat.h> rather than the underlying
61611         default_symbol_version and symbol_version macros, so that DEFAULT
61612         lines in shlib-versions are respected.
61613         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61615 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61617         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61618         Declare with warn_unused_result.
61619         (setgid, setregid, setegid, setresgid): Likewise.
61620         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61621         Likewise.
61622         * WUR-REPORT: Remove set*id functions.
61624 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61626         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61628 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61630         [BZ #10191]
61631         * include/sys/socket.h (__libc_accept, __libc_accept4):
61632         Add attribute_hidden.
61633         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61635         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61636         use of PTR_MANGLE.
61637         * inet/getnetgrent_r.c (setup): Likewise.
61639         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61641 2012-07-31  David S. Miller  <davem@davemloft.net>
61643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61645 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61647         [BZ #13629]
61648         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61649         value between 1.0 and 2.0 and smaller part has absolute value less
61650         than 1.0.
61651         * math/s_clog10.c (__clog10): Likewise.
61652         * math/s_clog10f.c (__clog10f): Likewise.
61653         * math/s_clog10l.c (__clog10l): Likewise.
61654         * math/s_clogf.c (__clogf): Likewise.
61655         * math/s_clogl.c (__clogl): Likewise.
61656         * math/libm-test.inc (clog_test): Add more tests.
61657         (clog10_test): Likewise.
61658         * sysdeps/i386/fpu/libm-test-ulps: Update.
61659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61661 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61663         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61664         Exit with zero in case no suitable GID is found, and write a
61665         message to standard error.
61667 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61669         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61670         rather than to 1.
61671         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61672         (MAXPATHLEN): Removed.
61673         (NOGROUP, NODEV): New macros.
61674         (setbit, clrbit, isset, isclr): New macros.
61675         (howmany, roundup, powerof2): New macros.
61676         (DEV_BSIZE): New macro.
61678         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61679         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61681         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61682         definition on [!__NO_LONG_DOUBLE_MATH].
61684         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61685         PTR_MANGLE and PTR_DEMANGLE.
61687         * socket/accept4.c (accept4): Rename to __libc_accept4.
61688         Define accept4 as a weak alias.
61690         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61691         on [_DIRENT_HAVE_D_TYPE].
61692         * io/ftw.c (ftw_dir): Likewise.
61694         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61696         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61698         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61699         Use the BSD numbers rather than the arbitrary ones we had.
61700         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61701         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61702         (SIGXCPU, SIGXFSZ): New macros.
61703         (_NSIG): Now 32.
61705         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61706         initializer on [_LIBC_REENTRANT].
61708         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61709         definitions inside [_POSIX_MAPPED_FILES].
61711         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61713         * dirent/opendir.c: Include <fcntl.h>.
61715         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61716         (__libc_getspecific): Likewise.
61717         (__libc_key_create): Likewise.
61719         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61720         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61721         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61722         (tmpfile64): Define as alias.
61723         * sysdeps/wordsize-64/tmpfile.c: File removed.
61724         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61725         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61726         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61728         * stdio-common/vfscanf.c: Include <stdbool.h>.
61729         * nss/makedb.c: Likewise.
61730         * stdio-common/_i18n_number.h: Likewise.
61731         * argp/argp-help.c: Likewise.
61732         * posix/wordexp.c: Likewise.
61733         * sysdeps/posix/spawni.c: Likewise.
61734         * nss/nss_files/files-initgroups.c: Likewise.
61735         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61736         * nss/nss_files/files-initgroups.c: Likewise.
61737         * nss/nss_db/db-netgrp.c: Likewise.
61738         * nss/nss_db/db-initgroups.c: Likewise.
61739         * io/fchmodat.c: Include <sys/stat.h>.
61741         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61742         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61744         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61745         [HAVE_MMAP].
61747         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61748         Add multiple inclusion protection.
61750 2012-07-27  David S. Miller  <davem@davemloft.net>
61752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61754 2012-07-27  Gary Benson  <gbenson@redhat.com>
61756         [BZ #14298]
61757         * elf/rtld.c: Include <stap-probe.h>.
61758         (dl_main): Added static probes "init_start" and "init_complete".
61759         * elf/dl-load.c: Include <stap-probe.h>.
61760         (lose): Take new parameter "nsid".
61761         Added static probe "map_failed".
61762         (_dl_map_object_from_fd): Pass namespace id to lose.
61763         Added static probe "map_start".
61764         (open_verify): Pass namespace id to lose.
61765         * elf/dl-open.c: Include <stap-probe.h>.
61766         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61767         and "reloc_complete".
61768         * elf/dl-close.c: Include <stap-probe.h>.
61769         (_dl_close_worker): Added static probes "unmap_start" and
61770         "unmap_complete".
61771         * elf/rtld-debugger-interface.txt: New file documenting the above.
61773 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61775         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61776         rather than a string variable.
61777         * sunrpc/rpc_main.c (h_output): Likewise.
61778         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61780 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61782         * inet/check_native.c: New file.
61784 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61786         [BZ #13629]
61787         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61788         if larger part has absolute value 1.0.
61789         * math/s_clog10.c (__clog10): Likewise.
61790         * math/s_clog10f.c (__clog10f): Likewise.
61791         * math/s_clog10l.c (__clog10l): Likewise.
61792         * math/s_clogf.c (__clogf): Likewise.
61793         * math/s_clogl.c (__clogl): Likewise.
61794         * math/libm-test.inc (clog_test): Add more tests.
61795         (clog10_test): Likewise.
61796         * sysdeps/i386/fpu/libm-test-ulps: Update.
61797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61799         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61800         (pltexit): Likewise.
61801         (La_regs): Likewise.
61802         (La_retval): Likewise.
61803         (int_retval): Likewise.
61804         Update #error for removed macros to refer only to definitions in
61805         tst-audit.h.
61806         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61807         macro.
61808         (pltexit): Likewise.
61809         (La_regs): Likewise.
61810         (La_retval): Likewise.
61811         (int_retval): Likewise.
61812         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61813         macro.
61814         (pltexit): Likewise.
61815         (La_regs): Likewise.
61816         (La_retval): Likewise.
61817         (int_retval): Likewise.
61818         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61819         macro.
61820         (pltexit): Likewise.
61821         (La_regs): Likewise.
61822         (La_retval): Likewise.
61823         (int_retval): Likewise.
61824         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61825         macro.
61826         (pltexit): Likewise.
61827         (La_regs): Likewise.
61828         (La_retval): Likewise.
61829         (int_retval): Likewise.
61830         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61831         macro.
61832         (pltexit): Likewise.
61833         (La_regs): Likewise.
61834         (La_retval): Likewise.
61835         (int_retval): Likewise.
61836         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61837         macro.
61838         (pltexit): Likewise.
61839         (La_regs): Likewise.
61840         (La_retval): Likewise.
61841         (int_retval): Likewise.
61842         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61843         macro definitions in tst-audit.h.
61844         * sysdeps/i386/tst-audit.h: New file.
61845         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61846         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61847         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61848         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61849         * sysdeps/sh/tst-audit.h: Likewise.
61850         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61851         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61852         * sysdeps/x86_64/tst-audit.h: Likewise.
61854 2012-07-26  Andreas Jaeger  <aj@suse.de>
61856         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61857         ptrace.
61859         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61860         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61861         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61862         PTRACE_O_MASK.
61863         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61864         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61865         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61867         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61868         value.
61870         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61871         _sigsys.
61872         (si_call_addr, si_syscall, si_arch): Define new macro.
61873         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61874         _sigsys.
61875         (si_call_addr, si_syscall, si_arch): Define new marcro.
61876         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61877         _sigsys.
61878         (si_call_addr, si_syscall, si_arch): Define new macro.
61879         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61880         _sigsys.
61881         (si_call_addr, si_syscall, si_arch): Define new macro.
61883 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61885         [BZ #13717]
61886         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61887         Change to 2.4.21 where previously 2.4.1.
61888         * sysdeps/unix/sysv/linux/configure: Regenerated.
61889         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61890         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61891         Linux kernel version.
61892         (__ASSUME_STD_AUXV): Remove.
61893         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61894         kernel version.
61895         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61896         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61897         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61898         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61899         (__ASSUME_NETLINK_SUPPORT): Likewise.
61900         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61901         (__no_netlink_support): Remove conditional definition.
61902         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61903         Remove.
61904         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61905         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61906         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61907         (if_nameindex_ioctl): Remove.
61908         (if_nameindex_netlink): Do not handle __no_netlink_support.
61909         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61910         code.
61911         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61912         Remove conditional code.
61913         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61914         code.
61915         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61916         unconditional.
61917         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61918         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61919         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61920         Remove.
61921         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61922         [!__ASSUME_STD_AUXV]: Remove conditional code.
61923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61924         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61925         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61927         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61928         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61929         code.
61930         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61932         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61933         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61934         conditional code.
61935         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61937         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61938         code.
61939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61940         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61941         conditional code.
61942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61943         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61944         code unconditional.
61945         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61946         conditional code.
61947         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61948         unconditional.
61949         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61950         conditional code.
61951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61952         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61953         unconditional.
61954         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61955         conditional code.
61956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61957         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61958         code unconditional.
61959         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61960         conditional code.
61961         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61962         unconditional.
61963         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61964         conditional code.
61965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61966         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61967         code unconditional.
61968         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61969         conditional code.
61970         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61971         unconditional.
61972         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61973         conditional code.
61975 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61977         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61978         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61979         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61980         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61981         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61982         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61983         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61984         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61985         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61986         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61987         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61988         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61989         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61990         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61991         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61992         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61993         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61994         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61995         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61997         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61998         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61999         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62001 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62003         * Versions.def: Add GLIBC_2.17.
62004         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62005         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62006         Introduce __libc_secure_getenv.
62007         * stdlib/Versions (2.17): Add secure_getenv
62008         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62009         * stdlib/secure-getenv.c: Rename __secure_getenv to
62010         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62011         symbol __secure_getenv for GLIBC_2.0.
62012         * stdlib/tst-secure-getenv.c: New.
62013         * stdlib/Makefile (tests): Add testcase.
62014         * manual/startup.texi (Environment Access): Document
62015         secure_getenv.
62016         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62017         __libc_secure_getenv.
62018         * inet/ruserpass.c (ruserpass): Likewise.
62019         * malloc/mtrace.c (mtrace): Likewise.
62020         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62021         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62022         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62023         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62024         HAVE_SECURE_GETENV.
62025         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62026         __secure_getenv to __libc_secure_getenv.
62027         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62029         Likewise.
62030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62031         Likewise.
62032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62040 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62042         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62043         (struct La_i86_retval): Likewise.
62044         (struct La_x86_64_regs): Likewise.
62045         (struct La_x86_64_retval): Likewise.
62046         (struct La_x32_regs): Likewise.
62047         (struct La_x32_retval): Likewise.
62048         (struct La_ppc32_regs): Likewise.
62049         (struct La_ppc32_retval): Likewise.
62050         (struct La_ppc64_regs): Likewise.
62051         (struct La_ppc64_retval): Likewise.
62052         (struct La_sh_regs): Likewise.
62053         (struct La_sh_retval): Likewise.
62054         (struct La_s390_32_regs): Likewise.
62055         (struct La_s390_32_retval): Likewise.
62056         (struct La_s390_64_regs): Likewise.
62057         (struct La_s390_64_retval): Likewise.
62058         (struct La_sparc32_regs): Likewise.
62059         (struct La_sparc32_retval): Likewise.
62060         (struct La_sparc64_regs): Likewise.
62061         (struct La_sparc64_retval): Likewise.
62062         (struct audit_ifaces): Remove architecture-specific pltenter and
62063         pltexit members.
62064         * sysdeps/i386/ldsodefs.h: New file.
62065         * sysdeps/powerpc/ldsodefs.h: Likewise.
62066         * sysdeps/s390/ldsodefs.h: Likewise.
62067         * sysdeps/sh/ldsodefs.h: Likewise.
62068         * sysdeps/sparc/ldsodefs.h: Likewise.
62069         * sysdeps/x86_64/ldsodefs.h: Likewise.
62071 2012-07-25  Marek Polacek  <polacek@redhat.com>
62073         [BZ #6808]
62074         * math/libm-test.inc (yn_test): Add another test.
62075         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62076         to ERANGE when the result is +-Inf.
62077         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62078         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62079         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62080         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62082 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62084         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62085         equal to 0.
62086         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62087         clock_t.
62088         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62090 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62092         * configure.in <sysdeps resolving>: Correct printing
62093         Implies_before.
62094         * configure: Regenerate.
62096 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62098         * math/w_ilogb.c: Include <limits.h>.
62099         * math/w_ilogbl.c: Likewise.
62101 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62103         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62104         va_copy.  Document allowing for unavailable va_copy only as
62105         pre-C99 compatibility.
62106         * manual/string.texi (Copying and Concatenation): Use va_copy
62107         instead of __va_copy in concat example.
62109 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62111         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62112         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62113         it if not null.
62115         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62116         with O_NOLINK passed to __file_name_lookup.
62118         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62119         with O_NOLINK passed to __file_name_lookup.
62121         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62122         negative N or less than NGIDS.
62124         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62125         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62126         enough.  Use memcpy instead of strncpy.
62128 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62130         * elf/Makefile (check-data): Remove.
62131         (localplt.data): New vpath directive.
62132         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62133         instead of $(check-data).
62134         * scripts/data/localplt-generic.data: Move to ...
62135         * sysdeps/generic/localplt.data: ... here.
62136         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62137         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62138         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62140         ... here.
62141         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62143         ... here.
62144         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62146         ... here.
62147         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62149         ... here.
62150         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62152         ... here.
62153         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62155         ... here.
62157 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62159         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62160         PPC32 and PPC64 files.
62161         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62162         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62164 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62166         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62167         __makecontext_ret to ...
62168         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62169         ... here and call exit if uc_link is NULL.  New file.
62170         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62171         __makecontext_ret.S.
62172         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62173         __makecontext_ret to ...
62174         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62175         ... here and call exit if uc_link is NULL.  New file.
62176         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62177         __makecontext_ret.S.
62179 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62181         * elf/elf.h (R_390_IRELATIVE): New definition.
62182         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62183         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62184         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62185         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62186         (elf_machine_lazy_rel): Likewise.
62187         * sysdeps/s390/dl-irel.h: New file.
62188         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62189         * sysdeps/s390/s390-64/memset.S: New asm code.
62190         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62191         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62192         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62193         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62194         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62195         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62196         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62197         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62198         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62199         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62200         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62201         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62202         * sysdeps/s390/s390-32/memset.S: New asm code.
62203         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62205 2012-07-17  Marek Polacek  <polacek@redhat.com>
62207         [BZ #14349]
62208         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62209         * sysdeps/s390/s390-64/configure.in: Likewise.
62210         * sysdeps/sparc/configure.in: Likewise.
62211         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62212         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62213         * sysdeps/i386/configure.in: Likewise.
62214         * sysdeps/x86_64/configure.in: Likewise.
62215         * sysdeps/sh/configure.in: Likewise.
62216         * sysdeps/s390/s390-32/configure: Regenerated.
62217         * sysdeps/s390/s390-64/configure: Likewise.
62218         * sysdeps/x86_64/configure: Likewise.
62219         * sysdeps/sh/configure: Likewise.
62220         * sysdeps/powerpc/powerpc64/configure: Likewise.
62221         * sysdeps/powerpc/powerpc32/configure: Likewise.
62222         * sysdeps/sparc/configure: Likwise.
62223         * sysdeps/i386/configure: Likewise.
62225         * elf/dl-open.c: Comment fixes.
62227 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62229         * Makefile [CXX] (check-data): Remove.
62230         [CXX] (c++-types.data): New vpath directive.
62231         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62232         vpath.  Do not allow for C++ type data being missing.
62233         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62234         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62235         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62236         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62237         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62238         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62239         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62241         ... here.
62242         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62244         ... here.
62245         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62247         ... here.
62248         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62250         ... here.
62251         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62253         ... here.
62254         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62256         ... here.
62257         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62259         ... here.
62260         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62263         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62264         definitions to architecture-specific files.
62265         (TLS_IE): Likewise.
62266         (TLS_LD): Likewise.
62267         (TLS_GD): Likewise.
62268         * sysdeps/i386/tls-macros.h: New file.
62269         * sysdeps/powerpc/tls-macros.h: Likewise.
62270         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62271         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62272         * sysdeps/sh/tls-macros.h: Likewise.
62273         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62274         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62275         * sysdeps/x86_64/tls-macros.h: Likewise.
62277 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62279         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62280         zero value for regular exit case.
62282         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62283         (__start_context): Preserve zero value for regular exit case.
62285 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62286             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62288         * manual/setjmp.texi (setcontext): Clarify normal process
62289         termination when uc_link is the null pointer.
62290         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62291         exit call.
62293 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62295         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62296         preprocessor.  Test for each exception mask separately.
62298 2012-07-16  Andreas Jaeger  <aj@suse.de>
62300         * po/ru.po: Update from translation team.
62302 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62304         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62305         equal to 0.
62306         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62307         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62308         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62309         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62310         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62312 2012-07-13  Andreas Jaeger  <aj@suse.de>
62314         * po/fr.po: Update from translation team.
62316 2012-07-12  Marek Polacek  <polacek@redhat.com>
62318         [BZ #14173]
62319         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62320         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62321         loop condition.
62323 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62325         [BZ #13717]
62326         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62327         Change to 2.4.1 where previously 2.4.0.
62328         * sysdeps/unix/sysv/linux/configure: Regenerated.
62329         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62330         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62331         version.
62332         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62333         (__ASSUME_AT_CLKTCK): Remove.
62334         (__ASSUME_AT_PAGESIZE): Likewise.
62335         (__ASSUME_AT_XID): Likewise.
62336         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62337         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62338         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62339         unconditionally.
62340         (HAVE_AUX_PAGESIZE): Likewise.
62341         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62342         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62343         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62345 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62347         [BZ #14307]
62348         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62349         the temporary buffer used to invoke __gethostbyname2_r,
62350         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62351         host_data / struct gaih_addrtuple.
62352         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62353         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62354         header file nss/nsswitch.h.
62355         * nss/nsswitch.h (global scope): Add definition of implementation
62356         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62357         resolv/nss_dns/dns-host.c).
62359 2012-07-11  Andreas Jaeger  <aj@suse.de>
62361         * po/fr.po: Update from translation team.
62363         * po/sv.po: Update from translation team
62364         * po/fr.po: Another update from translation team.
62366 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62368         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62369         for subnormals or multiply small sinh result by itself.
62370         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62373 2012-07-11  David S. Miller  <davem@davemloft.net>
62375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62377 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62379         [BZ #14347]
62380         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62381         (INTERNAL_MARK): Shift it here.
62383 2012-07-10  Marek Polacek  <polacek@redhat.com>
62385         [BZ #14151]
62386         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62387         libc_cv_asm_global_directive with .globl.
62388         * configure: Regenerated.
62389         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62390         with .globl.
62391         * sysdeps/i386/configure: Regenerated.
62392         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62393         with .globl.
62394         * sysdeps/x86_64/configure: Regenerated.
62395         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62396         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62397         * elf/tst-unique2mod2.c: Likewise.
62398         * elf/tst-unique2mod1.c: Likewise.
62399         * elf/tst-unique1mod2.c: Likewise.
62400         * elf/tst-unique1mod1.c: Likewise.
62401         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62402         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62403         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62404         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62405         * sysdeps/mach/sysdep.h: Likewise.
62406         * sysdeps/i386/sysdep.h: Likewise.
62407         * sysdeps/i386/i386-mcount.S: Likewise.
62408         * sysdeps/x86_64/_mcount.S: Likewise.
62409         * sysdeps/x86_64/sysdep.h: Likewise.
62410         * sysdeps/sh/_mcount.S: Likewise.
62411         * sysdeps/sh/sysdep.h: Likewise.
62412         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62413         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62414         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62415         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62416         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62417         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62418         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62419         * locale/localeinfo.h: Likewise.
62420         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62421         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62423 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62425         [BZ #14336]
62426         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62427         system".
62428         * manual/message.texi (The Uniforum approach): Likewise.
62429         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62430         (glibc iconv Implementation): Likewise.
62432 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62434         [BZ #14337]
62435         * math/s_clog.c (__clog): Avoid scaling a value down where that
62436         could result in underflow.
62437         * math/s_clog10.c (__clog10): Likewise.
62438         * math/s_clog10f.c (__clog10f): Likewise.
62439         * math/s_clog10l.c (__clog10l): Likewise.
62440         * math/s_clogf.c (__clogf): Likewise.
62441         * math/s_clogl.c (__clogl): Likewise.
62442         * math/libm-test.inc (clog_test): Add more tests.
62443         (clog10_test): Likewise.
62444         * sysdeps/i386/fpu/libm-test-ulps: Update.
62445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62447 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62449         [BZ #14283]
62450         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62451         by 7 not 8 to examine high bit of fractional part.
62453         [BZ #14042]
62454         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62455         for call to __mcount_internal.
62456         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62457         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62458         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62460 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62462         [BZ #14154]
62463         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62464         approximation for values within 0x1p-13f of an odd multiple of
62465         pi/4.
62466         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62467         exception.  Add more tests.
62468         * sysdeps/i386/fpu/libm-test-ulps: Update.
62470         [BZ #6778]
62471         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62472         inputs and return -1 for them.  Do not check for +Inf in case not
62473         reachable for +Inf.
62474         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62475         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62476         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62477         and return -1 for them.  Do not check for +Inf in case not
62478         reachable for +Inf.
62479         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62480         define.
62481         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62482         and return -1 for them.  Do not check for +Inf in case not
62483         reachable for +Inf.
62484         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62485         spurious underflow.
62486         * sysdeps/i386/fpu/libm-test-ulps: Update.
62487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62489 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62491         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62493 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62495         [BZ #14157]
62496         [BZ #14331]
62497         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62498         could result in spurious underflow.  Scale down values above
62499         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62500         * math/s_csqrtf.c (__csqrtf): Likewise.
62501         * math/s_csqrtl.c (__csqrtl): Likewise.
62502         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62503         spurious underflow.
62504         * sysdeps/i386/fpu/libm-test-ulps: Update.
62505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62507 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62509         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62510         xopen-msg.sed.
62511         * catgets/xopen-msg.awk: New file.
62512         * catgets/xopen-msg.sed: Removed.
62514         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62515         po2text.sed.
62516         * intl/po2test.awk: New file.
62517         * intl/po2test.sed: Removed.
62519 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62521         [BZ #14328]
62522         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62523         or multiply small sinh result by itself.
62524         * math/s_ctanf.c (__ctanf): Likewise.
62525         * math/s_ctanh.c (__ctanh): Likewise.
62526         * math/s_ctanhf.c (__ctanhf): Likewise.
62527         * math/s_ctanhl.c (__ctanhl): Likewise.
62528         * math/s_ctanl.c (__ctanl): Likewise.
62529         * math/libm-test.inc (ctan_test_tonearest): New function.
62530         (ctan_test_towardzero): Likewise.
62531         (ctan_test_downward): Likewise.
62532         (ctan_test_upward): Likewise.
62533         (ctanh_test_tonearest): Likewise.
62534         (ctanh_test_towardzero): Likewise.
62535         (ctanh_test_downward): Likewise.
62536         (ctanh_test_upward): Likewise.
62537         (main): Call these new functions.
62538         * sysdeps/i386/fpu/libm-test-ulps: Update.
62539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62541 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62543         * .gitignore: Delete /ports entry.
62545 2012-07-03  Andreas Jaeger  <aj@suse.de>
62547         * po/bg.po: Update from translation team.
62548         * po/cs.po: Likewise.
62549         * po/de.po: Likewise.
62550         * po/hr.po: Likewise.
62551         * po/nl.pl: Likewise.
62552         * po/pl.po: Likewise.
62553         * po/vi.po: Likewise.
62555 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62557         * Makeconfig [!+link] (+link-before-libc): New variable.
62558         [!+link] (+link-after-libc): Likewise.
62559         [!+link] (+link-tests): Likewise.
62560         [!+link] (+link): Define in terms of $(+link-before-libc) and
62561         $(+link-after-libc).
62562         [!+link-static] (+link-static-before-libc): New variable.
62563         [!+link-static] (+link-static-after-libc): Likewise.
62564         [!+link-static] (+link-static-tests): Likewise.
62565         [!+link-static] (+link-static): Define in terms of
62566         $(+link-static-before-libc) and $(+link-static-after-libc).
62567         [build-shared] (link-libc-before-gnulib): New variable.
62568         [build-shared] (link-libc-tests): Likewise.
62569         [build-shared] (link-libc): Define in terms of
62570         $(link-libc-before-gnulib).
62571         [!build-shared] (link-libc-tests): New variable.
62572         (link-libc-static-tests): New variable.
62573         [!gnulib] (gnulib-arch): New variable.
62574         [!gnulib] (gnulib-tests): Likewise.
62575         [!gnulib] (static-gnulib-arch): Likewise.
62576         [!gnulib] (static-gnulib-tests): Likewise.
62577         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62578         Define with "=" instead of ":=".
62579         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62580         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62581         * Rules (binaries-all-notests): New variable.
62582         (binaries-all-tests): Likewise.
62583         (binaries-static-notests): Likewise.
62584         (binaries-static-tests): Likewise.
62585         (binaries-all): Define using $(binaries-all-notests) and
62586         $(binaries-all-tests).
62587         (binaries-static): Define using $(binaries-static-notests) and
62588         $(binaries-static-tests).
62589         (binaries-shared-tests): New variable.
62590         (binaries-shared-notests): Likewise.
62591         (binaries-shared): Remove variable.
62592         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62593         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62594         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62595         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62596         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62597         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62598         * elf/Makefile (sln-modules): New variable.
62599         (extra-objs): Add $(sln-modules:=.o).
62600         (ldconfig-modules): Add static-stubs.
62601         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62602         * elf/static-stubs.c: New file.
62604         [BZ #14283]
62605         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62606         by 7 not 8 to examine high bit of fractional part.  Use volatile
62607         variables when splitting into final array of floats if
62608         __FLT_EVAL_METHOD__ != 0.
62609         * math/libm-test.inc (cos_test): Add another test.
62610         (sin_test): Likewise.
62611         * sysdeps/i386/fpu/libm-test-ulps: Update.
62613         [BZ #14273]
62614         * math/libm-test.inc (cosh_test): Add more tests.
62616         * version.h (RELEASE): Set to "development".
62617         (VERSION): Set to "2.16.90".
62619 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62621         * NEWS: Update copyright. Remove last-updated date.
62622         Mention math library bug fixes and timezone data changes.
62623         * README: Mention GNU/Hurd, x32, and HPPA support status.
62625 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62627         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62629 2012-06-27  Andreas Jaeger  <aj@suse.de>
62631         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62633 2012-06-25  Andreas Jaeger  <aj@suse.de>
62635         * sysdeps/s390/fpu/libm-test-ulps: Update.
62637 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62638             Thomas Schwinge  <thomas@codesourcery.com>
62640         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62641         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62642         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62643         fanotify_mark.
62645 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62647         * sysdeps/mach/start.c: Remove file.
62648         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62649         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62650         * sysdeps/sh/init-first.c: Likewise.
62652         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62653         registers for frame unwinding purposes, add CFI directives.
62654         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62655         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62656         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62657         Likewise.
62659         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62660         __fortify_fail returning.
62661         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62663         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62664         sysdeps/sh/____longjmp_chk.S.
62665         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62666         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62667         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62668         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62670         * sysdeps/sh/abort-instr.h: New file.
62671         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62672         process in case exit returns.
62674         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62675         initialize the GOT register before use.
62677         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62678         calculation of ARGC > 4.
62680         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62681         meaningful names to some local labels.
62683 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62684             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62686         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62687         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62688         (__arch_compare_and_exchange_val_16_acq): Likewise.
62689         (__arch_compare_and_exchange_val_32_acq): Likewise.
62690         (atomic_exchange_and_add): Fix gUSA sequence.
62691         (atomic_add): Likewise.
62692         (atomic_add_negative): Likewise.
62693         (atomic_add_zero): Likewise.
62694         (atomic_bit_test_set): Likewise.
62696 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62698         [BZ #13579]
62699         * include/link.h (struct link_map): Add l_free_initfini.
62700         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62701         l_initfini.
62702         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62703         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62704         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62705         set.
62707 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62709         * configure.in: Use AC_LANG_SOURCE.
62710         * configure: Regenerate.
62712 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62714         * configure.in (libc_cv_localstatedir): New substituted variable.
62715         * configure: Regenerated.
62716         * config.make.in (localstatedir): New variable, substituted from
62717         libc_cv_localstatedir.
62718         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62719         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62720         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62721         * sysdeps/gnu/configure: Regenerated.
62723 2012-06-21  Jeff Law  <law@redhat.com>
62725         [BZ #14277]
62726         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62727         free.  Simplify list management for _LIBC case.
62729 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62731         [BZ #14273]
62732         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62733         Clear sign bit of 64-bit integer value before comparing against
62734         overflow value.
62736         * sysdeps/mach/configure: Regenerated.
62738 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62740         [BZ #14278]
62741         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62743 2012-06-21  Jeff Law  <law@redhat.com>
62745         [BZ #13882]
62746         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62747         uint16_t for elements in the "seen" array to avoid char overflows.
62748         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62749         * elf/dl-open.c (dl_open_worker): Likewise.
62751 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62753         * scripts/list-sources.sh: Scan PORTS for translations.
62754         * po/libc.pot: Regenerated.
62756 2012-06-21  Andreas Jaeger  <aj@suse.de>
62758         [BZ #12194]
62759         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62760         warning.
62761         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62762         * bits/byteswap-16.h (__bswap_16): Likewise.
62763         * bits/byteswap.h (__bswap_constant_16): Likewise.
62765 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62767         [BZ #14117]
62768         * sysdeps/i386/fpu_control.h: Removed.
62769         * sysdeps/x86_64/fpu_control.h: Moved to ...
62770         * sysdeps/x86/fpu_control.h: Here.
62772         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62773         (_FPU_SETCW): Likewise.
62775 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62777         [BZ #14117]
62778         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62779         * sysdeps/x86/fpu/bits/mathinline.h: This.
62780         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62782         [BZ #14050]
62783         [BZ #14117]
62784         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62785         functions if __x86_64__ is defined.
62787 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62789         * string/endian.h: Add !__ASSEMBLER__ condition for including
62790         conversion interfaces.
62792 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62794         [BZ #14241]
62795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62796         of ABS(x) in calculating zero to negative powers other than odd
62797         integers.
62798         * math/libm-test.inc (pow_test): Add more tests.
62800 2012-06-15  Andreas Jaeger  <aj@suse.de>
62802         * manual/contrib.texi (Contributors): Update entry of Liubov
62803         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62804         Machado Filho.
62806 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62808         * string/string.h: Add __wur to GNU version of strerror_r.
62810 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62812         [BZ #14229]
62813         * string/Makefile (tests): Add tst-strtok_r.
62814         * string/tst-strtok_r.c: New file.
62815         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62816         RAX_LP/RDX_LP on SAVE_PTR.
62818 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62820         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62822 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62824         * libm_test.inc (csqrt_test): Allow more spurious underflow
62825         exceptions.
62826         (j0_test): Likewise.
62827         (j1_test): Likewise.
62828         (y0_test): Likewise.
62829         (y1_test): Likewise.
62831 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62833         * po/Makefile (libc.pot): Use UTF-8 charset.
62835 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62837         [BZ #14210]
62838         Suppress sign-conversion warning from FD_SET.
62839         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62840         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62841         not unsigned long int.
62842         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62844 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62846         [BZ #14050]
62847         [BZ #14117]
62848         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62849         __extern_always_inline instead of __extern_inline.
62850         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62851         (__signbit): Likewise.
62852         (__signbitl): Support C++ namespace.
62853         (lrintf): New inline function.
62854         (lrint): Likewise.
62855         (llrintf): Likewise.
62856         (llrint): Likewise.
62857         (fmaxf): Likewise.
62858         (fmax): Likewise.
62859         (fminf): Likewise.
62860         (fmin): Likewise.
62861         (rint): Likewise.
62862         (rintf): Likewise.
62863         (ceil): Likewise.
62864         (ceilf): Likewise.
62865         (floor): Likewise.
62866         (floorf): Likewise.
62867         (nearbyint): Likewise.
62868         (nearbyintf): Likewise.
62870 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62872         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62873         non-default versions.
62875 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62877         [BZ #14218]
62878         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62880 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62882         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62883         (FE_UPWARD, FE_DOWNWARD): Don't define.
62884         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62885         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62887         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62888         reading it.
62889         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62890         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62892 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62894         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62895         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62896         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62897         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62899 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62901         [BZ #14117]
62902         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62903         * sysdeps/i386/fpu/Implies: New file.
62904         * sysdeps/x86_64/fpu/Implies: Likewise.
62905         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62906         * sysdeps/x86/fpu/bits/fenv.h: This.
62908         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62909         __SSE_MATH__.
62911 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62913         [BZ #14134]
62914         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62915         character 0xffff that matches the last element of the
62916         conversion table.
62918 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62920         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62921         fmodl commit.
62923 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62925         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62926         values higher than 25.6283.
62928 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62930         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62931         subnormal exponent extraction and add some __builtin_expect.
62932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62933         Fix for subnormal mantissa calculation.
62935 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62937         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62938         cpu2 is -1 and errno is not ENOSYS.
62940 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62942         [BZ #14117]
62943         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62944         * sysdeps/x86/bits/string.h: This.
62945         * sysdeps/x86_64/bits/string.h: Removed.
62947         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62948         if not compiling for x86-64, but compiling for >= i486.
62950         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62951         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62953         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62954         New macro from Linux kernel 3.4.0.
62955         (FP_XSTATE_MAGIC2): Likewise.
62956         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62957         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62958         (struct _fpx_sw_bytes): New struct.
62959         (struct _xsave_hdr): Likewise.
62960         (struct _ymmh_state): Likewise.
62961         (struct _xstate): Likewise.
62963         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62964         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62965         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62966         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62967         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62968         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62970         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62971         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62972         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62973         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62974         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62975         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62977 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62979         [BZ #13743]
62980         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62981         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62982         (sysdep_headers): Include sys/platform/ppc.h.
62983         * sysdeps/powerpc/test-gettimebase.c: Test for
62984         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62985         * manual/Makefile (appendices): Include platform.texi.
62986         * manual/contrib.texi (Contributors): Update @node pointers.
62987         * manual/maint.texi (Maintenance): Likewise.
62988         (Platform): New node.
62989         * manual/platform.texi: New file.  Document the new features.
62991 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62992             Jakub Jelinek  <jakub@redhat.com>
62994         [BZ #14188]
62995         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62996         where __builtin_expect is unavailable.
62998 2012-06-03  David S. Miller  <davem@davemloft.net>
63000         * stdlib/longlong.h: Updated from GCC.
63002 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63004         [BZ #14042]
63005         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63006         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63007         __mcount_internal.
63008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63009         (GLIBC_2.16): Likewise.
63011 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63013         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63015 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63018         (default-abi): New variable.
63019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63020         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63021         variable.
63022         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63023         Likewise.
63024         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63025         Likewise.
63026         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63027         Likewise.
63029         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63030         definition.  Document in comment.
63032 2012-06-01  David S. Miller  <davem@davemloft.net>
63034         * stdlib/longlong.h: Updated from GCC.
63036 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63038         [BZ #14117]
63039         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63040         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63041         sys/debugreg.h sys/io.h here.
63042         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63043         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63044         sys/io.h.
63045         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63046         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63047         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63048         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63049         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63050         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63052         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63053         Define only if __x86_64__ is defined.
63055 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63057         [BZ #14048]
63058         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63059         Use int64_t for variable i.
63060         * math/libm-test.inc (fmod_test): Add more tests.
63062         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63063         z computation is not scheduled after fetestexcept.
63064         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63065         Use math_force_eval instead of asm to ensure calculation scheduled
63066         before exception test.
63067         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63068         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63070 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63072         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63073         computation is not scheduled after fetestexcept.
63075 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63077         [BZ #14117]
63078         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63079         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63081 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63083         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63084         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63086 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63088         [BZ #14117]
63089         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63090         <bits/wordsize.h>.
63091         (__WCHAR_MIN): Support __WORDSIZE == 64.
63092         (__WCHAR_MAX): Likewise.
63094         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63095         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63097         [BZ #14183]
63098         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63099         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63101         [BZ #14117]
63102         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63103         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63105         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63106         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63108         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63109         Defined to 1 if __x86_64__ isn't defined.
63110         (_STAT_VER_LINUX_OLD): New.
63111         (st_atime): Remove duplicate.
63112         (st_mtime): Likewise.
63113         (st_ctime): Likewise.
63115 2012-05-31  David S. Miller  <davem@davemloft.net>
63117         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63118         entries.
63120 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63122         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63123         gen-libm-test.pl.
63125         [BZ #14132]
63126         * elf/dl-reloc.c: Include <_itoa.h>.
63127         (_dl_reloc_bad_type): Remove use of INTUSE.
63128         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63129         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63130         * stdio-common/psiginfo.c (psiginfo): Likewise.
63131         * stdio-common/psignal.c (psignal): Likewise.
63132         * string/strsignal.c (strsignal): Likewise.
63133         * include/signal.h (_sys_siglist): Declare hidden proto.
63134         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63135         INTVARDEF with libc_hidden_data_def.
63136         * stdio-common/itoa-udigits.c: Likewise.
63137         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63138         (_itoa_lower_digits_internal): Remove declaration.
63139         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63140         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63141         (_sys_sigabbrev_internal): Remove aliases.
63142         (_sys_siglist): Define hidden alias.
63144 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63146         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63147         bits/sysctl.h.
63149 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63151         [BZ #14117]
63152         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63153         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63155         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63156         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63157         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63158         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63159         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63160         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63162         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63163         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63164         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63166         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63167         with __addr.
63168         (insw): Likewise.
63169         (insl): Likewise.
63170         (outsb): Likewise.
63171         (outsw): Likewise.
63172         (outsl): Likewise.
63174         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63175         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63176         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63178         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63179         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63180         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63181         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63182         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63183         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63185         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63186         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63188         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63189         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63191         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63192         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63193         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63195         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63196         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63197         to ...
63198         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63200         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63201         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63202         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63204         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63205         for x86-64.
63206         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63208 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63210         * math/math.h (M_El): Use two more decimal places.
63211         (M_LOG2El): Likewise.
63212         (M_LOG10El): Likewise.
63213         (M_LN2l): Likewise.
63214         (M_LN10l): Likewise.
63215         (M_PIl): Likewise.
63216         (M_PI_2l): Likewise.
63217         (M_PI_4l): Likewise.
63218         (M_1_PIl): Likewise.
63219         (M_2_PIl): Likewise.
63220         (M_2_SQRTPIl): Likewise.
63221         (M_SQRT2l): Likewise.
63222         (M_SQRT1_2l): Likewise.
63224 2012-05-31  David S. Miller  <davem@davemloft.net>
63226         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63227         values between float registers.
63228         * sysdeps/sparc/sparc64/memset.S: Likewise.
63229         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63231 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63233         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63234         -D_FORTIFY_SOURCE=1.
63235         (CPPFLAGS-tst-longjmp_chk.c): Define.
63236         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63237         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63238         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63239         CFLAGS-tst-wchar-h.c.
63241 2012-05-31  Marek Polacek  <polacek@redhat.com>
63243         [BZ #14132]
63244         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63245         __endmntent_internal): Remove declaration.
63246         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63247         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63248         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63250 2012-05-30  David S. Miller  <davem@davemloft.net>
63252         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63253         (___Q_simulate_exceptions): Use real FP ops rather than writing
63254         into the %fsr.
63255         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63256         Likewise.
63258 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63260         [BZ #14117]
63261         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63262         * sysdeps/x86/bits/xtitypes.h: This.
63264         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63265         * sysdeps/x86/bits/wordsize.h: This.
63267         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63268         * sysdeps/x86/bits/huge_vall.h: This.
63270         * sysdeps/i386/bits/select.h: Removed.
63271         * sysdeps/x86_64/bits/select.h: Renamed to ...
63272         * sysdeps/x86/bits/select.h: This.
63274         * sysdeps/i386/bits/setjmp.h: Removed.
63275         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63276         * sysdeps/x86/bits/setjmp.h: This.
63278         * sysdeps/i386/bits/mathdef.h: Removed.
63279         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63280         * sysdeps/x86/bits/mathdef.h: This.
63282 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63284         [BZ #14132]
63285         * include/sys/socket.h (__connect_internal)
63286         (__libc_sa_len_internal): Remove declaration.
63287         (__connect, __libc_sa_len): Declare hidden_proto.
63288         (SA_LEN): Remove use of INTUSE.
63289         * socket/connect.c: Add libc_hidden_def.
63290         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63291         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63292         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63293         alias.
63294         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63295         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63296         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63297         of adding _internal alias.
63299 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63301         [BZ #14117]
63302         * sysdeps/i386/bits/link.h: Removed.
63303         * sysdeps/i386/bits/linkmap.h: Likewise.
63304         * sysdeps/x86_64/bits/link.h: Renamed to ...
63305         * sysdeps/x86/bits/link.h: This.
63306         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63307         * sysdeps/x86/bits/linkmap.h: This.
63309         * sysdeps/i386/bits/endian.h: Removed.
63310         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63311         * sysdeps/x86/bits/endian.h: This.
63313         * sysdeps/i386/bits/byteswap.h: Removed.
63314         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63315         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63316         * sysdeps/x86/bits/byteswap.h: This.
63317         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63318         * sysdeps/x86/bits/byteswap-16.h: This.
63319         * sysdeps/i386/Implies: Add x86.
63320         * sysdeps/x86_64/Implies: Likewise.
63322 2012-05-30  David S. Miller  <davem@davemloft.net>
63324         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63325         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63326         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63327         (FP_TRAPPING_EXCEPTIONS): Define.
63328         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63329         (FP_TRAPPING_EXCEPTIONS): Define.
63330         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63331         subnormals only when inexact has been signalled or underflow
63332         exceptions are enabled.
63333         (_FP_PACK_CANONICAL): Likewise.
63335 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63337         [BZ #14183]
63338         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63339         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63341 2012-05-30  Richard Henderson  <rth@twiddle.net>
63343         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63344         with #ifndef NOT_IN_libc.
63346         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63347         marked to avoid plt entry.
63349 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63351         [BZ #14112]
63352         * Makeconfig (default-abi): New macro.
63353         (abi-includes): Likewise.
63354         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63355         $(abi-$(default-abi)-lib-soname) for soname if defined.
63356         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63357         abi-variants.
63358         * Makefile (installed-stubs): Likewise.
63359         * include/stubs-biarch.h: Removed.
63360         * scripts/lib-names.awk: Only handle one library at a time.
63361         * scripts/soversions.awk: Remove WORDSIZE support.
63362         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63363         entries.
63364         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63365         Removed.
63366         (syscall-list-default-condition): Likewise.
63367         (syscall-list-default-condition): Likewise.
63368         (syscall-list-includes): Likewise.
63369         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63370         syscall-list-* with abi-*.  Handle undefined abi-variants.
63371         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63372         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63373         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63374         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63375         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63376         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63377         Removed.
63378         (syscall-list-32-options): Likewise.
63379         (syscall-list-32-condition): Likewise.
63380         (syscall-list-64-options): Likewise.
63381         (syscall-list-64-condition): Likewise.
63382         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63383         macro.
63384         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63385         Renamed to ...
63386         (abi-*): This.
63387         (abi-64-ld-soname): New macro.
63388         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63389         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63390         Renamed to ...
63391         (abi-*): This.
63392         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63393         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63395 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63397         * sysdeps/unix/sysv/linux/kernel-features.h
63398         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63399         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63400         include <kernel-features.h>.
63401         [!__NR_ftruncate64]: Remove conditional code.
63402         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63403         [__NR_ftruncate64]: Make code unconditional.
63404         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63405         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63406         include <kernel-features.h>.
63407         [!__NR_ftruncate64]: Remove conditional code.
63408         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63409         [__NR_ftruncate64]: Make code unconditional.
63410         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63412         include <kernel-features.h>.
63413         [!__NR_ftruncate64]: Remove conditional code.
63414         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63415         [__NR_ftruncate64]: Make code unconditional.
63416         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63418         include <kernel-features.h>.
63419         [!__NR_ftruncate64]: Remove conditional code.
63420         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63421         [__NR_ftruncate64]: Make code unconditional.
63422         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63424         * configure.in (libc_cv_fpie): Weaken to a compile test using
63425         LIBC_TRY_CC_OPTION.
63426         * configure: Regenerated.
63428 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63434         Refreshed.
63435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63441         Refreshed.
63443 2012-05-27  David S. Miller  <davem@davemloft.net>
63445         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63446         (___Q_zero): New.
63447         (__Q_simulate_exceptions): Return void.  Change to simulate
63448         exceptions by writing into the %fsr.
63449         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63450         (__Qp_handle_exceptions): Likewise.
63451         (numbers): Delete.
63452         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63453         __Qp_handle_exceptions.
63454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63455         __Qp_handle_exceptions.
63456         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63457         as unused and give dummy FP_RND_NEAREST initializer.
63458         (FP_INHIBIT_RESULTS): Define.
63459         (___Q_simulate_exceptions): Update declaration.
63460         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63461         formatting.
63462         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63463         as unused and give dummy FP_RND_NEAREST initializer.
63464         (__Qp_handle_exceptions): Update declaration.
63465         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63466         formatting.
63468 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63470         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63471         the temporary FPU control word.
63472         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63473         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63474         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63475         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63476         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63477         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63478         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63479         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63480         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63481         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63482         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63484 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63486         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63487         fields.
63489 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63491         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63492         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63493         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63494         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63495         Likewise.
63496         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63497         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63498         Likewise.
63500 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63502         * po/h.po: Update from translation team.
63504 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63506         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63508         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63509         handling of denormals.
63510         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63511         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63512         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63513         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63517         Likewise.
63519 2012-05-26  Marek Polacek  <polacek@redhat.com>
63521         [BZ #14152]
63522         * math/libm-test.inc (fma_test): Don't always expect underflow
63523         exception.
63525 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63527         [BZ #12416]
63528         * elf/tst-execstack.c: Include stackinfo.h.
63529         (do_test): Adjust test case to ensure that pthread_getattr_np
63530         behaviour remains the same after marking stack executable.
63532 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63534         * sysdeps/unix/sysv/linux/kernel-features.h
63535         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63536         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63537         kernel-features.h.
63538         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63539         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63540         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63541         kernel-features.h.
63542         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63543         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63545 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63547         * configure.in: Define the default includes to being none.
63548         * configure: Regenerated.
63550 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63552         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63553         * sysdeps/x86_64/setjmp.S: Likewise.
63554         * sysdeps/i386/bsd-setjmp.S: Likewise.
63555         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63556         * sysdeps/i386/setjmp.S: Likewise.
63557         * sysdeps/i386/__longjmp.S: Likewise.
63558         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63559         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63561         * include/stap-probe.h: New file.
63562         * configure.in: Handle --enable-systemtap.
63563         * configure: Regenerated.
63564         * config.h.in (USE_STAP_PROBE): New #undef.
63565         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63566         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63567         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63569 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63571         [BZ #13717]
63572         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63573         to 2.4.0 where earlier.
63574         * sysdeps/unix/sysv/linux/configure: Regenerated.
63575         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63576         <kernel-features.h>.
63577         [__ASSUME_32BITUIDS]: Make code unconditional.
63578         [!__ASSUME_32BITUIDS]: Remove conditional code.
63579         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63580         <kernel-features.h>.
63581         [__ASSUME_32BITUIDS]: Make code unconditional.
63582         [!__ASSUME_32BITUIDS]: Remove conditional code.
63583         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63584         [__ASSUME_32BITUIDS]: Make code unconditional.
63585         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63586         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63587         <kernel-features.h>.
63588         [__ASSUME_32BITUIDS]: Make code unconditional.
63589         [!__ASSUME_32BITUIDS]: Remove conditional code.
63590         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63591         <kernel-features.h>.
63592         [__ASSUME_32BITUIDS]: Make code unconditional.
63593         [!__ASSUME_32BITUIDS]: Remove conditional code.
63594         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63595         <kernel-features.h>.
63596         [__ASSUME_32BITUIDS]: Make code unconditional.
63597         [!__ASSUME_32BITUIDS]: Remove conditional code.
63598         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63599         <kernel-features.h>.
63600         [__ASSUME_32BITUIDS]: Make code unconditional.
63601         [!__ASSUME_32BITUIDS]: Remove conditional code.
63602         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63603         <kernel-features.h>.
63604         [__ASSUME_32BITUIDS]: Make code unconditional.
63605         [!__ASSUME_32BITUIDS]: Remove conditional code.
63606         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63607         <kernel-features.h>.
63608         [__ASSUME_32BITUIDS]: Make code unconditional.
63609         [!__ASSUME_32BITUIDS]: Remove conditional code.
63610         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63611         <kernel-features.h>.
63612         [__ASSUME_32BITUIDS]: Make code unconditional.
63613         [!__ASSUME_32BITUIDS]: Remove conditional code.
63614         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63615         <kernel-features.h>.
63616         [__ASSUME_32BITUIDS]: Make code unconditional.
63617         [!__ASSUME_32BITUIDS]: Remove conditional code.
63618         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63619         <kernel-features.h>.
63620         [__ASSUME_32BITUIDS]: Make code unconditional.
63621         [!__ASSUME_32BITUIDS]: Remove conditional code.
63622         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63623         <kernel-features.h>.
63624         [__ASSUME_32BITUIDS]: Make code unconditional.
63625         [!__ASSUME_32BITUIDS]: Remove conditional code.
63626         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63627         <kernel-features.h>.
63628         [__NR_setresgid] (__setresgid): Do not declare.
63629         [__ASSUME_32BITUIDS]: Make code unconditional.
63630         [!__ASSUME_32BITUIDS]: Remove conditional code.
63631         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63632         <kernel-features.h>.
63633         [__NR_setresuid] (__setresuid): Do not declare.
63634         [__ASSUME_32BITUIDS]: Make code unconditional.
63635         [!__ASSUME_32BITUIDS]: Remove conditional code.
63636         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63637         <kernel-features.h>.
63638         [__ASSUME_32BITUIDS]: Make code unconditional.
63639         [!__ASSUME_32BITUIDS]: Remove conditional code.
63640         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63641         <kernel-features.h>.
63642         [__ASSUME_32BITUIDS]: Make code unconditional.
63643         [!__ASSUME_32BITUIDS]: Remove conditional code.
63644         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63645         <kernel-features.h>.
63646         [__ASSUME_32BITUIDS]: Make code unconditional.
63647         [!__ASSUME_32BITUIDS]: Remove conditional code.
63648         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63649         <kernel-features.h>.
63650         [__ASSUME_32BITUIDS]: Make code unconditional.
63651         [!__ASSUME_32BITUIDS]: Remove conditional code.
63652         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63653         <kernel-features.h>.
63654         [__ASSUME_32BITUIDS]: Make code unconditional.
63655         [!__ASSUME_32BITUIDS]: Remove conditional code.
63656         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63657         <kernel-features.h>.
63658         [__ASSUME_32BITUIDS]: Make code unconditional.
63659         [!__ASSUME_32BITUIDS]: Remove conditional code.
63660         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63661         <kernel-features.h>.
63662         [__ASSUME_32BITUIDS]: Make code unconditional.
63663         [!__ASSUME_32BITUIDS]: Remove conditional code.
63664         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63665         <kernel-features.h>.
63666         [__ASSUME_32BITUIDS]: Make code unconditional.
63667         [!__ASSUME_32BITUIDS]: Remove conditional code.
63668         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63669         <kernel-features.h>.
63670         [__ASSUME_32BITUIDS]: Make code unconditional.
63671         [!__ASSUME_32BITUIDS]: Remove conditional code.
63672         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63673         <kernel-features.h>.
63674         [__ASSUME_32BITUIDS]: Make code unconditional.
63675         [!__ASSUME_32BITUIDS]: Remove conditional code.
63676         * sysdeps/unix/sysv/linux/kernel-features.h
63677         (__ASSUME_SETRESUID_SYSCALL): Remove.
63678         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63679         (__ASSUME_32BITUIDS): Likewise.
63680         (__ASSUME_LDT_WORKS): Likewise.
63681         (__ASSUME_O_DIRECTORY): Likewise.
63682         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63683         architecture but not kernel version.
63684         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63685         (__ASSUME_MMAP2_SYSCALL): Likewise.
63686         (__ASSUME_STAT64_SYSCALL): Likewise.
63687         (__ASSUME_IPC64): Likewise.
63688         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63689         <kernel-features.h>.
63690         [__ASSUME_32BITUIDS]: Make code unconditional.
63691         [!__ASSUME_32BITUIDS]: Remove conditional code.
63692         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63693         <kernel-features.h>.
63694         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63695         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63696         132096]: Remove conditional code.
63697         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63698         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63699         <kernel-features.h>.
63700         [__ASSUME_32BITUIDS]: Make code unconditional.
63701         [!__ASSUME_32BITUIDS]: Remove conditional code.
63702         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63703         <kernel-features.h>.
63704         [__ASSUME_32BITUIDS]: Make code unconditional.
63705         [!__ASSUME_32BITUIDS]: Remove conditional code.
63706         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63707         <kernel-features.h>.
63708         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63709         unconditional.
63710         (__setresgid): Do not declare.
63711         [__ASSUME_32BITUIDS]: Make code unconditional.
63712         [!__ASSUME_32BITUIDS]: Remove conditional code.
63713         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63714         <kernel-features.h>.
63715         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63716         unconditional.
63717         (__setresuid): Do not declare.
63718         [__ASSUME_32BITUIDS]: Make code unconditional.
63719         [!__ASSUME_32BITUIDS]: Remove conditional code.
63720         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63721         <kernel-features.h>.
63722         [__ASSUME_32BITUIDS]: Make code unconditional.
63723         [!__ASSUME_32BITUIDS]: Remove conditional code.
63724         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63725         <kernel-features.h>.
63726         [__ASSUME_32BITUIDS]: Make code unconditional.
63727         [!__ASSUME_32BITUIDS]: Remove conditional code.
63729 2012-05-25  Richard Henderson  <rth@twiddle.net>
63731         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63732         dl_hwcap to ifunc resolver.
63733         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63734         elf_ifunc_invoke.
63735         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63736         dl_hwcap to ifunc resolver.
63737         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63739 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63741         [BZ #14153]
63742         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63743         for |x| <= 2**-26, not 2**-57.
63744         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63745         exception.
63747 2012-05-24  Jeff Law  <law@redhat.com>
63749         * stdio-common/Makefile (tests): Add bug25.
63750         * stdio-common/bug25.c: New test.
63752 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63754         [BZ #13576]
63755         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63756         multiple of MALLOC_ALIGNMENT in size.
63757         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63759 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63761         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63762         Require >= 256.
63763         (FILENAME_MAX): Use macro-int-constant.
63764         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63765         (_IOFBF): Use macro-int-constant.
63766         (_IOLBF): Likewise.
63767         (_IONBF): Likewise.
63768         (SEEK_CUR): Likewise.
63769         (SEEK_END): Likewise.
63770         (SEEK_SET): Likewise.
63771         (TMP_MAX): Likewise.
63772         (EOF): Use macro-int-constant.  Require < 0.
63773         (NULL): Use macro-constant.  Require == 0.
63774         (stdin): Require type to be FILE *.
63775         (stdout): Likewise.
63776         (stderr): Likewise.
63777         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63778         macro-int-constant.
63779         (EXIT_SUCCESS): Likewise.
63780         (NULL): Use macro-constant.  Require == 0.
63781         (RAND_MAX): Use macro-int-constant.
63782         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63783         [C99-based standards] (strtof): Require function.
63784         [C99-based standards] (strtold): Likewise.
63785         [C99-based standards] (strtoll): Likewise.
63786         [C99-based standards] (strtoull): Likewise.
63787         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63788         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63789         [ISO || ISO99 || ISO11] (math.h): Likewise.
63790         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63791         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63792         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63794 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63796         [BZ #14132]
63797         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63798         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63799         * intl/dgettext.c (DCGETTEXT): Likewise.
63800         * intl/gettext.c (DCGETTEXT): Likewise.
63801         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63802         * posix/regex_internal.h (gettext): Likewise.
63803         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63804         Remove declaration.
63805         * include/argz.h (__argz_count_internal)
63806         (__argz_stringify_internal): Remove declaration.
63807         (__argz_count, __argz_stringify): Declare hidden proto.
63808         * intl/dcgettext.c: Remove use of INTDEF.
63809         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63810         * string/argz-stringify.c: Likewise.
63811         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63812         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63813         Declare hidden proto.
63814         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63815         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63816         Declare hidden proto.
63817         * include/stdio.h (__asprintf_internal): Don't declare.
63818         (__asprintf): Don't define as macro.  Declare hidden proto.
63819         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63820         (__fsetlocking): Declare hidden proto.
63821         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63822         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63823         hidden proto.
63824         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63825         (_IO_setlinebuf): Remove use of INTUSE.
63826         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63827         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63828         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63829         Remove declaration.
63830         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63831         (_IO_do_flush): Remove use of INTUSE.
63832         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63833         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63834         (_IO_adjust_column, _IO_least_wmarker)
63835         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63836         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63837         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63838         (_IO_default_doallocate, _IO_wdefault_doallocate)
63839         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63840         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63841         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63842         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63843         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63844         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63845         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63846         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63847         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63848         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63849         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63850         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63851         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63852         proto.
63853         (_IO_flush_all_internal, _IO_adjust_column_internal)
63854         (_IO_default_uflow_internal, _IO_default_finish_internal)
63855         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63856         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63857         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63858         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63859         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63860         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63861         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63862         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63863         (_IO_file_close_internal, _IO_file_close_it_internal)
63864         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63865         (_IO_file_init_internal, _IO_file_attach_internal)
63866         (_IO_file_fopen_internal, _IO_file_read_internal)
63867         (_IO_file_sync_internal, _IO_file_seek_internal)
63868         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63869         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63870         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63871         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63872         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63873         (_IO_list_all_internal, _IO_link_in_internal)
63874         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63875         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63876         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63877         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63878         (_IO_do_write_internal, _IO_padn_internal)
63879         (_IO_getline_info_internal, _IO_getline_internal)
63880         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63881         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63882         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63883         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63884         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63885         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63886         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63887         with libc_hidden_ver, remove use of INTUSE.
63888         * libio/genops.c: Likewise.
63889         * libio/freopen.c: Likewise.
63890         * libio/freopen64.c: Likewise.
63891         * libio/iofclose.c: Likewise.
63892         * libio/iofdopen.c: Likewise.
63893         * libio/iofflush.c: Likewise.
63894         * libio/iofflush_u.c: Likewise.
63895         * libio/iofgets.c: Likewise.
63896         * libio/iofgets_u.c: Likewise.
63897         * libio/iofopen.c: Likewise.
63898         * libio/iofopncook.c: Likewise.
63899         * libio/iofread.c: Likewise.
63900         * libio/iofread_u.c: Likewise.
63901         * libio/ioftell.c: Likewise.
63902         * libio/iofwrite.c: Likewise.
63903         * libio/iogetline.c: Likewise.
63904         * libio/iogets.c: Likewise.
63905         * libio/iogetwline.c: Likewise.
63906         * libio/iopadn.c: Likewise.
63907         * libio/iopopen.c: Likewise.
63908         * libio/ioseekoff.c: Likewise.
63909         * libio/ioseekpos.c: Likewise.
63910         * libio/iosetbuffer.c: Likewise.
63911         * libio/iosetvbuf.c: Likewise.
63912         * libio/ioungetc.c: Likewise.
63913         * libio/ioungetwc.c: Likewise.
63914         * libio/iovdprintf.c: Likewise.
63915         * libio/iovsprintf.c: Likewise.
63916         * libio/iovsscanf.c: Likewise.
63917         * libio/memstream.c: Likewise.
63918         * libio/obprintf.c: Likewise.
63919         * libio/oldfileops.c: Likewise.
63920         * libio/oldiofclose.c: Likewise.
63921         * libio/oldiofdopen.c: Likewise.
63922         * libio/oldiofopen.c: Likewise.
63923         * libio/oldiopopen.c: Likewise.
63924         * libio/oldstdfiles.c: Likewise.
63925         * libio/putc.c: Likewise.
63926         * libio/setbuf.c: Likewise.
63927         * libio/setlinebuf.c: Likewise.
63928         * libio/stdfiles.c: Likewise.
63929         * libio/strops.c: Likewise.
63930         * libio/vasprintf.c: Likewise.
63931         * libio/vscanf.c: Likewise.
63932         * libio/vsnprintf.c: Likewise.
63933         * libio/vswprintf.c: Likewise.
63934         * libio/wfiledoalloc.c: Likewise.
63935         * libio/wfileops.c: Likewise.
63936         * libio/wgenops.c: Likewise.
63937         * libio/wmemstream.c: Likewise.
63938         * libio/wstrops.c: Likewise.
63939         * libio/__fpurge.c: Likewise.
63940         * libio/__fsetlocking.c: Likewise.
63941         * assert/assert.c: Likewise.
63942         * debug/fgets_chk.c: Likewise.
63943         * debug/fgets_u_chk.c: Likewise.
63944         * debug/fread_chk.c: Likewise.
63945         * debug/fread_u_chk.c: Likewise.
63946         * debug/gets_chk.c: Likewise.
63947         * debug/obprintf_chk.c: Likewise.
63948         * debug/vasprintf_chk.c: Likewise.
63949         * debug/vdprintf_chk.c: Likewise.
63950         * debug/vsnprintf_chk.c: Likewise.
63951         * debug/vsprintf_chk.c: Likewise.
63952         * malloc/mtrace.c: Likewise.
63953         * misc/error.c: Likewise.
63954         * misc/syslog.c: Likewise.
63955         * stdio-common/asprintf.c: Likewise.
63956         * stdio-common/fxprintf.c: Likewise.
63957         * stdio-common/getw.c: Likewise.
63958         * stdio-common/isoc99_fscanf.c: Likewise.
63959         * stdio-common/isoc99_scanf.c: Likewise.
63960         * stdio-common/isoc99_vfscanf.c: Likewise.
63961         * stdio-common/isoc99_vscanf.c: Likewise.
63962         * stdio-common/isoc99_vsscanf.c: Likewise.
63963         * stdio-common/printf-prs.c: Likewise.
63964         * stdio-common/printf_fp.c: Likewise.
63965         * stdio-common/printf_fphex.c: Likewise.
63966         * stdio-common/printf_size.c: Likewise.
63967         * stdio-common/putw.c: Likewise.
63968         * stdio-common/scanf.c: Likewise.
63969         * stdio-common/sprintf.c: Likewise.
63970         * stdio-common/tmpfile.c: Likewise.
63971         * stdio-common/vfprintf.c: Likewise.
63972         * stdio-common/vfscanf.c: Likewise.
63973         * stdlib/strfmon_l.c: Likewise.
63974         * sunrpc/openchild.c: Likewise.
63975         * sunrpc/xdr_stdio.c: Likewise.
63976         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63977         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63979 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63981         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63983         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63984         in the third column, to generate for the shared library an IFUNC
63985         that uses _dl_vdso_vsym.
63986         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63987         * Makeconfig (object-suffixes-noshared): New variable.
63989         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63990         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63991         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63992         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63994         [BZ #14132]
63995         * include/sys/time.h (__gettimeofday): Remove macro.
63996         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63997         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63998         Remove INTDEF.
63999         (__gettimeofday): Add libc_hidden_def.
64000         (gettimeofday): Add libc_hidden_weak.
64001         * sysdeps/mach/gettimeofday.c: Likewise.
64002         * sysdeps/posix/gettimeofday.c: Likewise.
64003         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64004         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64005         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64006         (__gettimeofday_internal): Remove strong_alias.
64007         (__gettimeofday): Add libc_hidden_def.
64008         (gettimeofday): Add libc_hidden_weak.
64009         * sysdeps/unix/syscalls.list (gettimeofday):
64010         Remove __gettimeofday_internal alias.
64012 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64013             H.J. Lu  <hongjiu.lu@intel.com>
64015         [BZ #12495]
64016         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64017         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64018         (largebin_index_32_big): New.
64019         (largebin_index): Use it for 16-byte alignment.
64020         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64021         correction with front_misalign.
64023 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64027         Likewise.
64028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64029         Likewise.
64030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64031         Likewise.
64032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64033         Likewise.
64034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64035         Likewise.
64036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64037         Likewise.
64038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64039         Likewise.
64040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64041         Likewise.
64042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64043         Likewise.
64044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64045         Likewise.
64046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64047         Likewise.
64048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64049         Likewise.
64051         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64052         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64054 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64056         [BZ #10846]
64057         [BZ #14036]
64058         * math/libm-test.inc (exp_test): Add test from bug 14036.
64059         (pow_test): Add test from bug 10846.
64061         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64062         and other flags.
64063         (special_function): Do not include flags in test name.
64064         (parse_args): Likewise.
64065         * sysdeps/i386/fpu/libm-test-ulps: Update.
64066         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64067         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64068         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64071         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64072         exceptions.
64073         * math/libm-test.inc ("Philosophy"): Update comment about
64074         exception testing.
64075         (UNDERFLOW_EXCEPTION): New macro.
64076         (UNDERFLOW_EXCEPTION_OK): Likewise.
64077         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64078         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64079         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64080         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64081         (INVALID_EXCEPTION_OK): Update value.
64082         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64083         (OVERFLOW_EXCEPTION_OK): Likewise.
64084         (IGNORE_ZERO_INF_SIGN): Likewise.
64085         (test_exceptions): Handle underflow exceptions.
64086         (acos_test): Update for underflow exception expectations.
64087         (cexp_test): Likewise.
64088         (clog_test): Likewise.
64089         (clog10_test): Likewise.
64090         (csqrt_test): Likewise.
64091         (ctan_test): Likewise.
64092         (ctanh_test): Likewise.
64093         (exp_test): Likewise.
64094         (exp10_test): Likewise.
64095         (exp2_test): Likewise.
64096         (expm1_test): Likewise.
64097         (fma_test): Likewise.
64098         (j0_test): Likewise.
64099         (jn_test): Likewise.
64100         (nexttoward_test): Likewise.
64101         (pow_test): Likewise.
64102         (scalbn_test): Likewise.
64103         (scalbln_test): Likewise.
64104         (tan_test): Likewise.
64105         (y1_test): Likewise.
64106         * sysdeps/i386/fpu/libm-test-ulps: Update.
64107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64109 2012-05-23  David S. Miller  <davem@davemloft.net>
64111         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64112         (__libc_sigaction): Remove unused local variables.
64114 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64116         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64118 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64120         mktime: avoid signed integer overflow
64121         * time/mktime.c (__mktime_internal): Do not mishandle the case
64122         where diff == INT_MIN.
64124         mktime: simplify computation of average
64125         * time/mktime.c (ranged_convert): Use new time_t_avg function
64126         instead of rolling our own (probably-slower) code.
64128         mktime: do not assume signed right shift propagates sign bit
64129         * time/mktime.c (isdst_differ): New static function.
64130         (__mktime_internal): No need to normalize tm_isdst now.
64131         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64132         tm_isdst values.
64134         mktime: merge another wrapv change from gnulib
64135         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64136         from some compilers.
64138         mktime: remove incorrect attempt at unusual arithmetics
64139         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64140         The code didn't really work on such machines anyway.
64141         (TYPE_MINIMUM): Assume two's complement.
64142         (twos_complement_arithmetic): Verify that long_int and time_t
64143         are two's complement (or unsigned, in the latter case).
64145         mktime: check signed shifts on long_int and time_t, too
64146         * time/mktime.c (SHR): Check that shifts work as desired
64147         on the types long_int and time_t too, as SHR is used on
64148         such types.
64150         mktime: do not assume 'long' is wide enough
64151         * time/mktime.c (verify): Move decl up.
64152         (long_int): New type.
64153         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64154         to remove assumption in the code that 'long' is wide enough to
64155         store year values.  This assumption is not true on x32 and on
64156         some non-glibc platforms.
64158         mktime: merge wrapv change from gnulib
64159         * time/mktime.c (WRAPV): New macro.
64160         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64161         (guess_time_tm, __mktime_internal): Do not assume that signed
64162         integer overflow wraps around; modern compilers generate code
64163         where this assumption is no longer valid.
64165 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64167         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64168         Replace "jmp L(pseudo_end)" with "ret".
64169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64170         Likewise.
64172 2012-05-23  Andreas Jaeger  <aj@suse.de>
64174         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64175         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64177 2012-05-23  Andreas Jaeger  <aj@suse.de>
64178             Maximilian Attems  <max@stro.at>
64180         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64181         New macros.
64183 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64185         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64186         code so that pseudo_end is just ret and the stack pointer is
64187         correct also for static library in error case.
64189 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64191         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64192         move to syscalls.list.
64193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64198         * manual/install.texi (Running make install): Do not mention Linux
64199         kernel version for which pt_chown is not needed.
64200         (Linux): Do not mention problems with nscd with 2.0 kernels.
64201         * INSTALL: Regenerated.
64203 2012-05-23  Andreas Jaeger  <aj@suse.de>
64205         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64206         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64207         macro.
64208         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64209         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64210         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64211         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64212         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64213         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64214         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64215         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64216         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64217         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64218         * sysdeps/unix/sysv/linux/bits/in.h
64219         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64221 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64223         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64224         (PREPARE_VERSION): Just use assert instead, it will be elided
64225         under [NDEBUG] anyway.
64227 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64229         * sysdeps/unix/sysv/linux/Makefile: Include
64230         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64231         (sysdep_routines): Remove sysctl.
64232         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64233         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64234         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64235         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64236         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64238 2012-05-22  Andreas Jaeger  <aj@suse.de>
64240         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64241         that pseudo_end is just ret and the stack pointer is correct also
64242         for static library in error case.
64244 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64246         [BZ #14122]
64247         * nss/nsswitch.c (defconfig_entries): New variable.
64248         (__nss_database_lookup): Don't leak defconfig entries.
64249         (nss_parse_service_list): Don't leak on error paths.
64250         (free_database_entries): New function.
64251         (free_defconfig): New function.
64252         (free_mem): Move common code to free_database_entries.
64254 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64256         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64257         Add arch_prctl.
64258         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64260         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64261         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64263         New macro.
64264         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64265         (INTERNAL_SYSCALL_TYPES): Likewise.
64266         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64267         (LOAD_REGS_TYPES_[1-6]): Likewise.
64268         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64269         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64271 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64273         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64274         copysignl for GLIBC_2_0.
64275         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64276         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64277         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64278         logbl for GLIBC_2_0.
64279         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64280         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64282 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64284         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64285         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64287         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64288         Use "neg %eax".
64290         * time/mktime.c: Update copyright years.
64292 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64294         mktime: merge comment-quoting-style change from gnulib
64295         * time/mktime.c: Quote 'like this' in comments.
64296         The GNU coding standards suggest that we no longer quote `like this',
64297         as "`" and "'" are typically rendered asymmetrically nowadays.
64298         The typical gnulib style is to quote 'like this' when quoting
64299         code, and "like this" when quoting English.
64301         * time/mktime.c (compile-command): Add "-I.".
64303         mktime: merge mktime-internal.h change from gnulib
64304         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64306         mktime: merge time_r change from gnulib
64307         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64309         mktime: merge DEBUG change from gnulib
64310         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64311         case system <time.h> has a #define.
64313         mktime: merge <sys/types.h> change from gnulib
64314         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64315         since <time.t> is now guaranteed to define time_t.
64317         mktime: merge HAVE_CONFIG_H change from gnulib
64318         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64320 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64323         Use "neg %eax".
64325         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64326         __rlim_t cast.
64327         (struct rusage): Use anonymous union to pad each field to
64328         __syscall_slong_t.
64330 2012-05-21  David S. Miller  <davem@davemloft.net>
64332         * Makefules (o-iterator): Remove .s cases.
64333         (compile-command.s): Delete.
64334         (COMPILE.s): Delete.
64335         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64337 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64339         * configure.in (libc_cv_predef_stack_protector): Only consider
64340         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64341         * configure: Regenerated.
64343 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64346         New macro.  Use R*LP on int and pointer.
64347         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64348         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64349         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64350         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64352         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64353         [__WORDSIZE_TIME64_COMPAT32] instead of
64354         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64355         (struct utmp): Likewise.
64356         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64357         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64358         Renamed to ...
64359         (__WORDSIZE_TIME64_COMPAT32): This.
64360         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64361         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64362         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64363         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64364         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64365         (__WORDSIZE_TIME64_COMPAT32): New macro.
64367 2012-05-21  Andreas Jaeger  <aj@suse.de>
64369         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64370         only if [SHARED]. Add prototype for __wcschr_ia32.
64372 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64374         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64375         of %rbp unmolested in the jmp_buf while mangling the low bits.
64376         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64377         unmolested high bits of %rbp while demangling the low bits.
64378         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64380 2012-05-21  Andreas Jaeger  <aj@suse.de>
64382         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64383         * sunrpc/svc_simple.c: Use it for registerrpc.
64384         * sunrpc/xcrypt.c: Use it for passwd2des.
64386         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64388 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64390         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64391         Don't define if [__SYSCALL_WORDSIZE != 32].
64392         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64393         New macro.
64395 2012-05-21  Bruno Haible  <bruno@clisp.org>
64396             Andreas Jaeger  <aj@suse.de>
64398         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64399         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64400         inptr and inend for must_buffer_ch.
64401         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64402         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64403         * stdio-common/Makefile (tests): Remove bug15.
64404         (bug15-ENV): Remove macro.
64405         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64406         anymore.
64408 2012-05-19  Andreas Jaeger  <aj@suse.de>
64409             Roland McGrath  <roland@hack.frob.com>
64411         * manual/contrib.texi: Completely rewritten. It contains now an
64412         alphabetical list of contributors and their contributions.
64414 2012-05-21  Richard Henderson  <rth@twiddle.net>
64416         * misc/getauxval.c (__getauxval): Use unsigned long int.
64417         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64418         (getauxval): Use unsigned long int.
64420 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64422         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64424 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64426         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64427         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64428         __alignof__ (long double).
64430 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64434 2012-05-20  Richard Henderson  <rth@twiddle.net>
64436         * misc/getauxval.c: New file.
64437         * misc/sys/auxv.h: New file.
64438         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64439         (routines): Add getauxval.
64440         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64441         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64442         * elf/dl-sysdep.c (_dl_auxv): Remove.
64443         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64444         * elf/dl-support.c (_dl_auxv): New variable.
64445         (_dl_aux_init): Initialize it.
64446         * manual/startup.texi (Auxiliary Vector): New node.
64447         * sysdeps/generic/bits/hwcap.h: New file.
64448         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64449         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64450         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64451         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64452         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64453         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64455         Update.
64456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64459         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64465 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64469 2012-05-19  David S. Miller  <davem@davemloft.net>
64471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64473 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64475         [BZ #14123]
64476         * math/s_ccosh.c: Include <float.h>
64477         (__ccosh): Avoid internal overflow calculating sinh and cosh
64478         values before multiplying by sin and cos values.
64479         * math/s_ccoshf.c: Likewise.
64480         * math/s_ccoshl.c: Likewise.
64481         * math/s_csin.c: Likewise.
64482         * math/s_csinf.c: Likewise.
64483         * math/s_csinl.c: Likewise.
64484         * math/s_csinh.c: Likewise.
64485         * math/s_csinhf.c: Likewise.
64486         * math/s_csinhl.c: Likewise.
64487         * math/libm-test.inc (ccos_test): Add more tests.
64488         (ccosh_test): Likewise.
64489         (csin_test): Likewise.
64490         (csinh_test): Likewise.
64491         * sysdeps/i386/fpu/libm-test-ulps: Update.
64492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64494 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64496         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64497         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64499         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64501 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64503         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64504         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64505         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64506         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64507         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64508         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64509         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64510         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64511         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64512         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64513         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64514         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64515         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64516         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64517         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64518         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64519         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64520         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64521         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64522         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64523         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64524         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64525         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64526         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64527         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64528         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64529         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64530         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64531         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64532         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64533         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64535 2012-05-18  Andreas Jaeger  <aj@suse.de>
64537         * csu/.gitignore: Delete.
64539 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64541         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64542         (timex): Use __syscall_slong_t.
64544 2012-05-18  Andreas Jaeger  <aj@suse.de>
64545             Carlos O'Donell  <carlos_odonell@mentor.com>
64547         * manual/install.texi (Configuring and compiling): Update
64548         description about files modified in the source directory.
64549         * INSTALL: Regenerated.
64551 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64553         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64554         value.  Use "or" to set return value to -1.
64555         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64556         negate return value.
64558 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64560         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64561         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64562         failure if the compiler has Graphite support disabled.
64563         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64564         Likewise.
64565         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64566         (CFLAGS-memmove.c): Likewise.
64567         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64568         Likewise.
64570 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64572         * sysdeps/x86_64/x32/_itoa.h: New file.
64574         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64575         getdents system call only if kernel and user dirents have the
64576         same d_ino and d_off.
64578         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64579         LLONG_MAX != LONG_MAX.
64580         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64581         (_fitoa_word): Likewise.
64583         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64584         years.
64585         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64586         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64587         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64589         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64590         include <bits/wordsize.h>.  Check __x86_64__ instead of
64591         __WORDSIZE.
64592         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64593         if __x86_64__ is defined.  Use anonymous union on fpstate.
64595         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64596         anonymous union.
64598 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64600         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64601         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64602         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64603         Refer to _rtld_local_ro instead of _rtld_global_ro.
64604         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64605         Likewise.
64606         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64607         Likewise.
64608         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64609         Likewise.
64610         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64611         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64612         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64614         [BZ #10882]
64615         * sysdeps/powerpc/powerpc32/dl-machine.c
64616         (__elf_machine_runtime_setup) [PROF]: Don't reference
64617         _dl_prof_resolve.
64619 2012-05-18  Andreas Jaeger  <aj@suse.de>
64621         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64622         function only available for GCCs before 3.4 since GCC 3.4
64623         introduced a builtin.
64624         (lrint): Likewise.
64625         (llrintf): Likewise.
64626         (llrint): Likewise.
64627         (fmaxf): Likewise.
64628         (fmax): Likewise.
64629         (fminf): Likewise.
64630         (fmin): Likewise.
64631         (rint): Likewise.
64632         (rintf): Likewise.
64633         (nearbyint): Likewise.
64634         (nearbyintf): Likewise.
64635         (ceil): Likewise.
64636         (ceilf): Likewise.
64637         (floor): Likewise.
64638         (floorf): Likewise.
64640 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64642         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64643         on both fields and cast pointer to __syscall_ulong_t.
64645         * bits/types.h (__fsword_t): New type.
64646         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64647         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64648         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64649         (__FSWORD_T_TYPE): Likewise.
64650         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64651         (__FSWORD_T_TYPE): Likewise.
64652         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64653         (__FSWORD_T_TYPE): Likewise.
64654         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64655         (__FSWORD_T_TYPE): Likewise.
64656         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64657         __SWORD_TYPE with __fsword_t.
64658         (statfs64): Likewise.
64660 2012-05-17  David S. Miller  <davem@davemloft.net>
64662         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64664 2012-05-17  Andreas Jaeger  <aj@suse.de>
64666         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64667         warning.
64669 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64671         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64673 2012-05-17  Andreas Jaeger  <aj@suse.de>
64675         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64676         when it is used.
64678 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64680         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64682 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64684         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64685         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64687 2012-05-17  Andreas Jaeger  <aj@suse.de>
64688             Carlos O'Donell  <carlos_odonell@mentor.com>
64690         [BZ #14059]
64691         * sysdeps/x86_64/multiarch/init-arch.h
64692         (bit_YMM_Usable): Rename to...
64693         (bit_AVX_Usable): ... this.
64694         (bit_FMA4_Usable): New macro.
64695         (bit_XMM_state): New macro.
64696         (bit_YMM_state): New macro.
64697         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64698         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64699         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64700         (CPUID_OSXSAVE): New macro.
64701         (CPUID_AVX): New macro.
64702         (CPUID_FMA4): New macro.
64703         (index_YMM_Usable): Rename to...
64704         (index_AVX_Usable): ... this.
64705         (HAS_AVX): Use HAS_ARCH_FEATURE.
64706         (HAS_FMA4): Likewise.
64707         (HAS_YMM_USABLE): Remove.
64708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64709         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64710         are present.
64711         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64712         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64713         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64714         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64715         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64717 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64719         * math/libm-test.c: Support platforms without multiple rounding modes.
64720         * math/bug-nextafter.c: Support platforms without FP exceptions.
64721         * math/bug-nexttoward.c: Likewise.
64722         * math/test-fenv.c: Likewise.
64723         * math/test-misc.c: Likewise.
64724         * stdlib/bug-getcontext.c: Likewise.
64726 2012-05-17  Andreas Jaeger  <aj@suse.de>
64728         * manual/examples/search.c (critter_cmp): Change signature to
64729         avoid warnings.
64730         * manual/string.texi (Collation Functions): Likewise.
64732 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64734         * bits/types.h: Fold copyright years.
64735         * bits/typesizes.h: Likewise.
64736         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64737         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64738         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64739         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64740         * time/time.h: Likewise.
64742 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64744         [BZ #208]
64745         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64746         in instead of returning them.  Return void.
64747         (__libc_mallinfo): Accumulate over all arenas.
64748         (__malloc_stats): Adjust for change in int_mallinfo interface.
64750 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64752         [BZ #10375]
64753         * configure.in (NM): Add AC_CHECK_TOOL for it.
64754         (libc_extra_cflags): New substituted variable.
64755         Check for -fstack-protector being used implicitly.
64756         * configure: Regenerated.
64757         * config.make.in (config-extra-cflags): New variable,
64758         gets @libc_extra_cflags@.
64759         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64761         [BZ #10375]
64762         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64763         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64764         * configure: Regenerated.
64765         * config.make.in (CPPUNDEFS): New substituted variable.
64766         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64767         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64768         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64770 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64772         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64773         (mq_attr): Use __syscall_slong_t.
64775 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64777         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64778         Check __x86_64__ instead of __WORDSIZE.
64779         (_STAT_VER_LINUX): Likewise.
64780         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64781         __syscall_ulong_t and __syscall_slong_t.
64782         (stat64): Likewise.
64784 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64786         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64788 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64790         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64792 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64794         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64795         __syscall_ulong_t.
64797         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64798         include <bits/wordsize.h>.  Check __x86_64__ instead of
64799         __WORDSIZE.
64800         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64801         defined.
64802         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64804         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64805         include <bits/wordsize.h>.  Check __x86_64__ instead of
64806         __WORDSIZE.
64807         (user_regs_struct): Use "__extension__ unsigned long long"
64808         instead of "unsigned long" if __x86_64__ is defined.
64809         (user): Likewise.  Pad after pointer field if __ILP32__ is
64810         defined.
64812 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64814         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64815         versions 5 to 9.
64816         * configure: Regenerated.
64817         * manual/install.texi (texinfo): Increase version requirement to
64818         4.5 or later.
64819         * INSTALL: Regenerated.
64821         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64823 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64825         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64827         * sysdeps/x86_64/x32/ffs.c: New file.
64829         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64830         __syscall_ulong_t.
64831         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64832         defined.  Use __syscall_ulong_t.
64833         (shminfo): Use __syscall_ulong_t.
64834         (shm_info): Likewise.
64836         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64837         __syscall_ulong_t.
64839         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64840         <bits/wordsize.h>.
64841         (msgqnum_t): Use __syscall_ulong_t.
64842         (msglen_t): Likewise.
64843         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64844         __syscall_ulong_t.
64846         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64847         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64849         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64851         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64852         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64854         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64855         __syscall_slong_t.
64857         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64858         include <bits/wordsize.h>.  Check __x86_64__ instead of
64859         __WORDSIZE.
64861         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64862         "unsigned long long int" if __x86_64__ is defined.
64863         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64865         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64866         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64867         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64869         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64870         <stdint.h>.
64871         (GET_PC): Cast to uintptr_t first.
64872         (GET_FRAME): Likewise.
64873         (GET_STACK): Likewise.
64875         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64876         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64877         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64878         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64879         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64880         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64881         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64882         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64883         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64884         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64885         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64886         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64887         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64888         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64889         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64890         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64891         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64892         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64893         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64894         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64895         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64896         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64897         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64898         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64899         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64900         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64901         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64902         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64903         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64905 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64907         * Makerules (+depfiles): Also collect depfiles from .oS in
64908         $(extra-objs).
64909         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64910         .oS, $(libnldbl-routines)).
64912         * Makerules (native-compile-mkdep-flags): Define.
64913         * sunrpc/Makefile (extra-objs): Add $(addprefix
64914         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64915         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64916         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64917         calling $(make-target-directory).
64919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64921         * bits/types.h (__snseconds_t): Removed.
64922         * time/time.h (struct timespec): Replace __snseconds_t with
64923         __syscall_slong_t.
64924         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64925         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64926         Likewise.
64927         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64928         (__SNSECONDS_T_TYPE): Likewise.
64929         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64930         (__SNSECONDS_T_TYPE): Likewise.
64931         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64932         (__SNSECONDS_T_TYPE): Likewise.
64934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64936         * sysdeps/mach/hurd/bits/typesizes.h
64937         (__SYSCALL_SLONG_TYPE): New macro.
64938         (__SYSCALL_ULONG_TYPE): Likewise.
64940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64942         * bits/types.h (__syscall_slong_t): New type.
64943         (__syscall_ulong_t): Likewise.
64945         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64946         (__SYSCALL_ULONG_TYPE): Likewise.
64947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64948         (__SYSCALL_SLONG_TYPE): Likewise.
64949         (__SYSCALL_ULONG_TYPE): Likewise.
64950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64951         (__SYSCALL_SLONG_TYPE): Likewise.
64952         (__SYSCALL_ULONG_TYPE): Likewise.
64953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64954         (__SYSCALL_SLONG_TYPE): Likewise.
64955         (__SYSCALL_ULONG_TYPE): Likewise.
64957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64959         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64960         Add sigaltstack-offsets.sym.
64961         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64962         <sigaltstack-offsets.h>.
64963         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64964         longjmp_msg pointer.
64965         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64966         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64967         signal stack.
64968         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64970 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64972         * elf/stackguard-macros.h: Remove file.
64973         * sysdeps/generic/stackguard-macros.h: New file.
64974         * sysdeps/i386/stackguard-macros.h: Likewise.
64975         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64976         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64977         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64978         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64979         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64980         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64981         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64982         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64983         <elf/stackguard-macros.h>.
64985         [BZ #14109]
64986         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64987         __aligned__ in attribute.
64988         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64989         (gregset_t): Likewise.
64991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64993         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64994         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64995         * sysdeps/x86_64/x32/Implies-after: New file.
64997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64999         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65000         and access return value for _dl_profile_fixup.  Use R10_LP to
65001         load frame size.
65003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65005         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65009         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65010         * sysdeps/x86_64/x32/sysdep.h: New file.
65012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65014         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65015         * sysdeps/x86_64/setjmp.S: Likewise.
65017 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65019         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65020         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65021         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65022         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65023         remove unused global constant.
65025 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65027         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65028         include of <not-cancel.h>.
65030 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65032         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65034 2012-05-15  Jeff Law  <law@redhat.com>
65035             Andreas Jaeger  <aj@suse.de>
65037         [BZ #13594]
65038         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65039         out from...
65040         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65041         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65042         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65043         code changing __hst_map_handle.map.
65045 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65047         * configure.in (sysnames): Look for Implies-before and Implies-after
65048         files.
65049         * configure: Regenerated.
65051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65053         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65054         8-byte data alignment with LP_SIZE alignment.
65056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65058         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65059         into R10_LP.
65061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65063         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65067         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65068         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65069         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65070         Likewise.
65071         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65075         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65076         (stackinfo_sub_sp): Likewise.
65078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65080         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65081         RAX_LP.
65083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65085         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65086         into R*_LP.
65088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65090         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65091         sizes into R*_LP.
65093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65095         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65099         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65100         into R11_LP and load __x86_64_shared_cache_size_half into
65101         R8_LP.
65103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65105         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65106         R8_LP.
65108 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65110         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65111         logb for POWER7.
65112         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65113         logbf for POWER7.
65114         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65115         logbl for POWER7.
65116         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65117         powerpc32/power7/fpu/s_logb.c via #include.
65118         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65119         powerpc32/power7/fpu/s_logbf.c via #include.
65120         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65121         powerpc32/power7/fpu/s_logbl.c via #include.
65123 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65125         * README.libm: Remove file.
65127 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65129         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65130         count for x32.  Use R*_LP and omit operand-size suffix.
65132 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65134         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65135         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65136         * sysdeps/x86_64/x32/shlib-versions: New file.
65138 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65140         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65141         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65142         Use _dl_fatal_printf instead.
65144 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65146         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65147         set if not set by the user.  Do not allow for being unset.
65148         * sysdeps/unix/sysv/linux/configure: Regenerated.
65150 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65152         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65153         the `q' suffix from lea and replace .quad with ASM_ADDR.
65155 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65158         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65159         instead of $17.
65160         (PTR_DEMANGLE): Likewise.
65162 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65164         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65165         (LP_OP): Likewise.
65166         (ASM_ADDR): Likewise.
65167         (RAX_LP): Likewise.
65168         (RBP_LP): Likewise.
65169         (RBX_LP): Likewise.
65170         (RCX_LP): Likewise.
65171         (RDI_LP): Likewise.
65172         (RSI_LP): Likewise.
65173         (RSP_LP): Likewise.
65174         (R8_LP): Likewise.
65175         (R9_LP): Likewise.
65176         (R10_LP): Likewise.
65177         (R10_LP): Likewise.
65178         (R11_LP): Likewise.
65179         (R12_LP): Likewise.
65180         (R13_LP): Likewise.
65181         (R14_LP): Likewise.
65182         (R15_LP): Likewise.
65184 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65186         * sysdeps/x86_64/x32/dl-machine.h: New file.
65188 2012-05-14  Andreas Jaeger  <aj@suse.de>
65190         * manual/Makefile (subdir): Remove export of subdir.
65191         (all): Remove target.
65192         (.PHONY): Remove all from list.
65193         (mkinstalldirs): Remove.
65194         (.PHONY): Remove installdirs from list.
65195         ($(inst_infodir)/libc.info): Use make-target-directory.
65196         (installdirs): Remove.
65197         (subdir_%): Remove.
65198         (glibc-targets): Remove.
65199         (lib): Remove.
65200         (stubs): Remove.
65201         ($(objpfx)stubs ../po/manual.pot): Remove.
65202         ($(objpfx)stamp%): Remove.
65203         (make-target-directory): Remove.
65204         (subdir_install): Remove.
65205         (routines): Remove.
65206         (aux): Remove.
65207         (sources): Remove.
65208         (objects): Remove.
65209         (headers): Remove.
65211         [BZ #13750]
65212         * manual/.gitignore: Remove, it's not needed anymore.
65213         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65214         all files in it.
65215         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65216         directory.
65217         (texis): Renamed to $(objpfx)texis.
65218         (texis-path): New, contains path to generated files.
65219         (chapters.%): Use texis-path for complete path, add extra argument
65220         libc-texinfo.sh.
65221         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65222         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65223         (summary,texi, stamp-summary): Use complete path of
65224         files. Generate files in build dir.
65225         (dir-add.texi): Build in build dir.
65226         (libm-err.texi,stamp-libm-err): Likewise.
65227         (version.texi, stamp-version): Likewise.
65228         (.%c.texi): Likewise.
65229         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65230         (mostlyclean): Remove target.
65231         (realclean): Remove target.
65232         (generated): Add new variable with contents from mostlyclean and
65233         realclean, remove entries duplicated in common-mostlyclean, add
65234         stamp-libm-err and stamp-version.
65235         (generated-dirs): Add libc directory.
65236         ($(inst_infodir)/libc.info): Install files from build dir.
65238         * manual/install.texi (Configuring and compiling): Adjust since
65239         the info files are not part of the tar ball anymore.
65241 2012-05-14  Andreas Jaeger  <aj@suse.de>
65243         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65244         variable.
65246 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65248         [BZ #13717]
65249         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65250         to 2.2.0 where earlier.
65251         * sysdeps/unix/sysv/linux/configure: Regenerated.
65252         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65253         Remove conditional code.
65254         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65255         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65256         Remove conditional code.
65257         [!__NR_lchown]: Likewise.
65258         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65259         [__NR_lchown]: Likewise.
65260         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65261         comment referencing __ASSUME_LCHOWN_SYSCALL.
65262         * sysdeps/unix/sysv/linux/i386/sigaction.c
65263         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65264         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65265         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65266         Remove conditional code.
65267         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65268         (__protocol_available): Remove #if 0 code.
65269         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65270         conditional code.
65271         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65272         * sysdeps/unix/sysv/linux/kernel-features.h
65273         (__ASSUME_GETCWD_SYSCALL): Don't define.
65274         (__ASSUME_REALTIME_SIGNALS): Likewise.
65275         (__ASSUME_PREAD_SYSCALL): Likewise.
65276         (__ASSUME_PWRITE_SYSCALL): Likewise.
65277         (__ASSUME_POLL_SYSCALL): Likewise.
65278         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65279         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65280         non-SPARC.
65281         (__ASSUME_SIOCGIFNAME): Don't define.
65282         (__ASSUME_MSG_NOSIGNAL): Likewise.
65283         (__ASSUME_SENDFILE): Define unconditionally.
65284         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65285         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65286         conditional code.
65287         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65288         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65289         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65290         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65291         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65292         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65293         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65295         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65296         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65298         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65299         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65301         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65302         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65304         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65305         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65307         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65308         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65310         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65311         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65313         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65314         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65316         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65317         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65318         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65319         Remove conditional code.
65320         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65321         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65322         Remove conditional code.
65323         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65324         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65325         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65326         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65327         Remove conditional code.
65328         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65329         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65330         Remove conditional code.
65331         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65332         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65333         Remove conditional code.
65334         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65335         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65336         Remove conditional code.
65337         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65338         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65339         Remove conditional code.
65340         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65341         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65342         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65343         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65344         * sysdeps/unix/sysv/linux/sigaction.c
65345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65347         * sysdeps/unix/sysv/linux/sigpending.c
65348         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65349         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65350         * sysdeps/unix/sysv/linux/sigprocmask.c
65351         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65352         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65353         * sysdeps/unix/sysv/linux/sigsuspend.c
65354         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65355         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65356         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65357         (__libc_missing_rt_sigs): Remove.
65358         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65359         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65360         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65361         Remove conditional code.
65362         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65363         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65364         return 1.
65365         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65366         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65367         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65368         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65370 2012-05-14  Andreas Jaeger  <aj@suse.de>
65372         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65373         it's not used in glibc.
65374         (__coshm1): Likewise.
65375         (__acosh1p): Likewise.
65376         (__sgn): Likewise.
65378         * manual/string.texi (Copying and Concatenation): Add missing
65379         variable in concat example.
65380         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65382 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65384         [BZ #14103]
65385         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65386         __builtin_clzl with __builtin_clzll.
65388 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65390         [BZ #14104]
65391         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65392         libc_freeres_ptr.
65394 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65396         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65397         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65398         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65399         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65401 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65403         * NEWS: Update ia64 info.
65405 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65407         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65408         used as bcopy.
65410 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65412         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65413         * sysdeps/unix/syscalls.list (dup3): Likewise.
65414         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65415         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65417 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65419         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65420         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65422 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65424         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65425         thread pointer.
65426         (TLS_IE): Use mov/add instead of movq/addq to load thread
65427         pointer.
65428         (TLS_GD_PREFIX): New.
65429         (TLS_GD): Use it.
65431 2012-05-11  David S. Miller  <davem@davemloft.net>
65433         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65434         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65435         (_FPU_SETCW): Likewise.
65437 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65439         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65440         is 32-byte aligned.
65442 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65444         [BZ #11837]
65445         * iconvdata/gb18030.c: Update tables.
65446         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65447         characters specially.
65448         (BODY for TO_LOOP): Add encoding of missing ranges.
65450 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65452         [BZ #13673]
65453         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65454         * sysdeps/mach/hurd/dup3.c: Likewise.
65455         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65456         * sysdeps/powerpc/memmove.c:: Likewise.
65458 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65460         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65461         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65463 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65465         * elf/elf.h (R_X86_64_RELATIVE64): New.
65466         (R_X86_64_NUM): Updated.
65467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65468         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65469         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65470         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65471         tst-quad1pie tst-quad2pie
65472         (modules-names): Add tst-quadmod1 tst-quadmod2.
65473         ($(objpfx)tst-quad1): New dependency.
65474         ($(objpfx)tst-quad2): Likewise.
65475         ($(objpfx)tst-quad1pie): Likewise.
65476         ($(objpfx)tst-quad2pie): Likewise.
65477         * sysdeps/x86_64/tst-quad1.c: New file.
65478         * sysdeps/x86_64/tst-quad1pie.c: New file.
65479         * sysdeps/x86_64/tst-quad2.c: Likewise.
65480         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65481         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65482         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65483         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65484         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65486 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65488         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65489         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65490         * streams/stropts.h (t_scalar_t): Define type.
65492         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65493         (_PATH_PRESERVE): Set to "/var/lib".
65494         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65496         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65497         instead of int.
65499         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65500         if __dir_mkfile succeeded.
65502         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65503         checking for _hurd_dtablesize.  Unlock it right after having
65504         finished _hurd_dtable allocation.
65506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65508         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65509         * sysdeps/mach/hurd/configure: Regenerated.
65510         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65511         special-casing to...
65512         * sysdeps/gnu/configure.in: ... this new file.
65513         * sysdeps/unix/sysv/linux/configure: Regenerated.
65514         * sysdeps/gnu/configure: New generated file.
65516         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65517         for Linux: use nsec instead of usec, as well as:
65518         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65519         members of type struct timespec.
65520         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65521         New macros.
65522         (struct stat64): Likewise.
65523         (_STATBUF_ST_NSEC): New macro.
65524         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65526         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65527         __strtoul_internal rather than strtoul.
65529 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65531         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65532         and reject them.
65534 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65536         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65537         which preserves existing values.
65538         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65540 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65542         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65543         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65544         greater than FD_SETSIZE.
65546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65548         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65549         allocated, call __vm_protect to finish enabling the existing space, and
65550         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65551         allocate the remainder.
65553 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65555         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65556         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65558 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65560         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65561         sysdeps/mach/hurd/readlink.c.
65563         * posix/tst-sysconf.c (posix_options): Only use
65564         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65565         _POSIX_SYNCHRONIZED_IO when they are defined
65566         * sysdeps/mach/hurd/bits/posix_opt.h:
65567         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65568         (_XOPEN_REALTIME): Undefine macro.
65569         (_XOPEN_REALTIME_THREADS): Undefine macro.
65570         (_XOPEN_SHM): Undefine macro.
65571         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65572         macro to -1.
65573         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65574         macro to -1.
65575         (_POSIX_ASYNC_IO): Undefine macro.
65576         (_POSIX_PRIORITIZED_IO): Undefine macro.
65577         (_POSIX_SPIN_LOCKS): Define macro to -1.
65579         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65580         SA_NODEFER, SA_RESETHAND.
65581         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65582         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65583         F_DUPFD_CLOEXEC.
65585 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65587         * elf/Makefile (pldd-modules): Define unconditionally.
65589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65591         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65593 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65595         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65596         Return ENOENT when name is empty.
65597         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65601         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65603         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65607         Fix mlock in all cases except non-readable pages.
65608         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65609         instead of VM_PROT_ALL as parameter to __vm_wire function.
65611         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65612         (__mkdir): When path is `/', just fail with EEXIST.
65613         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65615 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65617         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65618         <sys/uio.h> (for writev).
65619         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65620         and <sys/param.h> (for MIN).
65622 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65624         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65625         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65626         if interrupted.
65628 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65630         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65631         Depend on against $(link-rpcuserlibs).
65633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65635         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65636         (__libc_stack_end): Do not use attribute_relro.
65637         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65638         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65639         to libthread-provided value.
65640         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65641         attribute_relro.
65643 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65645         [BZ #3748]
65646         * bits/libc-lock.h (__libc_once_get): New macro.
65647         * sysdeps/mach/bits/libc-lock.h: Likewise.
65648         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65649         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65650         instead of using implementation details.
65652         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65653         * libio/freopen.c: Likewise.
65654         * libio/freopen64.c: Likewise.
65655         * misc/syslog.c: Likewise.
65656         * nscd/connections.c: Likewise.
65657         * nscd/netgroupcache.c: Likewise.
65658         * sysdeps/posix/getcwd.c: Likewise.
65660 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65662         * math/w_ilogbf.c: Add #include <limits.h>.
65664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65666         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65667         path instead of returning without unlocking.
65669         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65670         immediate-write ioctls.
65671         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65673 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65675         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65676         __builtin_frame_address instead of making assumptions about the
65677         location of the return address relative to DATA.  Force early load of
65678         the return address.
65679         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65680         __builtin_frame_address.
65682         dup3 for GNU Hurd.
65683         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65684         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65685         implement dup3 and do some further code clean-ups.
65686         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65687         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65691         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65693         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65694         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65695         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65696         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65697         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65698         d->port.lock.
65700         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65701         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65702         when handler == SIG_ERR, not when handler != SIG_ERR.
65704 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65706         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65707         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65708         definitions.
65710         accept4 for GNU Hurd.
65711         * include/sys/socket.h (__libc_accept4): New prototype.
65712         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65713         to implement __libc_accept4.
65714         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65715         __libc_accept4.
65716         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65718         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65719         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65720         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65721         signal-defines.sym.
65723 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65725         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65727 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65729         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65730         assertion on O_CLOEXEC flag.
65731         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65732         * hurd/intern-fd.c: Likewise.
65733         * hurd/port2fd.c: Likewise.
65735 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65737         [BZ #3906]
65738         * bits/in.h (IPV6_PKTINFO): Define new macro.
65739         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65741 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65743         [BZ #13954]
65744         [BZ #13955]
65745         [BZ #13956]
65746         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65748         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65749         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65750         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65751         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65752         * math/libm-test.inc (logb_test) : Additional logb tests.
65754 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65755             Andreas Jaeger  <aj@suse.de>
65757         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65758         * configure: Regenerated.
65759         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65760         * config.make.in (link-obsolete-rpc): New substituted variable.
65761         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65762         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65763         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65764         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65765         so that libc.a contains the symbols.
65766         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65767         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65768         * sunrpc/auth_none.c: Likewise.
65769         * sunrpc/auth_unix.c: Likewise.
65770         * sunrpc/authdes_prot.c: Likewise.
65771         * sunrpc/authuxprot.c: Likewise.
65772         * sunrpc/clnt_gen.c: Likewise.
65773         * sunrpc/clnt_perr.c: Likewise.
65774         * sunrpc/clnt_raw.c: Likewise.
65775         * sunrpc/clnt_simp.c: Likewise.
65776         * sunrpc/clnt_tcp.c: Likewise.
65777         * sunrpc/clnt_udp.c: Likewise.
65778         * sunrpc/clnt_unix.c: Likewise.
65779         * sunrpc/des_crypt.c: Likewise.
65780         * sunrpc/des_soft.c: Likewise.
65781         * sunrpc/get_myaddr.c: Likewise.
65782         * sunrpc/key_call.c: Likewise.
65783         * sunrpc/key_prot.c: Likewise.
65784         * sunrpc/netname.c: Likewise.
65785         * sunrpc/pm_getmaps.c: Likewise.
65786         * sunrpc/pm_getport.c: Likewise.
65787         * sunrpc/pmap_clnt.c: Likewise.
65788         * sunrpc/pmap_prot.c: Likewise.
65789         * sunrpc/pmap_prot2.c: Likewise.
65790         * sunrpc/pmap_rmt.c: Likewise.
65791         * sunrpc/publickey.c: Likewise.
65792         * sunrpc/rpc_cmsg.c: Likewise.
65793         * sunrpc/rpc_common.c: Likewise.
65794         * sunrpc/rpc_dtable.c: Likewise.
65795         * sunrpc/rpc_prot.c: Likewise.
65796         * sunrpc/rpc_thread.c: Likewise.
65797         * sunrpc/rtime.c: Likewise.
65798         * sunrpc/svc.c: Likewise.
65799         * sunrpc/svc_auth.c: Likewise.
65800         * sunrpc/svc_raw.c: Likewise.
65801         * sunrpc/svc_run.c: Likewise.
65802         * sunrpc/svc_tcp.c: Likewise.
65803         * sunrpc/svc_udp.c: Likewise.
65804         * sunrpc/svc_unix.c: Likewise.
65805         * sunrpc/svcauth_des.c: Likewise.
65806         * sunrpc/xcrypt.c: Likewise.
65807         * sunrpc/xdr.c: Likewise.
65808         * sunrpc/xdr_array.c: Likewise.
65809         * sunrpc/xdr_float.c: Likewise.
65810         * sunrpc/xdr_intXX_t.c: Likewise.
65811         * sunrpc/xdr_mem.c: Likewise.
65812         * sunrpc/xdr_rec.c: Likewise.
65813         * sunrpc/xdr_ref.c: Likewise.
65814         * sunrpc/xdr_sizeof.c: Likewise.
65815         * sunrpc/xdr_stdio.c: Likewise.
65817 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65819         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65820         change.  Update copyright years.
65822 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65824         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65826 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65827             Joseph Myers  <joseph@codesourcery.com>
65828             Paul Pluzhnikov  <ppluzhnikov@google.com>
65830         [BZ #14012]
65831         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65832         requiring rpcgen.
65833         [cross-compiling] (extra-libs): Likewise.
65834         [cross-compiling] (extra-libs-others): Likewise.
65835         [cross-compiling] (librpcsvc-routines): Likewise.
65836         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65837         [cross-compiling] (omit-deps): Likewise.
65838         (sunrpc-CPPFLAGS): New variable.
65839         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65840         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65841         (cross-rpcgen-objs): New variable.
65842         (extra-objs): Append $(cross-rpcgen-objs).
65843         ($(cross-rpcgen-objs)): New rule.
65844         ($(objpfx)cross-rpcgen): Likewise.
65845         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65846         comment.
65847         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65848         ($(objpfx)x%.stmp): Likewise.
65849         * sunrpc/proto.h [IS_IN_build] (_): Define.
65850         [IS_IN_build] (_libc_intl_domainname): Likewise.
65852 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65854         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65855         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65856         and R_X86_64_TPOFF64.
65858 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65860         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65861         sysdeps/unix/sysv/syscalls.list.
65862         (stime): Likewise.
65863         (utime): Likewise.
65864         * sysdeps/unix/sysv/syscalls.list: Remove file.
65866 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65868         [BZ #3440]
65869         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65870         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65871         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65872         (__LC_IDENTIFICATION): Make these macros useful in #if
65873         expressions, as required by C99.
65875 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65877         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65878         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65879         after this.
65881 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65883         * stdlib/longlong.h: Updated from GCC.
65885 2012-05-09  Andreas Jaeger  <aj@suse.de>
65887         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65888         default is first entry.
65889         (run_mode): Set type.
65890         (main): Remove informal message about syslog.
65891         (options): Fix typo.
65893         [BZ #14053]
65894         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65895         to asm.
65896         (lrint): Likewise.
65897         (llrintf): Likewise.
65898         (llrint): Likewise.
65899         (rint): Likewise.
65900         (rintf): Likewise.
65901         (nearbyint): Likewise.
65902         (nearbyintf): Likewise.
65904 2012-05-09  Andreas Jaeger  <aj@suse.de>
65905             Pedro Alves  <palves@redhat.com>
65907         * nscd/nscd.c (run_mode): Use enum.
65908         (main): Cleanup coding style issue.
65910 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65911             Andreas Jaeger  <aj@suse.de>
65913         * nscd/nscd.c (go_background): Replaced with...
65914         (run_mode): ... this.
65915         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65916         (options): Add -F --foreground.
65917         (main): Implement it.
65918         (parse_opt): Parse it.
65920 2012-05-09  Andreas Jaeger  <aj@suse.de>
65922         [BZ #14083]
65923         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65924         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65925         -Wconversion warning.
65926         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65927         Likewise.
65929 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65931         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65932         == 0.
65933         (LC_ALL): Use macro-int-constant.
65934         (LC_COLLATE): Likewise.
65935         (LC_CTYPE): Likewise.
65936         (LC_MESSAGES): Likewise.
65937         (LC_MONETARY): Likewise.
65938         (LC_NUMERIC): Likewise.
65939         (LC_TIME): Likewise.
65940         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65941         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65942         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65943         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65944         Specify type.
65945         [C99-based standards] (float_t): Expect type.
65946         [C99-based standards] (double_t): Expect type.
65947         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65948         type.
65949         [C99-based standards] (HUGE_VALL): Likewise.
65950         [C99-based standards] (INFINITY): Likewise.
65951         [C99-based standards] (NAN): Likewise.
65952         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65953         [C99-based standards] (FP_NAN): Likewise.
65954         [C99-based standards] (FP_NORMAL): Likewise.
65955         [C99-based standards] (FP_SUBNORMAL): Likewise.
65956         [C99-based standards] (FP_ZERO): Likewise.
65957         [C99-based standards] (FP_FAST_FMA): Use
65958         optional-macro-int-constant.  Specify type.  Require == 1.
65959         [C99-based standards] (FP_FAST_FMAF): Likewise.
65960         [C99-based standards] (FP_FAST_FMAL): Likewise.
65961         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65962         [C99-based standards] (FP_ILOGBNAN): Likewise.
65963         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65964         Specify type.
65965         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65966         [C99-based standards] (math_errhandling): Specify type.
65967         [ISO99 || ISO11] (signgam): Do not allow.
65968         [non-C99-based standards] (copysignf): Do not allow.
65969         [non-C99-based standards] (exp2f): Likewise.
65970         [non-C99-based standards] (log2f): Likewise.
65971         [non-C99-based standards] (modff): Allow.
65972         [non-C99-based standards] (erff): Do not allow.
65973         [non-C99-based standards] (erfcf): Likewise.
65974         [non-C99-based standards] (gammaf): Likewise.
65975         [non-C99-based standards] (hypotf): Likewise.
65976         [non-C99-based standards] (j0f): Likewise.
65977         [non-C99-based standards] (j1f): Likewise.
65978         [non-C99-based standards] (jnf): Likewise.
65979         [non-C99-based standards] (lgammaf): Likewise.
65980         [non-C99-based standards] (tgammaf): Likewise.
65981         [non-C99-based standards] (y0f): Likewise.
65982         [non-C99-based standards] (y1f): Likewise.
65983         [non-C99-based standards] (ynf): Likewise.
65984         [non-C99-based standards] (isnanf): Likewise.
65985         [non-C99-based standards] (acoshf): Likewise.
65986         [non-C99-based standards] (asinhf): Likewise.
65987         [non-C99-based standards] (atanhf): Likewise.
65988         [non-C99-based standards] (cbrtf): Likewise.
65989         [non-C99-based standards] (expm1f): Likewise.
65990         [non-C99-based standards] (ilogbf): Likewise.
65991         [non-C99-based standards] (log1pf): Likewise.
65992         [non-C99-based standards] (logbf): Likewise.
65993         [non-C99-based standards] (nextafterf): Likewise.
65994         [non-C99-based standards] (remainderf): Likewise.
65995         [non-C99-based standards] (rintf): Likewise.
65996         [non-C99-based standards] (scalbf): Likewise.
65997         [non-C99-based standards] (copysignl): Likewise.
65998         [non-C99-based standards] (exp2l): Likewise.
65999         [non-C99-based standards] (log2l): Likewise.
66000         [non-C99-based standards] (modfl): Allow.
66001         [non-C99-based standards] (erfl): Do not allow.
66002         [non-C99-based standards] (erfcl): Likewise.
66003         [non-C99-based standards] (gammal): Likewise.
66004         [non-C99-based standards] (hypotl): Likewise.
66005         [non-C99-based standards] (j0l): Likewise.
66006         [non-C99-based standards] (j1l): Likewise.
66007         [non-C99-based standards] (jnl): Likewise.
66008         [non-C99-based standards] (lgammal): Likewise.
66009         [non-C99-based standards] (tgammal): Likewise.
66010         [non-C99-based standards] (y0l): Likewise.
66011         [non-C99-based standards] (y1l): Likewise.
66012         [non-C99-based standards] (ynl): Likewise.
66013         [non-C99-based standards] (isnanl): Likewise.
66014         [non-C99-based standards] (acoshl): Likewise.
66015         [non-C99-based standards] (asinhl): Likewise.
66016         [non-C99-based standards] (atanhl): Likewise.
66017         [non-C99-based standards] (cbrtl): Likewise.
66018         [non-C99-based standards] (expm1l): Likewise.
66019         [non-C99-based standards] (ilogbl): Likewise.
66020         [non-C99-based standards] (log1pl): Likewise.
66021         [non-C99-based standards] (logbl): Likewise.
66022         [non-C99-based standards] (nextafterl): Likewise.
66023         [non-C99-based standards] (remainderl): Likewise.
66024         [non-C99-based standards] (rintl): Likewise.
66025         [non-C99-based standards] (scalbl): Likewise.
66026         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66027         [non-C99-based standards] (FP_*): Do not allow.
66028         [C99-based standards] (FP_*): Change to
66029         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66030         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66031         allow.
66032         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66033         (SIG_ERR): Likewise.
66034         [X/Open-based standards] (SIG_HOLD): Likewise.
66035         (SIG_IGN): Likewise.
66036         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66037         positive value.
66038         (SIGFPE): Likewise.
66039         (SIGILL): Likewise.
66040         (SIGINT): Likewise.
66041         (SIGSEGV): Likewise.
66042         (SIGTER): Likewise.
66043         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66044         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66045         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66046         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66047         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66048         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66049         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66050         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66051         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66052         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66053         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66054         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66055         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66056         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66057         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66058         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66059         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66060         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66061         [X/Open-based standards] (SIGTRAP): Likewise.
66062         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66063         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66064         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66065         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66066         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66067         allow.
66069 2012-05-08  Ian Wienand  <ianw@vmware.com>
66071         [BZ #14080]
66072         * time/tzset.c (__tzset_parse_tz): Update default rules for
66073         daylight time changes in the Energy Policy Act of 2005.
66075 2012-05-09  Andreas Jaeger  <aj@suse.de>
66077         [BZ #13983]
66078         * elf/ldconfig.c (parse_conf): Change string to make clear that
66079         ldconfig only issued a warning if ld.so.conf does not exist.
66081 2012-05-08  David S. Miller  <davem@davemloft.net>
66083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66084         movxtod instead of popping the value on the stack.
66086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66088 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66090         * config.h.in: Add HAVE_ARM_PCS_VFP.
66092 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66094         [BZ #13979]
66095         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66096         checking but the checks are disabled for any reason.
66098 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66100         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66101         and ELF64_R_TYPE with ELFW(R_TYPE).
66103 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66105         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66106         (ulimit): Likewise.
66108         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66109         (settimeofday): Likewise.
66111 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66113         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66114         a struct th_u2 inside the union, and move tu_block/tu_code into
66115         a new th_u3 union of tu_block/tu_code inside of that.  Move
66116         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66117         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66118         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66119         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66120         (th_stuff): Change to th_u1.tu_stuff.
66121         (th_data): Define.
66122         (th_msg): Change to th_u1.th_u2.tu_data.
66124 2012-05-07  David S. Miller  <davem@davemloft.net>
66126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66128         [BZ #14074]
66129         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66130         (SETUP_PIC_REG): Use it.
66131         (SETUP_PIC_REG_LEAF): Use it.
66133 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66135         [BZ #13885]
66136         [BZ #13923]
66137         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66138         USE_AS_EXPM1L.
66139         (EXPL_FINITE): Likewise.
66140         (FLDLOG): Likewise.
66141         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66142         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66143         e_expl.S.
66144         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66145         USE_AS_EXPM1L.
66146         (EXPL_FINITE): Likewise.
66147         (FLDLOG): Likewise.
66148         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66149         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66150         e_expl.S.
66151         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66152         test of -max_value argument for long double.
66153         * sysdeps/i386/fpu/libm-test-ulps: Update.
66154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66156 2012-05-06  David S. Miller  <davem@davemloft.net>
66158         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66159         quad soft-float symbols whose references which are compiler
66160         generated.
66161         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66163 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66165         [BZ #13884]
66166         [BZ #13914]
66167         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66168         USE_AS_EXP10L.
66169         (EXPL_FINITE): Likewise.
66170         (FLDLOG): Likewise.
66171         (c0): Likewise.
66172         (c1): Likewise.
66173         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66174         Adjust comments for base varying.
66175         (__expl_finite): Change alias to EXPL_FINITE.
66176         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66177         e_expl.S.
66178         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66179         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66180         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66181         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66182         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66183         USE_AS_EXP10L.
66184         (EXPL_FINITE): Likewise.
66185         (FLDLOG): Likewise.
66186         (c0): Likewise.
66187         (c1): Likewise.
66188         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66189         Adjust comments for base varying.
66190         (__expl_finite): Change alias to EXPL_FINITE.
66191         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66192         tests for bugs.
66193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66195         [BZ #14064]
66196         * math/libm-test.inc (check_float_internal): Correct ulp
66197         calculation for subnormal expected results.
66199 2012-05-06  Andreas Jaeger  <aj@suse.de>
66201         * Makeconfig (+math-flags): New, set to -frounding-math.
66202         (+cflags): Add +math-flags so that all of glibc gets compiled with
66203         it.
66205         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66207 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66209         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66210         Disable one test.
66212         [BZ #13787]
66213         [BZ #13922]
66214         [BZ #14036]
66215         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66216         (__ieee754_expl): Allow for and saturate large arguments.
66217         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66218         (u_threshold): Likewise.
66219         (__exp): Call __ieee754_exp before checking for overflow and
66220         underflow.
66221         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66222         (u_threshold): Likewise.
66223         (__expf): Call __ieee754_expf before checking for overflow and
66224         underflow.
66225         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66226         (u_threshold): Likewise.
66227         (__expl): Call __ieee754_expl before checking for overflow and
66228         underflow.
66229         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66230         (__ieee754_expl): Allow for and saturate large arguments.
66231         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66232         missing overflow exception on overflow.
66233         (expm1_test): Do not allow missing overflow exception on overflow.
66235         * sysdeps/i386/fpu/e_expl.c: Move to ...
66236         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66237         rather than using inline asm.
66238         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66239         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66240         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66242         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66243         (nice): Likewise.
66244         (poll): Likewise.
66245         (signal): Likewise.
66246         (time): Likewise.
66247         (times): Likewise.
66249 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66251         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66252         sysdeps/unix/common/syscalls.list.
66253         (fchmod): Likewise.
66254         (fchown): Likewise.
66255         (ftruncate): Likewise.
66256         (getrusage): Likewise.
66257         (gettimeofday): Likewise.
66258         (setpgid): Likewise.
66259         (setregid): Likewise.
66260         (setreuid): Likewise.
66261         (sigaction): Likewise.
66262         (truncate): Likewise.
66263         (vhangup): Likewise.
66264         * sysdeps/unix/common/syscalls.list: Remove file.
66265         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66266         * sysdeps/unix/sysv/linux/Implies: Likewise.
66268 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66270         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66272         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66273         Moved to ...
66274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66275         Here.
66276         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66277         to ...
66278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66279         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66280         to ...
66281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66282         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66283         to ...
66284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66285         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66286         to ...
66287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66288         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66289         to ...
66290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66291         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66292         to ...
66293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66294         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66295         to ...
66296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66297         Here.
66298         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66299         to ...
66300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66301         Here.
66302         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66303         to ...
66304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66305         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66306         Moved to ...
66307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66308         Here.
66309         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66310         to ...
66311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66313 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66315         * sysdeps/unix/common/bits/dirent.h: Remove file.
66316         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66318         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66319         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66320         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66321         * sysdeps/unix/bsd/isatty.c: Likewise.
66322         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66323         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66324         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66326 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66328         [BZ #13563]
66329         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66330         long double comparison inaccuracies.
66331         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66334 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66336         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66337         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66339 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66341         [BZ #14049]
66342         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66343         nonzero digits before rounding a hex value.
66344         * stdlib/tst-strtod.c (tests): Add another test.
66346 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66348         * sysdeps/s390/fpu/libm-test-ulps: Update.
66350 2012-05-03  Andreas Jaeger  <aj@suse.de>
66352         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66353         does not get optimized out.
66354         (malloc_opt_barrier): New.
66356 2012-05-03  Andreas Jaeger  <aj@suse.de>
66357             Roland McGrath  <roland@hack.frob.com>
66359         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66360         intermediate file deletion.
66361         (generated): Add .symlist files.
66363 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66365         [BZ #13775]
66366         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66367         Redirect under this condition.
66368         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66369         [__USE_GNU] (__dprintf_chk): Not under this condition.
66370         [__USE_GNU] (__vdprintf_chk): Likewise.
66371         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66372         under this condition.
66373         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66374         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66375         [__USE_XOPEN2K8] (vdprintf): Likewise.
66376         [__USE_GNU] (__dprintf_chk): Not under this condition.
66377         [__USE_GNU] (__vdprintf_chk): Likewise.
66378         [__USE_GNU] (dprintf): Likewise.
66379         [__USE_GNU] (vdprintf): Likewise.
66381 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66383         * elf/Makefile (common-generated): Set this instead of generated for
66384         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66385         $(all-built-dso)-derived lists.
66387 2012-05-03  Andreas Jaeger  <aj@suse.de>
66389         * sysdeps/i386/fpu/libm-test-ulps: Update.
66391         * FAQ: Removed.
66392         * FAQ.in: Likewise.
66393         * scripts/gen-FAQ.pl: Likewise.
66394         * manual/install.texi (Installation): Point to online location of
66395         FAQ.
66396         * Makefile (files-for-dist): Remove FAQ.
66397         (FAQ): Remove.
66399 2012-05-02  Allan McRae  <allan@archlinux.org>
66401         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66402         (LDFLAGS-reldepmod5.so): Likewise.
66403         (LDFLAGS-reldep6mod1.so): Likewise.
66404         (LDFLAGS-reldep6mod4.so): Likewise.
66405         (LDFLAGS-reldep8mod3.so): Likewise.
66406         (LDFLAGS-unload4mod1.so): Likewise.
66407         (LDFLAGS-unload4mod2.so): Likewise.
66408         (LDFLAGS-tst-initorder): Likewise.
66409         (LDFLAGS-tst-initordera2.so): Likewise.
66410         (LDFLAGS-tst-initordera3.so): Likewise.
66411         (LDFLAGS-tst-initordera4.so): Likewise.
66412         (LDFLAGS-tst-initorderb2.so): Likewise.
66413         (LDFLAGS-noload): Likewise.
66414         (LDFLAGS-next): Likewise.
66415         (LDFLAGS-order2mod1.so): Likewise.
66416         (LDFLAGS-order2mod2.so): Likewise.
66417         (LDFLAGS-tst-initorder2): Likewise.
66418         (LDFLAGS-tst-initorder2a.so): Likewise.
66419         (LDFLAGS-tst-initorder2b.so): Likewise.
66420         (LDFLAGS-tst-initorder2c.so): Likewise.
66421         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66423 2012-05-02  David S. Miller  <davem@davemloft.net>
66425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66427 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66429         [BZ #14055]
66430         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66432 2012-05-02  Andreas Jaeger  <aj@suse.de>
66434         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66435         since we manipulate rounding mode.
66436         (CPPFLAGS-test-idouble.c): Likewise.
66437         (CPPFLAGS-test-ifloat.c): Likewise.
66438         (CFLAGS-test-ldouble.c): Likewise.
66439         (CFLAGS-test-double.c): Likewise.
66440         (CFLAGS-test-float.c): Likewise.
66441         (CFLAGS-test-misc.c): Likewise.
66442         (CFLAGS-test-test-fenv.c): Likewise.
66444 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66446         [BZ #2550]
66447         [BZ #2570]
66448         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66449         comparisons to determine direction to adjust input.
66451 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66453         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66454         output to the target.
66456         * scripts/localplt.awk: New file.
66457         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66458         (check-localplt-CFLAGS): Variable removed.
66459         ($(all-built-dso:=.jmprel)): New static pattern rule.
66460         (generated): Add those targets.
66461         (localplt-built-dso): New variable.
66462         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66464         * elf/check-localplt.c: File removed.
66466         * scripts/check-execstack.awk: New file.
66467         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66468         (check-execstack-CFLAGS): Variable removed.
66469         ($(objpfx)check-execstack.h): Target removed.
66470         ($(objpfx)execstack-default): New target.
66471         (generated): Add that instead of check-execstack.h.
66472         ($(all-built-dso:=.phdr)): New static pattern rule.
66473         (generated): Add those targets.
66474         * elf/check-execstack.c: File removed.
66476         * scripts/check-textrel.awk: New file.
66477         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66478         (check-textrel-CFLAGS): Variable removed.
66479         (all-built-dso): Use := to define.o
66480         ($(all-built-dso:=.dyn)): New static pattern rule.
66481         (generated): Add those targets.
66482         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66483         * config.make.in (READELF): New substituted variable.
66484         * elf/check-textrel.c: File removed.
66486 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66488         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66489         allow.
66490         * conform/data/ctype.h-data [C99-based standards] (isblank):
66491         Expect function.
66492         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66493         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66494         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66495         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66496         Specify type.  Require positive value.
66497         (EILSEQ): Likewise.
66498         (ERANGE): Likewise.
66499         [ISO || POSIX] (EILSEQ): Do not expect.
66500         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66501         Specify type.  Require positive value.
66502         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66503         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66504         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66505         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66506         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66507         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66508         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66509         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66510         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66511         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66512         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66513         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66514         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66515         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66516         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66517         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66518         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66519         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66520         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66521         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66522         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66523         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66524         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66525         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66526         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66527         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66528         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66529         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66530         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66531         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66532         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66533         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66534         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66535         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66536         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66537         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66538         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66539         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66540         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66541         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66542         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66543         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66544         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66545         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66546         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66547         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66548         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66549         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66550         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66551         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66552         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66553         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66554         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66555         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66556         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66557         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66558         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66559         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66560         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66561         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66562         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66563         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66564         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66565         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66566         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66567         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66568         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66569         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66570         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66571         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66572         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66573         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66574         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66575         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66576         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66577         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66578         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66579         Require >= 2.
66580         (FLT_ROUNDS): Expect as macro, not constant.
66581         (FLT_MANT_DIG): Use macro-int-constant.
66582         (DBL_MANT_DIG): Likewise.
66583         (LDBL_MANT_DIG): Likewise.
66584         (FLT_DIG): Likewise.
66585         (DBL_DIG): Likewise.
66586         (LDBL_DIG): Likewise.
66587         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66588         (DBL_MIN_EXP): Likewise.
66589         (LDBL_MIN_EXP): Likewise.
66590         (FLT_MAX_EXP): Use macro-int-constant.
66591         (DBL_MAX_EXP): Likewise.
66592         (LDBL_MAX_EXP): Likewise.
66593         (FLT_MAX_10_EXP): Likewise.
66594         (DBL_MAX_10_EXP): Likewise.
66595         (LDBL_MAX_10_EXP): Likewise.
66596         (FLT_MAX): Use macro-constant.
66597         (DBL_MAX): Likewise.
66598         (LDBL_MAX): Likewise.
66599         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66600         (DBL_EPSILON): Likewise.
66601         (LDBL_EPSILON): Likewise.
66602         (FLT_MIN): Likewise.
66603         (DBL_MIN): Likewise.
66604         (LDBL_MIN): Likewise.
66605         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66606         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66607         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66608         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66609         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66610         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66611         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66612         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66613         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66614         [ISO11] (FLT_TRUE_MIN): Likewise.
66615         [ISO11] (LDBL_TRUE_MIN): Likewise.
66616         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66617         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66618         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66619         (SCHAR_MAX): Likewise.
66620         (UCHAR_MAX): Likewise.
66621         (CHAR_MIN): Likewise.
66622         (CHAR_MAX): Likewise.
66623         (MB_LEN_MAX): Use macro-int-constant.
66624         (SHRT_MIN): Use macro-int-constant.  Specify type.
66625         (SHRT_MAX): Likewise.
66626         (USHRT_MAX): Likewise.
66627         (INT_MAX): Likewise.
66628         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66629         bound negative.
66630         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66631         bound with "U".
66632         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66633         bound with "L".
66634         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66635         bound negative.  Suffix upper bound with "L".
66636         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66637         bound with "UL".
66638         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66639         Specify type.
66640         [C99-based standards] (LLONG_MAX): Likewise.
66641         [C99-based standards] (ULLONG_MAX): Likewise.
66642         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66643         == 0.
66644         [ISO11] (max_align_t): Require type.
66645         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66647         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66648         from $CFLAGS, without defining away __attribute__ calls.
66649         (checknamespace): Use $CFLAGS_namespace.
66651         * conform/conformtest.pl (@keywords): Only include C99 keywords
66652         for standards based on C99 or C11.
66654         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66655         Disable tests.
66656         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66657         UNIX98]: Likewise.
66659         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66660         usability of symbols in #if.
66662         * conform/conformtest.pl: If macro or constant types start
66663         "promoted:", expect the symbol to be of the following type
66664         promoted by the integer promotions.
66666         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66667         in one place.  Also handle "macro-constant".
66669         * conform/conformtest.pl: Only accept expected macro values with
66670         "==".  Parse all "macro" lines in one place.
66671         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66673         * conform/conformtest.pl: Handle braced types on "constant" lines
66674         instead of handling "typed-constant".
66675         * conform/data/signal.h-data: Use "constant" instead of
66676         "typed-constant".
66678         * conform/conformtest.pl: Handle "optional-" at start of lines in
66679         one place rather than duplicating several cases.  Handle each
66680         format of "macro" line with initial "optional-".
66682         * conform/conformtest.pl: Only accept expected constant or
66683         optional-constant values with "==".  Parse all "constant" lines in
66684         one place.  Parse all "optional-constant" lines in one place.
66685         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66686         * conform/data/fmtmsg.h-data: Likewise.
66687         * conform/data/netinet/in.h-data: Likewise.
66688         * conform/data/tar.h-data: Likewise.
66689         * conform/data/limits.h-data: Use "==" form on "constant" and
66690         "optional-constant" lines.
66692         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66693         Use -std=c99 for XOPEN2K.
66694         (@knownproblems): Remove.
66695         (newtoken): Don't check %isknown.
66697         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66698         Do not expect macro.
66699         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66700         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66701         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66702         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66703         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66704         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66705         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66706         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66707         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66708         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66709         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66710         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66711         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66712         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66713         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66714         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66715         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66716         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66717         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66718         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66719         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66720         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66721         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66722         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66723         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66724         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66725         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66726         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66727         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66728         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66729         [XPG3] (acosh): Likewise.
66730         [XPG3] (asinh): Likewise.
66731         [XPG3] (atanh): Likewise.
66732         [XPG3] (cbrt): Likewise.
66733         [XPG3] (expm1): Likewise.
66734         [XPG3] (ilogb): Likewise.
66735         [XPG3] (log1p): Likewise.
66736         [XPG3] (logb): Likewise.
66737         [XPG3] (nextafter): Likewise.
66738         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66739         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66740         [XPG3] (remainder): Likewise.
66741         [XPG3] (rint): Likewise.
66742         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66743         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66744         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66745         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66746         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66747         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66748         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66749         [UNIX98 || XOPEN2K] (scalb): Expect.
66750         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66751         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66752         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66753         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66754         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66755         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66756         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66757         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66758         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66759         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66760         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66761         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66762         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66763         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66764         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66765         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66766         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66767         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66768         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66769         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66770         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66771         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66772         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66773         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66774         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66775         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66776         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66777         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66778         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66779         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66780         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66781         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66782         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66783         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66784         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66785         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66786         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66787         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66788         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66789         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66790         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66791         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66792         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66793         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66794         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66795         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66796         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66797         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66798         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66799         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66800         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66801         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66802         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66803         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66804         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66805         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66806         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66807         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66808         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66809         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66810         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66811         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66812         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66813         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66814         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66815         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66816         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66817         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66818         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66819         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66820         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66821         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66822         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66823         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66824         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66825         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66826         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66827         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66828         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66829         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66830         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66831         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66832         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66833         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66834         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66835         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66836         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66837         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66838         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66839         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66840         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66841         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66842         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66843         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66844         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66845         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66846         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66847         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66848         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66849         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66850         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66851         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66852         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66853         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66854         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66855         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66856         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66857         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66858         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66859         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66860         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66861         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66862         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66863         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66864         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66865         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66866         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66867         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66868         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66869         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66870         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66871         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66872         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66873         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66874         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66875         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66876         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66877         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66878         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66879         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66880         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66881         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66882         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66883         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66884         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66885         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66886         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66888         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66889         _XOPEN_SOURCE_EXTENDED for XPG4.
66891         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66893         * Makeconfig (localtime): Remove variable.
66894         (inst_localtime-file): Likewise.
66896 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66899         Update.
66900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66901         Update.
66902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66903         Update.
66904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66905         Update.
66906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66907         Update.
66908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66909         Update.
66910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66911         Update.
66912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66913         Update.
66914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66915         Update.
66917 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66919         [BZ #2550]
66920         [BZ #2570]
66921         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66922         comparisons to determine direction to adjust input.
66923         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66924         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66925         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66926         Likewise.
66927         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66928         Likewise.
66929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66930         Likewise.
66931         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66932         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66933         Likewise.
66934         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66935         Likewise.
66936         * math/libm-test.inc (nexttoward_test): Add more tests.
66938 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66940         [BZ #14040]
66941         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66942         in version GLIBC_2.1, not GLIBC_2.0.
66943         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66944         Likewise.
66946 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66948         [BZ #13942]
66949         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66950         (1 - x) * (1 + x).
66951         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66952         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66953         * math/libm-test.inc (acos_test): Add more tests.
66954         (asin_test): Likewise.
66955         * sysdeps/i386/fpu/libm-test-ulps: Update.
66956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66958         [BZ #14034]
66959         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66960         of square root.
66961         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66962         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66963         * math/libm-test.inc (acos_test_tonearest): New function.
66964         (acos_test_towardzero): Likewise.
66965         (acos_test_downward): Likewise.
66966         (acos_test_upward): Likewise.
66967         (asin_test_tonearest): Likewise.
66968         (asin_test_towardzero): Likewise.
66969         (asin_test_downward): Likewise.
66970         (asin_test_upward): Likewise.
66971         (main): Call the new functions.
66972         * sysdeps/i386/fpu/libm-test-ulps: Update.
66973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66975         [BZ #13884]
66976         [BZ #13924]
66977         * math/e_exp10.c: Include <float.h>.
66978         (__ieee754_exp10): Handle underflow here rather than multiplying
66979         large negative argument by M_LN10.
66980         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66981         of __ieee754_expf.
66982         * math/e_exp10l.c: Include <float.h>.
66983         (__ieee754_exp10l): Handle underflow here rather than multiplying
66984         large negative argument by M_LN10l.
66985         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66986         spurious overflow exception on underflow.
66988 2012-04-29  Marek Polacek  <polacek@redhat.com>
66990         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66991         (__fortify_function): New macro.
66992         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66993         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66994         __extern_always_inline.
66995         * libio/bits/stdio2.h: Likewise.
66996         * libio/bits/stdio.h: Likewise.
66997         * string/string.h: Likewise.
66998         * string/bits/string3.h: Likewise.
66999         * include/stdio.h: Likewise.
67000         * stdlib/bits/stdlib.h: Likewise.
67001         * stdlib/stdlib.h: Likewise.
67002         * rt/bits/mqueue2.h: Likewise.
67003         * rt/mqueue.h: Likewise.
67004         * posix/bits/unistd.h: Likewise.
67005         * posix/unistd.h: Likewise.
67006         * io/bits/poll2.h: Likewise.
67007         * io/bits/fcntl2.h: Likewise.
67008         * io/fcntl.h: Likewise.
67009         * io/sys/poll.h: Likewise.
67010         * misc/bits/syslog.h: Likewise.
67011         * misc/bits/syslog-ldbl.h: Likewise.
67012         * misc/sys/syslog.h: Likewise.
67013         * socket/bits/socket2.h: Likewise.
67014         * socket/sys/socket.h: Likewise.
67015         * debug/tst-chk1.c: Likewise.
67016         * wcsmbs/bits/wchar2.h: Likewise.
67017         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67018         * wcsmbs/wchar.h: Likewise.
67020 2012-04-29  Andreas Jaeger  <aj@suse.de>
67022         * Makerules (tests): Remove enable-check-abi protection.
67023         (check-abi-warn): Remove.
67024         (check-abi-%): Remove check-abi-warn usage.
67026         * configure.in: Remove check-abi configure option.
67027         * configure: Regenerated.
67028         * config.make.in (enable-check-abi): Remove.
67030 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67032         [BZ #14033]
67033         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67034         double functions to double *_finite functions.
67036         [BZ #13941]
67037         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67038         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67039         LDBL_MIN_EXP.
67040         * stdio-common/Makefile (tests): Add tst-sprintf3.
67041         * stdio-common/tst-sprintf3.c: New file.
67043         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67044         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67046 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67048         * conform/conformtest.pl: Remove duplicate typed-constant
67049         handling.
67051 2012-04-28  David S. Miller  <davem@davemloft.net>
67053         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67054         (check-abi-%): Remove AWK script prerequisite and explicit
67055         abilist directory.
67056         (check-abi): Rewrite to just diff the symlist with the abilist.
67057         (config-tls, config-abi-config): Delete, no longer used.
67058         (update-abi-%): Remove AWK script and explicit abilist directory.
67059         (update-abi): Rewrite to simply compare and conditionally copy the
67060         symlist and the sysdep abilist file.  Remove update-abi-config
67061         checks.
67062         * abilist/ld.abilist: Remove.
67063         * abilist/libBrokenLocale.abilist: Remove.
67064         * abilist/libanl.abilist: Remove.
67065         * abilist/libcrypt.abilist: Remove.
67066         * abilist/libdl.abilist: Remove.
67067         * abilist/librt.abilist: Remove.
67068         * abilist/libthread_db.abilist: Remove.
67069         * abilist/libutil.abilist: Remove.
67070         * scripts/extract-abilist.awk: Remove.
67071         * scripts/merge-abilist.awk: Remove.
67072         * sysdeps/generic/libcidn.abilist: New file.
67073         * sysdeps/generic/libnss_compat.abilist: New file.
67074         * sysdeps/generic/libnss_db.abilist: New file.
67075         * sysdeps/generic/libnss_dns.abilist: New file.
67076         * sysdeps/generic/libnss_files.abilist: New file.
67077         * sysdeps/generic/libnss_hesiod.abilist: New file.
67078         * sysdeps/generic/libnss_nis.abilist: New file.
67079         * sysdeps/generic/libnss_nisplus.abilist: New file.
67080         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67081         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67082         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67083         file.
67084         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67085         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67086         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67087         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67088         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67089         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67090         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67091         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67092         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67093         file.
67094         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67095         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67096         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67097         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67098         file.
67099         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67100         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67101         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67102         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67103         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67104         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67105         file.
67106         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67107         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67108         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67109         file.
67110         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67111         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67112         New file.
67113         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67114         New file.
67115         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67116         New file.
67117         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67118         New file.
67119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67120         New file.
67121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67122         New file.
67123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67124         New file.
67125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67126         New file.
67127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67128         New file.
67129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67130         New file.
67131         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67132         New file.
67133         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67134         New file.
67135         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67136         New file.
67137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67138         file.
67139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67140         New file.
67141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67142         New file.
67143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67144         file.
67145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67146         New file.
67147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67148         New file.
67149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67150         file.
67151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67152         New file.
67153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67154         New file.
67155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67156         New file.
67157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67158         New file.
67159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67160         New file.
67161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67162         New file.
67163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67165         file.
67166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67167         New file.
67168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67169         file.
67170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67171         file.
67172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67173         file.
67174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67175         file.
67176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67177         file.
67178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67179         New file.
67180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67181         file.
67182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67183         file.
67184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67185         New file.
67186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67187         file.
67188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67190         file.
67191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67192         New file.
67193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67194         file.
67195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67196         file.
67197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67198         file.
67199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67200         file.
67201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67202         file.
67203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67204         New file.
67205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67206         file.
67207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67208         file.
67209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67210         New file.
67211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67212         file.
67213         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67214         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67215         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67216         file.
67217         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67218         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67219         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67220         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67221         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67222         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67223         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67224         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67225         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67226         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67229         file.
67230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67231         New file.
67232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67233         file.
67234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67235         file.
67236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67237         file.
67238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67239         file.
67240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67241         file.
67242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67243         New file.
67244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67245         New file.
67246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67247         file.
67248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67249         New file.
67250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67251         file.
67252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67254         file.
67255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67256         New file.
67257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67258         file.
67259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67260         file.
67261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67262         file.
67263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67264         file.
67265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67266         file.
67267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67268         New file.
67269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67270         New file.
67271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67272         file.
67273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67274         New file.
67275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67276         file.
67278 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67280         * conform/conformtest.pl: Fix typo in handling typed-constant from
67281         allow-header.
67283 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67285         * README: Cut down references to pre-2.6 Linux kernels and
67286         Linuxthreads.  Update lists of configurations in libc and ports
67287         and sort alphabetically.  Say "or newer" with Linux kernel version
67288         requirements.
67290         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67292 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67294         [BZ #887]
67295         * math/libm-test.inc (logb_test_downward): New test to expose
67296         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67297         rounding mode.
67299 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67301         [BZ #14027]
67302         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67303         to be done.
67304         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67305         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67307 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67309         * sysdeps/unix/i386/brk.S: Remove file.
67310         * sysdeps/unix/i386/dl-brk.S: Likewise.
67311         * sysdeps/unix/i386/pipe.S: Likewise.
67312         * sysdeps/unix/i386/sigreturn.S: Likewise.
67313         * sysdeps/unix/i386/syscall.S: Likewise.
67314         * sysdeps/unix/i386/vfork.S: Likewise.
67315         * sysdeps/unix/i386/wait.S: Likewise.
67317         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67318         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67320         * configure.in (arm*-none*): Do not allow without
67321         --enable-hacker-mode.
67322         (netbsd*): Remove case setting base_os.
67323         (386bsd*): Likewise.
67324         (freebsd*): Likewise.
67325         (bsdi*): Likewise.
67326         (osf*): Likewise.
67327         (sunos*): Likewise.
67328         (ultrix*): Likewise.
67329         (newsos*): Likewise.
67330         (dynix*): Likewise.
67331         (*bsd*): Likewise.
67332         (sysv*): Likewise.
67333         (isc*): Likewise.
67334         (esix*): Likewise.
67335         (sco*): Likewise.
67336         (minix*): Likewise.
67337         (irix4*): Likewise.
67338         (irix6*): Likewise.
67339         (solaris[2-9]*): Likewise.
67340         (none): Likewise.
67341         * configure: Regenerated.
67343 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67345         [BZ #11521]
67346         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67347         overflow or cancellation in calculating denominator.
67348         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67349         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67350         down expression to avoid unexpected rounding in newer GCCs.
67351         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67353 2012-04-26  David S. Miller  <davem@davemloft.net>
67355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67356         long-double compat symbols.
67357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67371 2012-04-25  David S. Miller  <davem@davemloft.net>
67373         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67374         HWCAP_* values only after the memory barriers have been defined.
67375         (atomic_full_barrier): Define.
67376         (atomic_read_barrier): Define.
67377         (atomic_write_barrier): Define.
67379 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67381         * shlib-versions: Add libgcc_s version information.
67382         * sysdeps/generic/libgcc_s.h: Remove.
67383         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67384         libgcc_s.h.
67385         * sysdeps/gnu/unwind-resume.c: Likewise.
67386         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67388 2012-04-25  David S. Miller  <davem@davemloft.net>
67390         * sysdeps/unix/sparc/brk.S: Delete.
67391         * sysdeps/unix/sparc/dl-brk.S: Delete.
67392         * sysdeps/unix/sparc/pipe.S: Delete.
67393         * sysdeps/unix/sparc/sysdep.S: Delete.
67394         * sysdeps/unix/sparc/sysdep.h: Delete.
67395         * sysdeps/unix/sparc/vfork.S: Delete.
67396         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67397         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67398         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67399         (ret_ERRVAL, r0, r1, MOVE): Define.
67400         (JUMPTARGET): Remove.
67401         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67402         sysdeps/unix/sparc/sysdep.h
67403         (ENTRY, END): Remove.
67404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67406 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67408         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67409         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67410         -DIS_IN_build.
67412         * timezone/README: Update upstream location and email address for
67413         tzcode and tzdata.
67414         * timezone/zdump.c: Update from tzcode 2012b.
67415         * timezone/zic.c: Likewise.
67417         * configure.in (libc_cv_as_needed): Remove test.
67418         * configure: Regenerated.
67419         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67420         conditional definition.
67421         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67422         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67423         * config.make.in (have-as-needed): Remove variable.
67425 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67426             Paul Pluzhnikov  <ppluzhnikov@google.com>
67428         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67429         strings correctly.
67431 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67433         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67434         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67435         * sysdeps/sh/strlen.S: Likewise.
67437 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67439         * sysdeps/unix/fork.S: Remove file.
67440         * sysdeps/unix/i386/fork.S: Likewise.
67441         * sysdeps/unix/sparc/fork.S: Likewise.
67443         * sysdeps/unix/system.c: Remove file.
67444         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67446         * sysdeps/unix/getegid.S: Remove file.
67447         * sysdeps/unix/geteuid.S: Likewise.
67449 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67451         * scripts/check-localplt.awk: New file.
67452         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67453         of diff.
67454         * scripts/data/localplt-generic.data: Add a comment.
67456         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67457         NODE when __dir_mkfile failed.
67458         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67459         Reported by Ludovic Courtès <ludo@gnu.org>.
67461 2012-04-24  Andreas Jaeger  <aj@suse.de>
67463         * Makerules (common-clean): Also remove gen-as-const-headers
67464         files.
67466 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67468         * Makerules (native-compile): Do not change working directory for
67469         build.  Use $(OUTPUT_OPTION) in command.
67470         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67472 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67474         [BZ #13886]
67475         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67476         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67477         * math/libm-test.inc (floor_test): Add more tests.
67478         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67480 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67482         * sysdeps/unix/getdents.c: Remove file.
67483         * sysdeps/unix/sysv/getdents.c: Likewise.
67484         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67486         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67487         sysdeps/unix/mman/syscalls.list.
67488         (mmap): Likewise.
67489         (mprotect): Likewise.
67490         (msync): Likewise.
67491         (munmap): Likewise.
67492         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67493         * sysdeps/unix/mman/syscalls.list: Remove.
67494         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67496         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67497         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67498         * configure: Regenerated.
67499         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67500         $(libgcc_s_suffix).
67501         * config.make.in (libgcc_s_suffix): Remove variable.
67503 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67505         * sysdeps/unix/sysv/gethostname.c: Move to ...
67506         * sysdeps/posix/gethostname.c: ... here.
67508         * sysdeps/unix/execve.S: Remove file.
67510         * sysdeps/unix/_exit.S: Remove file.
67512 2012-04-23  Andreas Jaeger  <aj@suse.de>
67514         [BZ #13739]
67515         * manual/Makefile: Remove make dist support, there's no
67516         need for a stand-alone documentation tar ball.
67517         (TEXI2DVI): Define always, it's not in Makeconfig.
67518         (dist): Removed.
67519         (tar-it): Removed.
67520         (edition): Removed.
67521         (glibc-doc-$(edition).tar): Removed
67522         (%.Z): Removed.
67523         (%.gz): Removed.
67524         (%.uu): Removed.
67525         (ETAGS): Remove, it's in Makeconfig.
67526         (move-if-change): Remove, it's in Makeconfig.
67528 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67530         [BZ #13970]
67531         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67532         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67533         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67534         (strtod_l, strtof_l, strtold_l): Remove __wur.
67535         It is not necessarily an error to ignore strtol's return value.
67536         One can reliably look at the stored endptr to decide whether
67537         the number had valid syntax.
67539 2012-04-21  Andreas Jaeger  <aj@suse.de>
67541         [BZ #13739]
67542         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67544 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67546         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67547         * sysdeps/unix/sysv/Versions: Remove file.
67549 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67551         [BZ #13927]
67552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67554 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67556         [BZ #7064]
67557         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67558         version from __vm86.
67560 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67562         * sysdeps/unix/common/lxstat.c: Remove file.
67563         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67565         * sysdeps/unix/sysv/Makefile: Remove file.
67567         * sysdeps/unix/sysv/direct.h: Remove file.
67569         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67570         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67571         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67572         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67573         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67574         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67575         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67577         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67579         * sysdeps/unix/xmknod.c: Remove file.
67580         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67582         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67584         * sysdeps/unix/sysv/i386/time.S: Remove file.
67586         * sysdeps/unix/fxstat.c: Remove file.
67587         * sysdeps/unix/xstat.c: Likewise.
67588         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67590         * sysdeps/unix/sysv/sigaction.c: Remove file.
67592         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67593         (sysdep_headers): Remove variable.
67594         [termio.h not in sysdep_headers] (generated): Likewise.
67595         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67596         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67597         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67598         * sysdeps/unix/sysv/tcflow.c: Likewise.
67599         * sysdeps/unix/sysv/tcflush.c: Likewise.
67600         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67601         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67602         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67603         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67604         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67606         * sysdeps/unix/siglist.c: Remove file.
67608         * sysdeps/unix/getppid.S: Remove file.
67610         * sysdeps/unix/mkdir.c: Remove file.
67611         * sysdeps/unix/rmdir.c: Likewise.
67613 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67615         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67616         ERR_MAX value.
67617         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67618         errlist-compat value.
67620 2012-04-18  David S. Miller  <davem@davemloft.net>
67622         * sysdeps/generic/memcopy.h (reg_char): Delete.
67623         * debug/strcat_chk.c: Use char, not reg_char.
67624         * debug/strcpy_chk.c: Likewise.
67625         * debug/strncat_chk.c: Likewise.
67626         * debug/strncpy_chk.c: Likewise.
67627         * string/memchr.c: Likewise.
67628         * string/memrchr.c: Likewise.
67629         * string/rawmemchr.c: Likewise.
67630         * string/strcat.c: Likewise.
67631         * string/strchr.c: Likewise.
67632         * string/strchrnul.c: Likewise.
67633         * string/strcmp.c: Likewise.
67634         * string/strcpy.c: Likewise.
67635         * string/strncat.c: Likewise.
67636         * string/strncmp.c: Likewise.
67637         * string/strncpy.c: Likewise.
67639 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67641         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67642         __builtin_memcopy is called when src and dest ranges are known to not
67643         overlap.
67645 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67647         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67648         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67649         fwd_align_merge macro call.
67650         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67651         bwd_align_merge macro call.
67652         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67654 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67656         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67657         bwd_align_merge macros.
67658         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67659         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67660         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67662 2012-04-18  David S. Miller  <davem@davemloft.net>
67664         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67666 2012-04-18  Andreas Jaeger  <aj@suse.de>
67668         [BZ# 6794]
67669         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67670         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67671         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67673         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67674         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67675         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67677         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67678         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67679         Adjust for changed ldbl-128 files.
67681         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67682         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67683         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67685 2012-04-17  David S. Miller  <davem@davemloft.net>
67687         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67689 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67691         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67692         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67693         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67694         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67695         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67696         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67698 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67700         [BZ #6794]
67701         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67702         * math/libm-test.inc: Add ilogb errno and exception tests.
67703         * math/w_ilogb.c: New file: ilogb wrapper.
67704         * math/w_ilogbf.c: New file: ilogbf wrapper.
67705         * math/w_ilogbl.c: New file: ilogbl wrapper.
67706         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67707         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67708         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67709         exception being thrown with 0.0 as argument.
67710         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67711         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67712         exception being thrown with 0.0 as argument.
67713         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67714         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67715         exception being thrown with 0.0 as argument.
67716         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67717         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67718         exception being thrown with 0.0 as argument.
67719         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67720         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67721         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67722         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67723         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67724         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67725         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67726         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67727         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67729 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67731         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67732         with altivec.
67734 2012-04-16  Marek Polacek  <polacek@redhat.com>
67736         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67738 2012-04-16  Marek Polacek  <polacek@redhat.com>
67740         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67741         operands of fdivp instruction.
67743 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67745         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67746         * elf/tst-auditmod3b.c: Likewise.
67747         * elf/tst-auditmod4b.c: Likewise.
67748         * elf/tst-auditmod5b.c: Likewise.
67749         * elf/tst-auditmod6b.c: Likewise.
67750         * elf/tst-auditmod6c.c: Likewise.
67751         * elf/tst-auditmod7b.c: Likewise.
67752         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67753         * sysdeps/x86_64/preconfigure.in: Likewise.
67754         * sysdeps/x86_64/preconfigure: Regenerated.
67756 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67758         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67759         __ILP32__.
67761 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67763         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67764         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67766 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67768         [BZ #13973]
67769         * locale/iso-639.def: Fix gl language name. Spotted by
67770         Yaron Shahrabani.
67772 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67774         [BZ #2074]
67775         * libio/libio.h (__io_write_fn): Update comment.
67777 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67779         [BZ #2074]
67780         * stdio.texi (Hook Functions): The user provided writer function
67781         is not allowed to return -1.
67783 2012-04-11  David S. Miller  <davem@davemloft.net>
67785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67787 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67789         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67790         Add a leading slash to rtkaio.
67792 2012-04-11  Jim Meyering  <meyering@redhat.com>
67794         [BZ #11959]
67795         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67796         It is not necessarily an error to ignore fwrite's return
67797         value.  One can reliably use ferror to test for errors after
67798         the fact.
67800 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67802         * bits/types.h (__snseconds_t): New type.
67803         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67805         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67806         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67807         (__SNSECONDS_T_TYPE): Likewise.
67808         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67809         (__SNSECONDS_T_TYPE): Likewise.
67810         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67811         (__SNSECONDS_T_TYPE): Likewise.
67813 2012-04-10  Andreas Jaeger  <aj@suse.de>
67815         [BZ #2636]
67816         * manual/time.texi (Processor Time): Return type of times is
67817         elapsed real time since an arbitrary point in the past.
67818         (CPU Time): Move CLK_TCK from here...
67819         (Processor Time): ...to here.  Correct description.
67820         * manual/conf.texi (Constants for Sysconf): Correct description of
67821         _SC_CLK_TCK.
67823 2012-04-10  David S. Miller  <davem@davemloft.net>
67825         [BZ #13967]
67826         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67827         where the is a gap between DT_REL(A) and DT_JMPREL.
67829 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67831         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67832         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67833         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67835 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67837         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67838         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67839         (dl_main): Handle --inhibit-cache.
67840         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67841         _dl_inhibit_cache.
67842         * elf/dl-load.c (_dl_map_object): Use it.
67843         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67845 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67847         [BZ #13872]
67848         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67849         (__ieee754_powl): Saturate large exponents rather than testing for
67850         overflow of y*log2(x).
67851         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67852         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67853         exceptions.
67855         [BZ #11521]
67856         * math/s_ctan.c: Include <float.h>.
67857         (__ctan): Avoid internal overflow or cancellation in calculating
67858         denominator.
67859         * math/s_ctanf.c: Likewise.
67860         * math/s_ctanl.c: Likewise.
67861         * math/s_ctanh.c: Likewise.
67862         * math/s_ctanhf.c: Likewise.
67863         * math/s_ctanhl.c: Likewise.
67864         * math/libm-test.inc (ctan_test): Add more tests.
67865         (ctanh_test): Likewise.
67866         * sysdeps/i386/fpu/libm-test-ulps: Update.
67867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67869 2012-04-09  Andreas Jaeger  <aj@suse.de>
67871         [BZ #6894]
67872         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67873         is an optional BSD extension.
67875         [BZ #10254]
67876         * manual/stdio.texi (Opening Streams): Document additional fopen
67877         parameters.
67879 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67881         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67882         %eax without telling the compiler.
67884 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67886         [BZ # 13963]
67887         * manual/install.texi: Use sourceware.org.
67889 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67891         [BZ #13873]
67892         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67893         (__ieee754_pow): Generate overflow and underflow using huge*huge
67894         and tiny*tiny rather than just returning constant infinity or zero
67895         for large exponents.
67896         * math/libm-test.inc (pow_test): Require overflow exceptions for
67897         applicable cases of large exponents.
67899         [BZ #706]
67900         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67901         (__ieee754_pow): Use iterative multiplication algorithm only for
67902         integer exponents with absolute value below 1024.  Check for odd
67903         integer exponents when using algorithm for real exponents.
67904         * math/libm-test.inc (pow_test): Add more tests.
67905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67907 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67909         [BZ #13705]
67910         * math/libm-test.inc (exp_test): Do not allow overflow exception
67911         on underflow test.
67913 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67915         [BZ #13705]
67916         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67917         instead of __kernel_standard_f.
67919 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67921         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67922         * sysdeps/x86_64/memset_chk.S: Likewise.
67924 2012-04-08  Andreas Jaeger  <aj@suse.de>
67926         [BZ #10153]
67927         * manual/startup.texi (Environment Access): Describe return value
67928         for putenv and setenv.
67930         [BZ #6895]
67931         * manual/filesys.texi (Directory Entries): Add description for
67932         DT_LNK.
67934         [BZ #6890]
67935         * manual/filesys.texi (Directory Entries): Clarify that it's file
67936         system not operating system in the description of DT_UNKNOWN.
67938         [BZ #6578]
67939         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67941 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67943         [BZ #6649]
67944         * manual/llio.texi (Opening and Closing Files): Add cross
67945         reference to explain mode argument.
67947 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67949         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67950         * sysdeps/x86_64/memset_chk.S: Likewise.
67952 2012-04-07  David S. Miller  <davem@davemloft.net>
67954         * elf/elf.h (R_SPARC_WDISP10): Define.
67955         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67956         R_SPARC_SIZE32.
67957         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67958         R_SPARC_SIZE64 and R_SPARC_H34.
67960 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67962         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67963         conditions and remove no longer applicable assertion.
67965 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67967         * bits/byteswap.h: Include <features.h>.
67968         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67969         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67971 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67973         * bits/byteswap.h (__bswap_16): Removed.
67974         Include <bits/byteswap-16.h> to get __bswap_16.
67975         * sysdeps/i386/bits/byteswap.h: Likewise.
67976         * sysdeps/s390/bits/byteswap.h: Likewise.
67977         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67978         * bits/byteswap-16.h: New file.
67979         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67980         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67981         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67982         * string/Makefile (headers): Add bits/byteswap-16.h.
67984 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67986         [BZ #13895]
67987         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67988         extra indirection.
67989         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67990         * nss/tst-nss-static.c: New.
67992 2012-04-06  Robert Millan  <rmh@gnu.org>
67994         [BZ #6486]
67995         * manual/llio.texi (File Position Primitive): lseek
67996         refers to WHENCE when it really means OFFSET.
67998 2012-04-06  Andreas Jaeger  <aj@suse.de>
68000         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68001         strncmp declarations.
68003         * abilist/libc.abilist: Add __poll and __ppoll.
68005 2012-04-05  David S. Miller  <davem@davemloft.net>
68007         * scripts/check-local-headers.sh: Accept a host triplet in the
68008         path matched by the exclude regexp.
68010         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68011         definition.
68012         * sysdeps/powerpc/powerpc32/dl-machine.h
68013         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68014         * sysdeps/s390/s390-32/dl-machine.h
68015         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68016         * sysdeps/sparc/sparc32/dl-machine.h
68017         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68018         * sysdeps/sparc/sparc64/dl-machine.h
68019         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68021         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68022         lazy binding.
68023         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68024         undefined symbol errors.
68026         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68027         DT_NEEDED entries.
68029 2012-04-05  Michael Matz  <matz@suse.de>
68031         [BZ #13592]
68032         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68034 2012-04-05  Andreas Jaeger  <aj@suse.de>
68036         [BZ #13908]
68037         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68038         comment.
68040 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68042         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68043         which ROUND is no valid rounding mode.
68045 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68047         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68048         read again.
68049         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68051 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68053         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68054         an exception using FPU order intentionally.
68056 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68058         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68059         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68060         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68061         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68063 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68065         [BZ #12340]
68066         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68067         EINVAL when BUFLEN is too smal.
68069 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68071         [BZ #13553]
68072         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68073         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68075 2012-04-03  Andreas Jaeger  <aj@suse.de>
68077         [BZ #13938]
68078         * manual/setjmp.texi (System V contexts): Fix sentence.
68080         [BZ #13926]
68081         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68082         New macro for this case.
68083         [!__GNUC__] (__bswap_64): New inline function for this case.
68084         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68085         * bits/byteswap.h: Likewise.
68086         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68087         ull, guard with __GLIBC_HAVE_LONG_LONG.
68089         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68090         __GLIBC_HAVE_LONG_LONG.
68092         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68093         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68095 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68097         [BZ #13691]
68098         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68099         inptr and inend, rather than using last_ch.
68101 2012-04-02  David S. Miller  <davem@davemloft.net>
68103         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68104         * stdio-common/printf-parse.h (read_int): Change return type to
68105         'int', return -1 on INT_MAX overflow.
68106         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68107         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68108         overflows INT_MAX.  Check for overflow of in-format-string precision
68109         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68110         SIZE_MAX not INT_MAX for integer overflow test.
68111         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68112         skip the construct in the format string but do not record anything.
68113         * stdio-common/bug22.c: Adjust to test both width/prevision
68114         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68115         explicitly for proper errno values.
68117 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68119         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68120         CHAR_MAX.
68121         * string/test-strcmp.c [! WIDE]: Likewise.
68122         * time/tst-mktime2.c: Likewise for INT_MAX.
68123         * string/test-string.h: #include <sys/param.h> for MIN.
68125         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68126         * sysdeps/i386/init-first.c (init): Likewise.
68127         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68128         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68129         * sysdeps/sh/init-first.c (init): Likewise.
68131 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68133         * po/ru.po: Update from translation team.
68134         * po/vi.po: Likewise.
68136 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68138         * resolv/nss_dns/dns-host.c: Merge copyright years.
68140 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68142         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68143         Optimize memcpy with prefetch if
68144         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68145         src, dst pointers have unequal 16 byte alignments.
68147 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68149         [BZ #13928]
68150         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68151         from a CNAME entry and return the minimum ttl for the query.
68152         (gaih_getanswer_slice): Likewise.
68154 2012-03-30  Jeff Law  <law@redhat.com>
68156         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68157         due to long keys.
68158         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68159         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68161         * resolv/nss_dns/dns-host.c: Update copyright year.
68163 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68165         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68166         requests to save a system call.  Fix check that all bytes are sent.
68168         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68169         comments for sendmmsg.
68171 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68173         [BZ #13691]
68174         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68175         with only 1 character between 0x0041 and 0x01b0.
68176         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68177         * wcsmbs/tst-mbsnrtowcs.c: New file.
68179 2012-03-29  David S. Miller  <davem@davemloft.net>
68181         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68182         small copies by hand.
68184 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68186         [BZ #13761]
68187         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68188         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68189         group memberships.
68191 2012-03-28  David S. Miller  <davem@davemloft.net>
68193         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68194         that branches into memcpy.
68195         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68196         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68197         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68198         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68199         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68200         bits.
68201         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68202         implementation too.
68203         * sysdeps/sparc/mempcpy.S: New file.
68205         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68206         the IFUNC routine in the libc case.
68207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68209         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68210         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68211         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68212         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68213         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68214         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68215         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68216         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68218         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68219         loop to 256 bytes instead of 64 bytes and fix test signedness.
68221         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68222         * sysdeps/sparc/sparc32/Makefile: rather than here...
68223         * sysdeps/sparc/sparc64/Makefile: and here.
68225 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68227         * malloc/mallocbug.c: Avoid warnings about unused variables.
68229 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68231         [BZ #13760]
68232         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68233         in the right place. Discard and retry query if response is
68234         larger than input buffer size.
68236 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68238         [BZ #369]
68239         [BZ #2678]
68240         [BZ #3866]
68241         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68242         x for large integer exponent.
68243         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68244         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68245         sign of result as needed afterwards.
68246         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68247         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68248         result for underflowing pow the same as for overflow.
68249         (__kernel_standard_l): Handle powl overflow and underflow here
68250         rather than calling __kernel_standard.
68251         * math/libm-test.inc (pow_test): Add more tests.
68253         [BZ #3868]
68254         [BZ #13879]
68255         [BZ #13910]
68256         [BZ #13911]
68257         [BZ #13912]
68258         [BZ #13913]
68259         [BZ #13915]
68260         [BZ #13916]
68261         [BZ #13917]
68262         [BZ #13918]
68263         [BZ #13919]
68264         [BZ #13920]
68265         [BZ #13921]
68266         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68267         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68268         (__kernel_standard_l): New function.
68269         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68270         __kernel_standard.
68271         * math/w_acosl.c (__acosl): Likewise.
68272         * math/w_asinl.c (__asinl): Likewise.
68273         * math/w_atan2l.c (__atan2l): Likewise.
68274         * math/w_atanhl.c (__atanhl): Likewise.
68275         * math/w_coshl.c (__coshl): Likewise.
68276         * math/w_exp10l.c (__exp10l): Likewise.
68277         * math/w_exp2l.c (__exp2l): Likewise.
68278         * math/w_fmodl.c (__fmodl): Likewise.
68279         * math/w_hypotl.c (__hypotl): Likewise.
68280         * math/w_j0l.c (__j0l, __y0l): Likewise.
68281         * math/w_j1l.c (__j1l, __y1l): Likewise.
68282         * math/w_jnl.c (__jnl, __ynl): Likewise.
68283         * math/w_lgammal.c (__lgammal): Likewise.
68284         * math/w_log10l.c (__log10l): Likewise.
68285         * math/w_log2l.c (__log2l): Likewise.
68286         * math/w_logl.c (__logl): Likewise.
68287         * math/w_powl.c (__powl): Likewise.
68288         * math/w_remainderl.c (__remainderl): Likewise.
68289         * math/w_scalbl.c (sysv_scalbl): Likewise.
68290         * math/w_sinhl.c (__sinhl): Likewise.
68291         * math/w_sqrtl.c (__sqrtl): Likewise.
68292         * math/w_tgammal.c (__tgammal): Likewise.
68293         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68294         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68295         * math/libm-test.inc (acos_test): Add more tests.
68296         (acosh_test): Likewise.
68297         (asin_test): Likewise.
68298         (atanh_test): Likewise.
68299         (exp_test): Likewise.
68300         (exp10_test): Likewise.
68301         (exp2_test): Likewise.
68302         (expm1_test): Likewise.
68303         (lgamma_test): Likewise.
68304         (log_test): Likewise.
68305         (log10_test): Likewise.
68306         (log1p_test): Likewise.
68307         (log2_test): Likewise.
68308         (pow_test): Do not allow some spurious overflow exceptions.
68309         (sqrt_test): Add more tests.
68310         (tgamma_test): Likewise.
68311         (y0_test): Likewise.
68312         (y1_test): Likewise.
68313         (yn_test): Likewise.
68315 2012-03-27  Anton Blanchard  <anton@samba.org>
68317         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68318         MAP_HUGETLB.
68319         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68320         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68321         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68323 2012-03-27  David S. Miller  <davem@davemloft.net>
68325         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68327         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68328         have-as-vis3 check.
68330 2012-03-27  Andreas Jaeger  <aj@suse.de>
68332         * sysdeps/x86_64/elf/configure.in: Moved to ...
68333         * sysdeps/x86_64/configure.in: ... here.
68334         * sysdeps/x86_64/elf/start.S: Moved to ...
68335         * sysdeps/x86_64/start.S: ... here.
68336         * sysdeps/x86_64/elf/configure: Delete.
68338         * sysdeps/x86_64/configure.in: Merge contents from
68339         sysdeps/i386/configure.in (without i686 check).
68341         * sysdeps/i386/elf/Versions: Merge into ...
68342         * sysdeps/i386/Versions: ... this.
68343         * sysdeps/i386/elf/Versions: Delete file.
68344         * sysdeps/i386/elf/start.S: Moved to ...
68345         * sysdeps/i386/start.S: ...here.
68346         * sysdeps/i386/elf/configure.in: Merge into...
68347         * sysdeps/i386/configure.in: ...here.
68348         * sysdeps/i386/elf/configure.in: Delete file.
68349         * sysdeps/i386/elf/configure: Delete file.
68351         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68352         * debug/backtracesyms.c: ... here.
68353         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68354         * debug/backtracesymsfd.c: ... here.
68355         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68356         * sysdeps/generic/ifunc-sel.h: ... here.
68358         * sysdeps/unix/i386/start.c: Delete file.
68359         * sysdeps/unix/sparc/start.c: Delete file.
68360         * sysdeps/unix/start.c: Delete file.
68362         * sysdeps/sh/elf/configure.in: Moved to ...
68363         * sysdeps/sh/configure.in: ... here.
68364         * sysdeps/sh/elf/start.S: Moved to ...
68365         * sysdeps/sh/start.S: ... here.
68366         * sysdeps/sh/elf/configure: Delete file.
68368         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68369         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68370         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68371         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68372         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68373         * sysdeps/powerpc/powerpc64/start.S: here.
68374         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68375         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68376         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68377         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68378         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68380         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68381         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68382         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68383         * sysdeps/powerpc/powerpc32/start.S: ... here.
68384         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68385         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68386         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68388         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68389         * sysdeps/powerpc/ifunc-sel.h: ... here.
68390         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68391         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68393         * sysdeps/sparc/elf/configure.in: Moved to ...
68394         * sysdeps/sparc/configure.in: ... here.
68395         * sysdeps/sparc/elf/configure: Delete file.
68396         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68397         * sysdeps/sparc/sparc32/start.S: ... here.
68398         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68399         * sysdeps/sparc/sparc64/start.S: ... here.
68400         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68401         * sysdeps/sparc/sparc32/Makefile: ... this.
68402         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68403         * sysdeps/sparc/sparc64/Makefile: ... this.
68405         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68406         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68407         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68408         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68409         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68410         * sysdeps/s390/s390-32/setjmp.S: ... here.
68411         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68412         * sysdeps/s390/s390-32/configure.in: ... here.
68413         * sysdeps/s390/s390-32/elf/configure: Delete file.
68414         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68415         * sysdeps/s390/s390-32/start.S: ... here.
68417         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68418         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68419         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68420         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68421         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68422         * sysdeps/s390/s390-64/setjmp.S: ... here.
68423         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68424         * sysdeps/s390/s390-64/configure.in: ... here
68425         * sysdeps/s390/s390-64/elf/configure: Delete file.
68426         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68427         * sysdeps/s390/s390-64/start.S: ... here.
68428         * sysdeps/s390/s390-64/elf/configure: Delete.
68430         * configure.in: Remove support for elf directories in sysdeps.
68432         * configure: Regenerated.
68433         * sysdeps/i386/configure: Regenerated.
68434         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68435         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68436         * sysdeps/s390/s390-32/configure: Regenerated.
68437         * sysdeps/s390/s390-64/configure: Regenerated.
68438         * sysdeps/sh/configure: Regenerated.
68439         * sysdeps/sparc/configure: Regenerated.
68440         * sysdeps/x86_64/configure: Regenerated.
68442 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68446         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68447         denormal result into account.
68449 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68451         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68452         Reported by Allan McRae <allan@archlinux.org>.
68454 2012-03-23  Jeff Law  <law@redhat.com>
68456         * nss/getnssent.c (__nss_getent): Fix typo.
68458 2012-03-23  David S. Miller  <davem@davemloft.net>
68460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68462 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68464         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68465         to pad to uint64_t for each field.
68466         (dl_tls_index): Replace unsigned long with uint64_t.
68468 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68469         Paul Pluzhnikov  <ppluzhnikov@google.com>
68471         [BZ #6528]
68472         * grp/Makefile (otherlibs): Don't set it.
68473         * inet/Makefile (otherlibs): Likewise.
68474         * login/Makefile (otherlibs): Likewise.
68475         * nscd/Makefile (otherlibs): Likewise.
68476         * posix/Makefile (otherlibs): Likewise.
68477         * pwd/Makefile (otherlibs): Likewise.
68478         * rt/Makefile (otherlibs): Likewise.
68479         * sunrpc/Makefile (otherlibs): Likewise.
68480         * nss/Makefile (otherlibs): Likewise.
68481         Add libnss_files to routines and static-only-routines.
68482         ($(objpfx)getent): Remove rule.
68483         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68484         static-only-routines.
68486 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68488         [BZ #13892]
68489         * math/s_cexp.c: Include <float.h>.
68490         (__cexp): Handle exp result overflowing not necessarily
68491         overflowing both real and imaginary parts of result.
68492         * math/s_cexpf.c: Likewise.
68493         * math/s_cexpl.c: Likewise.
68494         * math/libm-test.inc (cexp_test): Add more tests.
68495         * sysdeps/i386/fpu/libm-test-ulps: Update.
68496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68498 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68500         * include/link.h (ELFW): New macro.
68501         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68502         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68504 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68506         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68507         with uint64_t.
68509 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68511         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68512         declaration.
68513         (struct La_x32_retval): Likewise.
68515 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68517         * sysdeps/x86_64/preconfigure.in: New file.
68518         * sysdeps/x86_64/preconfigure: New generated file.
68520 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68522         [BZ #13824]
68523         * math/e_exp2l.c: Include <float.h>.
68524         (__ieee754_exp2l): Handle overflow and underflow cases
68525         separately.  Only pass fractional part of argument to
68526         __ieee754_expl.
68527         * math/libm-test.inc (exp2_test): Add more tests.
68529         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68530         negating x to take absolute value.
68531         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68532         Likewise.
68533         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68534         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68535         Likewise.
68536         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68537         computing low part if x was negated.
68538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68540 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68542         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68543         la_x32_gnu_pltexit.
68544         (pltexit): Cast int_retval to ptrdiff_t.
68545         * elf/tst-auditmod3b.c: Likewise.
68546         * elf/tst-auditmod4b.c: Likewise.
68547         * elf/tst-auditmod5b.c: Likewise.
68548         * elf/tst-auditmod6b.c: Likewise.
68549         * elf/tst-auditmod6c.c: Likewise.
68550         * elf/tst-auditmod7b.c: Likewise.
68552         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68553         and x32_gnu_pltexit.
68555         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68556         __ELF_NATIVE_CLASS.
68557         (La_x32_regs): New macro.
68558         (La_x32_retval): Likewise.
68559         (la_x32_gnu_pltenter): New function prototype.
68560         (la_x32_gnu_pltexit): Likewise.
68562 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68564         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68565         exponent.
68567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68569         * configure.in (libc_cv_cc_nofma): Check for option to disable
68570         generation of FMA instructions.
68571         * configure: Regenerate.
68572         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68573         * sysdeps/ieee754/dbl-64/Makefile: New file.
68574         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68575         Remove brandred-fma4.
68576         (CFLAGS-brandred-fma4.c): Remove.
68577         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68578         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68579         define.
68580         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68581         define.
68583 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68585         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68586         LLONG_MAX != LONG_MAX.
68587         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68588         (_fitoa_word): Likewise.
68589         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68590         LLONG_MAX != LONG_MAX.
68591         * stdio-common/_itowa.h: Include <_itoa.h>.
68592         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68593         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68594         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68595         only if not defined.
68596         (_ITOA_WORD_TYPE): Likewise.
68597         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68598         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68600 2012-03-21  David S. Miller  <davem@davemloft.net>
68602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68604 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68606         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68607         of x86_64 when setting libc_cv_slibdir, libdir and
68608         libc_cv_localedir.
68609         * sysdeps/unix/sysv/linux/configure: Regenerated.
68611 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68613         * manual/lang.texi (Old Varargs): Remove section.
68614         (How Variadic): Update menu.
68615         (va_start): Do not mention varargs.h.
68617 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68618             Joseph Myers  <joseph@codesourcery.com>
68620         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68621         link test.
68622         * configure: Regenerated.
68624 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68626         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68627         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68628         conformtest.pl
68630 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68632         * NOTES: Remove.
68633         * Makefile (files-for-dist): Remove NOTES.
68634         (NOTES): Remove rule.
68635         * README: Don't refer to NOTES.
68636         * manual/creature.texi: Don't include macros.texi.
68637         * manual/intro.texi (creature.texi): Remove comment referring to
68638         NOTES.
68640         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68641         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68642         * configure: Regenerated.
68643         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68644         LIBC_TRY_CC_OPTION.
68645         (libc_cv_as_i686): Likewise.
68646         (libc_cv_cc_avx): Likewise.
68647         (libc_cv_cc_sse2avx): Likewise.
68648         (libc_cv_cc_fma4): Likewise.
68649         (libc_cv_cc_novzeroupper): Likewise.
68650         * sysdeps/i386/configure: Regenerated.
68652         [BZ #13883]
68653         * sysdeps/i386/fpu/s_cexp.S: Remove.
68654         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68655         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68656         * math/libm-test.inc (cexp_test): Add more tests.
68657         * sysdeps/i386/fpu/libm-test-ulps: Update.
68658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68660 2012-03-21  Allan McRae  <allan@archlinux.org>
68662         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68664 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68666         [BZ #13871]
68667         * math/w_exp2.c: Do not include <float.h>.
68668         (o_threshold, u_threshold): Remove.
68669         (__exp2): Calculate result before checking finiteness and calling
68670         __kernel_standard.
68671         * math/w_exp2f.c: Likewise.
68672         * math/w_exp2l.c: Likewise.
68673         * math/libm-test.inc (exp2_test): Require overflow exception for
68674         1e6 input.
68676         [BZ #3866]
68677         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68678         range of signed 64-bit integers before using fistpll.  Remove
68679         checks for whether integers fit in mantissa bits.
68680         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68681         the range of signed 32-bit integers before using fistpl.  Remove
68682         checks for whether integers fit in mantissa bits.
68683         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68684         (__ieee754_powl): Test for y outside the range of signed 64-bit
68685         integers before using fistpll.  Reduce 64-bit values to 63-bit
68686         ones as needed.
68687         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68688         divide-by-zero is raised for zero to large negative powers.
68689         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68690         (__ieee754_powl): Test for y outside the range of signed 64-bit
68691         integers before using fistpll.  Reduce 64-bit values to 63-bit
68692         ones as needed.
68693         * math/libm-test.inc (pow_test): Add more tests.
68695 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68697         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68698         <stdio-common/_itoa.h>.
68699         * debug/segfault.c: Likewise.
68700         * elf/dl-cache.c: Likewise.
68701         * elf/dl-minimal.c: Likewise.
68702         * elf/dl-misc.c: Likewise.
68703         * elf/dl-sysdep.c: Likewise.
68704         * elf/dl-version.c: Likewise.
68705         * elf/rtld.c: Likewise.
68706         * hurd/hurdsock.c: Likewise.
68707         * hurd/lookup-retry.c: Likewise.
68708         * malloc/malloc.c: Likewise.
68709         * malloc/mtrace.c: Likewise.
68710         * nscd/nscd_getgr_r.c: Likewise.
68711         * nscd/nscd_getpw_r.c: Likewise.
68712         * nscd/nscd_getserv_r.c: Likewise.
68713         * posix/getopt_init.c: Likewise.
68714         * posix/wordexp.c: Likewise.
68715         * stdio-common/_itoa.c: Likewise.
68716         * stdio-common/printf_fphex.c: Likewise.
68717         * stdio-common/vfprintf.c: Likewise.
68718         * string/_strerror.c: Likewise.
68719         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68720         * sysdeps/i386/i686/hp-timing.h: Likewise.
68721         * sysdeps/mach/_strerror.c: Likewise.
68722         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68723         * sysdeps/mach/hurd/sethostid.c: Likewise.
68724         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68725         * sysdeps/mach/xpg-strerror.c: Likewise.
68726         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68727         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68728         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68729         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68730         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68731         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68732         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68733         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68734         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68735         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68736         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68737         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68738         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68739         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68740         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68741         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68742         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68743         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68744         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68745         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68746         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68748         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68750         * stdio-common/_itoa.h: Moved to ...
68751         * sysdeps/generic/_itoa.h: Here.
68753         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68755         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68756         instead of "_itoa.h" and "_itowa.h".
68757         * stdio-common/vfprintf.: Likewise.
68759 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68761         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68762         <bits/wordsize.h>.
68763         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68764         (__signbit): Likwise.
68765         (llrintf): Likwise.
68766         (llrint): Likwise.
68768 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68770         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68771         __WORDSIZE != 64.
68773 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68775         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68776         OVERFLOW_EXCEPTION_OK.
68777         * math/libm-test.inc ("Philosophy"): Update comment about
68778         exception testing.
68779         (OVERFLOW_EXCEPTION): Define.
68780         (OVERFLOW_EXCEPTION_OK): Likewise.
68781         (INVALID_EXCEPTION_OK): Renumber.
68782         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68783         (IGNORE_ZERO_INF_SIGN): Likewise.
68784         (test_exceptions): Handle FE_OVERFLOW.
68785         (exp10_test): Expect overflow exceptions.
68786         (exp2_test): Likewise.
68787         (expm1_test): Likewise.
68788         (nextafter_test): Likewise.
68789         (pow_test): Likewise.
68790         (scalbn_test): Likewise.
68791         (scalbln_test): Likewise.
68793 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68795         * sysdeps/x86_64/bits/atomic.h
68796         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68797         64bit integer.
68798         (atomic_exchange_acq): Likewise.
68799         (__arch_exchange_and_add_body): Likewise.
68800         (__arch_add_body): Likewise.
68801         (atomic_add_negative): Likewise.
68802         (atomic_add_zero): Likewise.
68804 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68806         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68807         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68809 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68811         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68812         Check __x86_64__ instead of __WORDSIZE.
68814 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68816         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68818 2012-03-19  David S. Miller  <davem@davemloft.net>
68820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68822         * sysdeps/sparc/fpu/fenv_private.h: New file.
68823         * sysdeps/sparc/fpu/math_private.h: Use it.
68824         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68825         Remove.
68826         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68827         (libc_feholdexcept_setroundl): Remove.
68828         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68829         Remove.
68830         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68831         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68833 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68835         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68836         int64_t instead of long int.
68837         (INSERT_WORDS64): Likwise.
68839 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68841         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68842         _Unwind_GetCFA return to _Unwind_Ptr first.
68844 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68846         [BZ #13629]
68847         * math/s_clog.c: Include <float.h>.
68848         (__clog): Scale large or subnormal inputs.
68849         * math/s_clogf.c: Likewise.
68850         * math/s_clogl.c: Likewise.
68851         * math/s_clog10.c: Include <float.h>.
68852         (M_LOG10_2): Define.
68853         (__clog10): Scale large or subnormal inputs.
68854         * math/s_clog10f.c: Likewise.
68855         * math/s_clog10l.c: Likewise.
68856         * math/libm-test.inc (clog_test): Add more tests.
68857         (clog10_test): Likewise.
68858         * sysdeps/i386/fpu/libm-test-ulps: Update.
68859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68861         [BZ #11451]
68862         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68863         x and y.
68864         * math/libm-test.inc (atan2_test): Add another test.
68866         * Makerules (common-objdir-compile): Remove.
68867         * sysdeps/unix/Makefile (config-generated): Do not add
68868         $(unix-generated) to variable.
68869         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68870         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68871         Remove rule.
68872         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68873         Likewise.
68874         [generic bits/local_lim.h] (before-compile): Do not append to
68875         variable.
68876         [generic bits/local_lim.h] (common-generated): Likewise.
68877         [generic sys/param.h] (before-compile): Do not append to variable.
68878         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68879         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68880         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68881         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68882         include.
68883         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68884         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68885         [generic sys/param.h] ($(addprefix
68886         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68887         [generic sys/param.h] (common-generated): Do not append to
68888         variable.
68889         [generic sys/param.h] (sysdep_headers): Likewise.
68890         [generic bits/errno.h] (before-compile): Do not append to
68891         variable.
68892         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68893         rule.
68894         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68895         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68896         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68897         [generic bits/errno.h] (common-generated): Do not append to
68898         variable.
68899         [generic bits/ioctls.h] (before-compile): Do not append to
68900         variable.
68901         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68902         rule.
68903         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68904         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68905         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68906         rule.
68907         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68908         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68909         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68910         [generic bits/ioctls.h] (common-generated): Do not append to
68911         variable.
68912         [generic sys/syscall.h] (syscall.h): Remove variable.
68913         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68914         rule.
68915         [generic sys/syscall.h] (before-compile): Do not append to
68916         variable.
68917         [generic sys/syscall.h] (common-generated): Likewise.
68918         * sysdeps/unix/errnos-tmpl.c: Remove file.
68919         * sysdeps/unix/errnos.awk: Likewise.
68920         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68921         * sysdeps/unix/ioctls.awk: Likewise.
68922         * sysdeps/unix/mk-local_lim.c: Likewise.
68923         * sysdeps/unix/snarf-ioctls: Likewise.
68925 2012-03-19  Richard Henderson  <rth@twiddle.net>
68927         * sysdeps/i386/fpu/fenv_private.h: New file.
68928         * sysdeps/i386/fpu/math_private.h: Use it.
68929         (math_opt_barrier, math_force_eval): Remove.
68930         (libc_feholdexcept_setround_53bit): Remove.
68931         (libc_feupdateenv_53bit): Remove.
68932         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68933         (math_opt_barrier, math_force_eval): Remove.
68934         (libc_feholdexcept): Remove.
68935         (libc_feholdexcept_setround): Remove.
68936         (libc_fetestexcept, libc_fesetenv): Remove.
68937         (libc_feupdateenv_test): Remove.
68938         (libc_feupdateenv, libc_feholdsetround): Remove.
68939         (libc_feresetround): Remove.
68941         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68942         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68944         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68945         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68946         (libc_feupdateenv_testl): New.
68947         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68948         (libc_feupdateenv_testf): New.
68949         (libc_feupdateenv): Use libc_feupdateenv_test.
68950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68951         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68953         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68954         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68955         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68956         (libc_feresetround_noex): New.
68957         (libc_feresetround_noexf): New.
68958         (libc_feresetround_noexl): New.
68959         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68960         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68961         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68962         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68963         SET_RESTORE_ROUND.
68964         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68965         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68966         (__cos): Likewise.
68967         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68968         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68969         SET_RESTORE_ROUND_NOEX.
68970         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68971         SET_RESTORE_ROUND_NOEXF.
68972         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68973         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68974         (libc_feholdsetroundf): New.
68975         (libc_feresetround, libc_feresetroundf): New.
68977         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68978         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68979         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68981         * sysdeps/generic/math_private.h: Include <fenv.h>.
68982         (default_libc_feholdexcept): New.
68983         (default_libc_feholdexcept_setround): New.
68984         (default_libc_fesetenv, default_libc_feupdateenv): New.
68985         (libc_feholdexcept): Only define if undefined.
68986         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68987         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68988         (libc_feholdexcept_setroundl): Likewise.
68989         (libc_feholdexcept_setround_53bit): Likewise.
68990         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68991         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68992         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68993         (libc_feupdateenv_53bit): Likewise.
68994         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68995         (libc_feholdexcept): Convert from macro to inline function.
68996         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68997         (libc_fesetenv, libc_feupdateenv): Likewise.
68999         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69000         not previously defined.
69001         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69002         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69003         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69004         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69005         * sysdeps/ieee754/flt-32/math_private.h: New file.
69006         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69007         math_private.h below SET_FLOAT_WORD.
69008         (__isnan, __isinf_ns, __finite): Remove.
69009         (__isnanf, __isinf_nsf, __finitef): Remove.
69011 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69015 2012-03-17  David S. Miller  <davem@davemloft.net>
69017         [BZ #6471]
69018         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69019         for 2.16.
69021 2012-03-16  David S. Miller  <davem@davemloft.net>
69023         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69024         warnings.
69026         [BZ #6471]
69027         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69028         properly.
69029         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69030         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69031         sysdep_routines when subdir is sysvipc.
69032         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69033         __getshmlba helper.
69035         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69037 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69039         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69040         [__LP64__].
69042 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69044         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69045         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69046         (__lround): Renamed to ...
69047         (__llround): This.  Replace long int with long long int.
69048         Define lround functions as aliases of llround functions.
69049         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69051 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69053         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69054         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69055         adresses to uintptr_t.  Replace "long int" and "unsigned long
69056         int" with "greg_t" on va_arg.
69058 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69060         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69061         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69063         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69064         Move e_machine check before EI_CLASS check.  Handle x32
69065         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69066         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69067         SKIP_EM_IA_64 and include
69068         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69070         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69071         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69072         (add_system_dir): New macro.
69074         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69075         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69077 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69079         [BZ #2551]
69080         [BZ #2552]
69081         [BZ #2553]
69082         [BZ #2554]
69083         [BZ #2562]
69084         [BZ #2563]
69085         [BZ #2565]
69086         [BZ #2566]
69087         [BZ #2576]
69088         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69089         (y0): Likewise.
69090         * math/w_j0f.c (j0f): Likewise.
69091         (y0f): Likewise.
69092         * math/w_j0l.c (__j0l): Likewise.
69093         (__y0l): Likewise.
69094         * math/w_j1.c (j1): Likewise.
69095         (y1): Likewise.
69096         * math/w_j1f.c (j1f): Likewise.
69097         (y1f): Likewise.
69098         * math/w_j1l.c (__j1l): Likewise.
69099         (__y1l): Likewise.
69100         * math/w_jn.c (jn): Likewise.
69101         (yn): Likewise.
69102         * math/w_jnf.c (jnf): Likewise.
69103         (ynf): Likewise.
69104         * math/w_jnl.c (__jnl): Likewise.
69105         (__ynl): Likewise.
69106         * math/libm-test.inc (j0_test): Add more tests.
69107         (j1_test): Likewise.
69108         (jn_test): Likewise.  Add trailing semicolon to existing test.
69109         (y0_test): Likewise.
69110         (y1_test): Likewise.
69111         * sysdeps/i386/fpu/libm-test-ulps: Update.
69112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69114         [BZ #13851]
69115         [BZ #13854]
69116         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69117         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69118         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69119         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69120         (__tanl): Set errno for infinite argument.
69121         * sysdeps/i386/fpu/mptan.c: Remove.
69122         * sysdeps/i386/fpu/s_tan.S: Likewise.
69123         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69124         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69125         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69126         * math/libm-test.inc (tan_test): Add more tests and enable more
69127         tests for double and long double.
69128         * sysdeps/i386/fpu/libm-test-ulps: Update.
69129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69131 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69133         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69134         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69136 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69138         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69139         * configure.in: Use it for both main tree and add-ons.
69140         * configure: Regenerated.
69142 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69144         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69146 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69148         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69149         in comment.
69151         [BZ #13851]
69152         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69153         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69154         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69155         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69156         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69157         infinite argument.
69158         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69159         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69160         != 0 for prec == 2.
69161         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69162         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69163         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69164         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69165         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69166         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69167         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69168         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69169         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69170         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69171         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69172         * math/libm-test.inc (cos_test): Add more tests and enable more
69173         tests for long double.
69174         (sin_test): Likewise.
69175         (sincos_test): Likewise.
69176         * sysdeps/i386/fpu/libm-test-ulps: Update.
69177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69179 2012-03-16  David S. Miller  <davem@davemloft.net>
69181         * sysdeps/sparc/fpu/math_private.h: New file.
69183 2012-03-15  David S. Miller  <davem@davemloft.net>
69185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69186         file.
69187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69189         file.
69190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69195         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69196         sysdep routines.
69197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69199         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69200         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69202         * sysdeps/sparc/sparc-ifunc.h: New file.
69203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69204         sparc-ifunc.h
69205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69207         Likewise.
69208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69209         Likewise.
69210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69214         Likewise.
69215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69220         Likewise.
69221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69222         Likewise.
69223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69229         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69230         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69236         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69239         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69241         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69242         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69243         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69244         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69245         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69246         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69248 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69250         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69251         scaling.
69252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69254 2012-03-15  Andreas Jaeger  <aj@suse.de>
69256         [BZ #13852]
69257         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69258         ieee754/flt-32 implementation for sin, cos and sincos.
69259         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69260         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69261         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69262         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69263         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69264         ieee754/flt-32 implementation for tan.
69266         * math/libm-test.inc (cos_test): Enable some large input tests for
69267         float as well
69268         (sin_test): Likewise.
69269         (sincos_test): Likewise.
69270         (tan_test): Add tests for large input.
69272         * sysdeps/i386/fpu/libm-test-ulps: Update.
69274 2012-03-15  Andreas Jaeger  <aj@suse.de>
69276         [BZ #13658]
69277         * math/libm-test.inc (cos_test): Add more test cases.
69278         (sin_test): Likewise.
69279         (sincos_test): Likewise.
69281 2012-03-15  Andreas Jaeger  <aj@suse.de>
69283         [BZ #13837]
69284         * math/libm-test.inc (cos_test): Add a test case for large input
69285         value.
69286         (sin_test): Likewise.
69287         (sincos_test): Likewise.
69289 2012-03-15  Andreas Jaeger  <aj@suse.de>
69290             Joseph Myers  <joseph@codesourcery.com>
69292         [BZ #13658]
69293         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69294         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69295         * sysdeps/i386/fpu/branred.c: Likewise.
69296         * sysdeps/i386/fpu/dosincos.c: Likewise.
69297         * sysdeps/i386/fpu/mpa.c: Likewise.
69298         * sysdeps/i386/fpu/s_cos.S: Likewise.
69299         * sysdeps/i386/fpu/s_sin.S: Likewise.
69300         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69301         * sysdeps/i386/fpu/sincos32.c: Likewise.
69303         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69304         Define.
69305         (libc_feupdateenv_53bit): Define.
69306         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69307         Define.
69308         (libc_feupdateenv_53bit): Define.
69310         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69311         53 bit (without extend i386 double precision).
69313         * math/libm-test.inc (sincos_test): Add tests for large input.
69314         (sin): Likewise.
69315         (cos): Likewise.
69317         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69319 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69323 2012-03-15  David S. Miller  <davem@davemloft.net>
69325         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69326         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69327         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69328         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69341         file.
69342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69344         file.
69345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69347         file.
69348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69350         file.
69351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69352         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69353         fmin/fmax sysdep routines.
69354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69356 2012-03-14  David S. Miller  <davem@davemloft.net>
69358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69360         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69361         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69362         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69363         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69364         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69365         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69366         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69367         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69368         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69370         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69372         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69373         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69374         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69375         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69376         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69378         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69379         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69380         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69381         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69382         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69383         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69384         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69385         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69386         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69387         routines.
69388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69389         file.
69390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69392         file.
69393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69395         file.
69396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69398         file.
69399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69401         file.
69402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69404         file.
69405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69406         file.
69407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69408         file.
69409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69410         file.
69411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69412         New file.
69413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69414         file.
69415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69416         file.
69417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69419         file.
69420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69422         file.
69423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69425         file.
69426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69428         VIS3 routines.
69430         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69431         New file.
69433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69435         * sysdeps/sparc/configure.in: New file.
69436         * sysdeps/sparc/configure: Generate.
69437         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69438         * configure: Regenerate.
69439         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69440         * config.make.in (have-as-vis3): New.
69441         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69442         available use -Av9d instead of -Av9a.
69443         * sysdeps/sparc/sparc64/Makefile: Likewise.
69444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69446         New file.
69447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69448         file.
69449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69450         New file.
69451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69452         file.
69453         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69454         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69455         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69456         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69457         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69459         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69460         fzeros/fnegs to load 0x80000000 into a float register instead of
69461         using the stack.
69462         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69464 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69467         bits/syscall.h.
69468         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69469         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69470         ($(inst_includedir)/bits/syscall.h): Remove rule.
69471         ($(objpfx)bits/syscall.d): Include instead of
69472         $(objpfx)syscall-list.d.
69473         (generated): Change syscall-list.h and syscall-list.d to
69474         bits/syscall.h and bits/syscall.d.
69476 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69478         [BZ #13846]
69479         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69481 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69483         [BZ #13841]
69484         * math/s_csqrt.c: Include <float.h>.
69485         (__csqrt): Scale large or subnormal inputs.
69486         * math/s_csqrtf.c: Likewise.
69487         * math/s_csqrtl.c: Likewise.
69488         * math/libm-test.inc (csqrt_test): Add more tests.
69489         * sysdeps/i386/fpu/libm-test-ulps: Update.
69490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69492         [BZ #13840]
69493         * math/libm-test.inc (hypot_test): Add more tests.
69495 2012-03-13  David S. Miller  <davem@davemloft.net>
69497         [BZ #13840]
69498         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69499         double-precision for the calculation instead of scaling.
69501 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69503         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69504         manipulate bits before adding and subtracting TWO52[sx].
69505         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69506         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69507         Likewise.
69508         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69510 2012-03-13  David S. Miller  <davem@davemloft.net>
69512         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69513         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69514         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69515         rtld-global-offsets.h
69516         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69518         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69519         large parameters.
69521         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69523         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69524         'err' in the ifdef scope in which it is actually used.
69526         * nss/nss_db/db-init.c: Include string.h
69528 2012-03-12  David S. Miller  <davem@davemloft.net>
69530         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69531         masking out of the most significant byte of random value used.
69532         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69533         Fix coding style in previous change.
69535         * sysdeps/unix/sysv/linux/kernel-features.h
69536         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69537         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69538         expression.
69539         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69540         later.
69542 2012-03-11  David S. Miller  <davem@davemloft.net>
69544         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69545         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69546         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69547         for 'resultvar' otherwise things get truncated on 64-bit.
69549         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69550         Fix masking out of the most significant byte of random value used.
69552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69554 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69558 2012-03-09  David S. Miller  <davem@davemloft.net>
69560         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69561         variables with appropriate CPP guards.
69562         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69563         from the frame pointer, not the stack pointer.  Correct layout
69564         comments.  Fix test on resulting framesize and the management of
69565         the outregs buffer for pltexit.  Preserve floating point return
69566         values across _dl_call_pltexit call.
69567         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69568         framesize and the management of the outregs buffer for pltexit.
69569         Preserve floating point return values across _dl_call_pltexit
69570         call.
69571         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69572         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69573         (la_sparc64_gnu_pltexit): New functions.
69574         (print_exit): Fix format string for return register value.
69576 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69578         * sunrpc/Makefile (others): Add rpcgen.
69579         ($(objpfx)rpcgen): Remove special build rule and dependency on
69580         libc.
69581         * sunrpc/rpcgen.c: New file.
69583 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69585         [BZ #13673]
69586         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69587         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69588         * sysdeps/i386/crti.S: Likewise.
69589         * sysdeps/i386/crtn.S: Likewise.
69590         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69591         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69592         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69593         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69594         * sysdeps/sh/crti.S: Likewise.
69595         * sysdeps/sh/crtn.S: Likewise.
69596         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69598         [BZ #13673]
69599         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69600         with URL.
69601         * locale/programs/locfile-kw.gperf: Likewise.
69602         * locale/programs/charmap-kw.h: Regenerated.
69603         * locale/programs/locfile-kw.h: Likewise.
69605         [BZ #13673]
69606         * intl/plural.y: Replace FSF snail mail address with URL.
69607         * intl/plural.c: Regenerated.
69609 2012-03-09  Richard Henderson  <rth@twiddle.net>
69611         * include/math_private.h: Remove file.
69612         * math/math_private.h: Move file ...
69613         * sysdeps/generic/math_private.h: ... here.
69615         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69616         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69617         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69619         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69620         and <math_private.h>.
69621         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69622         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69623         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69624         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69625         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69626         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69627         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69628         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69629         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69630         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69631         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69632         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69633         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69634         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69635         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69636         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69637         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69638         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69639         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69640         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69641         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69642         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69643         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69644         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69645         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69646         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69647         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69648         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69649         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69650         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69651         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69652         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69653         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69654         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69655         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69656         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69657         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69658         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69659         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69660         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69661         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69662         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69663         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69664         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69665         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69666         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69667         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69668         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69669         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69670         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69671         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69672         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69673         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69674         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69675         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69676         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69677         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69678         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69679         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69680         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69681         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69682         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69683         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69684         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69685         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69686         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69687         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69688         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69689         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69690         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69691         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69692         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69693         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69694         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69695         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69696         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69697         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69698         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69699         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69700         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69701         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69702         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69703         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69704         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69705         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69706         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69707         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69708         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69709         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69710         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69711         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69712         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69713         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69714         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69715         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69716         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69717         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69718         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69719         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69720         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69721         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69722         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69723         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69724         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69725         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69726         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69727         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69728         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69729         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69730         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69731         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69732         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69733         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69734         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69735         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69736         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69737         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69738         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69739         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69740         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69741         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69742         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69743         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69744         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69745         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69746         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69747         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69748         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69749         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69750         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69751         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69752         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69753         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69754         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69755         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69756         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69757         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69758         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69759         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69760         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69761         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69762         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69763         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69764         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69765         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69766         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69767         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69768         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69769         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69770         * sysdeps/ieee754/k_standard.c: Likewise.
69771         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69772         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69773         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69774         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69775         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69776         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69777         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69778         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69779         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69780         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69781         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69782         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69783         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69784         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69785         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69786         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69787         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69788         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69789         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69790         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69791         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69792         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69793         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69794         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69795         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69796         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69797         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69798         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69799         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69800         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69801         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69802         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69803         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69804         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69805         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69806         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69807         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69808         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69809         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69810         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69811         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69812         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69813         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69814         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69815         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69816         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69817         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69818         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69819         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69820         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69821         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69822         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69823         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69824         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69825         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69826         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69827         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69828         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69829         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69830         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69831         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69832         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69833         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69834         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69835         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69836         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69837         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69838         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69839         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69841         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69842         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69843         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69844         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69845         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69846         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69847         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69848         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69849         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69850         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69851         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69852         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69853         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69854         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69855         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69856         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69857         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69858         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69859         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69860         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69861         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69862         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69863         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69864         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69865         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69866         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69867         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69868         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69869         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69870         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69871         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69872         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69873         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69874         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69875         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69876         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69877         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69878         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69879         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69880         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69881         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69882         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69883         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69884         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69885         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69886         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69887         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69888         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69889         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69890         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69891         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69892         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69893         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69894         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69895         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69896         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69897         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69898         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69899         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69900         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69903         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69908         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69909         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69910         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69911         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69913         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69915         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69916         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69917         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69918         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69919         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69920         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69921         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69922         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69924         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69926         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69927         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69928         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69929         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69930         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69931         * sysdeps/ieee754/s_lib_version.c: Likewise.
69932         * sysdeps/ieee754/s_matherr.c: Likewise.
69933         * sysdeps/ieee754/s_signgam.c: Likewise.
69934         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69935         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69936         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69937         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69938         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69939         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69940         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69941         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69942         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69943         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69944         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69945         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69946         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69947         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69948         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69949         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69950         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69951         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69952         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69953         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69954         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69956 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69958         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69959         * sunrpc/rpc_main.c: Likewise.
69960         * sunrpc/rpc_svcout.c: Likewise.
69962 2012-03-09  David S. Miller  <davem@davemloft.net>
69964         * include/math_private.h: New file.
69966 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69968         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69969         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69970         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69971         from <bits/socket_type.h>.
69972         (enum __socket_type): Don't define here.
69973         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69975         bits/socket_type.h.
69977         [BZ #13566]
69978         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69979         checking __USE_GNU.
69981         * Makerules ($(inst_includedir)/%.h): New rule.
69982         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69983         (install-others): Remove variable setting.
69984         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69986 2012-03-08  Richard Henderson  <rth@twiddle.net>
69988         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69989         from macro to inline function; merge with the
69990         !__LIBC_INTERNAL_MATH_INLINES version.
69991         (__ieee754_sqrtf): Likewise.
69993         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69994         to inline function.
69995         (__rintf, __floor, __floorf): Likewise.
69997         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69998         macro to inline function.
69999         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70001         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70002         not <math/math_private.h>.
70004 2012-03-08  David S. Miller  <davem@davemloft.net>
70006         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70007         copyright year.
70008         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70010 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70012         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70013         normalization.
70014         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70015         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70017 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70019         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70020         be defined individually, they must be defined as a block.  Define
70021         S for printing a string instead of hidint the different by using a
70022         macro for adding the 'l'.
70023         * stdio-common/tst-fphex-wide.c: Adjust.
70025 2012-03-07  Marek Polacek  <polacek@redhat.com>
70027         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70029 2012-03-08  Marek Polacek  <polacek@redhat.com>
70031         [BZ #13806]
70032         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70033         * stdio-common/tst-fphex.c: Define a few macros to make the
70034         test reusable.  Use them.
70035         * stdio-common/tst-fphex-wide.c: New file.
70037 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70039         [BZ #6911]
70040         * manual/macros.texi (gnusystems): New macro.
70041         (nongnusystems): Likewise.
70042         (gnulinuxhurdsystems): Likewise.
70043         (gnuhurdsystems): Likewise..
70044         (gnulinuxsystems): Likewise.
70045         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70046         variants of the GNU system, not "GNU system".
70047         * manual/conf.texi: Likewise.
70048         * manual/errno.texi: Likewise.  Update example of errno macro
70049         expansion.
70050         * manual/filesys.texi: Likewise.
70051         (getumask): Document as specific to GNU/Hurd.
70052         * manual/install.texi: Likewise.  Reword some references to
70053         GNU/Linux.
70054         * manual/intro.texi: Likewise.
70055         * manual/io.texi: Likewise.
70056         (File Name Portability): Detail which constraints are inapplicable
70057         to all GNU systems and which are only inapplicable to GNU/Hurd.
70058         * manual/job.texi: Likewise.
70059         * manual/llio.texi: Likewise.
70060         (O_NOCTTY): Document as present on GNU/Linux.
70061         * manual/maint.texi: Likewise.
70062         * manual/memory.texi: Likewise.
70063         * manual/pattern.texi: Likewise.
70064         * manual/pipe.texi: Likewise.
70065         * manual/process.texi: Likewise.
70066         * manual/resource.texi: Likewise.
70067         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70068         child on GNU/Hurd.
70069         * manual/setjmp.texi: Likewise.
70070         * manual/signal.texi: Likewise.
70071         * manual/startup.texi: Likewise.
70072         * manual/stdio.texi: Likewise.
70073         * manual/terminal.texi: Likewise.
70074         (ONLCR): Document as POSIX.
70075         (OXTABS): Document availability on GNU/Linux as XTABS.
70076         (ONOEOT): Document availability separately from other bits.
70077         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70078         * manual/time.texi: Likewise.
70079         * manual/users.texi: Likewise.
70080         * INSTALL: Regenerated.
70081         * sysdeps/gnu/errlist.c: Regenerated.
70083         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70084         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70085         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70086         puts.
70087         * configure: Regenerated.
70089 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70091         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70092         default includes instead of AC_HEADER_CHECK.
70093         * sysdeps/i386/configure: Regenerated.
70095         [BZ #10716]
70096         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70097         * math/s_cacoshf.c (__cacoshf): Likewise.
70098         * math/s_cacoshl.c (__cacoshl): Likewise.
70099         * math/s_casinh.c (__casinh): Set signs of result from argument.
70100         * math/s_casinhf.c (__casinhf): Likewise.
70101         * math/s_casinhl.c (__casinhl): Likewise.
70102         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70103         (casinh_test): Add more tests.
70104         * sysdeps/i386/fpu/libm-test-ulps: Update.
70105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70107 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70109         * po/zh_TW.po: Update from translation team.
70111         * login/Makefile (distribute): Remove variable.
70112         * catgets/Makefile: Likewise.
70113         * mach/Makefile: Likewise.
70114         * malloc/Makefile: Likewise.
70115         * misc/Makefile: Likewise.
70116         * iconv/Makefile: Likewise.
70117         * nscd/Makefile: Likewise.
70118         * hurd/Makefile: Likewise.
70119         * manual/Makefile: Likewise.
70120         * locale/Makefile: Likewise.
70121         * intl/Makefile: Likewise.
70122         * conform/Makefile: Likewise.
70123         * nss/Makefile: Likewise.
70124         * time/Makefile: Likewise.
70125         * soft-fp/Makefile: Likewise.
70126         * dirent/Makefile: Likewise.
70127         * gmon/Makefile: Likewise.
70128         * po/Makefile: Likewise.
70129         * rt/Makefile: Likewise.
70130         * socket/Makefile: Likewise.
70131         * math/Makefile: Likewise.
70132         * signal/Makefile: Likewise.
70133         * debug/Makefile: Likewise.
70134         * elf/Makefile: Likewise.
70135         * timezone/Makefile: Likewise.
70136         * stdlib/Makefile: Likewise.
70137         * iconvdata/Makefile: Likewise.
70138         * sunrpc/Makefile: Likewise.
70139         * io/Makefile: Likewise.
70140         * argp/Makefile: Likewise.
70141         * inet/Makefile: Likewise.
70142         * hesiod/Makefile: Likewise.
70143         * grp/Makefile: Likewise.
70144         * csu/Makefile: Likewise.
70145         * wctype/Makefile: Likewise.
70146         * crypt/Makefile: Likewise.
70147         * libio/Makefile: Likewise.
70148         * string/Makefile: Likewise.
70149         * nis/Makefile: Likewise.
70150         * resolv/Makefile: Likewise.
70151         * stdio-common/Makefile: Likewise.
70152         * wcsmbs/Makefile: Likewise.
70153         * dlfcn/Makefile: Likewise.
70154         * posix/Makefile: Likewise.
70156         [BZ #6959]
70157         * timezone/Makefile: Don't install timezone files, just the programs
70158         and scripts.
70160 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70162         * nss/databases.def: Add missing gshadow entry.
70164         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70166 2012-03-06  Marek Polacek  <polacek@redhat.com>
70168         [BZ #13726]
70169         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70170         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70171         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70172         * stdio-common/tst-long-dbl-fphex.c: New file.
70174 2012-03-06  David S. Miller  <davem@davemloft.net>
70176         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70177         (set_obp_int): New function.
70178         (get_obp_int): New function.
70179         (__get_clockfreq_via_dev_openprom): Likewise.
70180         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70181         Avoid unused variable warnings on 'val' and use builtin_expect.
70182         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70183         __builtin_expect.
70184         (INLINE_CLONE_SYSCALL): Likewise.
70186 2012-03-05  David S. Miller  <davem@davemloft.net>
70188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70190 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70194         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70195         only for |x| >= 40.
70196         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70198 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70200         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70201         Replace gettimeofday with __vdso_gettimeofday.
70203         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70204         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70205         __vdso_clock_gettime and __vdso_getcpu.
70207         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70208         time with __vdso_time.
70210 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70212         * manual/lang.texi (size_t): Note types to which size_t may be
70213         equivalent with the GNU C Library, but do not describe when
70214         differences between them are significant.
70216 2012-03-05  Andreas Jaeger  <aj@suse.de>
70218         * sysdeps/i386/fpu/libm-test-ulps: Update.
70220 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70222         [BZ #3976]
70223         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70224         (__ieee754_pow): Save and restore rounding mode and use
70225         round-to-nearest for main computations.
70226         * math/libm-test.inc (pow_test_tonearest): New function.
70227         (pow_test_towardzero): Likewise.
70228         (pow_test_downward): Likewise.
70229         (pow_test_upward): Likewise.
70230         (main): Call the new functions.
70231         * sysdeps/i386/fpu/libm-test-ulps: Update.
70232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70234         [BZ #3976]
70235         * math/libm-test.inc (cosh_test_tonearest): New function.
70236         (cosh_test_towardzero): Likewise.
70237         (cosh_test_downward): Likewise.
70238         (cosh_test_upward): Likewise.
70239         (sinh_test_tonearest): Likewise.
70240         (sinh_test_towardzero): Likewise.
70241         (sinh_test_downward): Likewise.
70242         (sinh_test_upward): Likewise.
70243         (main): Call the new functions.
70244         * sysdeps/i386/fpu/libm-test-ulps: Update.
70245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70247 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70249         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70250         default stack guard is set in last bytes.
70251         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70253 2012-03-05  Kees Cook  <keescook@chromium.org>
70255         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70257         [BZ #13656]
70258         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70259         possibly allocate from heap instead of stack.
70260         * stdio-common/bug-vfprintf-nargs.c: New file.
70261         * stdio-common/Makefile (tests): Add nargs overflow test.
70263 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70267 2012-03-03  Marek Polacek  <polacek@redhat.com>
70269         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70270         * math/math_private.h: Likewise.
70271         * stdlib/tst-strtod.c: Likewise.
70272         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70273         * sysdeps/x86_64/bits/atomic.h: Likewise.
70275 2012-03-02  David S. Miller  <davem@davemloft.net>
70277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70281         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70282         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70283         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70284         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70286 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70288         [BZ #13792]
70289         * manual/examples/README: New file, says the example source files
70290         can be used under GPL>=2.
70291         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70292         line containing just "*/".
70293         * manual/examples/add.c: Add copyright header (GPL>=2).
70294         * manual/examples/argp-ex1.c: Likewise.
70295         * manual/examples/argp-ex2.c: Likewise.
70296         * manual/examples/argp-ex3.c: Likewise.
70297         * manual/examples/argp-ex4.c: Likewise.
70298         * manual/examples/atexit.c: Likewise.
70299         * manual/examples/db.c: Likewise.
70300         * manual/examples/dir.c: Likewise.
70301         * manual/examples/dir2.c: Likewise.
70302         * manual/examples/execinfo.c: Likewise.
70303         * manual/examples/filecli.c: Likewise.
70304         * manual/examples/filesrv.c: Likewise.
70305         * manual/examples/fmtmsgexpl.c: Likewise.
70306         * manual/examples/genpass.c: Likewise.
70307         * manual/examples/inetcli.c: Likewise.
70308         * manual/examples/inetsrv.c: Likewise.
70309         * manual/examples/isockad.c: Likewise.
70310         * manual/examples/longopt.c: Likewise.
70311         * manual/examples/memopen.c: Likewise.
70312         * manual/examples/memstrm.c: Likewise.
70313         * manual/examples/mkfsock.c: Likewise.
70314         * manual/examples/mkisock.c: Likewise.
70315         * manual/examples/mygetpass.c: Likewise.
70316         * manual/examples/pipe.c: Likewise.
70317         * manual/examples/popen.c: Likewise.
70318         * manual/examples/rprintf.c: Likewise.
70319         * manual/examples/search.c: Likewise.
70320         * manual/examples/select.c: Likewise.
70321         * manual/examples/setjmp.c: Likewise.
70322         * manual/examples/sigh1.c: Likewise.
70323         * manual/examples/sigusr.c: Likewise.
70324         * manual/examples/stpcpy.c: Likewise.
70325         * manual/examples/strdupa.c: Likewise.
70326         * manual/examples/strftim.c: Likewise.
70327         * manual/examples/strncat.c: Likewise.
70328         * manual/examples/subopt.c: Likewise.
70329         * manual/examples/swapcontext.c: Likewise.
70330         * manual/examples/termios.c: Likewise.
70331         * manual/examples/testopt.c: Likewise.
70332         * manual/examples/testpass.c: Likewise.
70333         * manual/examples/timeval_subtract.c: Likewise.
70335         [BZ #13792]
70336         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70337         function to ...
70338         * manual/timeval_subtract.c.texi: ... here, new file.
70340 2012-03-02  David S. Miller  <davem@davemloft.net>
70342         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70344 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70346         [BZ #3976]
70347         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70348         (__sin): Save and restore rounding mode and use round-to-nearest
70349         for all computations.
70350         (__cos): Save and restore rounding mode and use round-to-nearest
70351         for all computations.
70352         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70353         <fenv.h>.
70354         (tan): Save and restore rounding mode and use round-to-nearest for
70355         all computations.
70356         * math/libm-test.inc (cos_test_tonearest): New function.
70357         (cos_test_towardzero): Likewise.
70358         (cos_test_downward): Likewise.
70359         (cos_test_upward): Likewise.
70360         (sin_test_tonearest): Likewise.
70361         (sin_test_towardzero): Likewise.
70362         (sin_test_downward): Likewise.
70363         (sin_test_upward): Likewise.
70364         (tan_test_tonearest): Likewise.
70365         (tan_test_towardzero): Likewise.
70366         (tan_test_downward): Likewise.
70367         (tan_test_upward): Likewise.
70368         (main): Call the new functions.
70369         * sysdeps/i386/fpu/libm-test-ulps: Update.
70370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70372         [BZ #10135]
70373         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70374         small n, then large n, before computing and testing k+n.
70375         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70376         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70377         Likewise.
70378         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70379         Likewise.
70380         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70381         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70382         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70383         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70384         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70385         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70386         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70387         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70388         * math/libm-test.inc (scalbn_test): Add more tests.
70389         (scalbln_test): Likewise.
70391         * manual/filesys.texi (mode_t): Describe constraints on size and
70392         signedness, not exact equivalence to a particular type.
70393         (ino_t): Likewise.
70394         (ino64_t): Likewise.
70395         (dev_t): Likewise.
70396         (nlink_t): Likewise.
70397         (blkcnt_t): Likewise.
70398         (blkcnt64_t): Likewise.
70399         * manual/llio.texi (off_t): Likewise.
70401         [BZ #3976]
70402         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70403         (__ieee754_exp): Save and restore rounding mode and use
70404         round-to-nearest for all computations.
70405         * math/libm-test.inc (exp_test_tonearest): New function.
70406         (exp_test_towardzero): Likewise.
70407         (exp_test_downward): Likewise.
70408         (exp_test_upward): Likewise.
70409         (main): Call the new functions.
70410         * sysdeps/i386/fpu/libm-test-ulps: Update.
70411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70413 2012-03-01  Chris Demetriou  <cgd@google.com>
70415         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70416         have predictable order.
70418 2012-03-01  David S. Miller  <davem@davemloft.net>
70420         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70422         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70423         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70424         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70425         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70427         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70428         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70429         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70431         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70432         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70433         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70434         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70435         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70439         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70440         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70441         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70443         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70444         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70445         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70446         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70447         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70448         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70449         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70450         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70451         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70452         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70453         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70454         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70456         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70457         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70458         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70459         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70460         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70461         * sysdeps/sparc/elf/configure: Regenerated.
70463 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70465         * configure.in (AS, LD): Require binutils 2.20 or later.
70466         * configure: Regenerated.
70467         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70468         as required minimum version.
70469         * INSTALL: Regenerated.
70471         [BZ #2541]
70472         [BZ #4108]
70473         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70474         before squaring exponent.
70475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70476         bottom long double and 27 bits of top long double before squaring
70477         exponent.
70478         * math/libm-test.inc (erfc_test): Add more tests.
70479         * sysdeps/i386/fpu/libm-test-ulps: Update.
70480         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70483 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70485         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70486         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70487         containing bit-fields.
70488         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70489         * soft-fp/single.h (_FP_UNION_S): Likewise.
70490         * soft-fp/double.h (_FP_UNION_D): Likewise.
70492 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70494         [BZ #13786]
70495         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70496         not include ../strcmp.S.
70497         [USE_AS_STRNCASECMP_L]: Likewise.
70498         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70499         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70500         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70501         (__strncasecmp_l_ia32): Define as alias to
70502         __strncasecmp_l_nonascii.
70504         [BZ #5794]
70505         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70506         * sysdeps/i386/fpu/libm-test-ulps: Update.
70507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70509         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70512 2012-02-29  Jeff Law  <law@redhat.com>
70514         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70515         out of bounds read.
70517 2012-02-29  Marek Polacek  <polacek@redhat.com>
70519         [BZ #13706]
70520         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70521         * elf/Makefile: Add rules to run tst-unused-dep.out.
70523 2012-02-28  David S. Miller  <davem@davemloft.net>
70525         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70526         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70527         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70528         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70529         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70530         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70532 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70534         * math/libm-test.inc (llround_test): Move one test from
70535         lround_test.  Use TEST_f_L in moved test.
70536         (lround_test): Move misplaced test to llround_test.  Add testcase
70537         from bug 2561.
70539 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70541         * sysdeps/x86_64/fpu/e_expf.S: New file.
70542         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70544 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70546         [BZ #13637]
70547         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70548         of remain_len that may cause incomplete multi-byte character and
70549         false match.
70550         * posix/bug-regex33.c: New file.
70551         * posix/Makefile (tests): Add bug-regex33.
70553 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70555         * manual/macros.texi: New file.
70556         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70557         * manual/libc.texinfo: Include macros.texi.
70558         * manual/creatute.texi: Likewise.
70559         * manual/install.texi: Likewise.
70560         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70561         @glibcadj{} in references to the GNU C Library.
70562         * manual/charset.texi: Likewise.
70563         * manual/conf.texi: Likewise.
70564         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70565         when not using those macros.
70566         * manual/creature.texi: Likewise.
70567         * manual/crypt.texi: Likewise.
70568         * manual/errno.texi: Likewise.
70569         * manual/filesys.texi: Likewise.
70570         * manual/header.texi: Likewise.
70571         * manual/install.texi: Likewise.
70572         * manual/intro.texi: Likewise.
70573         * manual/io.texi: Likewise.
70574         * manual/job.texi: Likewise.
70575         * manual/lang.texi: Likewise.
70576         * manual/libc.texiinfo: Likewise.
70577         * manual/llio.texi: Likewise.
70578         * manual/locale.texi: Likewise.
70579         * manual/maint.texi: Likewise.
70580         * manual/math.texi: Likewise.
70581         * manual/memory.texi: Likewise.
70582         * manual/message.texi: Likewise.
70583         * manual/nss.texi: Likewise.
70584         * manual/pattern.texi: Likewise.
70585         * manual/process.texi: Likewise.
70586         * manual/resource.texi: Likewise.
70587         * manual/search.texi: Likewise.
70588         * manual/setjmp.texi: Likewise.
70589         * manual/signal.texi: Likewise.
70590         * manual/socket.texi: Likewise.
70591         * manual/startup.texi: Likewise.
70592         * manual/stdio.texi: Likewise.
70593         * manual/string.texi: Likewise.
70594         * manual/sysinfo.texi: Likewise.
70595         * manual/syslog.texi: Likewise.
70596         * manual/terminal.texi: Likewise.
70597         * manual/time.texi: Likewise.
70598         * manual/users.texi: Likewise.
70599         * INSTALL: Regenerated.
70600         * NOTES: Regenerated.
70601         * sysdeps/gnu/errlist.c: Regenerated.
70603 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70605         * include/dirent.h: Include <dirstream.h> before
70606         <dirent/dirent.h>.
70608 2012-02-28  David S. Miller  <davem@davemloft.net>
70610         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70611         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70612         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70613         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70615 2012-02-27  David S. Miller  <davem@davemloft.net>
70617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70619         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70620         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70623         frame pointer instead of stack pointer relative arg slot.
70624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70625         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70626         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70628 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70630         [BZ #3992]
70631         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70633 2012-02-27  David S. Miller  <davem@davemloft.net>
70635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70639         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70640         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70641         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70642         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70644 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70646         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70647         later.  Allow versions 5-9.
70648         * configure: Regenerated.
70649         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70650         required minimum version and 4.6 as recommended version.  Do not
70651         mention bugs in GCC 2.7 and 2.8.
70652         * INSTALL: Regenerated.
70654 2012-02-27  David S. Miller  <davem@davemloft.net>
70656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70660         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70661         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70662         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70663         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70665         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70666         manipulate bits before adding and subtracting TWO112[sx].
70667         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70669 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70671         [BZ #13775]
70672         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70673         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70674         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70675         being in POSIX, because they are in 1003.1-2008.
70677         * rt/tst-aio.c: Include <fcntl.h>.
70678         * rt/tst-aio7.c: Likewise.
70679         * rt/tst-aio64.c: Likewise.
70681         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70683 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70685         * manual/install.texi (--with-headers): Describe headers as
70686         interface headers, not private headers.
70687         (Specific advice for GNU/Linux systems): Describe use of headers
70688         from "make headers_install", not private headers from older
70689         kernels.
70690         * INSTALL: Regenerated.
70691         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70692         Change to 2.6.19.
70693         * sysdeps/unix/sysv/linux/configure: Regenerated.
70695         * manual/llio.texi (fclean): Remove documentation.
70697         * manual/Makefile (libc-texi-generated): New variable.  Include
70698         version.texi.
70699         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70700         $(libc-texi-generated), not duplicated list of files.
70701         (version.texi, stamp-version): New rules.
70702         (realclean): Remove $(libc-texi-generated), not individual files
70703         from that list.  Do not remove dir-add.texinfo.
70704         * manual/libc.texinfo: Comment out uses of edition numbers and
70705         references to printed manual.  Remove last-updated dates.
70706         (EDITION): Comment out.
70707         (ISBN): Likewise.
70708         (VERSION, UPDATED): Remove.
70709         (version.texi): Include.
70711 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70713         * sysdeps/posix/spawni.c: Include <signal.h>.
70714         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70715         * sysdeps/pthread/aio_fsync.c: Likewise.
70717 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70719         * conform/Makefile (tests): Run only when not cross-compiling and
70720         when fast-check is not defined.
70722         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70723         * conform/data/limits.h-data: Fixes for POSIX2008.
70724         * conform/run-conformtest.sh: Run all tests.
70725         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70726         headers.
70727         * include/bits/dlfcn.h: Likewise.
70728         * include/langinfo.h: Likewise.
70729         * include/monetary.h: Likewise.
70730         * include/sys/poll.h: Likewise.
70732         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70733         for __USE_GNU.
70734         * posix/spawn.h: Define __need_sigset_t.
70735         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70736         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70737         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70738         to get sigevent_t only.
70739         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70740         only for __USE_GNU.
70741         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70742         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70743         process_vm_writev only for __USE_GNU.
70744         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70746         * conform/Makefile: For now ignore errors from run-conformtest.
70747         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70748         POSIX to avoid namespace pollution.  Don't prepend headers.
70749         * conform/data/aio.h-data: Fixes for POSIX testing.
70750         * conform/data/fcntl.h-data: Likewise.
70751         * conform/data/glob.h-data: Likewise.
70752         * conform/data/grp.h-data: Likewise.
70753         * conform/data/pthread.h-data: Likewise.
70754         * conform/data/pwd.h-data: Likewise.
70755         * conform/data/signal.h-data: Likewise.
70756         * conform/data/spawn.h-data: Likewise.
70757         * conform/data/stdio.h-data: Likewise.
70758         * conform/data/stdlib.h-data: Likewise.
70759         * conform/data/stropts.h-data: Likewise.
70760         * conform/data/sys/mman.h-data: Likewise.
70761         * conform/data/sys/stat.h-data: Likewise.
70762         * conform/data/sys/types.h-data: Likewise.
70763         * conform/data/sys/wait.h-data: Likewise.
70764         * conform/data/time.h-data: Likewise.
70765         * conform/data/unistd.h-data: Likewise.
70766         * conform/data/utime.h-data: Likewise.
70768         * io/sys/stat.h: fchmod was always in POSIX.
70769         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70770         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70771         * rt/aio.h: Define __need_timespec before including <time.h>.
70772         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70773         struct.  Add forward declaration of pthread_attr_t and use it in
70774         sigevent.
70775         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70777         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70778         always remove CLK_TCK definition.
70780 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70782         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70784 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70786         * conform/run-conformtest.sh: New file.
70787         * conform/Makefile: Run run-conformtest for tests.
70788         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70789         support.
70791         * conform/data/uchar.h-data: New file.
70792         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70793         * conform/data/arpa/inet.h-data: Likewise.
70794         * conform/data/assert.h-data: Likewise.
70795         * conform/data/complex.h-data: Likewise.
70796         * conform/data/cpio.h-data: Likewise.
70797         * conform/data/ctype.h-data: Likewise.
70798         * conform/data/dirent.h-data: Likewise.
70799         * conform/data/dlfcn.h-data: Likewise.
70800         * conform/data/errno.h-data: Likewise.
70801         * conform/data/fcntl.h-data: Likewise.
70802         * conform/data/float.h-data: Likewise.
70803         * conform/data/fmtmsg.h-data: Likewise.
70804         * conform/data/fnmatch.h-data: Likewise.
70805         * conform/data/ftw.h-data: Likewise.
70806         * conform/data/glob.h-data: Likewise.
70807         * conform/data/grp.h-data: Likewise.
70808         * conform/data/iconv.h-data: Likewise.
70809         * conform/data/inttypes.h-data: Likewise.
70810         * conform/data/langinfo.h-data: Likewise.
70811         * conform/data/libgen.h-data: Likewise.
70812         * conform/data/limits.h-data: Likewise.
70813         * conform/data/locale.h-data: Likewise.
70814         * conform/data/math.h-data: Likewise.
70815         * conform/data/monetary.h-data: Likewise.
70816         * conform/data/mqueue.h-data: Likewise.
70817         * conform/data/ndbm.h-data: Likewise.
70818         * conform/data/net/if.h-data: Likewise.
70819         * conform/data/netdb.h-data: Likewise.
70820         * conform/data/netinet/in.h-data: Likewise.
70821         * conform/data/nl_types.h-data: Likewise.
70822         * conform/data/poll.h-data: Likewise.
70823         * conform/data/pthread.h-data: Likewise.
70824         * conform/data/pwd.h-data: Likewise.
70825         * conform/data/regex.h-data: Likewise.
70826         * conform/data/sched.h-data: Likewise.
70827         * conform/data/search.h-data: Likewise.
70828         * conform/data/semaphore.h-data: Likewise.
70829         * conform/data/setjmp.h-data: Likewise.
70830         * conform/data/signal.h-data: Likewise.
70831         * conform/data/spawn.h-data: Likewise.
70832         * conform/data/stdarg.h-data: Likewise.
70833         * conform/data/stdio.h-data: Likewise.
70834         * conform/data/stdlib.h-data: Likewise.
70835         * conform/data/string.h-data: Likewise.
70836         * conform/data/strings.h-data: Likewise.
70837         * conform/data/stropts.h-data: Likewise.
70838         * conform/data/sys/ipc.h-data: Likewise.
70839         * conform/data/sys/mman.h-data: Likewise.
70840         * conform/data/sys/msg.h-data: Likewise.
70841         * conform/data/sys/resource.h-data: Likewise.
70842         * conform/data/sys/select.h-data: Likewise.
70843         * conform/data/sys/sem.h-data: Likewise.
70844         * conform/data/sys/shm.h-data: Likewise.
70845         * conform/data/sys/socket.h-data: Likewise.
70846         * conform/data/sys/stat.h-data: Likewise.
70847         * conform/data/sys/statvfs.h-data: Likewise.
70848         * conform/data/sys/time.h-data: Likewise.
70849         * conform/data/sys/timeb.h-data: Likewise.
70850         * conform/data/sys/times.h-data: Likewise.
70851         * conform/data/sys/types.h-data: Likewise.
70852         * conform/data/sys/uio.h-data: Likewise.
70853         * conform/data/sys/un.h-data: Likewise.
70854         * conform/data/sys/utsname.h-data: Likewise.
70855         * conform/data/sys/wait.h-data: Likewise.
70856         * conform/data/syslog.h-data: Likewise.
70857         * conform/data/tar.h-data: Likewise.
70858         * conform/data/termios.h-data: Likewise.
70859         * conform/data/utime.h-data: Likewise.
70860         * conform/data/utmpx.h-data: Likewise.
70861         * conform/data/varargs.h-data: Likewise.
70862         * conform/data/wchar.h-data: Likewise.
70863         * conform/data/wctype.h-data: Likewise.
70864         * conform/data/wordexp.h-data: Likewise.
70866         * include/stropts.h: New file.
70867         * include/uchar.h: New file.
70868         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70869         * include/assert.h: Likewise.
70870         * include/ctype.h: Likewise.
70871         * include/dirent.h: Likewise.
70872         * include/dlfcn.h: Likewise.
70873         * include/fcntl.h: Likewise.
70874         * include/fnmatch.h: Likewise.
70875         * include/glob.h: Likewise.
70876         * include/grp.h: Likewise.
70877         * include/libio.h: Likewise.
70878         * include/locale.h: Likewise.
70879         * include/math.h: Likewise.
70880         * include/net/if.h: Likewise.
70881         * include/netdb.h: Likewise.
70882         * include/netinet/in.h: Likewise.
70883         * include/pthread.h: Likewise.
70884         * include/pwd.h: Likewise.
70885         * include/regex.h: Likewise.
70886         * include/sched.h: Likewise.
70887         * include/search.h: Likewise.
70888         * include/setjmp.h: Likewise.
70889         * include/signal.h: Likewise.
70890         * include/stdio.h: Likewise.
70891         * include/stdlib.h: Likewise.
70892         * include/string.h: Likewise.
70893         * include/sys/cdefs.h: Likewise.
70894         * include/sys/mman.h: Likewise.
70895         * include/sys/msg.h: Likewise.
70896         * include/sys/resource.h: Likewise.
70897         * include/sys/select.h: Likewise.
70898         * include/sys/socket.h: Likewise.
70899         * include/sys/stat.h: Likewise.
70900         * include/sys/statvfs.h: Likewise.
70901         * include/sys/time.h: Likewise.
70902         * include/sys/times.h: Likewise.
70903         * include/sys/uio.h: Likewise.
70904         * include/sys/utsname.h: Likewise.
70905         * include/sys/wait.h: Likewise.
70906         * include/termios.h: Likewise.
70907         * include/time.h: Likewise.
70908         * include/ulimit.h: Likewise.
70909         * include/unistd.h: Likewise.
70910         * include/utime.h: Likewise.
70911         * include/wchar.h: Likewise.
70912         * include/wctype.h: Likewise.
70913         * include/wordexp.h: Likewise.
70915         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70917         * time/time.h: TIME_UTC must be a macro.
70918         Make timespec_get available for ISO C11 only as well.
70920 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70922         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70923         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70925 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70927         * configure.in: Use -o not -a in test for unsupported multi-arch.
70929 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70931         * manual/texinfo.tex: Update to version 2012-01-19.16.
70933 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70935         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70937 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70939         [BZ #13738]
70940         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70941         * manual/fdl-1.3.texi: New file.
70942         * manual/fdl-1.1.texi: File removed.
70944         [BZ #13738]
70945         * manual/libc.texinfo (FDL_VERSION): New @set.
70946         Use it for mention of FDL in cover text.
70947         (Documentation License): Use it in @include file name.
70949 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70950             Roland McGrath  <roland@hack.frob.com>
70952         [BZ #5461]
70953         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70954         (not LONG_LONG_MAX and LONG_LONG_MIN.
70955         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70956         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70957         name.
70958         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70960 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70962         [BZ #2547]
70963         [BZ #11365]
70964         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70965         manipulate bits before adding and subtracting TWO23[sx].
70966         * math/libm-test.inc (nearbyint_test): Add more tests.
70968 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70970         [BZ #2548]
70971         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70972         bits before adding and subtracting TWO23[sx].
70973         * math/libm-test.inc (rint_test): Add more tests.
70974         (rint_test_tonearest): Likewise.
70975         (rint_test_towardzero): Likewise.
70976         (rint_test_downward): Likewise.
70977         (rint_test_upward: Likewise.
70979 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70981         [BZ #10110]
70982         * include/stdc-predef.h: New file.  Extracted from features.h.
70983         * include/features.h: Include stdc-predef.h.
70984         * Makefile (headers): Add stdc-predef.h.
70985         * CONFORMANCE (Compiler limitations): Update.
70987 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70989         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70991 2012-02-21  David S. Miller  <davem@davemloft.net>
70993         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70994         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70996 2012-02-20  David S. Miller  <davem@davemloft.net>
70998         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70999         using a normal save/restore sequence, rather than allocating a
71000         dummy stack frame just to store a frame pointer and restore.
71001         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71003 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71005         * manual/install.texi: Fix stray word in line-wrapped comment.
71007 2012-02-20  David S. Miller  <davem@davemloft.net>
71009         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71010         both binutils and gcc support GOTDATA.
71012         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71013         "rd %pc" in the PIC register setup sequences.
71015         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71016         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71017         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71018         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71019         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71020         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71021         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71022         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71024         (SYSCALL_ERROR_HANDLER): Likewise.
71025         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71026         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71027         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71028         (SYSCALL_ERROR_HANDLER): Likewise.
71030         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71031         (HAVE_GCC_GOTDATA): New.
71032         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71033         relocation support in both binutils and gcc.
71034         * sysdeps/sparc/elf/configure: Regenerate.
71036         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71037         * sysdeps/sparc/sparc32/elf/configure: Delete.
71038         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71039         * sysdeps/sparc/sparc64/elf/configure: Delete.
71040         * sysdeps/sparc/elf/configure.in: New file.
71041         * sysdeps/sparc/elf/configure: Generate.
71043         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71044         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71045         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71046         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71047         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71049 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71051         * manual/install.texi: Do not mention specific glibc version
71052         numbers.
71053         * manual/libc.texinfo (VERSION, UPDATED): Update.
71054         (@copying): Use @copyright{} and range of years.
71056 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71058         [BZ #13695]
71059         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71060         [crti.S not in sysdirs] (generated): Do not append.
71061         [crti.S not in sysdirs] (omit-deps): Likewise.
71062         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71063         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71064         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71065         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71066         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71067         Likewise.
71068         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71069         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71070         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71071         * csu/defs.awk: Remove file.
71072         * sysdeps/generic/initfini.c: Likewise.
71073         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71074         variable.
71075         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71076         Likewise.
71078 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71080         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71081         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71082         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71083         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71084         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71085         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71086         <bits/epoll.h>.
71087         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71088         (__EPOLL_PACKED): Define to empty if not defined by
71089         <bits/epoll.h>.
71090         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71092         bits/epoll.h.
71094 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71096         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71097         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71098         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71099         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71100         <bits/timerfd.h>.
71101         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71103         bits/timerfd.h.
71105 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71107         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71108         in C locale.
71109         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71110         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71111         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71114 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71116         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71117         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71119 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71121         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71122         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71123         defined.
71124         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71125         Likewise.
71126         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71127         entry for 2.16.
71129 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71131         * math/w_acos.c: Use non-signaling floating-point comparisons.
71132         * math/w_acosf.c: Likewise.
71133         * math/w_acosh.c: Likewise.
71134         * math/w_acoshf.c: Likewise.
71135         * math/w_acoshl.c: Likewise.
71136         * math/w_acosl.c: Likewise.
71137         * math/w_asin.c: Likewise.
71138         * math/w_asinf.c: Likewise.
71139         * math/w_asinl.c: Likewise.
71140         * math/w_atanh.c: Likewise.
71141         * math/w_atanhf.c: Likewise.
71142         * math/w_atanhl.c: Likewise.
71143         * math/w_exp2.c: Likewise.
71144         * math/w_exp2f.c: Likewise.
71145         * math/w_exp2l.c: Likewise.
71146         * math/w_j0.c: Likewise.
71147         * math/w_j0f.c: Likewise.
71148         * math/w_j0l.c: Likewise.
71149         * math/w_j1.c: Likewise.
71150         * math/w_j1f.c: Likewise.
71151         * math/w_j1l.c: Likewise.
71152         * math/w_jn.c: Likewise.
71153         * math/w_jnf.c: Likewise.
71154         * math/w_log.c: Likewise.
71155         * math/w_log10.c: Likewise.
71156         * math/w_log10f.c: Likewise.
71157         * math/w_log10l.c: Likewise.
71158         * math/w_log2.c: Likewise.
71159         * math/w_log2f.c: Likewise.
71160         * math/w_log2l.c: Likewise.
71161         * math/w_logf.c: Likewise.
71162         * math/w_logl.c: Likewise.
71163         * math/w_sqrt.c: Likewise.
71164         * math/w_sqrtf.c: Likewise.
71165         * math/w_sqrtl.c: Likewise.
71166         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71167         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71168         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71169         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71170         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71172 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71174         [BZ #9739]
71175         * manual/string.texi (strnlen): Use correct parameter name in
71176         equivalent expression.
71178 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71180         [BZ #11174]
71181         * manual/users.texi (seteuid): Consistently use neweuid for
71182         argument name.
71184 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71186         [BZ #13704]
71187         * manual/nss.texi (Services in the NSS configuration): Correct
71188         list of services in example configuration file.
71190 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71192         [BZ #11322]
71193         * manual/arith.texi: Remove statements about negative zero
71194         behaving identically to zero.
71196 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71198         [BZ #5993]
71199         * manual/install.texi: Do not document upgrading from libc5.
71201 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71203         [BZ #4596]
71204         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71206 2012-02-18  David S. Miller  <davem@davemloft.net>
71208         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71209         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71210         %o7 across the call.
71211         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71212         instead.
71213         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71214         SETUP_PIC_REG_LEAF.
71215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71216         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71217         * sysdeps/sparc/crtn.S: Likewise.
71219 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71221         * aout/Makefile: Remove.
71223 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71225         [BZ #13058]
71226         * manual/examples/argp-ex1.c (main): Format definition in GNU
71227         style.
71228         * manual/examples/argp-ex2.c (main): Likewise.
71229         * manual/examples/argp-ex3.c (main): Likewise.
71230         * manual/examples/argp-ex4.c (main): Likewise.
71231         * manual/examples/longopt.c (main): Use new-style prototype
71232         definition.
71233         * manual/examples/strncat.c (main): Specify return type and use
71234         (void) for arguments.
71235         * manual/examples/subopt.c (main): Use char **argv argument.
71237 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71239         [BZ #5077]
71240         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71241         rounding modes.
71243 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71245         [BZ #6907]
71246         * manual/string.texi (strchr): Change when strchrnul is
71247         recommended.
71249 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71251         [BZ #174]
71252         * manual/locale.texi (setlocale): Document LOCPATH.
71254 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71256         [BZ #10210]
71257         * manual/process.texi (execle): Move @dots{} before last argument.
71259 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71261         [BZ #12047]
71262         * manual/charset.texi (Generic Charset Conversion): Fix typo
71263         (LC_TYPE -> LC_CTYPE).
71265 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71267         [BZ #5805]
71268         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71269         (scalbnf): Likewise.
71270         (scalbnl): Likewise.
71271         (scalbln): Likewise.
71272         (scalblnf): Likewise.
71273         (scalblnl): Likewise.
71274         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71275         (vwarnx): Likewise.
71276         (verr): Likewise.
71277         (verrx): Likewise.
71278         * manual/filesys.texi (telldir): Use braces around return type.
71279         * manual/llio.texi (mmap): Add space after comma.
71280         (mmap64): Likewise.
71281         * manual/math.texi (jn): Use @var{} on parameter names.
71282         (jnf): Likewise.
71283         (jnl): Likewise.
71284         (yn): Likewise.
71285         (ynf): Likewise.
71286         (ynl): Likewise.
71287         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71288         line.
71289         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71290         "...".
71291         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71292         (sched_get_priority_max): Likewise.
71293         * manual/signal.texi (sigvec): Add space after comma.
71294         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71295         names.
71296         (if_indextoname): Likewise.
71297         (if_freenameindex): Likewise.
71298         (sendto): Use ',' instead of '.' in prototype.
71299         * manual/startup.texi (syscall): Use @dots{} instead of literal
71300         "...".
71301         * manual/stdio.texi (__fpending): Separate initial words of
71302         paragraph from @deftypefun line.
71303         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71304         "...".
71305         (vsyslog): Use @var{} on parameter names.
71306         * manual/terminal.texi (stty): Use @var{} on parameter names.
71307         * manual/users.texi (getutmp): Use @var{} on parameter names.
71308         (getutmpx): Likewise.
71310 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71312         [BZ #6884]
71313         * manual/stdio.texi (fopen): Fix typos in description of
71314         ",ccs=STRING".
71316 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71318         [BZ #4026]
71319         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71320         get clock_id definition.
71322 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71324         [BZ #4822]
71325         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71326         (madvise): Cast every argument to void on its own.
71328 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71330         [BZ #9902]
71331         * manual/startup.texi (Exit Status): Fix typo.
71333 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71335         [BZ #10140]
71336         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71337         * manual/examples/argp-ex2.c: Likewise.
71338         * manual/examples/argp-ex3.c: Likewise.
71340 2012-02-16  Richard Henderson  <rth@redhat.com>
71342         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71343         * sysdeps/s390/s390-32/initfini.c: Remove.
71344         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71345         * sysdeps/s390/s390-64/initfini.c: Remove.
71347 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71349         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71350         compiler output for sysdeps/generic/initfini.c.
71351         * sysdeps/sh/elf/initfini.c: Remove file.
71353 2012-02-16  David S. Miller  <davem@davemloft.net>
71355         [BZ #11494]
71356         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71358         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71359         * sysdeps/sparc/crti.S: New file.
71360         * sysdeps/sparc/crtn.S: New file.
71361         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71362         * sysdeps/sparc/sparc64/Makefile: Likewise.
71364 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71366         [BZ #3335]
71367         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71369 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71371         [BZ #4822]
71372         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71374         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71375         (write, read, close): Likewise.
71376         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71378 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71380         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71381         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71382         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71383         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71384         <bits/signalfd.h>.
71385         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71387         bits/signalfd.h.
71389 2012-02-14  Marek Polacek  <polacek@redhat.com>
71391         * sysdeps/x86_64/crti.S: New file.
71392         * sysdeps/x86_64/crtn.S: New file.
71393         * sysdeps/x86_64/elf/initfini.c: Remove file.
71395 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71397         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71398         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71399         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71400         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71401         <bits/inotify.h>.
71402         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71404         bits/inotify.h.
71406 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71408         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71409         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71410         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71411         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71412         <bits/eventfd.h>.
71413         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71415         bits/eventfd.h.
71417 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71419         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71420         __feraiseexcept instead of feraiseexcept.
71422         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71423         nanosleep invocations.
71424         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71425         strings, and add error checking for a nanosleep invocations.
71427 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71429         Replace FSF snail mail address with URLs, as per GNU coding standards.
71430         Most of the snail mail addresses were wrong anyway, and omitting
71431         them makes the source code easier to maintain.  Almost all of the
71432         changes are to license notices and to locale LC_IDENTIFICATION
71433         addresses, except for this one:
71434         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71435         not its snail mail address.
71437 2012-02-09  Richard Henderson  <rth@twiddle.net>
71439         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71440         of kernel-features.h.
71442         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71444 2012-02-08  Marek Polacek  <polacek@redhat.com>
71446         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71447         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71448         * sysdeps/gnu/_G_config.h: Likewise.
71449         * sysdeps/generic/_G_config.h: Likewise.
71451 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71453         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71454         tests.
71455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71457         * sysdeps/powerpc/powerpc32/crti.S: New file.
71458         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71459         * sysdeps/powerpc/powerpc64/crti.S: New file.
71460         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71462         * Makeconfig (have-initfini): Don't set.
71463         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71464         * configure.in (nopic_initfini): Don't substitute.
71465         * config.h.in (HAVE_INITFINI): Don't #undef.
71466         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71467         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71469 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71471         Support crti.S and crtn.S provided directly by architectures.
71472         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71473         [crti.S in sysdirs] (omit-deps): Likewise.
71474         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71475         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71476         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71477         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71478         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71479         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71480         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71481         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71482         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71483         compiler output for sysdeps/generic/initfini.c.
71484         * sysdeps/i386/elf/Makefile: Remove file.
71485         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71487 2012-02-07  Marek Polacek  <polacek@redhat.com>
71489         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71490         * sysdeps/gnu/_G_config.h: Likewise.
71491         * sysdeps/mach/hurd/_G_config.h: Likewise.
71493 2012-02-07  Marek Polacek  <polacek@redhat.com>
71495         * math/Makefile (tests): Add tst-CMPLX2.
71496         * math/tst-CMPLX2.c: New file.
71498 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71500         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71502         * math/libm-test.inc (jn_test): Add missing L suffix.
71504 2012-02-06  Marek Polacek  <polacek@redhat.com>
71506         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71507         * sysdeps/i386/fpu/e_powf.S: Likewise.
71508         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71509         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71510         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71511         * sysdeps/i386/fpu/e_pow.S: Likewise.
71512         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71513         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71514         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71515         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71516         * sysdeps/i386/fpu/e_log2.S: Likewise.
71517         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71518         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71519         * sysdeps/i386/fpu/e_powl.S: Likewise.
71520         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71521         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71522         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71523         * sysdeps/i386/fpu/e_logl.S: Likewise.
71524         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71525         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71526         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71527         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71528         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71529         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71530         * sysdeps/i386/fpu/e_log.S: Likewise.
71531         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71532         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71533         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71534         * sysdeps/i386/fpu/e_logf.S: Likewise.
71535         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71536         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71537         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71538         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71539         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71540         * sysdeps/i386/fpu/e_log10.S: Likewise.
71541         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71542         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71543         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71544         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71545         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71546         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71547         * sysdeps/i386/asm-syntax.h: Likewise.
71548         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71549         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71550         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71551         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71552         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71553         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71554         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71555         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71556         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71557         * sysdeps/powerpc/sysdep.h: Likewise.
71558         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71559         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71561 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71563         [BZ #411]
71564         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71566 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71568         * sysdeps/i386/sysdep.h: Include <features.h>.
71569         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71570         version.
71572 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71574         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71575         Define.
71576         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71577         LOAD_PIC_REG_STR.
71579 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71581         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71582         (SETUP_PIC_REG): Use GET_PC_THUNK.
71583         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71584         macro.
71586 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71588         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71589         for non-PIC compilation.
71590         (SETUP_PIC_REG): Add .p2align directive.
71591         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71592         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71593         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71594         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71595         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71596         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71597         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71598         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71599         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71600         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71601         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71602         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71603         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71604         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71605         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71606         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71607         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71608         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71609         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71610         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71611         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71612         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71613         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71614         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71615         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71616         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71617         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71618         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71619         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71620         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71621         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71622         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71623         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71624         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71625         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71626         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71627         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71628         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71629         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71630         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71631         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71633 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71635         * math/tst-CMPLX.c: Include <stdio.h>.
71637 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71639         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71640         float.
71641         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71642         * sysdeps/sparc/bits/mathdef.h: Likewise.
71644 2012-01-31  Marek Polacek  <polacek@redhat.com>
71646         * libio/libio.h: Don't define _PARAMS.
71647         * locale/programs/config.h: Don't define PARAMS.
71648         * stdlib/strtol_l.c: Likewise.
71649         (__strtol_l): Remove PARAMS from the prototype.
71651 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71653         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71654         names.  Just use the correct names.  Remove unnecessary wrapper
71655         functions.
71656         * malloc/arena.c: Likewise.
71657         * malloc/hooks.c: Likewise.
71659         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71660         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71661         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71663 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71665         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71666         into tail calls.
71667         (update_get_addr): New function.
71668         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71669         GET_ADDR_MODULE parameter.
71671 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71673         * crypt/cert.c: Remove __STDC__ conditionals.
71674         * crypt/crypt-entry.c: Likewise.
71675         * crypt/crypt_util.c: Likewise.
71676         * libio/filedoalloc.c: Likewise.
71677         * libio/fileops.c: Likewise.
71678         * libio/genops.c: Likewise.
71679         * libio/iofclose.c: Likewise.
71680         * libio/iofdopen.c: Likewise.
71681         * libio/iofopen.c: Likewise.
71682         * libio/iofopen64.c: Likewise.
71683         * libio/iogetdelim.c: Likewise.
71684         * libio/iopopen.c: Likewise.
71685         * libio/obprintf.c: Likewise.
71686         * libio/oldfileops.c: Likewise.
71687         * libio/oldiofclose.c: Likewise.
71688         * libio/oldiofdopen.c: Likewise.
71689         * libio/oldiofopen.c: Likewise.
71690         * libio/oldiopopen.c: Likewise.
71691         * libio/wfiledoalloc.c: Likewise.
71692         * libio/wgenops.c: Likewise.
71693         * locale/programs/xmalloc.c: Likewise.
71694         * misc/syslog.c: Likewise.
71695         * stdio-common/xbug.c: Likewise.
71696         * string/memchr.c: Likewise.
71697         * string/memcmp.c: Likewise.
71698         * string/memrchr.c: Likewise.
71699         * string/rawmemchr.c: Likewise.
71700         * sysdeps/posix/getcwd.c: Likewise.
71701         * time/strftime_l.c: Likewise.
71703 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71705         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71706         * config.make.in (config-cflags-sse2avx): Define.
71707         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71708         Fix typo.
71710 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71712         * scripts/config.guess: Update from upstream config git repository.
71713         * scripts/config.sub: Likewise.
71715 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71717         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71718         (EM_NUM): Update.
71719         (R_TILEPRO_*, R_TILEGX_*): New macros.
71721         * scripts/firstversions.awk: Fix bug in version range handling.
71723         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71725         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71727         * include/sys/epoll.h: New file.
71728         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71729         libc_hidden_def.
71731 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71733         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71734         Avoid unnecessary __WORDSIZE == 64 test.
71735         (fmaxf): Use VEX format if possible.
71736         (fmax): Likewise.
71737         (fminf): Likewise.
71738         (fmin): Likewise.
71740         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71741         * math/math_private.h: Remove libc_fegetround* and
71742         libc_fesetround*.
71743         * sysdeps/i386/configure.in: Check for -msse2avx.
71744         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71745         also if SSE2AVX is defined.
71746         Remove libc_fegetround* and libc_fesetround*.
71747         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71748         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71749         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71750         of HAS_YMM_USABLE.
71751         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71752         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71753         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71754         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71755         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71757         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71759 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71761         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71762         size is not set.
71763         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71765 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71767         [BZ #13618]
71768         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71769         relocation.
71770         * Makeconfig (libm): Define.
71771         * elf/Makefile: Add rules to build and run tst-relsort1.
71772         * elf/tst-relsort1.c: New file.
71773         * elf/tst-relsort1mod1.c: New file.
71774         * elf/tst-relsort1mod2.c: New file.
71776 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71778         * math/s_ldexp.c: Remove __STDC__ conditionals.
71779         * math/s_ldexpf.c: Likewise.
71780         * math/s_ldexpl.c: Likewise.
71781         * math/s_nextafter.c: Likewise.
71782         * math/s_nexttowardf.c: Likewise.
71783         * math/s_significand.c: Likewise.
71784         * math/s_significandf.c: Likewise.
71785         * math/s_significandl.c: Likewise.
71786         * math/w_jnl.c: Likewise.
71787         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71788         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71789         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71790         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71791         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71792         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71793         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71794         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71795         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71796         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71797         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71798         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71799         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71800         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71801         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71802         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71803         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71804         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71805         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71806         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71807         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71808         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71809         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71810         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71811         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71812         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71813         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71814         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71815         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71816         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71817         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71818         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71819         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71820         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71821         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71822         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71823         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71824         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71825         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71826         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71827         * sysdeps/ieee754/k_standard.c: Likewise.
71828         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71829         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71830         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71831         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71832         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71833         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71834         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71835         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71836         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71837         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71838         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71839         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71840         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71841         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71842         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71843         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71844         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71846         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71847         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71848         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71849         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71850         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71851         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71852         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71853         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71854         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71856         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71857         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71858         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71859         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71860         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71861         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71862         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71863         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71864         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71865         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71866         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71867         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71868         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71869         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71870         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71871         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71872         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71873         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71875         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71876         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71877         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71878         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71879         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71880         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71881         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71882         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71883         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71884         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71885         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71886         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71887         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71888         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71889         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71890         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71891         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71892         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71893         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71894         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71895         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71896         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71897         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71898         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71899         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71900         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71901         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71902         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71903         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71904         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71905         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71906         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71907         * sysdeps/ieee754/s_matherr.c: Likewise.
71908         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71909         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71910         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71911         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71913 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71915         * crypt/md5.h: Remove __STDC__ conditionals.
71916         * libio/libioP.h: Likewise.
71917         * locale/programs/config.h: Likewise.
71918         * sysdeps/generic/sysdep.h: Likewise.
71919         * sysdeps/i386/asm-syntax.h: Likewise.
71920         * sysdeps/s390/asm-syntax.h: Likewise.
71921         * sysdeps/unix/sysdep.h: Likewise.
71922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71925 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71927         * libio/libio.h: Remove __STDC__ conditionals.
71928         * malloc/obstack.h: Likewise.
71929         * math/complex.h: Likewise.
71930         * math/math.h: Likewise.
71931         * sysdeps/generic/_G_config.h: Likewise.
71932         * sysdeps/gnu/_G_config.h: Likewise.
71933         * sysdeps/mach/hurd/_G_config.h: Likewise.
71934         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71935         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71936         * sysdeps/sparc/bits/mathdef.h: Likewise.
71938 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71940         [BZ #13583]
71941         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71942         Clean up HAS_* macros.
71943         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71944         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71945         possible.
71946         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71947         HAS_AVX.
71948         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71949         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71950         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71951         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71952         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71954 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71956         * elf/tst-unique3.cc (gets): Remove declaration.
71957         * elf/tst-unique3lib.cc (gets): Likewise.
71958         * elf/tst-unique3lib2.cc (gets): Likewise.
71959         * elf/tst-unique4.cc (gets): Likewise.
71961 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71963         * include/stdio.h: Add C++ protection.  Add gets declarations and
71964         definitions.
71965         * debug/tst-chk1.c: Don't declare gets here.
71966         * stdio-common/tst-gets.c: Likewise.
71968 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71970         * posix/glob: Remove directory.
71972 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71974         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71976 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71978         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71979         of the non-standard EPFNOSUPPORT.
71981 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71983         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71984         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71985         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71987 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71989         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71991 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71993         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71994         transient errors.
71995         * nscd/grpcache.c (cache_addgr): Likewise.
71996         * nscd/hstcache.c (cache_addhst): Likewise.
71997         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71998         * nscd/pwdcache.c (cache_addpw): Likewise.
71999         * nscd/servicescache.c (cache_addserv): Likewise.
72001 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72003         * malloc/malloc.c: Various cleanups.
72004         * malloc/hooks.c: Likewise.
72006         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72007         * stdlib/bug-fmtmsg1.c: New file.
72009         * stdlib/fmtmsg.c (init): Add missing unlock.
72010         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72012 2012-01-12  Marek Polacek  <polacek@redhat.com>
72014         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72015         and _GNU_SOURCE.
72017 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72019         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72020         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72021         macro to ensure uniqueness of label name.
72022         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72023         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72025 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72027         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72029         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72030         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72031         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72032         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72034 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72036         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72038         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72039         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72040         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72042         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72044         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72045         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72046         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72047         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72049         * math/bits/math-finite.h: Add ldexp support.
72051 2012-01-10  Marek Polacek  <polacek@redhat.com>
72053         * locale/programs/localedef.h (show_archive_content): Add noreturn
72054         attribute.
72056 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72058         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72060 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72062         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72064         * io/Makefile (headers): Add bits/poll2.h.
72066 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72069         typo #include statement.
72071 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72073         * include/sys/cdefs.h: Define __attribute_alloc_size.
72074         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72075         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72076         * elf/pldd.c: Likewise.
72077         * iconv/iconv_charmap.c: Likewise.
72078         * iconv/iconvconfig.c: Likewise.
72079         * iconv/strtab.c: Likewise.
72080         * locale/programs/locale.c: Likewise.
72081         * locale/programs/localedef.h: Likewise.
72082         * locale/programs/simple-hash.c: Likewise.
72083         * nscd/nscd.h: Likewise.
72084         * nss/makedb.c: Likewise.
72085         * sysdeps/generic/ldconfig.h: Likewise.
72086         * locale/programs/localedef.c: Remove xmalloc prototype.
72087         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72089 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72091         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72092         appropriate.
72094 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72096         * math/Makefile (tests): Add tst-CMPLX.
72097         * math/tst-CMPLX.c: New file.
72099         * math/complex.h (CMPLXL): Fix typo.
72101         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72102         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72103         GLIBC_2.16.
72104         * debug/tst-chk1.c: Add poll and ppoll tests.
72105         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72106         * include/sys/poll.h: Add hidden proto for ppoll.
72107         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72108         * sysdeps/mach/hurd/ppoll.c: Likewise.
72109         * io/ppoll.c: Likewise.
72110         * debug/poll_chk.c: New file.
72111         * debug/ppoll_chk.c: New file.
72112         * include/bits/poll2.h: New file.
72113         * io/bits/poll2.h: New file.
72115         [BZ #1350]
72116         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72118         * configure.in: static is always set to yes.  Remove.
72119         * config.make.in: Don't set build-static.
72120         * Makeconfig: Remove use of build-static.
72121         * dlfcn/Makefile: Likewise.
72122         * elf/Makefile: Likewise.
72123         * math/Makefile: Likewise.
72124         * misc/Makefile: Likewise.
72125         * nptl/Makefile: Likewise.
72126         * sysdeps/mach/hurd/Makefile: Likewise.
72128         * configure.in: PWD_P is not used anymore.
72129         * config.make.in: Remove PWD_P entry.
72131         * configure.in: Remove last remnants of RANLIB.
72132         No need to check for signed size_t anymore.
72133         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72134         and IA-64.
72135         Remove __builtin_expect test because we require at least gcc 3.4.
72136         * aclocal.m4: Likewise.
72138         * wcsmbs/mbrtoc16.c: Implement using towc function.
72139         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72140         * wcsmbs/wcsmbsload.c: Likewise.
72141         * iconv/gconv_simple.c: Likewise.
72142         * iconv/gconv_int.h: Likewise.
72143         * iconv/gconv_builtin.h: Likewise.
72144         * iconv/iconv_prog.c: Remove CHAR16 handling.
72146         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72148         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72150         * configure.in: Remove --with-elf and --enable-bounded options.
72151         Dont set base_machine for ia64.  More non-ELF conditions removed.
72152         Remove testing and setting of leading underscore information.
72153         * config.make.in (build-bounded): Set to no.
72154         * config.h.in: Remove NO_UNDERSCORES entry.
72155         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72156         them.
72157         * csu/start.c: Remove !NO_UNDERSCORE code.
72158         * locale/localeinfo.h: Likewise.
72159         * sysdeps/generic/machine-gmon.h: Likewise.
72160         * sysdeps/generic/sysdep.h: Likewise.
72161         * sysdeps/i386/sysdep.h: Likewise.
72162         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72163         * sysdeps/mach/sysdep.h: Likewise.
72164         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72165         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72166         * sysdeps/sh/sysdep.h: Likewise.
72167         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72168         * sysdeps/unix/i386/sysdep.S: Likewise.
72169         * sysdeps/unix/sparc/start.c: Likewise.
72170         * sysdeps/unix/sparc/sysdep.S: Likewise.
72171         * sysdeps/unix/sparc/sysdep.h: Likewise.
72172         * sysdeps/unix/start.c: Likewise.
72173         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72174         * sysdeps/x86_64/sysdep.h: Likewise.
72176 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72178         [BZ #13553]
72179         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72180         for non-gcc.
72181         * argp/argp-fmtstream.h: Use const instead __const.
72182         * argp/argp.h: Likewise.
72183         * assert/assert.h: Likewise.
72184         * bits/fenv.h: Likewise.
72185         * bits/sched.h: Likewise.
72186         * bits/sigset.h: Likewise.
72187         * bits/sigthread.h: Likewise.
72188         * catgets/nl_types.h: Likewise.
72189         * conform/data/pthread.h-data: Likewise.
72190         * crypt/crypt-private.h: Likewise.
72191         * crypt/crypt.h: Likewise.
72192         * crypt/crypt_util.c: Likewise.
72193         * ctype/ctype.h: Likewise.
72194         * debug/execinfo.h: Likewise.
72195         * debug/mbsnrtowcs_chk.c: Likewise.
72196         * debug/mbsrtowcs_chk.c: Likewise.
72197         * debug/wcsnrtombs_chk.c: Likewise.
72198         * debug/wcsrtombs_chk.c: Likewise.
72199         * debug/wcstombs_chk.c: Likewise.
72200         * dirent/dirent.h: Likewise.
72201         * dlfcn/dlfcn.h: Likewise.
72202         * elf/neededtest4.c: Likewise.
72203         * grp/grp.h: Likewise.
72204         * gshadow/gshadow.h: Likewise.
72205         * iconv/gconv.h: Likewise.
72206         * iconv/gconv_int.h: Likewise.
72207         * iconv/gconv_simple.c: Likewise.
72208         * iconv/iconv.h: Likewise.
72209         * iconv/loop.c: Likewise.
72210         * iconv/skeleton.c: Likewise.
72211         * include/aio.h: Likewise.
72212         * include/aliases.h: Likewise.
72213         * include/argz.h: Likewise.
72214         * include/arpa/inet.h: Likewise.
72215         * include/assert.h: Likewise.
72216         * include/dirent.h: Likewise.
72217         * include/dlfcn.h: Likewise.
72218         * include/execinfo.h: Likewise.
72219         * include/fcntl.h: Likewise.
72220         * include/fenv.h: Likewise.
72221         * include/glob.h: Likewise.
72222         * include/grp.h: Likewise.
72223         * include/libintl.h: Likewise.
72224         * include/mntent.h: Likewise.
72225         * include/netdb.h: Likewise.
72226         * include/pwd.h: Likewise.
72227         * include/rpc/netdb.h: Likewise.
72228         * include/sched.h: Likewise.
72229         * include/search.h: Likewise.
72230         * include/shadow.h: Likewise.
72231         * include/signal.h: Likewise.
72232         * include/stdio.h: Likewise.
72233         * include/stdlib.h: Likewise.
72234         * include/string.h: Likewise.
72235         * include/sys/socket.h: Likewise.
72236         * include/sys/stat.h: Likewise.
72237         * include/sys/statfs.h: Likewise.
72238         * include/sys/statvfs.h: Likewise.
72239         * include/sys/syslog.h: Likewise.
72240         * include/sys/time.h: Likewise.
72241         * include/sys/uio.h: Likewise.
72242         * include/time.h: Likewise.
72243         * include/unistd.h: Likewise.
72244         * include/utmp.h: Likewise.
72245         * include/wchar.h: Likewise.
72246         * include/wctype.h: Likewise.
72247         * inet/aliases.h: Likewise.
72248         * inet/arpa/inet.h: Likewise.
72249         * inet/netinet/ether.h: Likewise.
72250         * inet/netinet/in.h: Likewise.
72251         * intl/libintl.h: Likewise.
72252         * io/bits/fcntl2.h: Likewise.
72253         * io/fcntl.h: Likewise.
72254         * io/ftw.h: Likewise.
72255         * io/sys/poll.h: Likewise.
72256         * io/sys/stat.h: Likewise.
72257         * io/sys/statfs.h: Likewise.
72258         * io/sys/statvfs.h: Likewise.
72259         * io/utime.h: Likewise.
72260         * libio/bits/stdio.h: Likewise.
72261         * libio/bits/stdio2.h: Likewise.
72262         * libio/libio.h: Likewise.
72263         * libio/libioP.h: Likewise.
72264         * libio/stdio.h: Likewise.
72265         * locale/lc-ctype.c: Likewise.
72266         * locale/locale.h: Likewise.
72267         * login/utmp.h: Likewise.
72268         * malloc/arena.c: Likewise.
72269         * malloc/malloc.c: Likewise.
72270         * malloc/malloc.h: Likewise.
72271         * malloc/mcheck.c: Likewise.
72272         * malloc/mtrace.c: Likewise.
72273         * math/bits/mathcalls.h: Likewise.
72274         * math/fenv.h: Likewise.
72275         * math/math_private.h: Likewise.
72276         * misc/bits/error.h: Likewise.
72277         * misc/bits/syslog.h: Likewise.
72278         * misc/err.h: Likewise.
72279         * misc/error.h: Likewise.
72280         * misc/fstab.h: Likewise.
72281         * misc/mntent.h: Likewise.
72282         * misc/regexp.h: Likewise.
72283         * misc/search.h: Likewise.
72284         * misc/sgtty.h: Likewise.
72285         * misc/sys/mman.h: Likewise.
72286         * misc/sys/syslog.h: Likewise.
72287         * misc/sys/uio.h: Likewise.
72288         * misc/sys/xattr.h: Likewise.
72289         * misc/ttyent.h: Likewise.
72290         * nis/rpcsvc/ypclnt.h: Likewise.
72291         * nss/nss.h: Likewise.
72292         * posix/bits/unistd.h: Likewise.
72293         * posix/fnmatch.h: Likewise.
72294         * posix/glob.h: Likewise.
72295         * posix/sched.h: Likewise.
72296         * posix/spawn.h: Likewise.
72297         * posix/sys/wait.h: Likewise.
72298         * posix/unistd.h: Likewise.
72299         * posix/wordexp.h: Likewise.
72300         * pwd/pwd.h: Likewise.
72301         * resolv/netdb.h: Likewise.
72302         * resource/sys/resource.h: Likewise.
72303         * rt/aio.h: Likewise.
72304         * rt/bits/mqueue2.h: Likewise.
72305         * rt/mqueue.h: Likewise.
72306         * shadow/shadow.h: Likewise.
72307         * signal/signal.h: Likewise.
72308         * socket/send.c: Likewise.
72309         * socket/sendto.c: Likewise.
72310         * socket/sys/socket.h: Likewise.
72311         * stdio-common/printf.h: Likewise.
72312         * stdlib/bits/stdlib.h: Likewise.
72313         * stdlib/fmtmsg.h: Likewise.
72314         * stdlib/monetary.h: Likewise.
72315         * stdlib/stdlib.h: Likewise.
72316         * stdlib/ucontext.h: Likewise.
72317         * streams/stropts.h: Likewise.
72318         * string/argz.h: Likewise.
72319         * string/bits/string2.h: Likewise.
72320         * string/string.h: Likewise.
72321         * string/strings.h: Likewise.
72322         * sunrpc/rpc/auth.h: Likewise.
72323         * sunrpc/rpc/auth_des.h: Likewise.
72324         * sunrpc/rpc/clnt.h: Likewise.
72325         * sunrpc/rpc/netdb.h: Likewise.
72326         * sunrpc/rpc/pmap_clnt.h: Likewise.
72327         * sunrpc/rpc/xdr.h: Likewise.
72328         * sysdeps/generic/inttypes.h: Likewise.
72329         * sysdeps/generic/net/if.h: Likewise.
72330         * sysdeps/generic/sys/swap.h: Likewise.
72331         * sysdeps/gnu/net/if.h: Likewise.
72332         * sysdeps/gnu/utmpx.h: Likewise.
72333         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72334         * sysdeps/i386/i486/bits/string.h: Likewise.
72335         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72336         * sysdeps/s390/bits/string.h: Likewise.
72337         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72338         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72339         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72340         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72341         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72342         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72343         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72344         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72345         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72346         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72347         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72348         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72349         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72350         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72351         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72352         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72353         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72354         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72355         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72356         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72357         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72358         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72359         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72360         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72361         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72362         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72363         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72364         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72365         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72366         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72367         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72368         * sysvipc/sys/ipc.h: Likewise.
72369         * sysvipc/sys/msg.h: Likewise.
72370         * sysvipc/sys/sem.h: Likewise.
72371         * sysvipc/sys/shm.h: Likewise.
72372         * termios/termios.h: Likewise.
72373         * time/sys/time.h: Likewise.
72374         * time/time.h: Likewise.
72375         * wcsmbs/bits/wchar2.h: Likewise.
72376         * wcsmbs/uchar.h: Likewise.
72377         * wcsmbs/wchar.h: Likewise.
72378         * wctype/wctype.h: Likewise.
72380         [BZ #13551]
72381         * Makeconfig: Remove all but ELF support including AIX support.
72382         * Makerules: Likewise.
72383         * config.h.in: Likewise.
72384         * config.make.in: Likewise.
72385         * configure: Likewise.
72386         * configure.in: Likewise.
72387         * csu/Makefile: Likewise.
72388         * csu/version.c: Likewise.
72389         * debug/Makefile: Likewise.
72390         * dlfcn/Makefile: Likewise.
72391         * elf/Makefile: Likewise.
72392         * extra-lib.mk: Likewise.
72393         * iconv/Makefile: Likewise.
72394         * include/libc-symbols.h: Likewise.
72395         * include/shlib-compat.h: Likewise.
72396         * resolv/Makefile: Likewise.
72397         * resolv/res_libc.c: Likewise.
72398         * rt/Makefile: Likewise.
72399         * sysdeps/i386/asm-syntax.h: Likewise.
72400         * sysdeps/i386/sysdep.h: Likewise.
72401         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72402         * sysdeps/mach/sysdep.h: Likewise.
72403         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72404         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72405         * sysdeps/s390/asm-syntax.h: Likewise.
72406         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72407         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72408         * sysdeps/sh/sysdep.h: Likewise.
72409         * sysdeps/unix/sparc/sysdep.h: Likewise.
72410         * sysdeps/wordsize-32/divdi3.c: Likewise.
72411         * sysdeps/x86_64/sysdep.h: Likewise.
72413         * argp/Versions: Remove _argp_unlock_xxx.
72415         [BZ #13559]
72416         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72417         * abilist/libBrokenLocale.abilist: Likewise.
72418         * abilist/libanl.abilist: Likewise.
72419         * abilist/libc.abilist: Likewise.
72420         * abilist/libcrypt.abilist: Likewise.
72421         * abilist/libdl.abilist: Likewise.
72422         * abilist/libm.abilist: Likewise.
72423         * abilist/libnsl.abilist: Likewise.
72424         * abilist/libpthread.abilist: Likewise.
72425         * abilist/libresolv.abilist: Likewise.
72426         * abilist/librt.abilist: Likewise.
72427         * abilist/libthread_db.abilist: Likewise.
72428         * abilist/libutil.abilist: Likewise.
72429         * abilist/libnss_db.abilist: New file.
72431         * scripts/abilist.awk: Add support for indirect functions.
72433         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72435         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72437         * shlib-versions: Remove entries for ports architectures.
72439         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72440         files in ports.
72441         * elf/stackguard-macros.h: Remove support for IA-64.
72442         * elf/tst-auditmod1.c: Likewise.
72443         * sysdeps/generic/ldsodefs.h: Likewise.
72445         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72446         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72447         configure files.
72449         [BZ #13552]
72450         * configure.in: Remove --enable-omitfp support.
72451         * FAQ.in: Adjust.
72452         * config.make.in: Likewise.
72453         * Makeconfig: Likewise.
72454         * manual/install.texi: Likewise.
72456         In case anyone cares, the IA-64 architecture could move to ports.
72457         * sysdeps/ia64/*: Removed.
72458         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72459         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72461         [BZ #13555]
72462         * configure.in: Remove entries for unsupported architectures.
72464         [BZ #13533]
72465         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72466         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72467         routines.
72468         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72469         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72470         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72471         fall back to using wcrtomb.
72472         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72473         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72474         renaming.
72475         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72476         * wcsmbs/tst-c16c32-1.c: New file.
72478         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72479         local variable.
72481         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72483         * elf/tst-unique3.cc: Add explicit declaration of gets.
72484         * elf/tst-unique3lib.cc: Likewise.
72485         * elf/tst-unique3lib2.cc: Likewise.
72486         * elf/tst-unique4.cc: Likewise.
72488         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72490 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72492         [BZ #13566]
72493         * assert/assert.h (static_assert): Don't define for C++.
72494         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72495         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72497 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72499         * iconv/loop.c (single loop): Fix assertion in storing of
72500         remaining bytes.
72502         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72504 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72506         * posix/getconf.c: Update copyright year.
72507         * nss/getent.c: Likewise.
72508         * nss/makedb.c: Likewise.
72509         * iconv/iconvconfig.c: Likewise.
72510         * iconv/iconv_prog.c: Likewise.
72511         * elf/ldconfig.c: Likewise.
72512         * elf/pldd.c: Likewise.
72513         * elf/sotruss.ksh: Likewise.
72514         * catgets/gencat.c: Likewise.
72515         * csu/version.c: Likewise.
72516         * elf/ldd.bash.in: Likewise.
72517         * elf/sprof.c (print_version): Likewise.
72518         * locale/programs/locale.c: Likewise.
72519         * locale/programs/localedef.c: Likewise.
72520         * login/programs/pt_chown.c: Likewise.
72521         * nscd/nscd.c (print_version): Likewise.
72522         * debug/xtrace.sh: Likewise.
72523         * malloc/memusage.sh: Likewise.
72524         * malloc/mtrace.pl: Likewise.
72525         * debug/catchsegv.sh: Likewise.
72527 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72529         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72530         pure attribute.
72532 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72534         [BZ #13533]
72535         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72536         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72537         transformations.
72538         * iconv/gconv_int.h: Likewise.
72539         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72540         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72541         from libc for GLIBC_2.16.
72542         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72543         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72544         * wcsmbs/uchar.h: Really define mbstate_t.
72545         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72546         * wcsmbs/c16rtomb.c: New file.
72547         * wcsmbs/mbrtoc16.c: New file.
72548         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72549         for C/POSIX locale.
72550         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72551         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72553         * wcsmbs/wchar.h: Add missing __restrict.
72555 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72557         [BZ #13532]
72558         * time/Makefile (routines): Add timespec_get.
72559         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72560         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72561         timespec for ISO C11.
72562         * time/timespec_get.c: New file.
72563         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72564         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72566         [BZ #13531]
72567         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72568         * stdlib/stdlib.h: Declare aligned_alloc.
72569         * Versions.def: Add GLIBC_2.16 for libc.
72570         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72572         [BZ 13527]
72573         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72574         ISO C11.
72576         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72577         code.
72579         [BZ #13528]
72580         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72582         [BZ #13529]
72583         * assert/assert.h (static_assert): Define.
72585         * version.h: Update for 2.16 development version.
72587         [BZ #13526]
72588         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72589         _ISOC11_SOURCE.
72591         * version.h (RELEASE): Bump for 2.15 release.
72592         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72594         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72595         Patch by Marek Polacek <mpolacek@redhat.com>.
72597         * bits/byteswap.h: Protect long long constants with __extension__.
72598         * sysdeps/i386/bits/byteswap.h: Likewise.
72599         * sysdeps/ia64/bits/byteswap.h: Likewise.
72600         * sysdeps/s390/bits/byteswap.h: Likewise.
72601         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72603 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72605         [BZ #13540]
72606         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72607         destination buffer.
72608         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72610 2011-12-23  Marek Polacek  <polacek@redhat.com>
72612         * elf/dl-addr.c (determine_info): Add inline keyword.
72613         * elf/tst-auditmod4b.c (check_avx): Likewise.
72614         * elf/tst-auditmod6b.c (check_avx): Likewise.
72615         * elf/tst-auditmod6c.c (check_avx): Likewise.
72616         * elf/tst-auditmod7b.c (check_avx): Likewise.
72618 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72620         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72621         !__SSE_MATH__.
72623 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72625         [BZ #13540]
72626         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72627         processing for last bytes.
72629 2011-08-06  Bruno Haible  <bruno@clisp.org>
72631         [BZ #13061]
72632         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72633         U+0385, not to U+1FEE.
72635         [BZ #13062]
72636         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72637         entry for U+00A5 U+0301.
72639 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72641         [BZ #13166]
72642         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72643         buffer for the output is too small.
72645         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72646         optimization.
72648         [BZ #13185]
72649         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72650         SSE flags if possible.
72652 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72654         [BZ #13540]
72655         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72656         processing for last bytes.
72658 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72660         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72661         (syscall-list-default-options, syscall-list-default-condition)
72662         (syscall-list-includes): Define.
72663         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72664         list of ABIs and options and #if conditions for each ABI.  Do not
72665         handle common syscalls between ABIs specially.
72666         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72667         Remove.
72668         (syscall-list-variants, syscall-list-32bit-options)
72669         (syscall-list-32bit-condition, syscall-list-64bit-options)
72670         (syscall-list-64bit-condition): Define.
72671         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72672         (syscall-list-variants, syscall-list-32bit-options)
72673         (syscall-list-32bit-condition, syscall-list-64bit-options)
72674         (syscall-list-64bit-condition): Define.
72675         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72676         Remove.
72677         (syscall-list-variants, syscall-list-32bit-options)
72678         (syscall-list-32bit-condition, syscall-list-64bit-options)
72679         (syscall-list-64bit-condition): Define.
72680         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72681         Remove.
72682         (syscall-list-variants, syscall-list-32bit-options)
72683         (syscall-list-32bit-condition, syscall-list-64bit-options)
72684         (syscall-list-64bit-condition): Define.
72686 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72688         * locale/iso-639.def: Add brx entry.
72690         [BZ #13328]
72691         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72692         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72694         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72695         __feraiseexcept_renamed.
72697 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72699         [BZ #13538]
72700         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72701         EPOLLET with unsigned values.
72702         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72703         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72705         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72706         to large cancellation.
72707         * math/s_cacoshf.c: Likewise.
72708         * math/s_cacoshl.c: Likewise.
72710 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72712         [BZ #13305]
72713         [BZ #12786]
72714         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72715         * math/s_cacoshf.c: Likewise.
72716         * math/s_cacoshl.c: Likewise.
72718 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72720         [BZ #13439]
72721         * iconv/gconv.h: Define __GCONV_SWAP.
72722         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72723         * iconvdata/utf-16.c: Likewise.
72724         * iconvdata/utf-32.c: Likewise.
72726 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72728         [BZ #13524]
72729         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72730         numerator after shifting it by one limb.
72732 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72734         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72735         under [__USE_EXTERN_INLINES].
72737 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72739         [BZ #13446]
72740         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72742 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72744         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72745         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72746         optimized code.
72747         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72748         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72749         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72750         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72751         for strncasecmp/strncasecmp_l compilation.
72752         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72753         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72755 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72757         [BZ #13484]
72758         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72759         of __asm__.
72761 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72763         [BZ #13506]
72764         * time/tzfile.c (__tzfile_read): Check values from file header.
72766 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72768         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72769         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72770         * powerpc/powerpc32/dl-start.S: Likewise.
72771         * powerpc/powerpc32/elf/start.S: Likewise.
72772         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72773         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72774         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72775         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72776         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72777         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72778         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72779         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72780         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72781         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72782         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72783         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72784         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72785         * powerpc/powerpc32/memset.S: Likewise.
72786         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72787         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72788         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72789         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72790         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72791         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72792         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72793         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72794         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72795         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72796         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72797         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72798         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72800 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72802         * math/libm-test.inc: Added more nearbyint tests.
72803         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72804         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72805         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72808 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72810         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72811         FD_CLOEXEC.
72813 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72815         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72816         Add wcscpy-ssse3 wcscpy-c.
72817         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72818         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72819         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72820         * sysdeps/x86_64/wcschr.S: New file.
72821         * sysdeps/x86_64/wcsrchr.S: New file.
72822         * string/test-strcmp.c: Remove checking of wcscmp function for
72823         wrong alignments.
72824         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72825         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72826         wcsrchr-sse2 wcsrchr-c.
72827         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72828         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72829         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72830         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72831         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72832         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72833         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72834         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72835         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72836         * wcsmbc/wcschr.c (WCSCHR): New macro.
72838 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72840         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72841         * wcsmbs/test-wcsrchr.c: New file.
72842         * string/test-strrchr.c: Add wcsrchr support.
72843         (WIDE): New macro.
72844         * wcsmbs/test-wcscpy.c: New file.
72845         * string/test-strcpy.c: Add wcscpy support.
72846         (WIDE): New macro.
72848 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72850         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72851         the inner loop.
72853 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72855         [BZ #13472]
72856         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72858 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72860         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72861         Minor optimizations.
72863         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72864         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72865         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72867 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72869         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72870         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72871         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72872         for gcc to avoid warnings.
72873         * inet/Makefile (tests): Add tst-checks.
72874         * inet/tst-checks.c: New file.
72876         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72877         warning.
72879         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72880         __wmemcmp_sse2.
72882         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72883         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72885         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72887 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72889         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72890         problem.
72892         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72894 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72896         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72897         conditional on GCC version.
72898         (__arch_compare_and_exchange_val_8_acq)
72899         (__arch_compare_and_exchange_val_16_acq)
72900         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72901         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72902         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72904 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72906         * sysdeps/sh/backtrace.c: New file.
72908 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72910         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72911         parenthesis.
72913 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72915         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72916         falling back to utime.
72918 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72920         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72921         expectations for float.
72923 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72925         * locale/weight.h (findidx): Add parameter len.
72926         * locale/weightwc.h (findidx): Likewise.
72927         * posix/fnmatch_loop.c (FCT): Adjust caller.
72928         * posix/regcomp.c (build_equiv_class): Likewise.
72929         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72930         * posix/regexec.c (check_node_accept_bytes): Likewise.
72931         * string/strcoll_l.c (STRCOLL): Likewise.
72932         * string/strxfrm_l.c (STRXFRM): Likewise.
72934 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72936         * Makefile.in: Remove CVSOPT handling.
72937         * configure.in: Remove use of AC_REVISION.
72938         * iconvdata/Makefile (distribute): No need to filter out CVS.
72939         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72940         handling.
72942 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72944         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72945         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72946         [USE_AS_STRNCASECMP_L]: Likewise.
72947         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72948         NO_TLS_DIRECT_SEG_REFS.
72949         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72950         Fix argument offsets for non-PIC.
72951         [USE_AS_STRNCASECMP_L]: Likewise.
72952         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72953         NO_TLS_DIRECT_SEG_REFS.
72955 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72957         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72958         O_CLOEXEC.
72959         * locale/loadlocale.c (_nl_load_locale): Likewise.
72961 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72963         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72964         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72965         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72966         (SYSCALL_GETTIME): Set errno on error.
72968         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72969         count references to noai6ai_cached.
72971 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72973         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72975         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72976         FD_CLOEXEC for /proc/self/maps.
72978         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72979         FD_CLOEXEC for /proc/meminfo.
72981         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72982         gai.conf.
72984         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72985         FD_CLOEXEC for given file.
72987         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72989         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72990         FD_CLOEXEC for /etc/hosts.
72991         (_gethtent): Likewise.
72993         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72995         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72996         cancellation and set FD_CLOEXEC for /etc/netgroup.
72998         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72999         reading /etc/publickey.
73001         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73002         allow cancellation when reading /etc/group.
73004         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73005         cancellation.
73006         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73008         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73009         when using data file.
73011         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73013         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73014         (write_nis_obj): Use "c" and "e" in fopen.
73016         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73018         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73020         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73022         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73024         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73025         locale.alias.
73027         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73029         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73031         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73033         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73034         file parsing and set FD_CLOEXEC.
73036 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73038         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73040 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73042         * malloc/arena.c (arena_get2): Don't call reused_arena when
73043         _int_new_arena failed.
73045 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73047         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73048         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73049         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73050         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73051         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73052         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73053         to compile strcasecmp and strncasecmp.
73054         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73055         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73059 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73061         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73062         locale-defines.sym to gen-as-const-headers.
73063         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73064         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73065         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73066         to compile strcasecmp and strncasecmp.
73067         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73068         strcasecmp_l and strncasecmp_l.
73069         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73070         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73071         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73072         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73073         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73074         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73075         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73076         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73077         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73078         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73079         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73081 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73083         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73084         result of SYSDEP_GETTIME_CPU to retval.
73085         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73086         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73088         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73089         variable.
73091         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73092         mantissa words.
73093         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73095         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73096         from unused variable.
73098         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73099         DWARF definitions.
73100         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73101         for assembling.
73103         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73104         over namespaces.
73106         * sunrpc/rpc_prot.c (rejected): Fix case value.
73108         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73109         unsigned long long int to avoid warnings in shift.
73111         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73112         of use of trans.
73113         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73114         variable tmp.
73116         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73117         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73118         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73120         * nis/nis_table.c (nis_list): Use variable of correct type for
73121         result of __follow_path call.
73123 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73125         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73126         of math functions ceil, trunc, floor, round, and sqrt, when
73127         avaliable on the platform.
73128         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73129         name clash.
73130         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73131         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73132         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73134 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73136         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73137         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73139 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73141         * include/unistd.h: Fix __readlink return type.
73142         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73144 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73146         * stdlib/ucontext.h: Undo last change for makecontext.
73148 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73150         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73152         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73153         * setjmp/setjmp.h: Mark functions as non-leaf.
73154         * setjmp/bits/setjmp2.h: Likewise.
73155         * stdlib/ucontext.h: Likewise.
73157 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73159         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73160         (reused_arena): Don't check arena limit.
73161         (arena_get2): Atomically check arena limit.
73163 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73165         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73166         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73168         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73169         instructions.
73171 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73173         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73174         handler when locking.
73176         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73177         Fix size of allocated buffer.
73179 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73181         [BZ #10103]
73182         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73183         declarations for long double functions.
73184         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73186         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73188 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73190         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73191         installed.
73193         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73194         is disabled.
73196 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73198         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73200 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73202         * include/alloca.h (stackinfo_alloca_round): Define.
73203         (extend_alloca): Use it.
73204         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73205         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73206         here.
73208         * scripts/check-local-headers.sh: Ignore libaudit.h.
73210         * nscd/Makefile (extra-objs): Make recursively expanded.
73212 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73214         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73215         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73217         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73218         * posix/tst-rfc3484-2.c: Likewise.
73219         * posix/tst-rfc3484-3.c: Likewise.
73221         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73222         process_vm_writev.
73223         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73224         process_vm_writev.
73225         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73226         process_vm_writev from libc using GLIBC_2.15 version.
73228         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73230 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73232         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73233         stack usage.
73235 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73237         [BZ #13367]
73238         * nss/getent.c (initgroups_keys): Show error message in case no group
73239         names are given.
73241         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73242         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73243         __bump_nl_timestamp.
73244         * nscd/connections (nscd_init): When host database is served open
73245         netlink socket and request notification about configuration changes.
73246         (main_loop_poll): Track netlink file descriptor and bump timestamp
73247         in case data becomes available.
73248         (main_loop_epoll): Likewise.
73249         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73250         (database_pers_head): Add extra_data fileds.
73251         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73252         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73253         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73254         Adjust caller.
73255         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73256         in6ai data, call __free_in6ai.
73257         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73258         Add -DHAVE_NETLINK.
73259         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73260         interface information.  Reuse previous data if netlink timestamp
73261         is not changed.
73262         (__bump_nl_timestamp): New function.
73263         (__free_in6ai): New function.
73265 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73267         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73268         close_not_cancel_no_status here.
73269         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73271 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73273         [BZ #13276]
73274         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73275         return value.
73277         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73278         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73279         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73281 2011-07-03  Andreas Jaeger  <aj@suse.de>
73283         [BZ #10709]
73284         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73285         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73286         * math/libm-test.inc (sin_test): Add test case.
73288 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73290         [BZ #13337]
73291         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73292         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73294         * elf/chroot_canon.c (chroot_canon): Cleanups.
73296         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73298         [BZ #13335]
73299         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73300         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73302         * string/test-strchr.c: Make usable for strchrnul testing.
73303         * string/test-strchrnul.c: New file.
73304         * string/Makefile (strop-tests): Add strchrnul.
73306         * po/it.po: Update from translation team.
73307         * po/es.po: Likewise.
73309 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73311         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73312         the three constants needed as parameters.  Drop the others.
73313         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73314         __m128i_strloadu_tolower.
73315         Create and initialize variable zero and use it in all the places
73316         where _mm_setzero_si128 was used.
73318         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73319         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73320         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73321         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73322         anymore.
73323         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73324         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73325         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73326         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73327         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73328         __mpranred, __mptan.
73329         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73330         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73331         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73332         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73333         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73334         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73335         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73336         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73337         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73339 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73341         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73342         redefine if SHARED.
73343         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73345         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73346         wide char related routines to wcsmbs subdir.
73348 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73350         [BZ #13344]
73351         * misc/sys/cdefs.h (__THROWNL): Define.
73352         * posix/unistd.h: Use __THREADNL instead of __THREAD
73353         for memory synchronization functions.
73355 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73357         [BZ #13349]
73358         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73359         doesn't exist.
73360         * manual/stdio.texi (Obstack Streams): Node removed.
73362 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73364         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73365         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73366         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73368         * math/math_private.h (math_force_eval): Allow non-addressable
73369         arguments.
73370         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73372 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73374         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73375         file is not needed.
73377         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73378         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73379         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73380         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73381         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73382         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73383         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73384         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73385         Add AVX variants.
73386         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73387         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73388         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73389         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73390         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73391         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73392         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73393         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73394         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73395         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73396         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73397         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73398         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73399         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73400         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73401         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73402         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73403         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73404         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73406         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73407         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73409         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73410         place.  Use VEX encoding when compiling for AVX.
73412 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73414         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73415         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73417         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73419 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73421         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73422         useless if() expression.
73423         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73424         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73425         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73426         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73427         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73428         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73429         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73430         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73431         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73432         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73433         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73434         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73435         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73436         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73437         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73438         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73439         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73440         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73441         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73443         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73445 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73447         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73448         condition.
73449         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73451 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73453         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73454         .text section.  Avoid duplicate constants.
73455         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73456         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73457         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73458         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73459         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73460         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73461         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73462         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73463         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73464         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73465         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73466         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73467         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73468         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73469         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73470         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73471         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73472         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73473         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73474         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73475         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73476         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73477         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73478         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73479         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73480         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73481         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73482         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73483         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73484         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73485         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73486         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73487         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73488         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73489         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73490         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73491         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73492         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73493         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73494         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73495         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73496         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73497         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73498         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73499         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73501 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73503         * sysdeps/x86_64/dla.h: Move to ...
73504         * sysdeps/x86_64/fpu/dla.h: ...here.
73505         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73506         situations.  Use __builtin_fma only for gcc 4.6 and up.
73508         * config.make.in: Add have-mfma4 entry.
73509         * configure.in: Substitute libc_cv_cc_fma4.
73510         * math/Makefile (dbl-only-routines): Add sincostab.
73511         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73512         Use __sincostab not sincos.
73513         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73514         name is a macro.
73515         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73516         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73517         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73518         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73519         using __copysign.
73520         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73521         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73522         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73523         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73524         and __inv.
73525         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73526         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73527         __copysign.
73528         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73529         define aliases when function name is a macro.
73530         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73531         sysdeps/ieee754/dbl-64/sincos.tbl.
73532         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73533         fma4-enabled routines.
73534         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73535         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73536         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73537         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73538         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73539         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73540         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73541         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73542         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73543         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73544         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73545         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73546         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73547         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73548         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73549         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73550         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73551         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73552         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73553         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73554         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73555         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73556         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73557         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73558         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73559         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73560         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73561         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73562         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73563         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73565         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73566         rename.
73567         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73568         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73569         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73576 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73578         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73580 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73582         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73584         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73585         prediction.
73586         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73588         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73589         Remove unused variable magic_bits.
73590         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73592         * string/strnlen.c: Define and use STRNLEN macro.
73593         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73594         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73595         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73596         * wcsmbs/wcslen.c: Define and use WCSLEN.
73597         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73598         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73599         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73600         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73601         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73602         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73603         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73605 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73608         strnlen-sse2-no-bsf.
73609         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73610         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73611         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73612         Add strnlen support.
73613         (USE_AS_STRNLEN): New macro.
73614         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73615         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73616         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73617         * sysdeps/x86_64/wcslen.S: New file.
73619 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73621         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73622         XMM-moves are used for copying on small sizes.
73624 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73626         * wcsmbs/Makefile (strop-tests): Add wcschr.
73627         * wcsmbs/test-wcschr.c: New file.
73628         * string/test-strchr.c: Update.
73629         Add wcschr support.
73630         (WIDE): New macro.
73632 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73634         * wcsmbs/Makefile (strop-tests): Add wcslen.
73635         * wcsmbs/test-wcslen.c: New file.
73636         * string/test-strlen.c: Update.
73637         Add wcslen support.
73638         (WIDE): New macro.
73640 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73642         * po/it.po: Update from translation team.
73644 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73646         * sysdeps/x86_64/wcscmp.S: Update.
73647         Fix wrong comparison semantics.
73648         wcscmp shall use signed comparison not unsigned.
73649         Don't use substraction to avoid overflow bug.
73650         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73651         * wcsmbc/wcscmp.c: Likewise.
73652         * string/test-strcmp.c: Likewise.
73653         Add new tests to check cases with negative values.
73655 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73657         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73658         * sysdeps/x86_64/dla.h: ...here.  New file.
73659         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73661         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73662         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73664         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73665         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73666         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73667         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73669 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73671         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73672         __ynl_finite aliases.
73674 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73678         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73679         define DLA_FMA.
73680         [DLA_FMA] (EMULV): Use DLA_FMA.
73681         [DLA_FMA] (MUL12): Use EMULV.
73682         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73683         that are not needed.
73684         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73685         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73686         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73687         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73688         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73689         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73690         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73692 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73694         * math/s_nan.c: Undef __nan.
73695         * math/s_nanf.c: Undef __nanf.
73696         * math/s_nanl.c: Undef __nanl.
73697         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73698         "math_private.h".
73700 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73702         * math/s_catan.c: Add branch predictions.
73703         * math/s_catanf.c: Likewise.
73704         * math/s_catanh.c: Likewise.
73705         * math/s_catanhf.c: Likewise.
73706         * math/s_catanhl.c: Likewise.
73707         * math/s_catanl.c: Likewise.
73708         * math/s_cexp.c: Likewise.
73709         * math/s_cexpf.c: Likewise.
73710         * math/s_cexpl.c: Likewise.
73711         * math/s_clog.c: Likewise.
73712         * math/s_clog10.c: Likewise.
73713         * math/s_clog10f.c: Likewise.
73714         * math/s_clog10l.c: Likewise.
73715         * math/s_clogf.c: Likewise.
73716         * math/s_clogl.c: Likewise.
73717         * math/s_csqrt.c: Likewise.
73718         * math/s_csqrtf.c: Likewise.
73719         * math/s_csqrtl.c: Likewise.
73720         * math/s_ctanf.c: Likewise.
73721         * math/s_ctanh.c: Likewise.
73722         * math/s_ctanhf.c: Likewise.
73723         * math/s_ctanhl.c: Likewise.
73724         * math/s_ctanl.c: Likewise.
73726         * math/math_private.h: Define __nan, __nanf, __nanl.
73727         * math/s_cacosh.c: Include <math_private.h>.
73728         * math/s_cacoshl.c: Likewise.
73729         * math/s_casinh.c: Likewise.
73730         * math/s_casinhf.c: Likewise.
73731         * math/s_casinhl.c: Likewise.
73732         * math/s_ccos.c: Rely entire on ccosh.
73733         * math/s_ccosf.c: Rely entire on ccoshf.
73734         * math/s_ccosl.c: Rely entirely on ccoshl.
73735         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73736         Remove tests for FE_INVALID.
73737         * math/s_ccoshf.c: Likewise.
73738         * math/s_ccoshl.c: Likewise.
73739         * math/s_csin.c: Likewise.
73740         * math/s_csinf.c: Likewise.
73741         * math/s_csinh.c Likewise.
73742         * math/s_csinhf.c: Likewise.
73743         * math/s_csinhl.c: Likewise.
73744         * math/s_csinl.c: Likewise.
73745         * math/s_ctan.c: Likewise.
73746         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73747         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73748         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73750 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73753         compilation problems.
73755         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73756         __builtin_expect.
73758 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73760         * sysdeps/i386/configure.in: Test for -mfma4 option.
73761         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73762         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73763         COMMON_CPUID_INDEX_80000001.
73764         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73765         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73766         use it if FMA3 is not supported.
73767         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73769         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73770         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73772 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73774         [BZ #12892]
73775         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73776         it would create a cycle with a link time dependency.
73778 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73780         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73781         instruction.
73782         * string/Makefile (strop-tests): Add rawmemchr.
73783         * string/test-rawmemchr.c: New file.
73785         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73786         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73787         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73788         when compiling str{,n}casecmp and when AVX is available.  Hook up
73789         new optimized code in initializers.
73791 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73793         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73794         __feraiseexcept instead of feraiseexcept.
73796 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73798         * math/math_private.h: Define defaults for libc_fetestexcept and
73799         libc_feupdateenv.
73800         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73801         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73802         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73803         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73804         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73805         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73806         libc_fetestexcept and libc_feupdateenv.
73808         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73809         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73810         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73811         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73812         libc_feholdexcept_setround.
73814         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73815         Add s_nearbyint-c and s_nearbyintf-c.
73816         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73817         nearbyintf inlines.
73818         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73819         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73820         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73821         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73823         * math/math_private.h: Define defaults for libc_fegetround,
73824         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73825         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73826         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73827         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73828         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73829         standard functions.
73830         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73831         Remove comments and hacks for old compiler versions.
73832         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73833         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73834         libc_feholdexceptl.
73836 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73838         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73839         (__feraiseexcept_renamed): Add __NTH.
73840         (feraiseexcept): Add __NTH.  Rename local variables to fix
73841         namespace violations.
73843 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73845         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73847         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73849         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73850         recently added interfaces.
73851         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73853         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73854         about macro parameter expansion.
73856         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73857         __NO_MATH_INLINES is defined.  Cleanups.
73859         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73860         and __floorf is target has SSE4.1.
73861         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73862         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73863         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73864         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73866         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73867         name.
73868         (floorf): Likewise.
73870         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73872 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73874         * misc/sys/cdefs.h: Fix last change.
73876         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73877         database lookup.
73879 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73881         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73883         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73884         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73885         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73886         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73887         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73888         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73889         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73890         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73891         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73892         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73893         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73894         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73895         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73896         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73897         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73898         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73899         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73900         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73901         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73902         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73903         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73904         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73906         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73907         ceil, ceilf, floor, floorf.
73909         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73910         Perform IRELATIVE relocations last.
73912         * elf/do-rel.h: Add another parameter nrelative, replacing the
73913         local variable with the same name.  Change name of the function
73914         to end in Rel or Rela (uppercase).
73915         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73916         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73917         elf_dynamic_do_##reloc function.
73919 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73921         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73922         is sufficient, at least on modern CPUs.
73924         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73926         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73927         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73929         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73930         __expl_finite.
73931         * math/bits/math-finite.h: Add entries for exp.
73932         * math/e_expl.c: Add __*_finite alias.
73933         * sysdeps/i386/fpu/e_exp.S: Likewise.
73934         * sysdeps/i386/fpu/e_expf.S: Likewise.
73935         * sysdeps/i386/fpu/e_expl.c: Likewise.
73936         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73937         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73938         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73939         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73940         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73941         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73942         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73944         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73945         is sufficient, at least on modern CPUs.
73947         * ctype/ctype-info.c (__ctype_init): Define.
73948         * include/ctype.h (__ctype_init): Declare.
73949         (__ctype_b_loc): The variable is always initialized.
73950         (__ctype_toupper_loc): Likewise.
73951         (__ctype_tolower_loc): Likewise.
73952         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73953         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73955 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73957         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73959         * configure.in: Also look in $cxxmachine/include for C++ system
73960         headers.
73962 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73964         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73965         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73966         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73967         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73968         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73969         (USE_AS_WMEMCMP): New macro.
73970         Fixing indents.
73971         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73972         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73973         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73974         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73976         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73977         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73978         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73979         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73980         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73981         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73982         (USE_AS_WMEMCMP): New macro.
73983         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73984         * sysdeps/string/test-memcmp.c: Update.
73985         Fix simple_wmemcmp.
73986         Add new tests.
73987         * wcsmbs/wmemcmp.c: Update.
73988         (WMEMCMP): New macro.
73989         Fix overflow bug.
73991 2011-10-12  Andreas Jaeger  <aj@suse.de>
73993         [BZ #13268]
73994         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73996 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73998         * libio/iofwide.c (do_length): Avoid warning.
74000         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74002 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74004         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74006         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74007         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74008         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74009         * sysdeps/i386/i686/fpu/e_log.S: New file.
74010         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74011         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74013         * ctype/ctype.h: Add support for inlined isXXX functions when
74014         compiling C++ code.
74016 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74018         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74020         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74022 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74024         [BZ #13291]
74025         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74027 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74029         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74030         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74031         feraiseexcept.
74033         * sysdeps/x86_64/memrchr.S: Check for zero size.
74035         * string/stratcliff.c: Add memrchr tests.
74037 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74039         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74040         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74041         rawmemchr-sse2 rawmemchr-sse2-bsf.
74042         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74043         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74044         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74045         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74046         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74047         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74048         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74049         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74050         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74051         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74052         * string/memrchr.c (MEMRCHR): New macro.
74054 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74056         Add integration with gcc's -ffinite-math-only and optimize wrapper
74057         functions in libm.
74058         * Versions.def: Define GLIBC_2.15 version for libm.
74059         * math/Makefile (headers): Add bits/math-finite.h.
74060         * math/bits/math-finite.h: New file.
74061         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74062         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74063         * math/e_acoshl.c: Add __*_finite alias.
74064         * math/e_acosl.c: Likewise.
74065         * math/e_asinl.c: Likewise.
74066         * math/e_atan2l.c: Likewise.
74067         * math/e_atanhl.c: Likewise.
74068         * math/e_coshl.c: Likewise.
74069         * math/e_exp10.c: Likewise.
74070         * math/e_exp10f.c: Likewise.
74071         * math/e_exp10l.c: Likewise.
74072         * math/e_exp2l.c: Likewise.
74073         * math/e_fmodl.c: Likewise.
74074         * math/e_gammal_r.c: Likewise.
74075         * math/e_hypotl.c: Likewise.
74076         * math/e_j0l.c: Likewise.
74077         * math/e_j1l.c: Likewise.
74078         * math/e_jnl.c: Likewise.
74079         * math/e_lgammal_r.c: Likewise.
74080         * math/e_log10l.c: Likewise.
74081         * math/e_log2l.c: Likewise.
74082         * math/e_logl.c: Likewise.
74083         * math/e_powl.c: Likewise.
74084         * math/e_sinhl.c: Likewise.
74085         * math/e_sqrtl.c: Likewise.
74086         * math/e_scalb.c: Completely rewritten and optimized.
74087         * math/e_scalbf.c: Likewise.
74088         * math/e_scalbl.c: Likewise.
74089         * math/w_acos.c: Likewise.
74090         * math/w_acosf.c: Likewise.
74091         * math/w_acosl.c: Likewise.
74092         * math/w_acosh.c: Likewise.
74093         * math/w_acoshf.c: Likewise.
74094         * math/w_acoshl.c: Likewise.
74095         * math/w_asin.c: Likewise.
74096         * math/w_asinf.c: Likewise.
74097         * math/w_asinl.c: Likewise.
74098         * math/w_atan2.c: Likewise.
74099         * math/w_atan2f.c: Likewise.
74100         * math/w_atan2l.c: Likewise.
74101         * math/w_atanh.c: Likewise.
74102         * math/w_atanhf.c: Likewise.
74103         * math/w_atanhl.c: Likewise.
74104         * math/w_exp10.c: Likewise.
74105         * math/w_exp10f.c: Likewise.
74106         * math/w_exp10l.c: Likewise.
74107         * math/w_fmod.c: Likewise.
74108         * math/w_fmodf.c: Likewise.
74109         * math/w_fmodl.c: Likewise.
74110         * math/w_j0.c: Likewise.
74111         * math/w_j0f.c: Likewise.
74112         * math/w_j0l.c: Likewise.
74113         * math/w_j1.c: Likewise.
74114         * math/w_j1f.c: Likewise.
74115         * math/w_j1l.c: Likewise.
74116         * math/w_jn.c: Likewise.
74117         * math/w_jnf.c: Likewise.
74118         * math/w_log.c: Likewise.
74119         * math/w_logf.c: Likewise.
74120         * math/w_logl.c: Likewise.
74121         * math/w_log10.c: Likewise.
74122         * math/w_log10f.c: Likewise.
74123         * math/w_log10l.c: Likewise.
74124         * math/w_log2.c: Likewise.
74125         * math/w_log2f.c: Likewise.
74126         * math/w_log2l.c: Likewise.
74127         * math/w_pow.c: Likewise.
74128         * math/w_powf.c: Likewise.
74129         * math/w_powl.c: Likewise.
74130         * math/w_remainder.c: Likewise.
74131         * math/w_remainderf.c: Likewise.
74132         * math/w_remainderl.c: Likewise.
74133         * math/w_scalb.c: Likewise.
74134         * math/w_scalbf.c: Likewise.
74135         * math/w_scalbl.c: Likewise.
74136         * math/w_sqrt.c: Likewise.
74137         * math/w_sqrtf.c: Likewise.
74138         * math/w_sqrtl.c: Likewise.
74139         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74140         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74141         used.
74142         * math/math_private.h: Declare __kernel_standard_f.
74143         * math/w_cosh.c: Remove cruft and optimize a bit.
74144         * math/w_coshf.c: Likewise.
74145         * math/w_coshl.c: Likewise.
74146         * math/w_exp2.c: Likewise.
74147         * math/w_exp2f.c: Likewise.
74148         * math/w_exp2l.c: Likewise.
74149         * math/w_hypot.c: Likewise.
74150         * math/w_hypotf.c: Likewise.
74151         * math/w_hypotl.c: Likewise.
74152         * math/w_lgamma.c: Likewise.
74153         * math/w_lgamma_r.c: Likewise.
74154         * math/w_lgammaf.c: Likewise.
74155         * math/w_lgammaf_r.c: Likewise.
74156         * math/w_lgammal.c: Likewise.
74157         * math/w_lgammal_r.c: Likewise.
74158         * math/w_sinh.c: Likewise.
74159         * math/w_sinhf.c: Likewise.
74160         * math/w_sinhl.c: Likewise.
74161         * math/w_tgamma.c: Likewise.
74162         * math/w_tgammaf.c: Likewise.
74163         * math/w_tgammal.c: Likewise.
74164         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74165         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74166         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74167         Minor optimizations.  Pretty printing.  Remove cruft.
74168         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74169         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74170         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74171         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74172         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74173         * sysdeps/i386/fpu/e_asin.S: Likewise.
74174         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74175         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74176         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74177         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74178         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74179         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74180         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74181         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74182         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74183         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74184         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74185         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74186         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74187         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74188         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74189         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74190         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74191         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74192         * sysdeps/i386/fpu/e_log.S: Likewise.
74193         * sysdeps/i386/fpu/e_log10.S: Likewise.
74194         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74195         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74196         * sysdeps/i386/fpu/e_log2.S: Likewise.
74197         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74198         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74199         * sysdeps/i386/fpu/e_logf.S: Likewise.
74200         * sysdeps/i386/fpu/e_logl.S: Likewise.
74201         * sysdeps/i386/fpu/e_pow.S: Likewise.
74202         * sysdeps/i386/fpu/e_powf.S: Likewise.
74203         * sysdeps/i386/fpu/e_powl.S: Likewise.
74204         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74205         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74206         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74207         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74208         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74209         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74210         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74211         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74212         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74213         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74214         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74216         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74217         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74218         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74219         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74220         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74221         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74222         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74223         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74224         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74226         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74227         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74228         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74229         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74230         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74231         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74232         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74233         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74234         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74235         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74236         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74237         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74238         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74239         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74240         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74241         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74242         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74243         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74244         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74245         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74246         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74247         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74248         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74249         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74250         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74251         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74252         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74253         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74254         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74255         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74256         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74257         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74258         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74259         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74260         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74261         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74262         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74263         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74264         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74265         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74266         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74268         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74269         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74270         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74271         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74272         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74273         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74274         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74275         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74276         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74277         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74278         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74279         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74280         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74281         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74282         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74283         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74284         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74285         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74286         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74287         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74289         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74290         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74291         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74292         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74293         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74294         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74295         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74296         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74297         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74298         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74299         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74300         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74301         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74302         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74303         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74304         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74305         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74306         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74307         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74308         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74309         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74310         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74311         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74312         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74313         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74314         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74315         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74316         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74317         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74318         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74319         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74320         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74321         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74322         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74323         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74324         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74325         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74326         (__isnanf): Likewise.
74327         (__isinf_ns): Likewise.
74328         (__isinf_nsf): Likewise.
74329         (__finite): Likewise.
74330         (__finitef): Likewise.
74331         (__ieee754_sqrt): Define as macro.
74332         (__ieee754_sqrtf): Define as macro.
74333         (__ieee754_sqrtl): Define as macro.
74334         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74335         inlined copy.
74336         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74337         __FINITE_MATH_ONLY__ consistent.
74338         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74340 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74342         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74343         of rawmemchr.
74345         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74347 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74349         * po/ja.po: Update from translation team.
74351 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74353         * locale/programs/locarchive.c (prepare_address_space): New function.
74354         (create_archive, enlarge_archive, open_archive): Use it.
74356         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74357         inside [SHARED], where it is used.
74359         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74361         * nss/getent.c (netgroup_keys): Remove unused variable.
74362         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74364 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74366         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74367         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74368         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74369         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74370         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74371         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74372         * math/Makefile (libm-calls): Add s_isinf_ns.
74373         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74374         * math/multc3.c: Likewise.
74375         * math/s_casin.c: Likewise.
74376         * math/s_casinf.c: Likewise.
74377         * math/s_casinl.c: Likewise.
74378         * math/s_ccos.c: Likewise.
74379         * math/s_ccosf.c: Likewise.
74380         * math/s_ccosl.c: Likewise.
74381         * math/s_ctan.c: Likewise.
74382         * math/s_ctanf.c: Likewise.
74383         * math/s_ctanh.c: Likewise.
74384         * math/s_ctanhf.c: Likewise.
74385         * math/s_ctanhl.c: Likewise.
74386         * math/s_ctanl.c: Likewise.
74387         * math/w_fmod.c: Likewise.
74388         * math/w_fmodf.c: Likewise.
74389         * math/w_fmodl.c: Likewise.
74390         * math/w_remainder.c: Likewise.
74391         * math/w_remainderf.c: Likewise.
74392         * math/w_remainderl.c: Likewise.
74393         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74394         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74395         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74396         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74397         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74398         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74399         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74400         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74402         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74403         of the number.
74404         * stdio-common/printf_fphex.c: Likewise.
74405         * stdio-common/printf_size.c: Likewise.
74407         * math/e_exp10.c: Include math_private.h using <...> not "...".
74408         * math/e_exp10f.c: Likewise.
74409         * math/e_exp10l.c: Likewise.
74410         * math/e_exp2l.c: Likewise.
74411         * math/e_j0l.c: Likewise.
74412         * math/e_j1l.c: Likewise.
74413         * math/e_jnl.c: Likewise.
74414         * math/e_lgammal_r.c: Likewise.
74415         * math/e_rem_pio2l.c: Likewise.
74416         * math/e_scalb.c: Likewise.
74417         * math/e_scalbf.c: Likewise.
74418         * math/e_scalbl.c: Likewise.
74419         * math/k_cosl.c: Likewise.
74420         * math/k_sinl.c: Likewise.
74421         * math/k_tanl.c: Likewise.
74422         * math/s_cacoshf.c: Likewise.
74423         * math/s_catan.c: Likewise.
74424         * math/s_catanf.c: Likewise.
74425         * math/s_catanh.c: Likewise.
74426         * math/s_catanhf.c: Likewise.
74427         * math/s_catanhl.c: Likewise.
74428         * math/s_catanl.c: Likewise.
74429         * math/s_ccosh.c: Likewise.
74430         * math/s_ccoshf.c: Likewise.
74431         * math/s_ccoshl.c: Likewise.
74432         * math/s_cexp.c: Likewise.
74433         * math/s_cexpf.c: Likewise.
74434         * math/s_cexpl.c: Likewise.
74435         * math/s_clog.c: Likewise.
74436         * math/s_clog10.c: Likewise.
74437         * math/s_clog10f.c: Likewise.
74438         * math/s_clog10l.c: Likewise.
74439         * math/s_clogf.c: Likewise.
74440         * math/s_clogl.c: Likewise.
74441         * math/s_csin.c: Likewise.
74442         * math/s_csinf.c: Likewise.
74443         * math/s_csinh.c: Likewise.
74444         * math/s_csinhf.c: Likewise.
74445         * math/s_csinhl.c: Likewise.
74446         * math/s_csinl.c: Likewise.
74447         * math/s_csqrt.c: Likewise.
74448         * math/s_csqrtf.c: Likewise.
74449         * math/s_csqrtl.c: Likewise.
74450         * math/s_ctan.c: Likewise.
74451         * math/s_ctanf.c: Likewise.
74452         * math/s_ctanh.c: Likewise.
74453         * math/s_ctanhf.c: Likewise.
74454         * math/s_ctanhl.c: Likewise.
74455         * math/s_ctanl.c: Likewise.
74456         * math/s_ldexp.c: Likewise.
74457         * math/s_ldexpf.c: Likewise.
74458         * math/s_ldexpl.c: Likewise.
74459         * math/s_significand.c: Likewise.
74460         * math/s_significandf.c: Likewise.
74461         * math/s_significandl.c: Likewise.
74462         * math/w_acos.c: Likewise.
74463         * math/w_acosf.c: Likewise.
74464         * math/w_acosh.c: Likewise.
74465         * math/w_acoshf.c: Likewise.
74466         * math/w_acoshl.c: Likewise.
74467         * math/w_acosl.c: Likewise.
74468         * math/w_asin.c: Likewise.
74469         * math/w_asinf.c: Likewise.
74470         * math/w_asinl.c: Likewise.
74471         * math/w_atan2.c: Likewise.
74472         * math/w_atan2f.c: Likewise.
74473         * math/w_atan2l.c: Likewise.
74474         * math/w_atanh.c: Likewise.
74475         * math/w_atanhf.c: Likewise.
74476         * math/w_atanhl.c: Likewise.
74477         * math/w_cosh.c: Likewise.
74478         * math/w_coshf.c: Likewise.
74479         * math/w_coshl.c: Likewise.
74480         * math/w_dremf.c: Likewise.
74481         * math/w_exp10.c: Likewise.
74482         * math/w_exp10f.c: Likewise.
74483         * math/w_exp10l.c: Likewise.
74484         * math/w_exp2.c: Likewise.
74485         * math/w_exp2f.c: Likewise.
74486         * math/w_fmod.c: Likewise.
74487         * math/w_fmodf.c: Likewise.
74488         * math/w_fmodl.c: Likewise.
74489         * math/w_hypot.c: Likewise.
74490         * math/w_hypotf.c: Likewise.
74491         * math/w_hypotl.c: Likewise.
74492         * math/w_j0.c: Likewise.
74493         * math/w_j0f.c: Likewise.
74494         * math/w_j0l.c: Likewise.
74495         * math/w_j1.c: Likewise.
74496         * math/w_j1f.c: Likewise.
74497         * math/w_j1l.c: Likewise.
74498         * math/w_jn.c: Likewise.
74499         * math/w_jnf.c: Likewise.
74500         * math/w_jnl.c: Likewise.
74501         * math/w_lgamma.c: Likewise.
74502         * math/w_lgamma_r.c: Likewise.
74503         * math/w_lgammaf.c: Likewise.
74504         * math/w_lgammaf_r.c: Likewise.
74505         * math/w_lgammal.c: Likewise.
74506         * math/w_lgammal_r.c: Likewise.
74507         * math/w_log.c: Likewise.
74508         * math/w_log10.c: Likewise.
74509         * math/w_log10f.c: Likewise.
74510         * math/w_log10l.c: Likewise.
74511         * math/w_log2.c: Likewise.
74512         * math/w_log2f.c: Likewise.
74513         * math/w_log2l.c: Likewise.
74514         * math/w_logf.c: Likewise.
74515         * math/w_logl.c: Likewise.
74516         * math/w_pow.c: Likewise.
74517         * math/w_powf.c: Likewise.
74518         * math/w_powl.c: Likewise.
74519         * math/w_remainder.c: Likewise.
74520         * math/w_remainderf.c: Likewise.
74521         * math/w_remainderl.c: Likewise.
74522         * math/w_scalb.c: Likewise.
74523         * math/w_scalbf.c: Likewise.
74524         * math/w_scalbl.c: Likewise.
74525         * math/w_sinh.c: Likewise.
74526         * math/w_sinhf.c: Likewise.
74527         * math/w_sinhl.c: Likewise.
74528         * math/w_sqrt.c: Likewise.
74529         * math/w_sqrtf.c: Likewise.
74530         * math/w_sqrtl.c: Likewise.
74531         * math/w_tgamma.c: Likewise.
74532         * math/w_tgammaf.c: Likewise.
74533         * math/w_tgammal.c: Likewise.
74535         * po/ja.po: Update from translation team.
74537 2011-09-29  Andreas Jaeger  <aj@suse.de>
74539         [BZ #13179]
74540         * sunrpc/netname.c (netname2host): Fix logic.
74542         [BZ #6779]
74543         [BZ #6783]
74544         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74545         correctly.
74546         * math/w_remainder.c (__remainder): Likewise.
74547         * math/w_remainderf.c (__remainderf): Likewise.
74548         * math/libm-test.inc (remainder_test): Add test cases.
74550 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74552         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74553         sdiv_qrnnd.
74555 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74557         * string/test-memcmp.c: Avoid unncessary #defines.
74558         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74560 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74562         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74563         Use new sse2 version for core i3 - i7 as it's faster
74564         than sse42 version.
74565         (bit_Prefer_PMINUB_for_stringop): New.
74566         * sysdeps/x86_64/rawmemchr.S: Update.
74567         Replace with faster SSE2 version.
74568         * sysdeps/x86_64/memrchr.S: New file.
74569         * sysdeps/x86_64/memchr.S: Update.
74570         Replace with faster SSE2 version.
74572 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74574         * elf/dl-load.c (lose): Add cast to avoid warning.
74576 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74578         * po/ca.po: Update from translation team.
74580         * inet/getnetgrent_r.c: Hook up nscd.
74581         * nscd/Makefile (routines): Add nscd_netgroup.
74582         (nscd-modules): Add netgroupcache.
74583         (CFLAGS-netgroupcache.c): Define.
74584         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74585         (cache_search): Add const to second parameter.
74586         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74587         INNETGR.
74588         (dbs): Add netgrdb entry.
74589         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74590         (verify_persistent_db): Handle netgrdb.
74591         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74592         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74593         GETFDNETGR.
74594         (netgroup_response_header): Define.
74595         (innetgroup_response_header): Define.
74596         (datahead): Add netgroup_response_header and innetgroup_response_header
74597         elements.
74598         * nscd/nscd.conf: Add entries for netgroup cache.
74599         * nscd/nscd.h (dbtype): Add netgrdb.
74600         (_PATH_NSCD_NETGROUP_DB): Define.
74601         (netgroup_iov_disabled): Declare.
74602         (xmalloc, xcalloc, xrealloc): Move declarations here.
74603         (cache_search): Adjust prototype.
74604         Add netgroup-related prototypes.
74605         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74606         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74607         (__nscd_innetgr): Declare.
74608         * nscd/selinux.c (perms): Use access_vector_t as element type and
74609         add netgroup-related initializers.
74610         * nscd/netgroupcache.c: New file.
74611         * nscd/nscd_netgroup.c: New file.
74612         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74613         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74614         For four parameters use innetgr.
74615         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74616         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74617         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74618         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74620         * nscd/connections.c (register_traced_file): Don't register file
74621         for disabled databases.
74623 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74625         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74627         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74628         from tree and freeing node.
74630 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74632         * nss/nsswitch.c (__nss_database_lookup): Handle
74633         nss_parse_service_list out of memory case.
74635 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74637         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74638         out of memory case.
74640 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74642         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74643         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74644         pass it down.
74645         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74646         elf_machine_rela, elf_machine_lazy_rel.
74647         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74648         (ELF_DYNAMIC_DO_REL): Likewise.
74649         (ELF_DYNAMIC_DO_RELA): Likewise.
74650         (ELF_DYNAMIC_RELOCATE): Likewise.
74651         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74652         to ELF_DYNAMIC_DO_REL.
74653         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74654         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74655         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74656         elf_machine_rela.
74657         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74658         skip_ifunc, don't call ifunc function if non-zero.
74659         (elf_machine_rela): Likewise.
74660         (elf_machine_lazy_rel): Likewise.
74661         (elf_machine_lazy_rela): Likewise.
74662         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74663         (elf_machine_lazy_rel): Likewise.
74664         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74665         Likewise.
74666         (elf_machine_lazy_rel): Likewise.
74667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74668         Likewise.
74669         (elf_machine_lazy_rel): Likewise.
74670         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74671         (elf_machine_lazy_rel): Likewise.
74672         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74673         (elf_machine_lazy_rel): Likewise.
74674         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74675         (elf_machine_lazy_rel): Likewise.
74676         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74677         (elf_machine_lazy_rel): Likewise.
74678         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74679         (elf_machine_lazy_rel): Likewise.
74680         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74681         (elf_machine_lazy_rel): Likewise.
74683 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74685         * nss/nss_files/files-init.c (_nss_files_init): Use static
74686         initialization for all the *_traced_file variables.
74688 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74690         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74692 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74694         [BZ #13226]
74695         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74697 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74699         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74700         Reread the line before reparsing it.
74702 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74704         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74706 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74707             Maxim Kuvyrkov  <maxim@codesourcery.com>
74708             Joseph Myers  <joseph@codesourcery.com>
74710         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74711         if needed for __stack_chk_guard.
74713 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74715         * sysdeps/posix/spawni.c (script_execute): Always define it.
74716         It will be optimized away if unused.
74717         (maybe_script_execute): New function.
74718         (__spawni): Call it.
74720         * Makerules: Don't include tls.make.
74721         (config-tls): Always set to thread.
74722         * tls.make.c: File removed.
74724 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74726         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74727         * config.make.in (CPPFLAGS-config): New substituted variable.
74729 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74731         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74733         [BZ #13192]
74734         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74735         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74737 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74739         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74740         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74741         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74742         (CALL_FAIL): Likewise.
74743         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74744         (CALL_FAIL): Macro removed.
74745         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74747 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74749         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74750         for __FINITE_MATH_ONLY__ == 1.
74752 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74754         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74755         __ieee754_sqrt instead of sqrt.
74756         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74757         __ieee754_sqrtf instead of sqrtf.
74758         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74759         __floorf instead of floorf.
74760         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74761         __floorf, __truncf instead of floorf, truncf.
74763 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74765         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74767         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74768         __extern_always_inline.
74769         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74770         32-bit.
74772 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74774         * elf/rtld.c (dl_main): Also relocate in dependency order when
74775         doing symbol dependency testing.
74777 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74779         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74780         Always define `refsym'.
74782 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74784         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74785         (__FD_ELT): Renamed from __FDELT.
74786         * misc/bits/select2.h (__FD_ELT): Likewise.
74787         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74788         __FD_MASK instead of __FDELT, __FDMASK.
74789         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74790         Likewise.
74791         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74792         Likewise.
74794         * elf/Makefile (gen-ldd): Fix pattern.
74796         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74797         (init_tls): Likewise.
74799 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74801         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74803 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74805         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74806         `struct cmsghdr *' instead of `void *'.
74807         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74808         Likewise.
74810 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74812         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74813         if non-absolute.
74814         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74815         ldd_rewrite_script.
74817 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74819         * configure.in: Remove --with-tls option.
74820         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74821         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74822         out in case it is missing.
74823         * sysdeps/ia64/elf/configure.in: Likewise.
74824         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74825         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74826         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74827         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74828         * sysdeps/sh/elf/configure.in: Likewise.
74829         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74830         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74831         * sysdeps/x86_64/elf/configure.in: Likewise.
74832         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74833         * sysdeps/mach/hurd/tls.h: Likewise.
74835         [BZ #13067]
74836         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74838         [BZ #13090]
74839         * configure.in: Fix use of AC_INIT.
74841         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74843 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74845         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74846         __set_errno.
74847         * malloc/hooks.c: Likewise.
74849         [BZ #11929]
74850         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74851         variables statically.
74852         (narenas): Initialize.
74853         (list_lock): Initialize.
74854         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74855         initializtion of main_arena and list_lock.  Small cleanups.
74856         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74857         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74858         Add initializers to main_arena and mp_.
74859         (malloc_state): Remove pagesize member.  Change all users to use
74860         GLRO(dl_pagesize).
74862         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74863         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74864         is always initialized.
74866         * malloc/malloc.c: Removed unused configurations and dead code.
74867         * malloc/arena.c: Likewise.
74868         * malloc/hooks.c: Likewise.
74869         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74871         * include/tls.h: Removed.  USE___THREAD must always be defined.
74872         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74873         * elf/dl-libc.c: Likewise.
74874         * elf/dl-tsd.c: Likewise.
74875         * include/errno.h: Likewise.
74876         * include/netdb.h: Likewise.
74877         * include/resolv.h: Likewise.
74878         * inet/herrno-loc.c: Likewise.
74879         * inet/herrno.c: Likewise.
74880         * malloc/arena.c: Likewise.
74881         * malloc/hooks.c: Likewise.
74882         * malloc/malloc.c: Likewise.
74883         * resolv/res-state.c: Likewise.
74884         * resolv/res_libc.c: Likewise.
74885         * sysdeps/i386/dl-machine.h: Likewise.
74886         * sysdeps/ia64/dl-machine.h: Likewise.
74887         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74888         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74889         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74890         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74891         * sysdeps/sh/dl-machine.h: Likewise.
74892         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74893         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74894         * sysdeps/unix/i386/sysdep.S: Likewise.
74895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74896         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74897         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74899         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74901         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74903         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74905         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74906         * sysdeps/x86_64/dl-machine.h: Likewise.
74907         * tls.make.c: Likewise.
74909         * configure.in: Remove --with-__thread option.  Make tests for
74910         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74911         tls_model attribute fail if no support is available.  Remove
74912         USE_IN_LIBIO.
74913         * Makeconfig: Adjust for dropped configure option.  All features are
74914         now mandatory.
74915         * Makerules: Likewise.
74916         * Versions.def: Likewise.
74917         * argp/argp-fmtstream.c: Likewise.
74918         * argp/argp-fmtstream.h: Likewise.
74919         * argp/argp-help.c: Likewise.
74920         * assert/assert.c: Likewise.
74921         * config.h.in: Likewise.
74922         * config.make.in: Likewise.
74923         * configure: Likewise.
74924         * configure.in: Likewise.
74925         * csu/Versions: Likewise.
74926         * csu/init.c: Likewise.
74927         * elf/tst-audit2.c: Likewise.
74928         * elf/tst-tls10.c: Likewise.
74929         * elf/tst-tls10.h: Likewise.
74930         * elf/tst-tls11.c: Likewise.
74931         * elf/tst-tls12.c: Likewise.
74932         * elf/tst-tls14.c: Likewise.
74933         * elf/tst-tlsmod11.c: Likewise.
74934         * elf/tst-tlsmod12.c: Likewise.
74935         * elf/tst-tlsmod13.c: Likewise.
74936         * elf/tst-tlsmod13a.c: Likewise.
74937         * elf/tst-tlsmod14a.c: Likewise.
74938         * elf/tst-tlsmod15b.c: Likewise.
74939         * elf/tst-tlsmod16a.c: Likewise.
74940         * elf/tst-tlsmod16b.c: Likewise.
74941         * elf/tst-tlsmod7.c: Likewise.
74942         * elf/tst-tlsmod8.c: Likewise.
74943         * elf/tst-tlsmod9.c: Likewise.
74944         * gmon/gmon.c: Likewise.
74945         * grp/fgetgrent_r.c: Likewise.
74946         * grp/putgrent.c: Likewise.
74947         * hurd/fopenport.c: Likewise.
74948         * include/libc-symbols.h: Likewise.
74949         * include/tls.h: Likewise.
74950         * intl/gettextP.h: Likewise.
74951         * intl/loadinfo.h: Likewise.
74952         * locale/global-locale.c: Likewise.
74953         * locale/localeinfo.h: Likewise.
74954         * mach/devstream.c: Likewise.
74955         * malloc/arena.c: Likewise.
74956         * malloc/set-freeres.c: Likewise.
74957         * misc/err.c: Likewise.
74958         * misc/getttyent.c: Likewise.
74959         * misc/mntent_r.c: Likewise.
74960         * posix/getopt.c: Likewise.
74961         * posix/wordexp.c: Likewise.
74962         * pwd/fgetpwent_r.c: Likewise.
74963         * resolv/Versions: Likewise.
74964         * resolv/res_hconf.c: Likewise.
74965         * shadow/fgetspent_r.c: Likewise.
74966         * shadow/putspent.c: Likewise.
74967         * stdio-common/printf_fphex.c: Likewise.
74968         * stdio-common/tmpfile.c: Likewise.
74969         * stdlib/abort.c: Likewise.
74970         * stdlib/fmtmsg.c: Likewise.
74971         * sunrpc/auth_unix.c: Likewise.
74972         * sunrpc/clnt_perr.c: Likewise.
74973         * sunrpc/clnt_tcp.c: Likewise.
74974         * sunrpc/clnt_udp.c: Likewise.
74975         * sunrpc/clnt_unix.c: Likewise.
74976         * sunrpc/openchild.c: Likewise.
74977         * sunrpc/svc_simple.c: Likewise.
74978         * sunrpc/svc_tcp.c: Likewise.
74979         * sunrpc/svc_udp.c: Likewise.
74980         * sunrpc/svc_unix.c: Likewise.
74981         * sunrpc/xdr.c: Likewise.
74982         * sunrpc/xdr_array.c: Likewise.
74983         * sunrpc/xdr_rec.c: Likewise.
74984         * sunrpc/xdr_ref.c: Likewise.
74985         * sunrpc/xdr_stdio.c: Likewise.
74987 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74989         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74991 2011-07-03  Andreas Jaeger  <aj@suse.de>
74993         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74994         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74995         regenerate with gen-libm-tests.pl.
74997 2010-05-12  Petr Baudis  <pasky@suse.cz>
74999         [BZ #11589]
75000         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75001         around j0() zero points by switching to j1().
75002         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75003         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75004         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75005         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75007 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75009         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75010         instead of 0.
75011         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75012         instead of 0.
75013         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75014         Patch in part by Pavel Roskin <proski@gnu.org>.
75016         [BZ #13138]
75017         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75018         realloc.
75019         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75020         Free memory block if necessary.
75022         [BZ #12847]
75023         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75024         be NULL.  Don't lock in this case.
75026 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75028         * elf/elf.h (ELFOSABI_GNU): New macro.
75029         (ELFOSABI_LINUX): Define to that.
75031 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75033         * string/strncat.c (strncat): Undef the symbol in case it has been
75034         defined in bits/string.h.
75036 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75038         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75040         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75041         link map.
75043 2011-08-17  Andreas Jaeger  <aj@suse.de>
75045         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75047 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75048             Ian Lance Taylor  <iant@google.com>
75050         * math/libm-test.inc (lround_test): New testcase.
75051         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75053 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75055         * Makefile: Remove support for automatic cvs check-ins.
75056         * Makerules: Likewise.
75057         * config.make.in: Likewise.
75058         * configure.in: Likewise.
75059         * intl/Makefile: Likewise.
75060         * locale/Makefile: Likewise.
75061         * po/Makefile: Likewise.
75062         * posix/Makefile: Likewise.
75063         * sysdeps/gnu/Makefile: Likewise.
75064         * sysdeps/mach/hurd/Makefile: Likewise.
75065         * sysdeps/sparc/sparc32/Makefile: Likewise.
75067         [BZ #13118]
75068         * posix/Makefile (bug-regex32-ENV): Define.
75069         Patch by John Stanley <jpsinthemix@verizon.net>.
75071         * misc/Makefile (headers): Add bits/select2.h.
75072         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75073         * misc/bits/select2.h: New file.
75074         * include/bits/select2.h: New file.
75075         * debug/Makefile (routines): Add fdelt_chk.
75076         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75077         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75078         FD_ISSET.
75079         * debug/fdelt_chk.c: New file.
75081         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75082         * wcsmbs/test-wmemcmp.c: Likewise.
75083         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75084         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75086 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75088         * string/Makefile (strop-tests): Add memcmp.
75089         * string/test-wmemcmp.c: New file.
75090         * string/test-memcmp.c: Add wmemcmp support.
75092 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75094         [BZ #13153]
75095         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75096         2011-07-19 change.
75098         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75099         garbage value in a __mach_port_mod_refs call in the cases of the
75100         task-self and thread-self ports.
75102 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75104         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75106 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75108         * elf/dl-load.c (lose): Check for non-null L.
75110 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75112         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75114         * elf/dl-libc.c (dlerror_run): Pass back error code from
75115         dl_catch_error.
75117         [BZ #13123]
75118         * elf/dl-load.c (lose): Free l_origin if it is valid.
75120         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75121         names.
75122         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75123         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75124         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75125         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75126         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75127         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75129 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75131         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75132         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75133         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75134         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75135         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75136         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75137         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75138         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75139         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75140         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75142 2011-08-15  Alan Modra  <amodra@gmail.com>
75144         [BZ #13092]
75145         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75146         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75147         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75148         ppc_mcount to static-only-routines.
75149         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75150         __mcount_internal.
75151         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75152         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75154 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75156         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75157         for finite and infinity parameters.
75159 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75161         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75162         and add nop instructions for throughput optimization.
75163         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75165 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75167         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75168         aligned copy for power7 with vector-scalar instructions.
75169         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75171 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75173         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75174         AVX check.
75176 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75178         [BZ #13144]
75179         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75180         last change.
75182 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75184         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75185         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75186         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75187         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75188         clock_gettime.
75190 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75192         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75193         Forgot to demangle the pointer.
75195         * sysdeps/i386/sysdep.h: Define atom_text_section.
75196         * sysdeps/x86_64/sysdep.h: Likewise.
75197         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75198         section with atom_text_section.
75199         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75200         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75201         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75202         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75203         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75205         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75206         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75207         already be defined.  Change to take two parameters and don't assign
75208         result to variable.  Adjust all users.
75209         Define INTERNAL_GETTIME if not already defined.
75210         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75211         call.
75212         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75213         HAVE_CLOCK_GETTIME_VSYSCALL.
75214         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75216         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75217         gettimeofday vsyscall, just use time.
75219 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75221         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75222         <errno.h>.
75224 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75226         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75227         syscall on x86-64.
75228         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75229         syscall.
75230         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75231         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75232         syscall if possible.
75234 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75236         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75237         e_ident.  Don't pass to find_mapsXX.
75238         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75240 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75243         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75244         * sysdeps/x86_64/multiarch/strchr.S: Update.
75245         Check bit_slow_BSF bit.
75246         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75247         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75248         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75250 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75252         [BZ #13134]
75253         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75254         before glibc 2.15.
75255         (tryshell): Define.
75256         (__spawni): Change last parameter to be flag.  Test
75257         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75258         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75259         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75260         * posix/spawni.c: Likewise.
75261         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75262         * posix/spawnp.c: Likewise.  Change normal version to use
75263         SPAWN_XFLAGS_USE_PATH.
75264         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75265         SPAWN_XFLAGS_TRY_SHELL.
75267         [BZ #13150]
75268         * posix/glob.h: Remove gcc 1.x support.
75270         [BZ #13068]
75271         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75273 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75275         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75276         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75277         strrchr-sse2-bsf
75278         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75279         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75280         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75281         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75282         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75283         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75285 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75287         * sysdeps/x86_64/wcscmp.S: New file.
75289         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75290         wcscmp-c wcscmp-sse2
75291         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75292         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75293         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75294         * wcsmbs/wcscmp.c: Allow renaming.
75296 2011-09-05  David S. Miller  <davem@davemloft.net>
75298         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75299         stack slot, rather than the struct return pointer slot.
75300         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75301         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75303         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75305 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75307         * po/ja.po: Update from translation team.
75309         [BZ #13144]
75310         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75311         kernel in 64-bit binaries.
75313 2011-09-01  David S. Miller  <davem@davemloft.net>
75315         * elf/elf.h (HWCAP_SPARC_*): Move to..
75316         * sysdeps/sparc/sysdep.h: this new file and add new values.
75317         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75318         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75319         _DL_HWCAP_COUNT to 24.
75320         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75321         entries.
75322         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75323         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75324         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75325         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75326         instead of magic constants.
75327         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75329 2011-08-31  David S. Miller  <davem@davemloft.net>
75331         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75333         Reimplement to do errno handling inline.
75334         (SYSCALL_ERROR_HANDLER): New macro.
75335         (__SYSCALL_STRING): Do not do errno handling in asm.
75336         (__CLONE_SYSCALL_STRING): Delete.
75337         (__INTERNAL_SYSCALL_STRING): Delete.
75338         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75339         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75340         (PSEUDO): Reimplement to do errno handling inline.
75341         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75342         (SYSCALL_ERROR_HANDLER): New macro.
75343         (__SYSCALL_STRING): Do not do errno handling in asm.
75344         (__CLONE_SYSCALL_STRING): Delete.
75345         (__INTERNAL_SYSCALL_STRING): Delete.
75346         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75347         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75348         i386.
75349         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75350         (inline_syscall*): Add 'err' argument.
75351         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75352         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75353         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75354         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75356         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75357         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75359 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75361         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75363 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75365         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75366         directive.
75368 2011-08-24  David S. Miller  <davem@davemloft.net>
75370         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75372 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75374         * elf/Makefile: Add rules to build and run unload8 test.
75375         * elf/unload8.c: New file.
75376         * elf/unload8mod1.c: New file.
75377         * elf/unload8mod1x.c: New file.
75378         * elf/unload8mod2.c: New file.
75379         * elf/unload8mod3.c: New file.
75381         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75382         it wasn't used.
75384 2011-08-23  David S. Miller  <davem@davemloft.net>
75386         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75387         subtract stack bias.
75388         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75389         %sp not %fp in calculations.
75390         (_JMPBUF_UNWINDS_ADJ): Likewise.
75392         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75393         (aio_suspend): Call it to force an exception region around the
75394         AIO_MISC_WAIT() invocation.
75396 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75398         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75399         backslash.
75401 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75403         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75404         protection macro.
75405         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75406         and <dl-machine.h>.
75407         (Elf64_FuncDesc): Remove.
75409 2011-08-22  David S. Miller  <davem@davemloft.net>
75411         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75412         sigaltstack check, add missing cfi directives.
75413         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75414         missing cfi directives, and sigaltstack handling.
75416 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75418         [BZ #11724]
75419         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75420         object is seen twice.
75421         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75423         * elf/Makefile (distribute): Add tst-initorder2.c.
75424         (tests): Add tst-initorder2.
75425         (modules-names): Add tst-initorder2a tst-initorder2b
75426         tst-initorder2c tst-initorder2d.  Add rules to build them.
75427         ($(objpfx)tst-initorder2.out): New rule.
75428         * elf/tst-initorder2.c: New file.
75429         * elf/tst-initorder2.exp: New file.
75431 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75433         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75435         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75436         dependencies back to end of function.
75438         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75439         $(elfobjdir)/ld.so.
75441 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75443         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75444         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75445         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75446         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75447         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75448         of __vdso_gettimeofday.
75449         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75450         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75451         attribute_hidden.
75452         (_libc_vdso_platform_setup): Remove initialization of
75453         __vdso_gettimeofday and __vdso_time.
75455 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75457         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75458         and fgetc_unlocked.
75459         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75460         getc_unlocked.
75462         * elf/dl-open.c (add_to_global): Report additions to the global scope
75463         for LD_DEBUG=scopes.
75464         (dl_open_worker): Also print scope of newly loaded dependencies.
75465         (_dl_show_scope): Indicate if there is no scope.
75467         [BZ #13114]
75468         * stdio-common/Makefile (tests): Add bug24.
75469         * stdio-common/bug24.c: New file.
75471 2011-08-19  Andreas Jaeger  <aj@suse.de>
75473         [BZ #13114]
75474         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75475         non-existant file when using close-on-exec mode.
75477 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75479         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75480         the very first instruction.
75482         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75483         the CFI state in the end.
75484         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75485         inclusion of dl-trampoline.h.
75486         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75488 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75490         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75491         expectations for long double.
75493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75494         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75496 2011-08-14  David S. Miller  <davem@davemloft.net>
75498         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75499         artificual limit depends upon the system page size.
75501 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75503         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75504         * resolv/Makefile: Define CFLAGS-libresolv.
75506 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75508         * nss/makedb.c (compute_tables): Make variables used in nested
75509         function static.
75511 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75513         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75514         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75515         if buffer was too small.
75517         * elf/pldd.c (main): Attach to all threads in the process.
75518         Rewrite /proc handling to use *at functions.
75520 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75522         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75523         specifies first scope to show.
75524         (dl_open_worker): Update callers.  Move printing scope of new
75525         object to before the relocation.
75526         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75527         * sysdeps/generic/ldsodefs.h: Update declaration.
75529         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75530         string for the scope number.
75532 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75534         * nscd/servicescache.c (cache_addserv): Make sure written is always
75535         initialized.
75537 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75539         * sysdeps/i386/i486/bits/atomic.h
75540         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75541         statement expression, so as to suppress "set but not used" warning.
75542         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75544         * string/strncat.c (STRNCAT): Use prototype definition.
75546         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75547         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75548         -Iprograms here.
75549         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75550         (localedef-modules): Add localedef.
75551         (locale-modules): Add locale.
75553         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75554         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75555         to avoid a warning.
75557 2011-08-14  David S. Miller  <davem@davemloft.net>
75559         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75560         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75562 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75564         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75565         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75566         * elf/rtld.c (dl_main): Set l_name of vDSO.
75567         Call _dl_show_scope when DL_DEBUG_SCOPES.
75568         (process_dl_debug): Recognize scopes flag and also set it for all.
75569         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75570         Declare _dl_show_scope.
75572         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75573         (do_dlopen): Pass caller_dlopen to dl_open.
75574         (__libc_dlopen_mode): Initialize caller_dlopen.
75576         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75577         of libc.  Make tolower call locale-independent.  Optimize a bit by
75578         using isdigit instead of isalnum.
75579         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75581 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75583         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75584         was a dependency or dynamically loaded.
75586 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75588         * intl/l10nflist.c: Allow architecture-specific pop function.
75589         * sysdeps/x86_64/l10nflist.c: New file.
75591         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75592         classification.
75594 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75596         * include/dirent.h: Add libc_hidden_proto for scandirat and
75597         scandirat64.  Don't declare __scandirat64.
75598         * dirent/scandirat.c: Add libc_hidden_def.
75599         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75600         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75602 2011-08-10  David S. Miller  <davem@davemloft.net>
75604         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75605         enum.
75606         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75607         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75608         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75610 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75612         * Versions.def [libc]: Add GLIBC_2.15.
75613         * dirent/Makefile (routines): Add scandirat and scandirat64.
75614         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75615         GLIBC_2.15.
75616         * dirent/dirent.h: Declare scandirat and scandirat64.
75617         * dirent/scandirat.c: New file.
75618         * dirent/scandirat64.c: New file.
75619         * sysdeps/wordsize-64/scandirat.c: New file.
75620         * sysdeps/wordsize-64/scandirat64.c: New file.
75621         * dirent/opendir.c: Define opendirat.
75622         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75623         using scandirat.
75624         * dirent/scandir64.c: Adjust for scandir.c change.
75625         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75626         __scandirat64, and __scandir_cancel_handler.
75627         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75628         additional parameter and use openat instead of open (outside of ld.so).
75629         Add new __opendir as wrapper around __opendirat.
75630         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75631         here without requiring old scandirat implementation.
75633 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75635         * dirent/scandir.c (cancel_handler): Renamed to
75636         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75637         defined.  Adjust users.
75638         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75639         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75641 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75643         * string/test-string.h (IMPL): Use __STRING to expand name and then
75644         stringify it.
75646         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75647         of cleanups.
75649 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75651         * string/Makefile: Update.
75652         (strop-tests): Append strncat.
75653         * string/test-wcscmp.c: New file.
75654         New comprehensive test for wcscmp.
75655         * string/test-strcmp.c: Update.
75656         (WIDE): New define.
75658 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75660         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75661         line.
75663 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75666         encoding to ACE if AI_IDN.
75668 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75670         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75671         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75673 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75675         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75676         Fix overflow bug in strncat.
75677         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75679         * string/test-strncat.c: Update.
75680         Add new tests for checking overflow bugs.
75682 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75684         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75685         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75686         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75687         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75688         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75689         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75690         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75691         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75692         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75694         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75695         (USE_AS_STRCAT): Define.
75696         Add strcat and strncat support.
75697         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75699 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75701         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75702         __n bigger than INT_MAX+1.
75703         (__strncmp_g): Likewise.
75705 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75707         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75708         * libio/stido.h: Likewise.
75710         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75711         (AF_NFC): Define.
75712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75713         (AF_NFC): Define.
75715         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75716         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75717         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75718         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75719         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75721         [BZ #13021]
75722         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75723         installed.
75725         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75726         typo.
75727         (_dl_x86_64_save_sse): Likewise.
75729 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75731         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75732         OSXSAVE.
75733         (_dl_x86_64_save_sse): Likewise.
75735         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75737         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75739 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75741         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75742         change.
75743         (_dl_x86_64_save_sse): Use correct AVX check.
75745 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75747         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75748         bug in strncpy/strncat.
75749         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75751 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75753         * string/tester.c (test_strcat): Add tests for different alignments
75754         of source and destination.
75755         (test_strncat): Likewise.
75757 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75759         [BZ #12852]
75760         * posix/glob.c (glob): Check passed in values before using them in
75761         expressions to avoid some overflows.
75762         (glob_in_dir): Likewise.
75764         [BZ #13007]
75765         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75766         check for AVX enablement so that we don't crash with old kernels and
75767         new hardware.
75768         * elf/tst-audit4.c: Add same checks here.
75769         * elf/tst-audit6.c: Likewise.
75771         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75773 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75775         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75777 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75779         * po/cs.po: Update from translation team.
75780         * po/bg.po: Likewise.
75782 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75784         * misc/sys/cdefs.h: Add support for const attribute.
75785         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75786         to gnu_dev_{major,minor,makedev} functions.
75788 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75790         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75792 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75794         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75795         strlen results.
75797 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75799         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75800         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75801         register in order to avoid conflicts with the soft frame pointer
75802         being held in r11 when necessary.
75803         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75804         (INTERNAL_VSYSCALL_NCS): Likewise.
75806 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75808         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75809         * elf/dl-fini.c (_dl_fini): Adjust caller.
75810         * elf/dl-close.c (_dl_close_worker): Likewise.
75811         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75813 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75815         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75816         "aux_cache->nlibs < 0".
75818         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75819         in the reload-count case.
75821 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75824         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75825         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75826         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75827         * sysdeps/x86_64/multiarch/strcat.S: New file.
75828         * sysdeps/x86_64/multiarch/strncat.S: New file.
75829         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75830         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75831         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75832         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75833         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75834         (USE_AS_STRCAT): Define.
75835         Add strcat and strncat support.
75836         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75837         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75838         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75839         * string/strncat.c: Update.
75840         (USE_AS_STRNCAT): Define.
75841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75842         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75843         and i7.
75844         * sysdeps/x86_64/multiarch/init-arch.h
75845         (bit_Prefer_PMINUB_for_stringop): New.
75846         (index_Prefer_PMINUB_for_stringop): Likewise.
75847         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75848         bit_Prefer_PMINUB_for_stringop.
75850 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75852         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75853         buffer64.
75854         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75855         of casting of buffer.
75856         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75857         buffer32 and buffer64.
75858         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75859         writes instead of casting of buffer.
75860         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75861         buffer32.
75862         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75863         casting of buffer.
75865 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75867         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75869 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75871         * nscd/nscd.c (termination_handler): Don't do anything for a database
75872         if it has not yet been initialized.
75874 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75876         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75878 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75880         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75882 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75884         * po/nl.po: Update from translation team.
75885         * po/sv.po: Likewise.
75887 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75889         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75890         now disallowed by GCC.
75892         * configure.in (use-default-link): Default to yes if a test -shared
75893         link meets our qualifications.
75894         * configure: Regenerated.
75896         * config.make.in (output-format): New variable.
75897         * configure.in: Check for ld --print-output-format support.
75898         * configure: Regenerated.
75899         * Makerules ($(common-objpfx)format.lds)
75900         [$(output-format) != unknown]: Just use $(output-format),
75901         instead of the linker-script munging.
75903 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75905         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75906         of $(common-objpfx)shlib.lds.
75907         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75909         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75910         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75912         * configure.in (-z relro check): Adjust test code to add a large
75913         writable data section after it.
75914         * configure: Regenerated.
75916 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75918         * configure.in (-z relro check): Fix test code to make the variable
75919         truly const.
75920         * configure: Regenerated.
75922 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75924         * nscd/nscd.h (struct traced_file): Define.
75925         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75926         elements.  Add traced_files.
75927         (inotify_fd): Declare.
75928         (register_traced_file): Declare.
75929         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75930         (inotify_fd): Export.
75931         (resolv_conf_descr): Remove.
75932         (nscd_init): Move inotify descriptor creation to main.
75933         Don't register files for notification here.
75934         (register_traced_file): New function.
75935         (invalidate_cache): Don't use reset_res to determine whether to call
75936         res_init, go through the list of registered files.
75937         (main_loop_poll): The inotify descriptors are now stored in the
75938         structures for the traced files.
75939         (main_loop_epoll): Likewise.
75940         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75941         to __nss_disable_nscd.
75942         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75943         for a database anymore.  Check the records for all the registered
75944         files instead.
75945         * nss/Makefile (libnss_files-routines): Add files-init.
75946         (libnss_db-routines): Add db-init.
75947         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75948         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75949         * nss/nss_db/db-init.c: New file.
75950         * nss/nss_files/files-init.c: New file.
75951         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75952         __nss_lookup_function.
75953         (__nss_lookup_function): Call nss_load_library.
75954         (nss_load_all_libraries): New function.
75955         (__nss_disable_nscd): Take parameter with callback function for files
75956         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75957         used for the cached services.
75958         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75959         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75960         options for features to all the files in nscd.
75962         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75964 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75966         * csu/elf-init.c (__libc_csu_init): Comment typo.
75968 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75970         * po/pl.po: Update from translation team.
75971         * po/ja.po: Likewise.
75972         * po/ru.po: Likewise.
75973         * po/ko.po: Likewise.
75974         * po/fr.po: Likewise.
75976 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75978         * configure.in (.ctors/.dtors header and trailer check):
75979         Use an empirical test on a built program.
75980         * configure: Regenerated.
75982         * configure.in (-z relro check): Use an empirical test on a built DSO.
75983         Detect, but do not require, on ia64.
75984         * configure: Regenerated.
75986         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75987         Update tests that use readelf to use $READELF instead.
75988         * configure: Regenerated.
75990 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75992         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75993         if the result is not used.
75995 2011-07-05  Andreas Jaeger  <aj@suse.de>
75997         [BZ#9696]
75998         * stdlib/tst-strtod.c: Add testcase.
76000 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76002         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76003         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76004         The latter has a higher limit.  Take additional parameter to pass to
76005         the new function.
76006         (__pathconf): Pass file to __statfs_link_max.
76007         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76008         __statfs_link_max.
76009         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76010         __statfs_link_max.
76012         [BZ #12868]
76013         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76014         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76015         Handle Lustre.
76016         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76017         (__statfs_filesize_max): Likewise.
76018         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76020 2011-07-05  Andreas Jaeger  <aj@suse.de>
76022         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76024 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76026         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76027         `status' variable.
76028         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76029         Likewise.
76031 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76033         * Makefile (strop-tests): Add strncat.
76034         * string/test-strncat.c: New file.
76036 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76038         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76040 2011-06-21  Andreas Jaeger  <aj@suse.de>
76042         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76043         Copy rule from iconvdata/Makefile.
76045 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76047         [BZ #12922]
76048         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76049         but no long options are defined, just return 'W'.
76051 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76053         [BZ #9696]
76054         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76056 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76058         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76059         netgroups to read.
76060         (innetgr): Likewise.
76062 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76064         * config.make.in (install_root): Default to $(DESTDIR).
76066 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76068         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76070 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76072         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76074         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76075         containing directory rather than embedding absolute directory names.
76077         * scripts/check-local-headers.sh: Rewritten using awk.
76078         Match by word, not by line.  Print error messages for matches.
76079         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76081         * Makerules [shlib-lds-flags empty]:
76082         ($(common-objpfx)libc_pic.opts): New target.
76083         ($(common-objpfx)libc_pic.os.clean): New target.
76084         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76086         * config.make.in (OBJCOPY): New variable.
76087         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76088         * configure: Regenerated.
76090         * config.make.in (use-default-link): New variable.
76091         * configure.in (use_default_link): Grok --with-default-link to set it.
76092         * configure: Regenerated.
76093         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76094         (shlib-lds, shlib-lds-flags): Define to empty.
76096         * Makerules (shlib-lds): New variable.
76097         (shlib-lds-flags): New variable.
76098         (build-shlib, build-moduile, build-module-asneeded): Use it.
76099         ($(common-objpfx)libc.so): Use $(shlib-lds).
76100         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76101         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76103         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76104         DT_FLAGS/DT_FLAGS_1 with zero flags.
76106         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76107         linker script munging.
76109 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76111         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76112         as 128-bit value.
76113         * crypt/sha512.c (sha512_process_block): Perform total addition using
76114         128-bit if possible.
76115         (__sha512_finish_ctx): Likewise.
76116         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76117         as 64-bit value.
76118         * crypt/sha256.c (SWAP64): Define.
76119         (sha256_process_block): Perform total addition using 64-bit if
76120         possible.
76121         (__sha256_finish_ctx): Likewise.
76123 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76125         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76126         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76127         * nscd/hstcache.c (cache_addhst): Likewise.
76128         * nscd/grpcache.c (cache_addgr): Likewise.
76129         * nscd/aicache.c (addhstaiX): Likewise.
76130         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76132 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76134         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76135         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76136         * nscd/hstcache.c (cache_addhst): Likewise.
76137         * nscd/grpcache.c (cache_addgr): Likewise.
76138         * nscd/aicache.c (addhstaiX): Likewise.
76140 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76142         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76143         domain only when needed.
76145 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76148         is always restored.
76150 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76152         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76153         are re-adding the entry.
76154         * nscd/servicescache.c (cache_addserv): Likewise.
76156 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76158         * sysdeps/generic/dl-irel.h: fix protection against multiple
76159         inclusions.
76160         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76162 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76164         [BZ #12935]
76165         * malloc/memusage.sh: Fix quoting in message.
76166         * debug/xtrace.sh: Likewise.
76168         * configure.in: Remove support for --experimental-malloc option, make
76169         it the default.
76170         * config.make.in: Likewise.
76171         * malloc/Makefile: Likewise.
76173 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76175         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76176         two-byte characters.
76178 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76180         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76181         AC_CACHE_CHECK invocation.
76182         * configure: Regenerated.
76184         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76186 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76188         [BZ #12350]
76189         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76190         bit from old_res_options.
76192         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76194         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76195         value type for setfct.
76197 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76200         __gettimeofday instead of gettimeofday.
76202 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76204         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76206 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76208         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76210         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76211         info.
76213 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76216         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76217         strcpy-sse2-unaligned strncpy-sse2-unaligned
76218         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76219         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76220         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76221         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76222         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76223         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76224         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76225         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76226         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76227         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76228         (STRCPY): Support SSE2 and SSSE3 versions.
76230 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76232         [BZ #12874]
76233         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76234         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76235         kernels which artificially limit size of requests.
76237 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76240         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76241         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76242         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76243         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76244         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76245         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76246         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76247         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76248         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76249         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76250         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76251         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76252         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76253         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76255         Enable unaligned load optimization for Intel Core i3, i5 and i7
76256         processors.
76257         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76258         Define.
76259         (index_Fast_Unaligned_Load): Define.
76260         (HAS_FAST_UNALIGNED_LOAD): Define.
76262 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76264         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76266 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76268         [BZ #12907]
76269         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76270         until it is clear that the information is realy needed.
76271         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76273 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76277 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76280         /sys/devices/system/cpu/online if it is usable.
76282         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76283         reading the information from the /proc filesystem to once a second.
76285 2011-06-21  Andreas Jaeger  <aj@suse.de>
76287         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76288         NULL after inclusion of kernel headers.
76290 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76292         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76293         calls to internal_setent.
76295         [BZ #12885]
76296         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76297         addresses using gethostbyname4_r ignore IPv4 addresses.
76299         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76300         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76302         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76304 2011-06-20  David S. Miller  <davem@davemloft.net>
76306         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76307         inclusions.
76308         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76310         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76311         (elf_irel): Use it.
76312         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76313         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76314         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76315         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76316         * sysdeps/x86_64/dl-irel.h: Likewise.
76318         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76319         * elf/dl-sym.c: Likewise.
76321 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76323         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76324         need to dereference resplen2.
76326 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76328         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76330 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76332         * Makeconfig: Define vardbdir and inst_vardbdir.
76333         * nss/Makefile: Add rules to install db-Makefile.
76335         * nss/nss_db/db-XXX.c: Cleanup.
76337         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76338         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76339         GLIBC_PRIVATE.
76340         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76341         * nss/makedb.c: Implement -g option to specify that value strings
76342         are generated and should not be added to table iterated over for
76343         get*ent calls.
76344         * nss/nss_db/db-initgroups.c: New file.
76346         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76347         interface.
76349         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76350         (internal_getgrouplist): Adjust to name change.
76351         Update use_initgroups_entry if this is not the first call.
76352         * nss/databases.def: Add initgroups entry.
76354         * nss/makedb.c (compute_tables): Check result of multiple hash table
76355         sizes to minimize maximum chain length.
76357 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76359         * Versions.def: Add entry for libnss_db.
76360         * shlib-versions: Likewise.
76361         * nss/Makefile: Add rules to build libnss_db.
76362         * nss/Versions: Add libnss_db information.  Organize libnss_files
76363         entries better.
76364         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76365         makedb progra.  Some minor improvements to generate smaller files.
76366         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76367         here from...
76368         * nss/makedb.c: ...here.
76369         Improve database format to be smaller and require less memory at
76370         runtime.
76371         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76372         db anymore.
76373         * nss/nss_db/db-netgrp.c: Likewise.
76374         * nss/nss_db/db-open.c: Likewise.
76375         * nss/nss_files/flies-XXX.x: Adjust comments.
76376         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76377         * nss/nss_files/files-grp.c: Likewise.
76378         * nss/nss_files/files-hosts.c: Likewise.
76379         * nss/nss_files/files-network.c: Likewise.
76380         * nss/nss_files/files-proto.c: Likewise.
76381         * nss/nss_files/files-pwd.c: Likewise.
76382         * nss/nss_files/files-rpc.c: Likewise.
76383         * nss/nss_files/files-service.c: Likewise.
76384         * nss/nss_files/files-sgrp.c: Likewise.
76385         * nss/nss_files/files-spwd.c: Likewise.
76386         * nss/nss_db/db-alias.c: Removed.
76387         * nss/nss_db/dummy-db.h: Removed.
76389 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76391         * nss/makedb.c: Rewritten to not use database library.
76392         * nss/Makefile: Update to build new makedb program.
76394 2011-06-14  Andreas Jaeger  <aj@suse.de>
76396         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76397         memset declaration.
76399 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76402         tmpbuf.
76404 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76406         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76407         * elf/Makefile ($(objpfx)ld.so): Likewise.
76409         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76410         Don't list ld.so twice in dependencies.
76412         * posix/bug-regex31.c: Include <stdlib.h>.
76414         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76416         * nis/nss_compat/compat-spwd.c
76417         (getspent_next_nss_netgr): Remove unused variable.
76418         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76420         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76421         nonmembers" output to use the right array.
76423         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76425         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76427         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76428         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76429         * catgets/gencat.c (read_input_file): Likewise.
76430         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76432         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76433         variable definition inside #if's controlling its use.
76435         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76437         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76439         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76441         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76442         unreachable code.
76444         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76446         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76447         * configure: Regenerated.
76449         * Makerules: Revert last change.
76450         * elf/Makefile: Likewise.
76452 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76454         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76455         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76456         (reloc-link): Likewise.
76458 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76460         * elf/Makefile: Add rules to build pldd.
76461         * elf/pldd.c: New file.
76462         * elf/pldd-xx.c: New file.
76464 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76466         * version.h: Update for 2.15 development version.
76468 2011-06-07  David S. Miller  <davem@davemloft.net>
76470         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76471         ifuncs.
76472         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76473         elf_machine_lazy_rel): Likewise.
76474         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76475         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76476         elf_machine_lazy_rel): Likewise.
76477         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76478         dl_hwcap via passed in argument.
76479         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76480         Likewise.
76482 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76484         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76486 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76488         [BZ #12849]
76489         * manual/fdl-1.1.texi: New file, verbatim from:
76490         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76491         * manual/lgpl-2.1.texi: New file, verbatim from:
76492         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76493         * manual/Makefile (licenses): New variable, list those new file names.
76494         (texis): Use it.
76495         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76497         * manual/fdl.texi: File removed.
76498         * manual/lesser.texi: File removed.
76499         * manual/libc.texinfo (Copying, Documentation License):
76500         Use new @include file names, put @appendix directive before @include.
76502 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76504         [BZ #12841]
76505         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76506         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76507         (mq_open): Add __NTH.
76509 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76512         Assume Intel Core i3/i5/i7 processor if AVX is available.
76514 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76516         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76517         typo.
76519 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76521         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76522         memory.  Use alloca_account.  Fix memory leak when retrying.
76524 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76526         * version.h (RELEASE): Bump for 2.14 release.
76527         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76529         * config.make.in (RANLIB): Remove entry.
76531 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76533         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76534         (libc.pot): Work around missing support for .ksh extension in xgettext.
76536         [BZ #12684]
76537         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76538         if both request failed.
76539         (send_dg): In case of server errors clear resplen or *resplen2.
76541         [BZ #12454]
76542         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76543         when there are multiple maps.
76544         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76545         (_dl_fini): Remove test here.
76547         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76549 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76551         [BZ #12350]
76552         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76553         bit from old_res_options.
76554         (gaih_inet): Likewise.
76556         [BZ #11099]
76557         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76558         as signed.
76560         * resolv/res_init.c (res_setoptions): Make the code more compact.
76562         [BZ #11558]
76563         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76564         set RES_USEVC.
76566         [BZ #11634]
76567         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76569         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76571         [BZ #11781]
76572         * malloc/malloc.h: Declare malloc hook variables as volatile.
76574         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76575         in last patch.
76577         [BZ #11799]
76578         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76579         raise in the comment.
76580         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76581         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76582         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76584 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76586         [BZ #12811]
76587         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76588         grow the buffers more if it already has to be sufficient.
76589         (build_wcs_upper_buffer): Likewise.
76590         * posix/regexec.c (check_matching): Likewise.
76591         (clean_state_log_if_needed): Likewise.
76592         (extend_buffers): Don't enlarge buffers beyond size of the input
76593         buffer.
76594         Patches mostly by Emil Wojak <emil@wojak.eu>.
76595         * posix/bug-regex32.c: New file.
76596         * posix/Makefile (tests): Add bug-regex32.
76598         * locale/findlocale.c (_nl_find_locale): Return right away if
76599         _nl_explode_name failed.
76600         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76602         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76604         * debug/xtrace.sh: Unify messages.
76605         * malloc/memusage.sh: Likewise.
76607         [BZ #12813]
76608         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76609         time symbol from vDSO.  Substitute with vsyscall if not available.
76610         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76611         __vdso_time.
76613         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76614         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76615         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76616         Add sendmmsg and internal_sendmmsg.
76617         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76618         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76619         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76621         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76622         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76623         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76625 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76627         [BZ #12813]
76628         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76629         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76630         available.
76631         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76632         __vdso_getcpu.
76634         [BZ #12814]
76635         * iconvdata/Makefile (tests): Add bug-iconv9.
76636         * iconvdata/bug-iconv9.c: New file.
76638 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76640         [BZ #12814]
76641         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76643 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76645         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76646         (struct user_regs_struct): Change intcs field back to cs.
76648 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76650         * po/ja.po: Update from translation team.
76652 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76654         [BZ #12795]
76655         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76656         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76658 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76660         * stdlib/longlong.h: Update from GCC.
76662 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76664         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76665         parameter name.
76666         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76667         Add parameter name.
76668         (__sysconf): Pass it down.
76670 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76672         [BZ #12671]
76673         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76674         some situations.
76675         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76676         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76677         add in in __libc_use_alloca calls.  Adjust callers.
76678         (glob): Use malloc in some situations.
76680         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76681         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76682         pltexit.
76684 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76686         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76687         and CLOCK_BOOTTIME_ALARM.
76689         [BZ #12782]
76690         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76691         is returned.
76693         * string/_strerror.c (__strerror_r): Print negative errors as signed
76694         numbers.
76696         [BZ #12777]
76697         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76698         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76699         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76701         * configure.in: Fix typo in redirection and correct removal of test
76702         files in two cases.
76704         [BZ #12788]
76705         * locale/setlocale.c (new_composite_name): Fix test to check for
76706         identical name of all categories.
76708         [BZ #12792]
76709         * libio/filedoalloc.c (local_isatty): New function.
76710         (_IO_file_doallocate): Use local_isatty.
76711         * stdio-common/perror.c (perror): In case a new stream is used
76712         forward the stream error.
76713         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76714         error flag.
76716 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76718         [BZ #11884]
76719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76720         alloca.
76721         * include/alloca.h (extend_alloca_account): Define.
76723         [BZ #11857]
76724         * posix/regex.h: Fix comments with documentation of user-accessible
76725         fields after compilation and describe correct free'ing of pattern
76726         after re_compile_pattern.
76727         Patch by Reuben Thomas <rrt@sc3d.org>.
76729 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76731         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76732         and -mno-altivec to prevent the compiler from using Altivec and/or
76733         VSX instructions when the corresponding registers are not available.
76735 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76737         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76739 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76741         * libio/freopen.c (freopen): Use __dup2, not dup2.
76742         * libio/freopen64.c (freopen64): Likewise.
76744 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76746         [BZ #12775]
76747         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76748         * math/Makefile (tests): Add test-powl.
76749         (CFLAGS-test-powl.c): Define.
76750         * math/test-powl.c: New file.
76752 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76754         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76756 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76758         [BZ #11837]
76759         * iconvdata/gb18030.c: Update to GB18020-2005.
76761 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76763         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76764         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76765         Patch by Aharon Robbins <arnold@skeeve.com>.
76767         [BZ #11892]
76768         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76769         on the stack.
76771         [BZ #11895]
76772         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76773         through underflows.
76775         [BZ #12766]
76776         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76777         point to strings before performing equality test for error_one_per_line
76778         mode.
76780         [BZ #11697]
76781         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76783         [BZ #11820]
76784         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76785         (struct user_fpregs_struct): Avoid __uint*_t types.
76787         [BZ #6420]
76788         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76789         symbol info.  Use it instead of calling _dl_addr locally.
76790         (lock_and_info): New function.
76791         (tr_freehook): Call lock_and_info and pass symbol info as additional
76792         parameter to tr_where.
76793         (tr_mallochook): Likewise.
76794         (tr_reallochook): Likewise.
76795         (tr_memalignhook): Likewise.
76797         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76798         used and couldn't be at all thread-safe.
76800 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76802         * libio/freopen.c (freopen): Don't close old file descriptor
76803         before the new one is opened.  Instead dup the new file descriptor
76804         to the old one after the new stream is created.
76805         * libio/freopen64.c (freopen64): Likewise.
76806         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76807         * libio/fileops.c (_IO_new_file_close_it): Handle new
76808         _IO_FLAGS2_NOCLOSE flag.
76809         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76810         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76811         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76812         _IO_FLAGS2_NOCLOSE flag.
76813         * include/unistd.h: Add hidden_proto for dup3.
76814         Define __have_dup3.
76815         * io/dup3.c: Define hidden symbol.
76816         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76818         [BZ #7101]
76819         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76820         when an incomplete long option is used.
76821         * posix/tst-getopt_long1.c: New file.
76822         * posix/Makefile (tests): Add tst-getopt_long1.
76824         [BZ #10138]
76825         * scripts/config.guess: Update from autoconf-2.68.
76826         * scripts/config.sub: Likewise.
76828         [BZ #10157]
76829         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76830         tests into ...
76831         (has_cpuclock): ...this.  New function.
76832         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76833         macro here based on has_cpuclock code.
76835         [BZ #10149]
76836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76837         First byte (not low byte) is now always NUL.
76838         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76840         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76841         Use non-cancelable interfaces.
76843         [BZ #9809]
76844         * locale/iso-639.def: Add entry for Sorani.
76846         [BZ #11901]
76847         * include/stdlib.h: Move include protection to the right place.
76848         Define abort_msg_s.  Declare __abort_msg with it.
76849         * stdlib/abort.c (__abort_msg): Adjust type.
76850         * assert/assert.c (__assert_fail_base): New function.  Majority
76851         of code from __assert_fail.  Allocate memory for __abort_msg with
76852         mmap.
76853         (__assert_fail): Now call __assert_fail_base.
76854         * assert/assert-perr.c: Remove bulk of implementation.  Use
76855         __assert_fail_base.
76856         * include/assert.hL Declare __assert_fail_base.
76857         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76858         mmap.
76859         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76861 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76863         [BZ #11952]
76864         [BZ #12453]
76865         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76866         until all modules are registered in the DTV.
76867         * elf/Makefile: Add rules to build and run tst-tls19.
76868         * elf/tst-tls19.c: New file.
76869         * elf/tst-tls19mod1.c: New file.
76870         * elf/tst-tls19mod2.c: New file.
76871         * elf/tst-tls19mod3.c: New file.
76872         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76874         [BZ #12083]
76875         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76876         correctly.
76878         [BZ #12601]
76879         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76880         two-byte sequence errors.
76881         * iconvdata/Makefile (tests): Add bug-iconv8.
76882         * iconvdata/bug-iconv8.c: New file.
76884         [BZ #12626]
76885         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76886         buf2 definition.
76888         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76890         [BZ #12432]
76891         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76892         (dummy_getcfa): New function.
76893         (init): Get _Unwind_GetCFA address, use dummy if not found.
76894         (backtrace_helper): In recursion check, also check whether CFA changes.
76895         (__backtrace): Completely initialize arg.
76897         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76898         storing incomplete byte sequence in state object.  Avoid testing for
76899         guaranteed too small input if we know there is enough data available.
76901 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76903         * Makeconfig (+link-pie): Indent.
76904         * Rules (binaries-pie): Define if $(have-fpie) and
76905         $(build-shared).
76906         (binaries-shared): Also filter out $(binaries-pie).
76907         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76908         * nscd/Makefile (others-pie): Add nscd.
76909         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76910         ($(objpfx)nscd): Remove command override.
76911         * login/Makefile (others-pie): Add pt_chown.
76912         ($(objpfx)pt_chown): Remove command override.
76913         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76914         remove command overrides.
76916 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76918         * libio/tst_putwc.c: Fix error messages.
76920         [BZ #12724]
76921         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76922         currently writing and seek to current position when not.
76923         * libio/Makefile (tests): Add bug-fclose1.
76924         * libio/bug-fclose1.c: New file.
76926 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76928         [BZ #12511]
76929         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76930         don't set DF_1_NODELETE here.
76931         (do_lookup_x): When entering new entry test for copy relocation
76932         and if necessary set DF_1_NODELETE flag.
76933         * elf/tst-unique4.cc: New file.
76934         * elf/tst-unique4.h: New file.
76935         * elf/tst-unique4lib.cc: New file.
76936         * elf/Makefile: Add rules to build and run tst-unique4.
76937         Patch by Piotr Bury <pbury@goahead.com>.
76939 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76941         [BZ #12052]
76942         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76944         [BZ #12625]
76945         * misc/mntent_r.c (addmntent): Flush the stream after the output
76947         [BZ #12393]
76948         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76949         (is_trusted_path_normalize): Skip initial colon.  Append slash
76950         to empty buffer.  Duplicate is_trusted_path code but allow
76951         constructed patch to be prefix.
76952         (is_dst): Allow $ORIGIN followed by /.
76953         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76954         Correct testing of result of is_trusted_path_normalize
76955         (decompose_rpath): Fix warning.
76957 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76959         [BZ #11257]
76960         * grp/initgroups.c (internal_getgrouplist): When we found the service
76961         list through the initgroups entry in nsswitch.conf do not always
76962         continue on a successful lookup.  Don't always use the
76963         __nss_group_database value if it is set.
76964         * nss/nsswitch.conf (initgroups): Change action for successful db
76965         lookup to continue for compatibility.
76967 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76969         [BZ #11532]
76970         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76971         and CP774 modules.
76972         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76973         and CP774 modules.
76974         * iconvdata/tst-tables.sh: Likewise.
76975         * iconvdata/cp770.c: New file.
76976         * iconvdata/cp771.c: New file.
76977         * iconvdata/cp772.c: New file.
76978         * iconvdata/cp773.c: New file.
76979         * iconvdata/cp774.c: New file.
76980         * iconvdata/testdata/CP770: New file.
76981         * iconvdata/testdata/CP770..UTF8: New file.
76982         * iconvdata/testdata/CP771: New file.
76983         * iconvdata/testdata/CP771..UTF8: New file.
76984         * iconvdata/testdata/CP772: New file.
76985         * iconvdata/testdata/CP772..UTF8: New file.
76986         * iconvdata/testdata/CP773: New file.
76987         * iconvdata/testdata/CP773..UTF8: New file.
76988         * iconvdata/testdata/CP774: New file.
76989         * iconvdata/testdata/CP774..UTF8: New file.
76991         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76992         END CHARMAP line.
76993         * iconvdata/gen-8bit-gap.sh: Likewise.
76994         * iconvdata/gen-8bit.sh: Likewise.
76996         * locale/iso-639.def: Add ary entry.
76998         [BZ #11258]
76999         * locale/C-translit.h.in: Add U20A1 transliteration.
77001         [BZ #12178]
77002         * locale/iso-639.def: Add wae entry.
77003         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77005         [BZ #12545]
77006         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77007         for n.
77009         [BZ #12711]
77010         * locale/C-translit.h.in: Add entry for U20B9.
77011         Patch by pravin.d.s@gmail.com.
77013 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77015         [BZ #12713]
77016         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77017         ENAMETOOLONG use generic getcwd.
77018         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77019         in rtld.  Use *stat64.
77020         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77021         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77022         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77023         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77024         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77025         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77026         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77027         __fstatat64 macros.
77028         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77029         * dirent/rewinddir.c: Add libc_hidden_def.
77030         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77031         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77033         * include/dirent.h (__alloc_dir): Add flags parameter.
77034         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77035         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77036         __alloc_dir.
77037         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77038         from fdopendir if O_CLOEXEC is already set.
77040 2011-03-15  Alan Modra  <amodra@gmail.com>
77042         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77043         l_tls_firstbyte_offset non-zero.  Save padding offset in
77044         l_tls_firstbyte_offset for later use.
77045         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77046         freeing static tls block.
77048 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77050         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77051         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77052         being defined by the kernel headers.
77054 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77056         [BZ #12734]
77057         * resolv/resolv.h: Define RES_NOTLDQUERY.
77058         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77059         no-tld-query and set RES_NOTLDQUERY.
77060         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77061         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77062         modern BIND to search name as TLD unless forbidden.
77064 2011-05-07  Petr Baudis  <pasky@suse.cz>
77065             Ulrich Drepper  <drepper@gmail.com>
77067         [BZ #12393]
77068         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77069         (is_trusted_path): ...to here.
77070         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77071         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77072         using is_trusted_path_normalize() in setuid scripts.
77074 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77076         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77077         __BEGIN/__END_DECLS.
77079 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77081         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77082         NSS_STATUS_NOTFOUND if no record was found.
77084 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77086         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77087         (headers-not-in-tirpc): Remove rpc/netdb.h
77088         * resolv/netdb.h: Revert last change.
77090 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77092         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77093         circular dependency between libgcc.a and libc.a.
77095 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77097         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77098         * nis/Makefile: Don't install rpcsvc/*.
77099         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77100         instead of <rpc/types.h>.
77101         (MAXHOSTNAMELEN): Define.
77103 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77105         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77107 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77109         [BZ #12714]
77110         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77111         gethostbyname4_r when IPv6 results are possible.
77113 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77115         [BZ #12723]
77116         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77117         _PC_PIPE_BUF handling.
77119 2011-04-30  Bruno Haible  <bruno@clisp.org>
77121         [BZ #12717]
77122         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77123         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77124         to 'int'.
77125         * inet/getnameinfo.c (getnameinfo): Likewise.
77127 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77129         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77130         to groups setting in database lookup.
77131         * nss/nsswitch.conf: Add initgroups entry.
77133 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77135         [BZ #12685]
77136         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77137         mode string.
77138         Patch by Eric Blake <eblake@redhat.com>.
77140 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77142         * sunrpc/Makefile (need-export-routines): Add svc_run.
77143         (routines): Remove svc_run.
77144         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77145         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77146         * sunrpc/svc_run.c (svc_run): Likewise.
77147         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77149 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77151         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77152         problem in reallocation in last patch.
77154 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77156         * sunrpc/Makefile: Move inclusion of Rules.
77158 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77160         * nss/nss_files/files-initgroups.c: New file.
77161         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77162         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77163         _nss_files_initgroups_dyn.
77165 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77167         * elf/elf.h (R_ARM_IRELATIVE): Define.
77169 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77171         * po/ru.po: Update from translation team.
77173 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77175         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77176         dependencies.
77178 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77180         [BZ #12653]
77181         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77182         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77183         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77184         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77187 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77189         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77190         differing bytes.
77191         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77192         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77193         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77195 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77197         [BZ #12420]
77198         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77199         storing it.
77200         * stdlib/bug-getcontext.c: New file.
77201         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77203 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77205         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77206         instructions into .machine "z9-109".
77207         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77208         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77210 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77212         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77213         between environment variables and auxiliary vector.
77215 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77217         * Makefile: Add rules to build linkobj/libc.so.
77218         * include/libc-symbols.h: Define libc_hidden_nolink.
77219         * include/rpc/auth.h: Mark functions which are to be hidden.
77220         * include/rpc/auth_des.h: Likewise.
77221         * include/rpc/auth_unix.h: Likewise.
77222         * include/rpc/clnt.h: Likewise.
77223         * include/rpc/des_crypt.h: Likewise.
77224         * include/rpc/key_prot.h: Likewise.
77225         * include/rpc/pmap_clnt.h: Likewise.
77226         * include/rpc/pmap_prot.h: Likewise.
77227         * include/rpc/pmap_rmt.h: Likewise.
77228         * include/rpc/rpc_msg.h: Likewise.
77229         * include/rpc/svc.h: Likewise.
77230         * include/rpc/svc_auth.h: Likewise.
77231         * include/rpc/xdr.h: Likewise.
77232         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77233         * nss/Makefile: Likewise.
77234         * sunrpc/Makefile: Don't install headers.  Build library with normal
77235         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77236         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77237         for the compat linking library.  Remove use of INTDEF/INTUSE.
77238         * sunrpc/auth_none.c: Likewise.
77239         * sunrpc/auth_unix.c: Likewise.
77240         * sunrpc/authdes_prot.c: Likewise.
77241         * sunrpc/authuxprot.c: Likewise.
77242         * sunrpc/clnt_gen.c: Likewise.
77243         * sunrpc/clnt_perr.c: Likewise.
77244         * sunrpc/clnt_raw.c: Likewise.
77245         * sunrpc/clnt_simp.c: Likewise.
77246         * sunrpc/clnt_tcp.c: Likewise.
77247         * sunrpc/clnt_udp.c: Likewise.
77248         * sunrpc/clnt_unix.c: Likewise.
77249         * sunrpc/des_crypt.c: Likewise.
77250         * sunrpc/des_soft.c: Likewise.
77251         * sunrpc/get_myaddr.c: Likewise.
77252         * sunrpc/key_call.c: Likewise.
77253         * sunrpc/key_prot.c: Likewise.
77254         * sunrpc/netname.c: Likewise.
77255         * sunrpc/pm_getmaps.c: Likewise.
77256         * sunrpc/pm_getport.c: Likewise.
77257         * sunrpc/pmap_clnt.c: Likewise.
77258         * sunrpc/pmap_prot.c: Likewise.
77259         * sunrpc/pmap_prot2.c: Likewise.
77260         * sunrpc/pmap_rmt.c: Likewise.
77261         * sunrpc/publickey.c: Likewise.
77262         * sunrpc/rpc_cmsg.c: Likewise.
77263         * sunrpc/rpc_common.c: Likewise.
77264         * sunrpc/rpc_dtable.c: Likewise.
77265         * sunrpc/rpc_prot.c: Likewise.
77266         * sunrpc/rpc_thread.c: Likewise.
77267         * sunrpc/rtime.c: Likewise.
77268         * sunrpc/svc.c: Likewise.
77269         * sunrpc/svc_auth.c: Likewise.
77270         * sunrpc/svc_authux.c: Likewise.
77271         * sunrpc/svc_raw.c: Likewise.
77272         * sunrpc/svc_run.c: Likewise.
77273         * sunrpc/svc_simple.c: Likewise.
77274         * sunrpc/svc_tcp.c: Likewise.
77275         * sunrpc/svc_udp.c: Likewise.
77276         * sunrpc/svc_unix.c: Likewise.
77277         * sunrpc/svcauth_des.c: Likewise.
77278         * sunrpc/xcrypt.c: Likewise.
77279         * sunrpc/xdr.c: Likewise.
77280         * sunrpc/xdr_array.c: Likewise.
77281         * sunrpc/xdr_float.c: Likewise.
77282         * sunrpc/xdr_intXX_t.c: Likewise.
77283         * sunrpc/xdr_mem.c: Likewise.
77284         * sunrpc/xdr_rec.c: Likewise.
77285         * sunrpc/xdr_ref.c: Likewise.
77286         * sunrpc/xdr_sizeof.c: Likewise.
77287         * sunrpc/xdr_stdio.c: Likewise.
77289 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77291         [BZ #12650]
77292         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77293         * sysdeps/ia64/dl-tls.h: Likewise.
77294         * sysdeps/powerpc/dl-tls.h: Likewise.
77295         * sysdeps/s390/dl-tls.h: Likewise.
77296         * sysdeps/sh/dl-tls.h: Likewise.
77297         * sysdeps/sparc/dl-tls.h: Likewise.
77298         * sysdeps/x86_64/dl-tls.h: Likewise.
77299         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77301 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77303         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77304         rpath element also skip the following colon.
77305         (expand_dynamic_string_token): Add is_path parameter and pass
77306         down to DL_DST_REQUIRED and _dl_dst_substitute.
77307         (decompose_rpath): Call expand_dynamic_string_token with
77308         non-zero is_path.  Ignore empty rpaths.
77309         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77310         with zero is_path.
77312 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77315         Make cancelable.
77317 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77319         [BZ #12655]
77320         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77321         Patch by Filipe David Manana <fdmanana@apache.org>.
77323 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77325         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77326         Maintain aligned stack.
77327         (CHECK_RSP): Remove unused macro.
77329 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77331         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77332         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77334 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77336         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77338         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77340 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77342         [BZ #12518]
77343         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77344         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77345         * sysdeps/x86_64/memmove.c: New file.
77346         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77347         (memcpy): Renamed to ...
77348         (__new_memcpy): This.
77349         (memcpy): Provide GLIBC_2_14 memcpy.
77350         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77351         (memcpy): Provide GLIBC_2_2_5 memcpy.
77353 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77355         [BZ #12631]
77356         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77358 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77360         * misc/syncfs.c: New file.
77361         * misc/Makefile (routines): Add syncfs.
77362         * posix/unistd.h: Declare syncfs.
77363         * sysdeps/unix/syscalls.list: Add syncfs.
77365 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77367         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77368         open_by_handle_at.
77369         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77370         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77371         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77372         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77373         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77374         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77377 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77379         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77380         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77381         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77382         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77383         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77385         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77387         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77388         sync_file_range.c with -fexceptions.
77389         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77390         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77391         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77392         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77393         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77394         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77396         sync_file_range as cancellation point
77397         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77398         now a wrapper around __call_sync_file_range with cancellation handling.
77399         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77400         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77401         function name to __call_sync_file_range.
77402         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77403         Add call_sync_file_range.
77405 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77408         bits/timex.h.
77410 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77412         * iconv/iconv.h: Fix typo in comment.
77413         * io/fcntl.h: Likewise.
77414         * libio/stdio.h: Likewise.
77415         * posix/spawn.h: Likewise.
77416         * posix/unistd.h: Likewise.
77417         * stdlib/stdlib.h: Likewise.
77418         * time/time.h: Likewise.
77419         * wcsmbs/wchar.h: Likewise.
77421         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77422         open_by_handle): Add.
77423         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77424         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77425         Augment a few comments.
77426         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77427         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77428         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77430         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77431         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77432         open_by_handle.
77434         * io/fcntl.h (AT_EMPTY_PATH): Define.
77436 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77438         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77439         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77440         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77441         to...
77442         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77443         * Versions.def: Add GLIBC_2.14.
77444         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77445         Export.
77447 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77449         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77450         round counter.
77451         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77453 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77455         [BZ #12597]
77456         * string/test-strncmp.c (do_page_test): New function.
77457         (check2): Likewise.
77458         (test_main): Call check2.
77459         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77461 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77463         [BZ #12587]
77464         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77465         Handle cache information in CPU leaf 4.
77466         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77468 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77470         [BZ #12583]
77471         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77472         character representation.
77473         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77475 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77477         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77478         END(__isnan) to END(__isnanf) to match function entry point/label
77479         EALIGN(__isnanf,...).
77481 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77483         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77485 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77487         [BZ #12510]
77488         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77489         copy from the symbol referenced in the relocation to initialize the
77490         used variable.
77491         Patch by Piotr Bury <pbury@goahead.com>.
77492         * elf/Makefile: Add rules to build and tst-unique3.
77493         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77494         * elf/tst-unique3.cc: New file.
77495         * elf/tst-unique3.h: New file.
77496         * elf/tst-unique3lib.cc: New file.
77497         * elf/tst-unique3lib2.cc: New file.
77499         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77501 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77503         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77504         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77505         to _start.
77507 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77509         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77510         to-be-loaded object along a path to loader is ld.so.
77512 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77513             Ulrich Drepper  <drepper@gmail.com>
77515         * sysdeps/x86_64/memset.S: After aligning destination, code
77516         branches to different locations depending on the value of
77517         misalignment, when multiarch is enabled. Fix this.
77519 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77521         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77522         Set _x86_64_preferred_memory_instruction for AMD processsors.
77523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77524         Set bit_Prefer_SSE_for_memop for AMD processors.
77526 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77528         * libio/fmemopen.c (fmemopen): Optimize a bit.
77530 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77532         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77534 2011-03-03  Roland McGrath  <roland@redhat.com>
77536         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77538 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77540         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77541         __bzero_ultra1 instead of __memset_ultra1.
77543 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77544             Ulrich Drepper  <drepper@gmail.com>
77546         [BZ #12509]
77547         * include/link.h (struct link_map): Add l_orig_initfini.
77548         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77549         returning unsuccessfully.
77550         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77551         close of a file loaded at startup, restore the original l_initfini
77552         list.
77553         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77554         list, store the pointer.
77555         * elf/Makefile ($(objpfx)noload-mem): New rule.
77556         (noload-ENV): Define.
77557         (tests): Add $(objpfx)noload-mem.
77558         * elf/noload.c: Include <memcheck.h>.
77559         (main): Call mtrace.  Close all opened handles.
77561 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77563         [BZ #12454]
77564         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77565         dependencies are missing.
77567 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77569         Fix __if_freereq crash: Unlike the generic version which uses free,
77570         Hurd needs munmap.
77571         * sysdeps/mach/hurd/ifreq.h: New file.
77573 2011-01-27  Petr Baudis  <pasky@suse.cz>
77574             Ulrich Drepper  <drepper@gmail.com>
77576         [BZ 12445]#
77577         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77578         to extend_alloca().
77579         * stdio-common/bug23.c: New file.
77580         * stdio-common/Makefile (tests): Add bug23.
77582 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77583             Ulrich Drepper  <drepper@gmail.com>
77585         [BZ #12489]
77586         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77587         before performing relro protection.  At old place add assertion
77588         to make sure nothing changed.
77590 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77591             Glauber de Oliveira Costa  <glommer@gmail.com>
77593         * elf/elf.h: Add new ARM TLS relocs.
77595 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77598         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77599         cast from r3.
77600         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77601         'tests' variable.
77602         * sysdeps/wordsize-64/tst-writev.c: New file.
77604 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77606         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77607         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77608         insns in _dl_start to prevent a TOC reference before relocs are
77609         resolved.
77611 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77613         [BZ #12469]
77614         * Makeconfig: Remove RANLIB definition.
77615         * Makerules: Don't use RANLIB.
77616         * aclocal.m4: Remove ranlib test.
77617         * configure.in: No need to check for ranlib.
77618         * elf/rtld-Rules: Don't use RANLIB.
77620 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77622         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77623         protection macro.
77624         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77625         inclusion protection macro.
77627         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77628         SIGRTMIN and SIGRTMAX and print information in that case only when
77629         SIGRTMIN is defined.
77631 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77633         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77634         arginfo fn returning -1.
77636         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77637         and thousands string is zero terminated.
77639 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77641         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77642         sysdeps/unix/sysv/linux/bits/socket.h.
77644 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77646         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77647         (__CPU_COUNT): Remove old macros.
77648         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77649         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77650         (__CPU_ALLOC, __CPU_FREE): Add macros.
77651         (__sched_cpualloc, __sched_cpufree): Add declarations.
77653 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77655         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77656         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77657         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77658         (readdhstai): Return value of addhstaiX call.
77659         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77660         (addgrbyX): Return value returned by cache_addgr.
77661         (readdgrbyname): Return value returned by addgrbyX.
77662         (readdgrbygid): Likewise.
77663         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77664         (addpwbyX): Return value returned by cache_addpw.
77665         (readdpwbyname): Return value returned by addhstbyX.
77666         (readdpwbyuid): Likewise.
77667         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77668         (addservbyX): Return value returned by cache_addserv.
77669         (readdservbyname): Return value returned by addservbyX:
77670         (readdservbyport): Likewise.
77671         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77672         (addhstbyX): Return value returned by cache_addhst.
77673         (readdhstbyname): Return value returned by addhstbyX.
77674         (readdhstbyaddr): Likewise.
77675         (readdhstbynamev6): Likewise.
77676         (readdhstbyaddrv6): Likewise.
77677         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77678         (readdinitgroups): Return value returned by addinitgroupsX.
77679         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77680         (prune_cache): Keep track of timeout value of re-added entries.
77681         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77682         * nscd/nscd.h: Adjust prototypes of readd* functions.
77684 2011-02-04  Roland McGrath  <roland@redhat.com>
77686         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77687         (nis_stats): Likewise.
77688         * nis/nis_modify.c (nis_modify): Likewise.
77689         * nis/nis_remove.c (nis_remove): Likewise.
77690         * nis/nis_add.c (nis_add): Likewise.
77692         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77694         * posix/fnmatch_loop.c: Add some consts.
77696         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77698 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77700         [BZ #12460]
77701         * config.make.in (config-cflags-novzeroupper): Define.
77702         * configure.in: Substitute libc_cv_cc_novzeroupper.
77703         * elf/Makefile (AVX-CFLAGS): Define.
77704         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77705         (CFLAGS-tst-auditmod4a.c): Likewise.
77706         (CFLAGS-tst-auditmod4b.c): Likewise.
77707         (CFLAGS-tst-auditmod6b.c): Likewise.
77708         (CFLAGS-tst-auditmod6c.c): Likewise.
77709         (CFLAGS-tst-auditmod7b.c): Likewise.
77710         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77712 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77714         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77715         function to the callback.
77716         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77718 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77720         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77721         of errno.
77723 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77725         [BZ #11724]
77726         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77727         of constructors.
77728         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77729         of destructors.
77730         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77732         [BZ #11724]
77733         * elf/Makefile: Add rules to build and run new test.
77734         * elf/tst-initorder.c: New file.
77735         * elf/tst-initorder.exp: New file.
77736         * elf/tst-initordera1.c: New file.
77737         * elf/tst-initordera2.c: New file.
77738         * elf/tst-initordera3.c: New file.
77739         * elf/tst-initordera4.c: New file.
77740         * elf/tst-initorderb1.c: New file.
77741         * elf/tst-initorderb2.c: New file.
77742         * elf/tst-order-a1.c: New file.
77743         * elf/tst-order-a2.c: New file.
77744         * elf/tst-order-a3.c: New file.
77745         * elf/tst-order-a4.c: New file.
77746         * elf/tst-order-b1.c: New file.
77747         * elf/tst-order-b2.c: New file.
77748         * elf/tst-order-main.c: New file.
77749         New test case by George Gensure <werkt0@gmail.com>.
77751 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77754         decoding ACE if AI_CANONIDN.
77756 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77758         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77760 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77762         * version.h (RELEASE): Bump for 2.13 release.
77763         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77765         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77767         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77768         MADV_NOHUGEPAGE.
77769         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77770         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77771         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77772         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77773         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77774         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77776         * posix/getconf.c: Update copyright year.
77777         * catgets/gencat.c: Likewise.
77778         * csu/version.c: Likewise.
77779         * debug/catchsegv.sh: Likewise.
77780         * debug/xtrace.sh: Likewise.
77781         * elf/ldconfig.c: Likewise.
77782         * elf/ldd.bash.in: Likewise.
77783         * elf/sprof.c (print_version): Likewise.
77784         * iconv/iconv_prog.c: Likewise.
77785         * iconv/iconvconfig.c: Likewise.
77786         * locale/programs/locale.c: Likewise.
77787         * locale/programs/localedef.c: Likewise.
77788         * malloc/memusage.sh: Likewise.
77789         * malloc/mtrace.pl: Likewise.
77790         * nscd/nscd.c (print_version): Likewise.
77791         * nss/getent.c: Likewise.
77793         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77794         PF_CAIF, and PF_ALG.
77795         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77797 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77799         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77800         (modules-names): Use them.
77801         (ifunc-test-modules, ifunc-pie-tests): Define.
77802         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77803         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77804         (test-extras): Likewise.
77805         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77806         $(compile-command.c).
77807         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77808         (all-built-dso): Define.
77809         (check-textrel.out, check-execstack.out): Depend on it.
77811         * configure.in: Don't override --enable-multi-arch.
77813 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77815         [BZ #6812]
77816         * nscd/hstcache.c (tryagain): Define.
77817         (cache_addhst): Return tryagain not notfound for temporary errors.
77818         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77819         failed.
77821 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77823         [BZ #10563]
77824         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77825         to make the syscall.
77826         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77828         [BZ #12378]
77829         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77830         and fall back to matching as normal character if the string ends before
77831         the matching ']' is found.  This is what POSIX requires.
77832         * posix/testfnm.c: Adjust test result.
77833         * posix/globtest.sh: Adjust test result.  Add new test.
77834         * posix/tst-fnmatch.input: Likewise.
77835         * posix/tst-fnmatch2.c: Add new test.
77837 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77839         * elf/Makefile (check-execstack): Revert last change.  Depend on
77840         check-execstack.h.
77841         (check-execstack.h): New target.
77842         (generated): Add check-execstack.h.
77843         * elf/check-execstack.c: Include "check-execstack.h".
77844         (main): Revert last change.
77845         (handle_file): Return zero if GNU_STACK is absent and
77846         DEFAULT_STACK_PERMS doesn't include PF_X.
77848 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77850         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77851         in child fails because the descriptor is already closed.
77852         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77853         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77854         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77856         [BZ #12397]
77857         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77858         syscall.
77860         [BZ #10484]
77861         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77862         temporary buffer used to handle multi lookups locally.
77863         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77865 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77867         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77868         loader is ld.so.
77870 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77872         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77873         alignment for SSE2.
77875 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77877         [BZ #12394]
77878         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77879         characters.  When rounding increased number of integer digits recompute
77880         number of groups.
77881         * stdio-common/tst-grouping.c: New file.
77882         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77884 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77886         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77887         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77889         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77890         void.
77891         * bits/select.h: Likewise.
77893 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77895         * po/ja.po: Update from translation team.
77897 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77899         [BZ #11155]
77900         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77901         implementation just like for lxstat, fxstatat, et al.
77903 2010-12-27  Jim Meyering  <meyering@redhat.com>
77905         [BZ #12348]
77906         * posix/regexec.c (build_trtable): Return failure indication upon
77907         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77909 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77911         [BZ #12201]
77912         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77913         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77914         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77915         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77917         [BZ #12207]
77918         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77920         [BZ #12204]
77921         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77922         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77924 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77926         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77927         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77928         script has SORT_BY_INIT_PRIORITY.
77929         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77930         NO_CTORS_DTORS_SECTIONS is defined.
77931         * elf/soinit.c: Likewise.
77932         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77933         NO_CTORS_DTORS_SECTIONS is defined.
77934         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77935         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77936         * sysdeps/sh/init-first.c: Likewise.
77937         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77939 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77941         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77942         always use the slow path.
77944 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77946         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77947         similar rule which adds the sysdep directories to the header search in
77948         order to pick up the correct platform stackinfo.h.
77949         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77950         perform test if it is, otherwise return successfully without testing.
77951         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77952         DEFAULT_STACK_PERMS define in stackinfo.h.
77953         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77954         defined in stackinfo.h.
77955         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77956         DEFAULT_STACK_PERMS defined in stackinfo.h.
77957         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77958         * sysdeps/ia64/stackinfo.h: Likewise.
77959         * sysdeps/s390/stackinfo.h: Likewise.
77960         * sysdeps/sh/stackinfo.h: Likewise.
77961         * sysdeps/sparc/stackinfo.h: Likewise.
77962         * sysdeps/x86_64/stackinfo.h: Likewise.
77963         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77964         PF_X for powerpc64.  Retain PF_X for powerpc32.
77966 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77968         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77969         accurately.
77970         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77971         GETDENTS_64BIT_ALIGNED.
77973 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77975         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77977 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77979         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77980         _GNU_SOURCE.
77982         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77983         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77984         Remove __restrict.
77985         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77986         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77988 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77990         [BZ #11655]
77991         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77992         are initialized.
77994 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77996         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77998 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78000         * po/it.po: Update from translation team.
78002 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78004         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78005         unused codes.
78007 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78009         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78011 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78013         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78014         specially.
78015         (gaih_getanswer_slice): Likewise.
78017 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78021 2010-05-31  Petr Baudis  <pasky@suse.cz>
78023         [BZ #11149]
78024         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78025         silently even in the chroot mode.
78027 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78029         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78030         last patch a bit.  Pretty printing
78032 2010-05-31  Petr Baudis <pasky@suse.cz>
78034         [BZ #10085]
78035         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78036         initialization of skip_initgroups_dyn.
78038 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78040         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78041         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78043 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78045         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78047 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78049         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78050         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78051         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78052         ($(objpfx)tst-fnmatch-mem): New rule.
78053         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78054         * posix/tst-fnmatch.c (main): Call mtrace.
78056 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78059         Support Intel processor model 6 and model 0x2c.
78061 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78063         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78064           signed comparison.
78066 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78068         [BZ #12205]
78069         * string/test-strncasecmp.c (check_result): New function.
78070         (do_one_test): Use it.
78071         (check1): New function.
78072         (test_main): Use it.
78073         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78074         Support strcasecmp and strncasecmp.
78076 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78078         [BZ #12194]
78079         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78080         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78082 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78084         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78085         IFUNC support.
78086         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78087         memset-x86-64.
78088         * sysdeps/x86_64/multiarch/bzero.S: New file.
78089         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78090         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78091         * sysdeps/x86_64/multiarch/memset.S: New file.
78092         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78094         Set bit_Prefer_SSE_for_memop for Intel processors.
78095         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78096         Define.
78097         (index_Prefer_SSE_for_memop): Define.
78098         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78100 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78102         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78103         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78105 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78107         [BZ #12191]
78108         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78109         (__x86_64_raw_data_cache_size_half): Likewise.
78110         (__x86_64_raw_shared_cache_size): Likewise.
78111         (__x86_64_raw_shared_cache_size_half): Likewise.
78113         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78114         (__x86_64_raw_data_cache_size_half): Likewise.
78115         (__x86_64_raw_shared_cache_size): Likewise.
78116         (__x86_64_raw_shared_cache_size_half): Likewise.
78117         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78118         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78119         and __x86_64_raw_shared_cache_size_half.  Round
78120         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78121         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78122         to multiple of 256 bytes.
78124 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78126         [BZ #12167]
78127         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78128         of inacessible symlinks.  Verify result of symlink before returning it.
78129         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78130         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78132 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78134         * math/math.h (isinf): Fix typo in comment.
78136 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78138         * po/da.po: Update from translation team.
78140 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78142         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78143         is added to the list.
78145 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78146             Ulrich Drepper  <drepper@gmail.com>
78148         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78149         the global list here.  Move code to...
78150         (_dl_add_to_namespace_list): ...here.  New function.
78151         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78152         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78153         * elf/dl-load.c (lose): Don't remove the element from the list.
78154         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78155         (_dl_map_object): Likewise.
78157 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78159         [BZ #12159]
78160         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78161         into all bytes of SSE register.
78162         Patch by Richard Li <richardpku@gmail.com>.
78164 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78166         [BZ #12140]
78167         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78168         perturbing.
78170 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78172         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78173         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78174         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78175         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78177         submachine.
78178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78180 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78182         * include/dlfcn.h (__RTLD_SECURE): Define.
78183         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78184         mode & __RTLD_SECURE instead.
78185         (open_path): Rename preloaded parameter to secure.
78186         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78187         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78188         * elf/dl-deps.c (openaux): Likewise.
78189         * elf/rtld.c (struct map_args): Remove is_preloaded.
78190         (map_doit): Don't use it.
78191         (dl_main): Likewise.
78192         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78193         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78195 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78197         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78198         (sysd-rules-targets): Remove duplicates.
78199         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78200         rtld-%.$o dependency.
78202 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78204         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78205         _dl_map_object do it.
78207 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78209         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78210         fast fma builtins, define the macros in the C99 standard.
78211         (FP_FAST_FMAF): Likewise.
78212         (FP_FAST_FMAL): Likewise.
78213         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78215         * bits/mathdef.h: Update copyright year.
78216         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78218 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78220         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78221         builtins, define the macros in the C99 standard.
78222         (FP_FAST_FMAF): Likewise.
78223         (FP_FAST_FMAL): Likewise.
78224         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78225         multiply/add.
78226         (FP_FAST_FMAF): Likewise.
78228 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78230         [BZ #3268]
78231         * math/libm-test.inc (fma_test): Some new testcases.
78232         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78233         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78234         y and infinite z.  Do multiplication by C already in long double.
78235         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78237         y and infinite z.  Do bitwise or of inexact bit into u.d.
78238         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78239         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78240         * sysdeps/i386/fpu/s_fma.S: Removed.
78241         * sysdeps/i386/fpu/s_fmal.S: Removed.
78243 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78245         [BZ #3268]
78246         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78248         computation is not scheduled after fetestexcept.  Fix value
78249         of minimum denormal long double.
78251 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78253         [BZ #3268]
78254         * math/libm-test.inc (fma_test): Add some more tests.
78255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78256         correctly.
78258 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78260         * scripts/data/localplt-s390-linux-gnu.data: New file.
78261         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78263 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78265         [BZ #3268]
78266         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78267         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78268         instead of dbl-64.
78269         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78270         inlines.
78271         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78273         if one of x and y is very large and the other is subnormal.
78274         * sysdeps/s390/fpu/s_fmaf.c: New file.
78275         * sysdeps/s390/fpu/s_fma.c: New file.
78276         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78277         * sysdeps/powerpc/fpu/s_fma.S: New file.
78278         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78279         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78280         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78282 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78284         [BZ #3268]
78285         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78286         fma tests.
78287         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78288         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78289         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78290         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78291         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78292         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78293         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78295 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78297         [BZ #12078]
78298         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78299         * posix/bug-regex31.input: Add test case.
78301 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78303         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78304         * posix/bug-regex31.input: New file.
78306         [BZ #12078]
78307         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78308         (parse_sub_exp): Fix last change, use postorder.
78310         * posix/bug-regex31.c: New file.
78311         * posix/Makefile: Add rules to build and run bug-regex31.
78313         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78315         [BZ #12078]
78316         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78318         [BZ #12108]
78319         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78320         to have entries in sys_siglist.
78322         [BZ #12093]
78323         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78324         be NULL.
78326 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78328         [BZ #3268]
78329         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78330         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78331         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78332         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78333         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78334         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78335         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78336         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78337         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78338         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78339         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78340         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78341         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78342         * math/ftestexcept.c (fetestexcept): Likewise.
78343         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78344         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78345         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78346         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78347         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78348         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78349         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78351 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78353         [BZ #12107]
78354         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78355         newline.
78357 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78359         * string/bug-strstr1.c: New file.
78360         * string/Makefile: Add rules to build and run bug-strstr1.
78362 2010-10-05  Eric Blake  <eblake@redhat.com>
78364         [BZ #12092]
78365         * string/str-two-way.h (two_way_long_needle): Always clear memory
78366         when skipping input due to the shift table.
78368 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78370         [BZ #12005]
78371         * malloc/mcheck.c: Handle large requests.
78373         [BZ #12077]
78374         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78375         for strncmp and strncasecmp.
78376         * string/stratcliff.c: Add tests for strcmp and strncmp.
78377         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78379 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78381         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78382         __set_fpscr.
78384 2010-09-30  Andreas Jaeger  <aj@suse.de>
78386         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78387         (CGROUP_SUPER_MAGIC): Define.
78388         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78389         Handle btrfs and cgroup file systems.
78390         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78391         Likewise.
78393 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78395         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78396         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78398 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78400         [BZ #12067]
78401         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78402         trying to locate the ELF header.
78404 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78406         [BZ #11611]
78407         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78408         Mask out sign-bit copies when constructing f_fsid.
78410 2010-09-24  Petr Baudis <pasky@suse.cz>
78412         * debug/stack_chk_fail_local.c: Add missing licence exception.
78413         * debug/warning-nop.c: Likewise.
78415 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78417         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78418         implementing getdents64 using getdents syscall, set d_type if
78419         __ASSUME_GETDENTS32_D_TYPE.
78421 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78423         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78424         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78426 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78428         [BZ #12037]
78429         * posix/unistd.h: Undo change of feature selection for ftruncate from
78430         2010-01-11.
78432 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78434         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78435         detection.
78437 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78439         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78440         fanotify_mark.
78441         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78443 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78445         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78446         variables after CHECK_SP call.
78447         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78449 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78450             Ulrich Drepper  <drepper@redhat.com>
78452         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78453         re-relocationg ld.so.
78454         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78455         _dl_init_paths call.
78456         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78457         here anymore.
78459 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78461         * resolv/res_init.c (__res_vinit): Count the default server we added.
78463 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78464             Ulrich Drepper  <drepper@redhat.com>
78466         [BZ #11968]
78467         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78468         (____longjmp_chk): Use %ebx for saving value across system call.
78469         Add unwind info.
78471 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78473         * manual/Makefile: Don't mix pattern rules with normal rules.
78475 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78477         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78478         operation.
78479         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78480         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78481         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78482         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78484         Likewise.
78486 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78488         [BZ #11979]
78489         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78490         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78492 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78494         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78495         * sysdeps/x86_64/addmul_1.S: Likewise.
78496         * sysdeps/x86_64/lshift.S: Likewise.
78497         * sysdeps/x86_64/mul_1.S: Likewise.
78498         * sysdeps/x86_64/rshift.S: Likewise.
78499         * sysdeps/x86_64/sub_n.S: Likewise.
78500         * sysdeps/x86_64/submul_1.S: Likewise.
78502 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78504         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78505         Define __sched_param instead of SCHED_* and sched_param when
78506         <bits/sched.h> is included with __need_schedparam defined.
78507         * bits/sched.h [__need_schedparam]
78508         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78509         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78510         (__defined_schedparam): Define to 1.
78511         (__sched_param): New structure, identical to sched_param.
78512         (__need_schedparam): Undefine.
78514 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78516         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78517         (epoll_create1): Declare.
78519         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78521 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78523         [BZ #7066]
78524         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78525         shifting retval into place.
78527 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78529         * nis/rpcsvc/nis.h: Update copyright notice.
78530         * nis/rpcsvc/nis.x: Likewise.
78531         * nis/rpcsvc/nis_callback.h: Likewise.
78532         * nis/rpcsvc/nis_callback.x: Likewise.
78533         * nis/rpcsvc/nis_object.x: Likewise.
78534         * nis/rpcsvc/nis_tags.h: Likewise.
78535         * nis/rpcsvc/yp.h: Likewise.
78536         * nis/rpcsvc/yp.x: Likewise.
78537         * nis/rpcsvc/ypupd.h: Likewise.
78538         * nis/yp_xdr.c: Likewise.
78539         * nis/ypupdate_xdr.c: Likewise.
78541         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78542         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78543         (pmap_getport): Use __libc_rpc_getport.
78544         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78545         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78546         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78548 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78551         fanotify_mark.
78553 2010-08-27  Roland McGrath  <roland@redhat.com>
78555         * sysdeps/i386/i686/multiarch/Makefile
78556         (CFLAGS-varshift.c): New variable.
78558 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78560         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78561         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78563         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78565         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78567 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78569         * sysdeps/x86_64/strlen.S: Unroll the loop.
78570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78571         strlen-sse2 strlen-sse2-bsf.
78572         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78573         __strlen_no_bsf if bit_Slow_BSF is set.
78574         (__strlen_sse42): Removed.
78575         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78576         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78578 2010-08-25  Roland McGrath  <roland@redhat.com>
78580         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78581         * sysdeps/x86_64/multiarch/varshift.c: New file.
78582         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78583         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78584         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78585         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78587 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78589         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78590         strlen-sse2 strlen-sse2-bsf.
78591         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78592         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78593         (__strlen_sse2): Removed.
78594         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78595         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78597         bit_Slow_BSF for Atom.
78598         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78599         (index_Slow_BSF): Define.
78600         (HAS_SLOW_BSF): Define.
78602 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78604         [BZ #10851]
78605         * resolv/res_init.c (__res_vinit): When no server address at all
78606         is given default to loopback.
78608 2010-08-24  Roland McGrath  <roland@redhat.com>
78610         * configure.in: Remove config-name.h generation.
78611         * configure: Regenerated.
78612         * config-name.in: File removed.
78613         * scripts/config-uname.sh: New file.
78614         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78615         ($(objdir)config-name.h): New target.
78617         * sunrpc/rpc_parse.h: Avoid nested comment.
78619 2010-08-24  Richard Henderson  <rth@redhat.com>
78620             Ulrich Drepper  <drepper@redhat.com>
78621             H.J. Lu  <hongjiu.lu@intel.com>
78623         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78625         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78626         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78627         _mm_alignr_epi8 with _mm_loadu_si128.
78628         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78629         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78630         (__m128i_shift_right): Removed.
78631         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78632         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78633         * sysdeps/x86_64/multiarch/varshift.h: New file.
78634         * sysdeps/x86_64/multiarch/varshift.S: New file.
78636 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78638         * configure.in: Move assembler checks to before sysdep dir checking.
78640 2010-08-20  Petr Baudis  <pasky@suse.cz>
78642         * LICENSES: Sync the sunrpc license.
78644 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78646         * sunrpc/auth_des.c: Update copyright notice once again.
78647         * sunrpc/auth_none.c: Likewise.
78648         * sunrpc/auth_unix.c: Likewise.
78649         * sunrpc/authdes_prot.c: Likewise.
78650         * sunrpc/authuxprot.c: Likewise.
78651         * sunrpc/bindrsvprt.c: Likewise.
78652         * sunrpc/clnt_gen.c: Likewise.
78653         * sunrpc/clnt_perr.c: Likewise.
78654         * sunrpc/clnt_raw.c: Likewise.
78655         * sunrpc/clnt_simp.c: Likewise.
78656         * sunrpc/clnt_tcp.c: Likewise.
78657         * sunrpc/clnt_udp.c: Likewise.
78658         * sunrpc/clnt_unix.c: Likewise.
78659         * sunrpc/des_crypt.c: Likewise.
78660         * sunrpc/des_soft.c: Likewise.
78661         * sunrpc/get_myaddr.c: Likewise.
78662         * sunrpc/getrpcport.c: Likewise.
78663         * sunrpc/key_call.c: Likewise.
78664         * sunrpc/key_prot.c: Likewise.
78665         * sunrpc/openchild.c: Likewise.
78666         * sunrpc/pm_getmaps.c: Likewise.
78667         * sunrpc/pm_getport.c: Likewise.
78668         * sunrpc/pmap_clnt.c: Likewise.
78669         * sunrpc/pmap_prot.c: Likewise.
78670         * sunrpc/pmap_prot2.c: Likewise.
78671         * sunrpc/pmap_rmt.c: Likewise.
78672         * sunrpc/rpc/auth.h: Likewise.
78673         * sunrpc/rpc/auth_unix.h: Likewise.
78674         * sunrpc/rpc/clnt.h: Likewise.
78675         * sunrpc/rpc/des_crypt.h: Likewise.
78676         * sunrpc/rpc/key_prot.h: Likewise.
78677         * sunrpc/rpc/netdb.h: Likewise.
78678         * sunrpc/rpc/pmap_clnt.h: Likewise.
78679         * sunrpc/rpc/pmap_prot.h: Likewise.
78680         * sunrpc/rpc/pmap_rmt.h: Likewise.
78681         * sunrpc/rpc/rpc.h: Likewise.
78682         * sunrpc/rpc/rpc_des.h: Likewise.
78683         * sunrpc/rpc/rpc_msg.h: Likewise.
78684         * sunrpc/rpc/svc.h: Likewise.
78685         * sunrpc/rpc/svc_auth.h: Likewise.
78686         * sunrpc/rpc/types.h: Likewise.
78687         * sunrpc/rpc/xdr.h: Likewise.
78688         * sunrpc/rpc_clntout.c: Likewise.
78689         * sunrpc/rpc_cmsg.c: Likewise.
78690         * sunrpc/rpc_common.c: Likewise.
78691         * sunrpc/rpc_cout.c: Likewise.
78692         * sunrpc/rpc_dtable.c: Likewise.
78693         * sunrpc/rpc_hout.c: Likewise.
78694         * sunrpc/rpc_main.c: Likewise.
78695         * sunrpc/rpc_parse.c: Likewise.
78696         * sunrpc/rpc_parse.h: Likewise.
78697         * sunrpc/rpc_prot.c: Likewise.
78698         * sunrpc/rpc_sample.c: Likewise.
78699         * sunrpc/rpc_scan.c: Likewise.
78700         * sunrpc/rpc_scan.h: Likewise.
78701         * sunrpc/rpc_svcout.c: Likewise.
78702         * sunrpc/rpc_tblout.c: Likewise.
78703         * sunrpc/rpc_util.c: Likewise.
78704         * sunrpc/rpc_util.h: Likewise.
78705         * sunrpc/rpcinfo.c: Likewise.
78706         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78707         * sunrpc/rpcsvc/key_prot.x: Likewise.
78708         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78709         * sunrpc/rpcsvc/mount.x: Likewise.
78710         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78711         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78712         * sunrpc/rpcsvc/rex.x: Likewise.
78713         * sunrpc/rpcsvc/rstat.x: Likewise.
78714         * sunrpc/rpcsvc/rusers.x: Likewise.
78715         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78716         * sunrpc/rpcsvc/spray.x: Likewise.
78717         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78718         * sunrpc/rtime.c: Likewise.
78719         * sunrpc/svc.c: Likewise.
78720         * sunrpc/svc_auth.c: Likewise.
78721         * sunrpc/svc_authux.c: Likewise.
78722         * sunrpc/svc_raw.c: Likewise.
78723         * sunrpc/svc_run.c: Likewise.
78724         * sunrpc/svc_simple.c: Likewise.
78725         * sunrpc/svc_tcp.c: Likewise.
78726         * sunrpc/svc_udp.c: Likewise.
78727         * sunrpc/svc_unix.c: Likewise.
78728         * sunrpc/svcauth_des.c: Likewise.
78729         * sunrpc/xcrypt.c: Likewise.
78730         * sunrpc/xdr.c: Likewise.
78731         * sunrpc/xdr_array.c: Likewise.
78732         * sunrpc/xdr_float.c: Likewise.
78733         * sunrpc/xdr_mem.c: Likewise.
78734         * sunrpc/xdr_rec.c: Likewise.
78735         * sunrpc/xdr_ref.c: Likewise.
78736         * sunrpc/xdr_sizeof.c: Likewise.
78737         * sunrpc/xdr_stdio.c: Likewise.
78739         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78740         handling.
78742 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78744         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78746 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78748         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78749         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78750         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78751         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78752         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78753         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78754         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78755         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78756         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78757         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78758         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78759         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78760         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78761         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78763 2010-07-26  Anton Blanchard  <anton@samba.org>
78765         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78766         * malloc/arena.c (heap_trim): Likewise.
78768 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78770         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78771         here.  Not...
78772         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78773         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78775 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78777         * sysdeps/i386/elf/Makefile: New file.
78779 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78781         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78782         from fanotify_init.
78783         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78784         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78786 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78788         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78789         of strncasecmp_l.
78790         * sysdeps/multiarch/strcmp.S: Likewise.
78792 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78794         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78795         strncase_l-nonascii.
78796         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78797         Add strncase_l-ssse3.
78798         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78799         * sysdeps/x86_64/strcmp.S: Likewise.
78800         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78801         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78802         * sysdeps/x86_64/strncase.S: New file.
78803         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78804         * sysdeps/x86_64/strncase_l.S: New file.
78805         * string/Makefile (strop-tests): Add strncasecmp.
78806         * string/test-strncasecmp.c: New file.
78808         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78809         warning.
78811         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78812         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78814 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78816         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78818 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78820         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78821         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78822         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78824 2010-05-01  Alan Modra  <amodra@gmail.com>
78826         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78827         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78828         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78829         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78830         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78831         tidying.  Don't tail-call __sigjmp_save for static lib.
78832         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78833         save location.
78834         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78835         (CALL_MCOUNT): Add eh info, and nop after bl.
78836         (TAIL_CALL_SYSCALL_ERROR): New macro.
78837         (PSEUDO_RET): Use it.
78838         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78839         Correct save location of integer regs and cr.
78840         (_dl_profile_resolve): Correct cr save location.  Delete nops
78841         after bl when SHARED.  Reduce cfi size a little by better
78842         placement of cfi directives.
78843         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78844         make a stack frame.  Instead use parm save area as a temp.
78845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78846         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78848         Don't make a stack frame for parent, use parm save area.
78849         Increase child stack frame to 112 bytes.  Don't save unused reg,
78850         and adjust reg usage.  Set up cfi on error recovery and
78851         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78853         (__makecontext): Add dummy nop after jump to exit.
78854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78855         Use correct parm save area and cr save, reduce stack frame.
78856         Correct cfi for possible PSEUDO_RET frame setup.
78857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78858         Branch to local label emitted by PSEUDO_RET rather than
78859         __syscall_error.
78861 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78863         [BZ #11904]
78864         * locale/programs/locale.c (print_assignment): New function.
78865         (show_locale_vars): Use it.
78867 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78869         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78870         field.
78871         (struct statfs64): Likewise.
78872         (_STATFS_F_FLAGS): Define.
78873         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78874         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78875         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78876         (ST_VALID): Define locally.
78877         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78878         __statvfs_getflags, use the provided value.
78879         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78880         __ASSUME_STATFS_F_FLAGS.
78882         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78884         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78885         Add sys/fanotify.h.
78886         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78887         fanotify_mask for GLIBC_2.13.
78888         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78889         fanotify_init and fanotify_mark.
78890         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78891         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78893         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78894         Add prlimit.
78895         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78896         prlimit64 for GLIBC_2.13.
78897         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78898         prlimit64.
78899         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78900         syscall.
78901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78902         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78903         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78904         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78905         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78906         add prlimit alias.
78907         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78909         [BZ #11903]
78910         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78911         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78913         * nss/Makefile: Add rules to build and run tst-nss-test1.
78914         * shlib-versions: Add entry for libnss_test1.
78915         * nss/nss_test1.c: New file.
78916         * nss/tst-nss-test1.c: New file.
78918         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78919         (__nss_configure_lookup): Set appropriate entry in
78920         __nss_configure_lookup to true.
78921         * nss/nsswitch.h: Define enum with indeces of databases in
78922         databases and __nss_database_custom arrays.  Declare
78923         __nss_database_custom.
78924         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78925         to avoid using nscd when custom rules are installed.
78926         * nss/getXXbyYY_r.c: Likewise.
78927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78929         * nss/nss_files/files-parse.c: Whitespace fixes.
78931 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78933         [BZ #11883]
78934         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78935         * posix/fnmatch_loop.c: Likewise.
78937 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78939         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78940         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78941         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78942         * Versions.def [GLIBC_2.13]: Add.
78944 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78946         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78947         Also fail if tpwd after pwuid call is NULL.
78949 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78951         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78952         when converting to ms.
78954 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78956         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78957         EOPNOTSUPP errors with ENOTTY.
78958         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78959         EOPNOTSUPP errors with ENOTTY.
78961 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78963         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78964         Add strcasecmp_l-ssse3.
78965         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78966         strcasecmp.
78967         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78968         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78969         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78971 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78973         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78975         * string/Makefile (strop-tests): Add strcasecmp.
78976         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78977         strcasecmp_l-nonascii.
78978         (gen-as-const-headers): Add locale-defines.sym.
78979         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78980         * sysdeps/x86_64/strcasecmp.S: New file.
78981         * sysdeps/x86_64/strcasecmp_l.S: New file.
78982         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78983         * sysdeps/x86_64/locale-defines.sym: New file.
78984         * string/test-strcasecmp.c: New file.
78986         * string/test-strcasestr.c: Test both ends of the range of characters.
78987         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78989 2010-07-29  Roland McGrath  <roland@redhat.com>
78991         [BZ #11856]
78992         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78994 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78996         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78997         for ld.so.
78999 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79001         * manual/memory.texi (Malloc Tunable Parameters): Document
79002         M_PERTURB.
79004 2010-07-26  Roland McGrath  <roland@redhat.com>
79006         [BZ #11840]
79007         * configure.in (-fgnu89-inline check): Set and substitute
79008         gnu89_inline, not libc_cv_gnu89_inline.
79009         * configure: Regenerated.
79010         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79012 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79014         * string/test-strnlen.c: New file.
79015         * string/Makefile (strop-tests): Add strnlen.
79016         * string/tester.c (test_strnlen): Add a few more test cases.
79017         * string/tst-strlen.c: Better error reporting.
79019         * sysdeps/x86_64/strnlen.S: New file.
79021 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79023         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79024         lower-latency instructions.
79026 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79028         * string/test-strcasestr.c: New file.
79029         * string/test-strstr.c: New file.
79030         * string/Makefile (strop-tests): Add strstr and strcasestr.
79031         * string/str-two-way.h: Don't undefine MAX.
79032         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79034 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79036         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79037         strcasestr-nonascii.
79038         (CFLAGS-strcasestr-nonascii.c): Define.
79039         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79040         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79041         Remove unused attribute.
79043 2010-07-20  Roland McGrath  <roland@redhat.com>
79045         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79046         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79047         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79048         like LD_HWCAP_MASK can disable hwcaps.
79050 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79052         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79054 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79056         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79057         call in strcasestr.
79058         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79059         __strcasestr_sse42_nonascii.
79060         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79061         strcasestr-nonascii.c.
79062         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79064 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79066         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79067         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79068         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79069         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79071 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79073         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79074         fcntl.
79076 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79078         [BZ #11577]
79079         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79080         dl_signal_cerror.
79082 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79084         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79085         _PC_PIPE_BUF using F_GETPIPE_SZ.
79087 2010-07-05  Roland McGrath  <roland@redhat.com>
79089         * manual/arith.texi (Rounding Functions): Fix rint description
79090         implicit in round description.
79092 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79094         * elf/Makefile: Fix linking for a few tests to make recent linker
79095         happy.
79097 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79099         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79100         $(common-objpfx)libc_nonshared.a.
79102 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79104         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79105         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79106         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79107         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79108         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79109         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79110         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79111         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79126         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79127         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79128         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79129         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79130         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79131         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79132         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79133         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79134         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79135         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79136         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79137         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79153 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79155         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79156         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79157         * string/memmove.c (memmove): Renamed to ...
79158         (MEMMOVE): ...this.  Default to memmove.
79159         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79160         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79161         (END_CHK): Define.
79162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79163         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79164         mempcpy-ssse3-back memmove-ssse3-back.
79165         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79166         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79167         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79168         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79169         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79170         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79171         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79172         * sysdeps/x86_64/multiarch/memmove.c: New file.
79173         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79174         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79175         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79176         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79177         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79178         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79179         Define.
79180         (index_Fast_Copy_Backward): Define.
79181         (HAS_ARCH_FEATURE): Define.
79182         (HAS_FAST_REP_STRING): Define.
79183         (HAS_FAST_COPY_BACKWARD): Define.
79185 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79187         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79188         Restore proper fallback handling.
79190 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79192         [BZ #11701]
79193         * posix/group_member.c (__group_member): Correct checking loop.
79195         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79196         OOM in getpwuid_r correctly.  Return error number when the caller
79197         should return, otherwise -1.
79198         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79199         call returning > 0 value.
79200         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79202 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79204         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79205         libc_nonshared.a from targets in modules-names.
79207 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79209         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79210         requires it.
79212 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79214         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79215         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79216         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79217         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79219 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79221         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79223 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79225         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79226         and F_GETPIPE_SZ.
79227         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79228         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79229         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79231         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79232         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79234 2010-06-14  Roland McGrath  <roland@redhat.com>
79236         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79238 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79240         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79241         __REDIRECT followed by __THROW.
79242         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79243         * posix/getopt.h (getopt): Likewise.
79245 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79247         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79248         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79249         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79250         in AT_FLAGS.
79251         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79252         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79254 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79256         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79258 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79260         [BZ #11640]
79261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79262         Properly check family and model.
79264 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79266         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79268 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79270         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79272 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79274         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79275         symbol reference.
79277 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79279         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79280         symbol reference.
79282 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79284         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79285         and internal_recvmmsg.
79286         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79287         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79288         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79289         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79291         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79292         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79293         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79295 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79297         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79299 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79301         POWER7 optimizations.
79302         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79303         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79305 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79307         * version.h: Update for 2.13 development version.
79309 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79311         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79312         exceptions.  Return 0.
79314 2010-05-07  Roland McGrath  <roland@redhat.com>
79316         * elf/ldconfig.c (main): Add a const.
79318 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79320         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79321         (args_options): Add no-idn option.
79322         (ahosts_keys_int): Add idn_flags to ai_flags.
79323         (parse_option): Handle 'i' option to clear idn_flags.
79325         * malloc/malloc.c (_int_free): Possible race in the most recently
79326         added check.  Only act on the data if no current modification
79327         happened.
79329 See ChangeLog.17 for earlier changes.