Add femode_t functions: s390.
[glibc.git] / ChangeLog
blobcc0f3212549430d54992592e2531e9011dbe82cc
1 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/s390/fpu/fegetmode.c: New file.
4         * sysdeps/s390/fpu/fesetmode.c: Likewise.
6         * sysdeps/powerpc/fpu/fegetmode.c: New file.
7         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13         * sysdeps/mips/fpu/fegetmode.c: New file.
14         * sysdeps/mips/fpu/fesetmode.c: Likewise.
16         * sysdeps/m68k/fpu/fegetmode.c: New file.
17         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
19         * sysdeps/ia64/fpu/fegetmode.c: New file.
20         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
22         * sysdeps/hppa/fpu/fegetmode.c: New file.
23         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
25         * sysdeps/arm/fegetmode.c: New file.
26         * sysdeps/arm/fesetmode.c: Likewise.
28         * sysdeps/alpha/fpu/fegetmode.c: New file.
29         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
31         * sysdeps/aarch64/fpu/fegetmode.c: New file.
32         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
34         * math/fegetmode.c: New file.
35         * math/fesetmode.c: Likewise.
36         * sysdeps/i386/fpu/fegetmode.c: Likewise.
37         * sysdeps/i386/fpu/fesetmode.c: Likewise.
38         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
39         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
40         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
41         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
42         declaration.
43         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
44         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
45         typedef.
46         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
47         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
48         (femode_t): New typedef.
49         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
50         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
51         (femode_t): New typedef.
52         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
53         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
54         (femode_t): New typedef.
55         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
56         * sysdeps/hppa/fpu/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/ia64/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/m68k/fpu/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/microblaze/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/mips/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/nios2/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/powerpc/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 variable
77         declaration.
78         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
79         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
80         (femode_t): New typedef.
81         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
82         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
83         (femode_t): New typedef.
84         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
85         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
86         (femode_t): New typedef.
87         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
88         * sysdeps/tile/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/x86/fpu/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         * manual/arith.texi (FE_DFL_MODE): Document macro.
95         (fegetmode): Document function.
96         (fesetmode): Likewise.
97         * math/Versions (fegetmode): New libm symbol at version
98         GLIBC_2.25.
99         (fesetmode): Likewise.
100         * math/Makefile (libm-support): Add fegetmode and fesetmode.
101         (tests): Add test-femode and test-femode-traps.
102         * math/test-femode-traps.c: New file.
103         * math/test-femode.c: Likewise.
104         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
105         alias for __fe_dfl_env.
106         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
107         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
108         (__fe_dfl_mode): Likewise.
109         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
110         version GLIBC_2.25.
111         * sysdeps/nacl/libm.abilist: Update.
112         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
113         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
114         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
115         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
116         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
117         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
118         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
119         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
120         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
121         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
122         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
123         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
125         Likewise.
126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
127         Likewise.
128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
129         Likewise.
130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
131         Likewise.
132         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
133         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
134         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
135         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
136         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
138         Likewise.
139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
140         Likewise.
141         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
142         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
143         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
145 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
147         [BZ #20495]
148         [BZ #20508]
149         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
150         processors, set Use_dl_runtime_resolve_slow and set
151         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
152         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
153         New.
154         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
155         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
156         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
157         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
158         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
159         if Use_dl_runtime_resolve_opt is set.  Use
160         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
161         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
162         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
163         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
164         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
165         New.
166         (_dl_runtime_resolve_opt): Likewise.
167         (_dl_runtime_profile): Define only if _dl_runtime_profile is
168         defined.
170 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
172         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
173         __libc_memalign with "+ RELA R_390_GLOB_DAT".
175 2016-09-06  Florian Weimer  <fweimer@redhat.com>
177         Convert malloc to __libc_lock.  Automated part, using this Perl
178         s/// command:
179           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
180             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
181         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
182         conversion.
184 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
186         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
187         (linknamespace-symlists-tests): Likewise.
188         (linknamespace-header-tests): Likewise.
190 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
192         [BZ #19810]
193         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
194         * elf/tst-noload.c: New test case.
195         * elf/Makefile (tests): Add tst-noload.
197 2016-09-02  Roland McGrath  <roland@hack.frob.com>
199         * sysdeps/nacl/dup.c: Add libc_hidden_def.
201         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
202         not any more.
204         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
206 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
208         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
209         (do_cos_slow): Likewise.
210         (do_sin): Likewise.
211         (do_sin_slow): Likewise.
212         (slow): Likewise.
213         (slow1): Likewise.
214         (slow2): Likewise.
215         (sloww): Likewise.
216         (sloww1): Likewise.
217         (sloww2): Likewise.
218         (bsloww): Likewise.
219         (bsloww1): Likewise.
220         (bsloww2): Likewise.
221         (cslow2): Likewise.
223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
225         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
226         arguments.  Consolidate input partitioning from callers here.
227         (do_cos_slow): Likewise.
228         (do_sin): Likewise.
229         (do_sin_slow): Likewise.
230         (do_sincos_1): Remove the no longer necessary input partitioning.
231         (do_sincos_2): Likewise.
232         (__sin): Likewise.
233         (__cos): Likewise.
234         (slow1): Likewise.
235         (slow2): Likewise.
236         (sloww1): Likewise.
237         (sloww2): Likewise.
238         (bsloww1): Likewise.
239         (bsloww2): Likewise.
240         (cslow2): Likewise.
242 2016-09-02  Florian Weimer  <fweimer@redhat.com>
244         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
245         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
246         outside of allocated array.
248 2016-09-02  Florian Weimer  <fweimer@redhat.com>
250         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
251         instead of MB_CUR_MAX to avoid variable-length array.
253 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
255         * math/Makefile (libm-calls): Remove k_rem_pio2F.
256         (type-double-routines): Add k_rem_pio2.
257         (type-float-routines): Add k_rem_pio2f.
259         * sysdeps/generic/math_private.h:
260         (__kernel_rem_pio2l): Removed.
262         * math/k_rem_pio2l.c: Removed.
263         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
264         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
265         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
266         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
268 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
270         * math/Makefile (gen-libm-calls): Add s_fmin
271         (libm-calls): Remove above.
273         * math/s_fmin.c: Refactor into ...
274         * math/s_fmin_template.c: New file.
276         * math/s_fminf.c: Removed.
277         * math/s_fminl.c: Removed.
278         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
279         (LDOUBLE_fmin_libm_version): New macro.
281         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
282         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
284 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
286         * math/Makefile: (gen-libm-calls): Add s_fmax.
287         (libm-calls): Remove above.
289         * math/s_fmax.c: Refactor into ...
290         * math/s_fmax_template.c: New file.
291         * math/s_fmaxf.c: Removed.
292         * math/s_fmaxl.c: Removed.
294         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
295         (LDOUBLE_fmaxl_libm_version): New macro.
297         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
298         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
300         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
301         s_fmin.c to pick the aarch64 version of the file.
302         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
303         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
305 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
307         * math/Makefile: (gen-libm-calls): Add s_nextdown.
308         (libm-calls): Remove above.
310         * math/s_nextdown.c: Refactor into ...
311         * math/s_nextdown_template.c: New file.
312         * math/s_nextdownf.c: Removed.
313         * math/s_nextdownl.c: Removed.
315         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
317 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
319         * math/Makefile (gen-libm-calls): Add s_fdim.
320         (libm-calls): Move to above.
322         * math/s_fdim.c: Renamed and refactored into to ...
323         * math/s_fdim_template.c: New file.
324         * math/s_fdiml.c: Removed.
325         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
326         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
328         * sysdeps/generic/math-type-macros-double.h:
329         (declare_mgen_alias): Don't declare if already declared.
330         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
331         Likewise.
333         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
334         (declare_mgen_alias): Don't declare if already declared.
335         (M_LIBM_NEED_COMPAT): Likewise.
336         (declare_mgen_libm_compat): Likewise.
337         (LDOUBLE_fdiml_libm_version): New macro.
339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
340         Include math/s_fdim.c now that ldbl-opt version is not needed.
341         (declare_mgen_alias): New macro to disable aliasing.
343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
344         (declare_mgen_alias): Likewise.
345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
346         (declare_mgen_alias): Likewise.
347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
348         (declare_mgen_alias): Likewise.
349         (M_LIBM_NEED_COMPAT): Likewise.
351 2016-09-01  Florian Weimer  <fweimer@redhat.com>
353         [BZ #20525]
354         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
355         Include <linux/quota.h>.
356         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
357         and btodb.
358         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
359         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
360         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
361         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
362         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
363         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
364         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
365         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
366         types.
367         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
368         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
370 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
372         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
373         (gammal_positive): Fix spacing.
374         (__ieee754_gammal_r): Likewise.
376 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
378         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
379         (_Float128): Define as long double, always.
380         (L): Apply long double type suffix, always.
382         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
383         _Float128, excepting comments.
385         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
386         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
387         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
388         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
389         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
390         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
391         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
392         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
393         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
394         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
395         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
396         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
397         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
398         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
399         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
400         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
401         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
402         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
403         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
404         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
405         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
406         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
407         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
408         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
409         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
410         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
411         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
412         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
413         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
414         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
415         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
416         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
417         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
418         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
420         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
421         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
422         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
423         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
424         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
425         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
426         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
427         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
428         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
429         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
430         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
431         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
432         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
433         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
434         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
435         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
436         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
437         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
438         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
439         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
440         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
441         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
442         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
443         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
444         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
445         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
446         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
447         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
448         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
449         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
450         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
451         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
452         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
454         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
455         _Float128, and include math_private.h.
456         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
458         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
459         long double semantics.
460         (_Float128): Likewise.
461         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
462         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
463         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
464         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
466 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
468         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
469         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
470         * sysdeps/s390/configure: Regenerated.
471         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
472         instruction for raising over-/underflow if z196 zarch is supported
473         by default.
474         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
476 2016-08-30  Svante Signell  <svante.signell@gmail.com>
478         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
479         it point to a dumb buffer for RPC to fill it.
481 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
483         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
484         instead of if/else.
485         (do_sin_slow): Likewise.
486         (do_sincos_1): Use fabs instead of if/else.
487         (do_sincos_2): Likewise.
488         (__sin): Likewise.
489         (__cos): Likewise.
490         (slow2): Likewise.
491         (sloww): Likewise.
492         (sloww1): Likewise.  Drop argument M.
493         (sloww2): Use fabs instead of if/else.
494         (bsloww): Likewise.
495         (bsloww1): Likewise.
496         (bsloww2): Likewise.
498         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
499         fall through comment.
500         (do_sincos_1): Likewise.
502         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
503         Consolidate switch cases 0 and 2.
505 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
507         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
508         (libm-calls): Remove the above.
510         * math/s_cexp_template.c: Update using type-generic macros.
511         * math/s_clog10_template.c: Likewise.
512         * math/s_cpow_template.c: Likewise.
513         * math/s_clog_template.c: Likewise.
514         * math/s_cproj_template.c: Likewise.
515         * math/s_csqrt_template.c: Likewise.
517         * math/s_cexp.c: Removed.
518         * math/s_cexpf.c: Removed.
519         * math/s_cexpl.c: Removed.
520         * math/s_clog10.c: Removed.
521         * math/s_clog10f.c: Removed.
522         * math/s_clog10l.c: Removed.
523         * math/s_cpow.c: Removed.
524         * math/s_cpowf.c: Removed.
525         * math/s_cpowl.c: Removed.
526         * math/s_clog.c: Removed.
527         * math/s_clogf.c: Removed.
528         * math/s_clogl.c: Removed.
529         * math/s_cproj.c: Removed.
530         * math/s_cprojf.c: Removed.
531         * math/s_cprojl.c: Removed.
532         * math/s_csqrt.c: Removed.
533         * math/s_csqrtf.c: Removed.
534         * math/s_csqrtl.c: Removed.
536         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
537         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
538         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
539         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
540         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
541         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
543         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
544         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
545         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
546         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
547         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
548         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
549         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
550         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
551         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
552         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
553         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
555         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
556         version.
558         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
559         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
560         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
561         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
563 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
565         * s_cexp_template.c: Copy of s_cexp.c.
566         * s_clog_template.c: Copy of s_clog.c.
567         * s_clog10_template.c: Copy of s_clog10.c.
568         * s_cpow_template.c: Copy of s_cpow.c.
569         * s_cproj_template.c: Copy of s_cproj.c.
570         * s_csqrt_template.c: Copy of s_csqrt.c.
572 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
574         [BZ #20517]
575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
576         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
577         exported.
579 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
581         * math/fetestexceptflag.c: New file.
582         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
583         Stefan Liebler.
584         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
585         (fetestexceptflag): New function declaration.
586         * manual/arith.texi (fetestexceptflag): Document function.
587         * math/Versions (fetestexceptflag): New libm symbol at version
588         GLIBC_2.25.
589         * math/Makefile (libm-support): Add fetestexceptflag.
590         (tests): Add test-fetestexceptflag.
591         * math/test-fetestexceptflag.c: New file.
592         * sysdeps/nacl/libm.abilist: Update.
593         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
594         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
595         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
596         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
597         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
598         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
599         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
600         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
601         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
602         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
603         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
604         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
606         Likewise.
607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
608         Likewise.
609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
610         Likewise.
611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
612         Likewise.
613         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
614         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
615         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
616         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
617         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
619         Likewise.
620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
621         Likewise.
622         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
623         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
624         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
626 2016-08-26  Florian Weimer  <fweimer@redhat.com>
628         [BZ #20432]
629         Avoid strong references to malloc-internal symbols when linking
630         statically, to support statically interposed mallocs.
631         * include/libc-symbols.h (call_function_static_weak): New macro.
632         * malloc/Makefile (tests): Add tst-interpose-nothread,
633         tst-interpose-thread, tst-interpose-static-nothread,
634         tst-interpose-static-thread.
635         (tests-static): Add tst-interpose-static-nothread,
636         tst-interpose-static-thread.
637         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
638         tst-interpose-aux-thread.o.
639         (test-extras): Add tst-interpose-aux-nothread,
640         tst-interpose-aux-thread.
641         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
642         tst-interpose-aux-nothread.o.
643         (tst-interpose-thread, tst-interpose-static-thread): Link with
644         tst-interpose-aux-thread.o and libthread.
645         * malloc/tst-interpose-aux-nothread.c: New file.
646         * malloc/tst-interpose-aux-thread.c: Likewise.
647         * malloc/tst-interpose-aux.c: Likewise.
648         * malloc/tst-interpose-aux.h: Likewise.
649         * malloc/tst-interpose-nothread.c: Likewise.
650         * malloc/tst-interpose-skeleton.c: Likewise.
651         * malloc/tst-interpose-static-nothread.c: Likewise.
652         * malloc/tst-interpose-static-thread.c: Likewise.
653         * malloc/tst-interpose-thread.c: Likewise.
654         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
655         * sysdeps/mach/hurd/fork.c (__fork): Only call
656         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
657         __malloc_fork_unlock_child if defined.
658         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
660 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
662         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
663         timespec C99 designated initialization.
665 2016-08-26  Florian Weimer  <fweimer@redhat.com>
667         [BZ #19946]
668         Avoid expected SIGALRM signals.
669         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
670         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
671         (xpthread_create, xpthread_detach, xpthread_join)
672         (delayed_exit_thread, delayed_exit): New functions.
673         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
674         (tf): Use xpthread_cond_wait.
675         (do_test): Likewise.  Replace alarm with delayed_exit.
676         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
677         (do_test): Call delayed_exit.  Report failure.
678         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
679         (do_test): Call delayed_exit.
680         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
681         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
682         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
683         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
684         error.
685         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
686         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
687         error.
688         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
689         (do_test): Call delayed_exit.
690         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
691         (do_test): Call delayed_exit.
692         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
693         (do_test): Call delayed_exit instead of alarm.  Use
694         xpthread_mutex_lock.
695         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
696         (do_test): Call delayed_exit instead of alarm.  Use
697         xpthread_mutex_lock.
698         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
699         (do_test): Call delayed_exit instead of alarm.
700         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
701         (do_test): Call delayed_exit instead of alarm.  Use
702         xpthread_spin_lock.
703         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
704         (do_test): Call delayed_exit instead of alarm.  Use
705         xpthread_join.
707 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
709         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
710         adjust CFA when allocating register save area on re-aligned
711         stack.
713 2016-08-26  Florian Weimer  <fweimer@redhat.com>
715         * string/tst-cmp.c: New test.
716         * string/Makefile (tests): Add it.
718 2016-08-25  Mark Wielaard  <mark@klomp.org>
720         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
721         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
722         (check_tree_recurse): Use newly defined accessors.
723         (check_tree): Likewise.
724         (maybe_split_for_insert): Likewise.
725         (__tfind): Likewise.
726         (__tdelete): Likewise.
727         (trecurse): Likewise.
728         (tdestroy_recurse): Likewise.
729         (__tsearch): Likewise. And add asserts for malloc alignment.
730         (__twalk): Cast root to node in case CHECK_TREE is defined.
732 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
734         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
736 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
738         * math/Makefile (libm-gen-calls): Add
739         catan, catanh, ctan, ctanh.
740         (libm-calls): Remove the above.
742         * math/s_catan_template.c: Update using type-generic macros.
743         * math/s_catanh_template.c: Likewise.
744         * math/s_ctan_template.c: Likewise.
745         * math/s_ctanh_template.c: Likewise.
747         * math/s_catanf.c: Removed.
748         * math/s_catan.c: Removed.
749         * math/s_catanl.c: Removed.
750         * math/s_catanhf.c: Removed.
751         * math/s_catanh.c: Removed.
752         * math/s_catanhl.c: Removed.
753         * math/s_ctanf.c: Removed.
754         * math/s_ctan.c: Removed.
755         * math/s_ctanl.c: Removed.
756         * math/s_ctanhf.c: Removed.
757         * math/s_ctanh.c: Removed.
758         * math/s_ctanhl.c: Removed.
760         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
761         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
762         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
763         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
764         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
765         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
767         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
768         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
769         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
770         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
772 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
774         * s_catan_template.c: Copy of s_catan.c.
775         * s_catanh_template.c: Copy of s_catanh.c.
776         * s_ctan_template.c: Copy of s_ctan.c.
777         * s_ctanh_template.c: Copy of s_ctanh.c.
779 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
781         * math/Makefile (gen-libm-calls): Move
782         casin, casinh, csin, csinh here.
783         (libm-calls): Remove the above.
785         * math/s_casin_template.c: Update using type-generic macros.
786         * math/s_casinh_template.c: Likewise.
787         * math/s_csin_template.c: Likewise.
788         * math/s_csinh_template.c: Likewise.
789         * math/k_casinh_template.c: Likewise.
791         * math/s_casinf.c: Removed.
792         * math/s_casin.c: Removed.
793         * math/s_casinl.c: Removed.
794         * math/s_casinh.c: Removed.
795         * math/s_casinhf.c: Removed.
796         * math/s_casinhl.c: Removed.
797         * math/s_csin.c: Removed.
798         * math/s_csinf.c: Removed.
799         * math/s_csinl.c: Removed.
800         * math/s_csinh.c: Removed.
801         * math/s_csinhf.c: Removed.
802         * math/s_csinhl.c: Removed.
803         * math/k_casinh.c: Removed.
804         * math/k_casinhf.c: Removed.
805         * math/k_casinhl.c: Removed.
807         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
808         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
809         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
810         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
812         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
813         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
814         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
815         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
816         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
817         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
818         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
819         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
821         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
822         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
823         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
824         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
826         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
827         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
828         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
829         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
831 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
833         * s_casin_template.c: Copy of s_casin.c.
834         * s_casinh_template.c: Copy of s_casinh.c.
835         * s_csin_template.c: Copy of s_csin.c.
836         * s_csinh_template.c: Copy of s_csinh.c.
837         * k_casinh_template.c: Copy of k_casinh.c.
839 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
841         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
843 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
845         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
846         (mul_split) Remove, rename as mul_splitl, remove
847         redundant float.h include, and include via mul_splitl.h
849         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
850         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
851         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
852         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
853         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
855         * math/mul_splitl.h: New file.
857         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
858         Move into mul_split.h, and remove redundant float.h include.
860         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
861         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
862         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
863         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
865         * math/mul_split.h: New file.
867 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
869         * math/Makefile (libm-gen-calls): Move
870         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
871         (libm-calls): Remove above.
873         * math/s_cacos_template.c: Update using type-generic macros.
874         * math/s_cacosh_template.c: Likewise.
875         * math/s_ccos_template.c: Likewise.
876         * math/s_ccosh_template.c: Likwise.
878         * math/s_cacosf.c: Removed.
879         * math/s_cacos.c: Removed.
880         * math/s_cacosl.c: Removed.
881         * math/s_cacoshf.c: Removed.
882         * math/s_cacosh.c: Removed.
883         * math/s_cacoshl.c: Removed.
884         * math/s_ccosf.c: Removed.
885         * math/s_ccos.c: Removed.
886         * math/s_ccosl.c: Removed.
887         * math/s_ccoshf.c: Removed.
888         * math/s_ccosh.c: Removed.
889         * math/s_ccoshl.c: Removed.
891         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
892         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
893         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
894         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
895         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
896         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
898         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
899         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
900         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
901         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
903         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
904         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
905         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
906         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
908 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
910         * s_cacos_template.c: Copy of s_cacos.c.
911         * s_cacosh_template.c: Copy of s_cacosh.c.
912         * s_ccos_template.c: Copy of s_ccos.c.
913         * s_ccosh_template.c: Copy of s_ccosh.c.
915 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
917         * stdlib/tst-strtod-round-skeleton.c:
918         Refactored from tst-strtod-round.c.
920         (L_): New macro to apply literal modifier.
921         (FNPFX): New macro to select str or wcs prefix.
922         (CHAR): New macro to choose wchar_t or char.
923         (STRM): New macro to choose printf for tested character type.
925         (STRTO): New macro to choose appropriate string -> real function.
926         (FNPFXS): Stringitized version of FNPFX.
927         (STR): Support for above macro.
928         (STRX): Likewise.
930         (TEST): Update with above macros.
931         (test): Likewise.
932         (GEN_ONE_TEST): Likewise.
933         (test_in_one_mode): Likewise.
935         * stdlib/tst-strtod-round.c: New file.
936         * wcsmbs/tst-wcstod-round.c: New file.
938         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
939         (tst-wcstod-round): Add libm depencency for fesetround.
941 2016-08-19  Zack Weinberg  <zackw@panix.com>
943         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
945 2016-08-18  Torvald Riegel  <triegel@redhat.com>
947         [BZ #20477]
948         * resolv/res_hconf.c (do_init): Use atomic access.
949         * resolv/res_hconf.h: Add comments.
950         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
951         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
954 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
956         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
957         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
958         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
959         Likewise.
961 2016-08-18  Florian Weimer  <fweimer@redhat.com>
963         [BZ #16907]
964         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
965         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
966         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
967         (__attribute__): Remove definition.
969 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
971         * sysdeps/ieee754/ldbl-128/e_asinl.c:
972         Remove unused sqrtl declaration.
974 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
976         * math/Makefile: (gen-libm-templates.stmp): New rule.
977         (libm-calls): Move carg conj cimag and cabs into ...
978         (gen-libm-calls): New variable.
979         (generated): Inform Make objects from gen-libm-calls
980         may be generated.
982         * sysdeps/generic/math-type-macros.h: New file.
983         * sysdeps/generic/math-type-macros-float.h: Likewise.
984         * sysdeps/generic/math-type-macros-double.h: Likewise.
985         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
986         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
987         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
989         * math/cabs.c: Refactor into
990         * math/cabs_template.c: new file.
991         * math/cabsf.c: Removed.
992         * math/cabsl.c: Removed.
993         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
994         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
996         * math/carg.c: Refactor into
997         * math/carg_template.c: new file.
998         * math/cargf.c: Removed.
999         * math/cargl.c: Removed.
1000         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1001         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1003         * math/conj.c: Refactor into
1004         * math/conj_template.c: new file.
1005         * math/conjf.c: Removed.
1006         * math/conjl.c: Removed.
1007         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1008         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1010         * math/cimag.c: Refactor into
1011         * math/cimag_template.c: new file.
1012         * math/cimagf.c: Removed.
1013         * math/cimagl.c: Removed.
1014         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1015         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1017         * math/cimag.c: Refactor into
1018         * math/cimag_template.c: new file.
1019         * math/cimagf.c: Removed.
1020         * math/cimagl.c: Removed.
1021         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1022         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1024 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1026         Reduce time to expected nptl/tst-once5 failure.
1027         * nptl/tst-once5.cc (TIMEOUT): Define.
1029 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1031         [BZ #20452]
1032         Avoid additional copies of objects in libc.a in static libraries.
1033         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1034         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1035         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1036         rt-sysdep.
1037         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1038         Add nptl-sysdep.
1039         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1040         Add ptw-sysdep.
1041         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1042         rt-sysdep.
1043         * sysdeps/unix/sysv/linux/alpha/Makefile
1044         (libpthread-shared-only-routines): Add ptw-sysdep,
1045         ptw-sigprocmask, ptw-rt_sigaction.
1046         * sysdeps/unix/sysv/linux/ia64/Makefile
1047         (librt-shared-only-routines): Add rt-sysdep.
1048         * sysdeps/unix/sysv/linux/i386/Makefile
1049         (libpthread-shared-only-routines): Add libc-do-syscall.
1050         * sysdeps/unix/sysv/linux/microblaze/Makefile
1051         (libpthread-shared-only-routines): Add sysdep.
1052         * sysdeps/unix/sysv/linux/powerpc/Makefile
1053         (librt-shared-only-routines): Add rt-sysdep.
1054         (libpthread-shared-only-routines): Add sysdep.
1055         * sysdeps/unix/sysv/linux/s390/Makefile
1056         (librt-shared-only-routines): Add rt-sysdep.
1057         * sysdeps/unix/sysv/linux/sparc/Makefile
1058         (librt-shared-only-routines): Add rt-sysdep.
1059         (libpthread-shared-only-routines): Add sysdep.
1060         * sysdeps/unix/sysv/linux/tile/Makefile
1061         (libpthread-shared-only-routines): Likewise.
1063 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1065         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1066         Mask implicit bit out of unpacked value.
1067         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1069         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1071         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1073         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1075         * sysdeps/s390/fpu/fesetexcept.c: New file.
1077         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1078         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1079         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1081         * sysdeps/mips/fpu/fesetexcept.c: New file.
1083         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1085         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1087         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1089         * sysdeps/arm/fesetexcept.c: New file.
1091         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1093         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1095         * math/fesetexcept.c: New file.
1096         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1097         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1098         * math/fenv.h: Define
1099         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1100         <bits/libc-header-start.h> instead of including <features.h>.
1101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1102         declaration.
1103         * manual/arith.texi (fesetexcept): Document function.
1104         * math/Versions (fesetexcept): New libm symbol at version
1105         GLIBC_2.25.
1106         * math/Makefile (libm-support): Add fesetexcept.
1107         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1108         * math/test-fesetexcept.c: New file.
1109         * math/test-fesetexcept-traps.c: Likewise.
1110         * sysdeps/nacl/libm.abilist: Update.
1111         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1112         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1113         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1114         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1115         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1116         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1117         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1118         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1119         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1120         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1121         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1122         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1124         Likewise.
1125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1126         Likewise.
1127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1128         Likewise.
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1130         Likewise.
1131         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1132         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1133         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1134         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1137         Likewise.
1138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1139         Likewise.
1140         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1141         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1142         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1144 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1146         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1147         New.
1148         (do_test): Apply default_stack_size_in_mb if not set.
1149         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1151 2016-08-15  Andreas Schwab  <schwab@suse.de>
1153         [BZ #20435]
1154         CVE-2016-6323
1155         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1156         as .cantunwind.
1158 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1160         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1161         comment from fraiseexcpt.c.
1163         * math/test-fexcept.c (feraiseexcept_exact): New function.
1164         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1165         (test_except): Likewise.
1167 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1169         [BZ #20455]
1170         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1171         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1172         to be restored.
1174         * math/test-fexcept-traps.c: New file.
1175         * math/test-fexcept.c: Likewise.
1176         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1177         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1178         macro.
1179         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1180         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1182 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1184         * include/atomic.h (atomic_fetch_and_relaxed,
1185         atomic_fetch_and_release, atomic_fetch_or_release,
1186         atomic_fetch_xor_release): New.
1188 2016-08-06  Christian Seiler  <christian@iwakd.de>
1190         [BZ #20444]
1191         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1192         MACH_PORT_NULL.
1194 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1196         * math/s_fdim.c: Avoid alias renamed.
1197         * math/s_fdimf.c: Likewise.
1198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1199         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1200         Add s_fdimf-vis3, s_fdim-vis3.
1201         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1202         (CFLAGS-s_fdim-vis3.c): Likewise.
1203         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1204         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1206 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1209         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1210         Remove s_fdimf-vis3, s_fdim-vis3.
1211         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1212         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1219         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1220         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1222 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1224         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1225         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1226         -Wa,-Av9a -mvis.
1228 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1230         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1231         LIT() to individual constants in simple expressions
1232         after splitting on spaces.
1233         (_apply_lit): Rename replaced version, and use it to
1234         apply to what appears to be a token.
1236         * math/libm-test.inc: Fix many, many issues with
1237         spacing.
1239 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1241         * math/math.h: Move comment about <bits/mathdef.h> definitions
1242         above inclusion of <bits/mathdef.h>.  Do not mention
1243         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1245 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1247         * include/atomic.h (atomic_exchange_relaxed): New.
1249 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1251         * math/e_scalb.c: Do not include <fenv.h>.
1252         (invalid_fn): Do calculation resulting in NaN instead of raising
1253         FE_INVALID and returning a NaN explicitly.
1254         * math/e_scalbf.c: Do not include <fenv.h>.
1255         (invalid_fn): Do calculation resulting in NaN instead of raising
1256         FE_INVALID and returning a NaN explicitly.
1257         * math/e_scalbl.c: Do not include <fenv.h>.
1258         (invalid_fn): Do calculation resulting in NaN instead of raising
1259         FE_INVALID and returning a NaN explicitly.
1261 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1263         * po/de.po: Updated from Translation Project.
1264         * po/fi.po: Likewise.
1265         * po/sv.po: Likewise.
1267 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1269         [BZ #20452]
1270         Use sysdep.o from libc.a in static libraries.
1271         * sysdeps/unix/sysv/linux/i386/Makefile
1272         (libpthread-shared-only-routines): Add sysdep.
1273         (librt-shared-only-routines): Likewise.
1275 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1277         * math/tgmath.h (nextdown): Define if
1278         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1279         (nextup): Likewise.
1281         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1282         macro.
1283         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1284         Document.
1285         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1286         Document macro.
1287         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1288         (exp10f): Likewise.
1289         (exp10l): Likewise.
1290         * math/bits/mathcalls.h (exp10): Declare if
1291         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1293         * manual/arith.texi (nextup): Fix typo in last change.
1295 2016-08-03  Zack Weinberg  <zackw@panix.com>
1297         [BZ #19239]
1298         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1299         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1300         define major, minor, and makedev to issue deprecation warnings on use.
1301         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1302         previously-activated deprecation warnings for these macros and prevent
1303         subsequent inclusions of this header from having any effect.
1304         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1305         including <sys/sysmacros.h>, and undefine it again afterward.
1307 2016-08-03  Zack Weinberg  <zackw@panix.com>
1309         * sysdeps/generic/sys/sysmacros.h: Delete file.
1310         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1311         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1312         * bits/sysmacros.h: ... here; this encoding is now the generic
1313         encoding.  Now defines only the following macros:
1314         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1315         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1316         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1318         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1319         bits/sysmacros.h and the above new macros to generate the
1320         public implementations of major, minor, and makedev.
1321         * misc/tst-makedev.c: New test.
1322         * include/sys/sysmacros.h: New wrapper.
1324         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1325         (routines): Add makedev.
1326         (tests): Add tst-makedev.
1327         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1328         gnu_dev_makedev.
1329         * posix/Makefile (headers): Remove sys/sysmacros.h.
1330         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1332         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1333         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1334         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1335         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1336         * sysdeps/unix/sysv/linux/arm/libc.abilist
1337         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1338         * sysdeps/unix/sysv/linux/i386/libc.abilist
1339         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1340         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1341         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1342         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1343         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1344         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1345         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1346         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1347         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1352         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1353         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1354         * sysdeps/unix/sysv/linux/sh/libc.abilist
1355         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1356         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1359         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1360         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1361         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1362         Add GLIBC_2.25.
1364         * include/features.h (__glibc_clang_prereq): New macro.
1365         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1366         (__attribute_deprecated_msg__): New macros.
1368 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1370         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1371         macro.
1372         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1373         * manual/arith.texi (issignaling): Document as ISO from TS
1374         18661-1:2014.
1375         (nextup): Likewise.
1376         (nextupf): Likewise.
1377         (nextupl): Likewise.
1378         (nextdown): Likewise.
1379         (nextdownf): Likewise.
1380         (nextdownl): Likewise.
1381         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1382         macro.
1383         * math/math.h: Define
1384         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1385         <bits/libc-header-start.h> instead of including <features.h>.
1386         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1387         [__USE_GNU].
1388         * math/bits/mathcalls.h (nextdown): Declare if
1389         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1390         (nextup): Likewise.
1391         (__issignaling): Likewise.
1393 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1395         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1396         check, and remove __glibc_likely hint
1397         from FP_INFINITE check.
1398         * s_csinhf.c (__csinhf): Likewise.
1400         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1401         hint from FP_INFINITE check.
1402         * s_csinhl.c (__csinhl): Likewise.
1404 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1406         * math/Makefile (libm-calls): Insert F placeholder into
1407         object names.  Move w_lgamma_compat* routines into
1408         (libm-compat-calls): New variable.
1409         (libm-compat-calls-ldouble-yes): New variable.
1410         (calls): Insert F placeholder.
1411         (generated): Redefine using new type-foreach macro call.
1412         (routines): Likewise.
1414         (types): New variable to hold a list of symbolic names
1415         for each type supported by the target machine.
1416         (libm-routines): Redefine using new types variable.
1417         (type-foreach): macro to replace fooF with the
1418         appropriately suffixed foo for each types.
1420         (type-ldouble-suffix): New variable.
1421         (type-ldouble-routines): Likewise.
1422         (type-ldouble-yes): Likewise.
1423         (type-double-suffix): Likewise.
1424         (type-double-routines): Likewise.
1425         (type-float-suffix): Likewise.
1426         (type-float-routines): Likewise.
1428         (dbl-only-routines): Remove.
1429         (long-c-yes): Likewise.
1430         (long-m-routines): Likewise.
1431         (long-m-support): Likewise.
1432         (long-m-yes): Likewise.
1433         (test-longdouble-yes): Likewise.
1435         (test-float.o): Simplify by increasing the scope of the
1436         recipe which adds libm-test.stmp to the vector types.
1437         (test-ifloat.o): Likewise.
1438         (test-float-finite.o): Likewise.
1439         (test-double.o): Likewise
1440         (test-idouble.o): Likewise.
1441         (test-double-finite.o): Likewise.
1442         (test-ldouble.o): Likewise
1443         (test-ildoubl.o): Likewise.
1444         (test-ldouble-finite.o): Likewise.
1446         (libm-tests): Redefine type tests using foreach and the
1447         list of types in types.
1449         (CPPFLAGS-test-ildoubl.c): Rename to
1450         (CPPFLAGS-test-ildouble.c): New variable
1452         * math/test-ildoubl.c: Rename to
1453         * math/test-ildouble.c: New file.
1455 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1457         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1458         Use fabsl instead of fabs.
1459         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1460         Likewise.
1461         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1462         Add long double suffix to constant to ensure proper
1463         promotion to long double.
1465 2016-08-03  Tom Tromey  <tom@tromey.com>
1467         [BZ #20311]
1468         * nptl_db/Makefile (headers): Add proc_service.h.
1469         * nptl_db/proc_service.h: Add include guard.  Use
1470         __BEGIN/__END_DECLS.
1471         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1472         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1473         arguments.
1476 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1478         [BZ #17730]
1479         Avoid using memalign for TCB allocations.
1480         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1481         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1482         Avoid alignment gap in the TLS_DTV_AT_TP case.
1483         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1484         determine the pointer to free.
1485         * nptl/tst-tls3-malloc.c: New test.
1486         * nptl/Makefile (tests): Add it.
1487         (tst-tls3-malloc): Link with libdl, libpthread.
1488         (LDFLAGS-tst-tls3-malloc): Set.
1489         (tst-tls3-malloc.out): Depend on DSO used in test.
1491 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1493         [BZ #17730]
1494         Avoid using memalign for TLS allocations.
1495         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1496         is_static member with to_free member.
1497         (union dtv): Use struct dtv_pointer.
1498         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1499         dtv_pointer instead of is_static.
1500         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1501         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1502         instead of val.
1503         (allocate_dtv_entry): New function.
1504         (allocate_and_init): Return struct dtv_pointer.  Call
1505         allocate_dtv_entry instead of __libc_memalign.
1506         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1507         instead of val.
1508         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1509         instead of is_static.  Adjust call to allocate_and_init.
1510         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1511         struct dtv_pointer instead of val.
1513 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1515         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1516         (MALLOC_ALIGN_MASK): Move ...
1517         * malloc/malloc-internal.h: ... to here.
1518         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1520 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1522         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1523         (UDP_ENCAP_GTP1U): Likewise.
1525         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1526         (PF_MAX): Update value.
1527         (AF_QIPCRTR): New macro.
1529 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1531         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1532         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1533         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1535         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1536         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1537         s_truncf-vis3, s_trunc-vis3.
1538         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1539         (CFLAGS-s_ceil-vis3.c): Likewise.
1540         (CFLAGS-s_floorf-vis3.c): Likewise.
1541         (CFLAGS-s_floor-vis3.c): Likewise.
1542         (CFLAGS-s_truncf-vis3.c): Likewise.
1543         (CFLAGS-s_trunc-vis3.c): Likewise.
1544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1552         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1553         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1554         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1555         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1557 2016-08-02  David S. Miller  <davem@davemloft.net>
1559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1560         (__nearbyint_vis3): Don't check for sNaN before float register is
1561         loaded with the incoming argument.
1562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1563         (__nearbyintf_vis3): Likewise.
1564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1565         Likewise.
1566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1567         Likewise.
1569         * string/test-strncmp.c (do_test_limit): Make sure the test data
1570         stream is aligned as required for the type "CHAR".
1571         (do_test): Likewise.
1573 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1575         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1576         by beq instructions jumping to the end of the function.
1577         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1578         clobber list. Use "i" constraint instead of "X".
1579         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1580         of "X".
1582 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1584         * bits/libc-header-start.h: New file.
1585         * Makefile (headers): Add bits/libc-header-start.h.
1586         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1587         (__GLIBC_USE): New macro.
1588         * libio/stdio.h: Define
1589         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1590         <bits/libc-header-start.h> instead of including <features.h>.
1591         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1592         (open_memstream): Likewise.
1593         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1594         (__asprintf): Likewise.
1595         (asprintf): Likewise.
1596         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1597         (getdelim): Likewise.
1598         (getline): Likewise.
1599         * string/string.h: Define
1600         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1601         <bits/libc-header-start.h> instead of including <features.h>.
1602         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1603         (strndup): Likewise.
1604         * wcsmbs/wchar.h: Define
1605         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1606         <bits/libc-header-start.h> instead of including <features.h>.
1607         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1608         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1610 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1612         Support linking against compatibility symbols, for use in tests.
1613         * include/libc-symbols.h (symbol_version_reference): New macro.
1614         (symbol_version): Use it.
1615         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1616         (compat_symbol): Use compat_symbol_reference.
1617         (compat_symbol_1, compat_symbol_2): Remove.
1618         (compat_symbol_reference, compat_symbol_reference_1)
1619         (compat_symbol_reference_2): New macro.  Use
1620         symbol_version_reference.
1622 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1624         [BZ #19469]
1625         * malloc/Makefile (CPPFLAGS): Compile tests with
1626         -DTEST_NO_MALLOPT.
1627         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1629 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1631         [BZ #20033]
1632         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1633         finite version.
1634         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1636         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1637         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1638         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1639         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1640         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1641         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1644         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1645         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1646         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1647         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1648         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1650         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1651         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1652         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1653         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1654         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1655         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1656         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1657         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1658         in zero power.
1660 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1662         [BZ #20370]
1663         * malloc/arena.c (get_free_list): Update comment.  Assert that
1664         arenas on the free list have no attached threads.
1665         (remove_from_free_list): New function.
1666         (reused_arena): Call it.
1668 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1670         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1671         when it is a NaN.
1672         [_IEEE_FP_INEXACT] Remove.
1673         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1674         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1675         when it is a NaN.
1676         [_IEEE_FP_INEXACT] Remove.
1677         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1678         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1679         when it is a NaN.
1680         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1681         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1682         when its absolute value is greater than 0x1.0p52.
1683         [_IEEE_FP_INEXACT] Remove.
1684         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1685         when its absolute value is greater than 0x1.0p23.
1686         [_IEEE_FP_INEXACT] Remove.
1688 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1690         * version.h (RELEASE): Set to "development"
1691         (VERSION): Set to 2.24.90.
1692         * NEWS: Add 2.25 section.
1694         * version.h (RELEASE): Set to "stable"
1695         (VERSION): Set to 2.24.
1696         * include/features.h (__GLIBC_MINOR__): Set to 24.
1698         * NEWS: Add 2.24 fixed bugs.
1699         * po/libc.pot: Regenerate.
1701 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1704         [$(subdir) = math] (libm-sysdep_routines): Remove.
1705         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1706         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1707         s_truncf-vis3, s_trunc-vis3.
1708         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1710         file.
1711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1744         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1745         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1746         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1747         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1748         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1749         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1750         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1751         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1752         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1753         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1755 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1757         [BZ #20384]
1758         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1759         test-double-libmvec-sincos-avx-main.o,
1760         test-double-libmvec-sincos-avx2-main.o,
1761         test-double-libmvec-sincos-main.o,
1762         test-float-libmvec-sincosf-avx-main.o,
1763         test-float-libmvec-sincosf-avx2-main.o and
1764         test-float-libmvec-sincosf-main.o.
1765         test-float-libmvec-sincosf-avx512-main.o.
1766         ($(objpfx)test-double-libmvec-sincos): Also link with
1767         $(objpfx)test-double-libmvec-sincos-main.o.
1768         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1769         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1770         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1771         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1772         ($(objpfx)test-float-libmvec-sincosf): Also link with
1773         $(objpfx)test-float-libmvec-sincosf-main.o.
1774         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1775         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1776         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1777         test-double-libmvec-sincos-avx512-main.o and
1778         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1779         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1780         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1781         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1782         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1783         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1784         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1785         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1786         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1787         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1788         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1789         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1790         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1791         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1792         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1793         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1794         -DREQUIRE_AVX2.
1795         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1796         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1797         -DREQUIRE_AVX512F.
1798         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1799         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1800         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1801         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1802         file.
1803         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1804         Likewise.
1805         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1806         Likewise.
1807         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1808         Likewise.
1809         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1810         Likewise.
1811         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1812         Likewise.
1813         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1814         Likewise.
1815         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1816         Likewise.
1818 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1820         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1822 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1824         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1825         and typo in a comment about AT_HWCAP entry.
1827 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1829         * sysdeps/aarch64/libm-test-ulps: Updated.
1831 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1833         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1834         of r13 as it is not restored in mvcle case.
1836 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1838         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1839         Rename "ret" to "__ret".
1840         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1841         inline_syscall5, inline_syscall6): Likewise.
1843 2016-07-19   Will Newton  <will.newton@gmail.com>
1845         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1846         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1847         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1848         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1849         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1851 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1853         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1854         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1855         -mfpmath=387 with $(rtld-CFLAGS).
1856         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1857         $(rtld-CFLAGS).
1859 2016-07-18   Ross Burton  <ross.burton@intel.com>
1860              Khem Raj  <raj.khem@gmail.com>
1862         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1863         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1864         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1865         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1866         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1867         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1868         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1869         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1870         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1871         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1872         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1873         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1874         R_METAG_TLS_DTPOFF): New.
1876 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1877             Matt Clay  <mclay@lycos.com>
1879         [BZ #20357]
1880         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1881         to call __mpsin/__mpcos and to negate values.
1882         * math/auto-libm-test-in: Add test.
1883         * math/auto-libm-test-out: Regenerate.
1885 2016-07-18  Zack Weinberg  <zackw@panix.com>
1887         * grp/Makefile: Don't install the internal header grp-merge.h.
1889 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1891         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1893 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1895         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1897 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1899         [BZ #15368]
1900         * sysdeps/unix/sysv/linux/nptl-signals.h
1901         (__nptl_clear_internal_signals): New function.
1902         (__libc_signal_block_all): Likewise.
1903         (__libc_signal_block_app): Likewise.
1904         (__libc_signal_restore_set): Likewise.
1905         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1906         implementation.
1907         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1908         the cached pid/tid value in pthread structure.
1910 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1912         [BZ #20347]
1913         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1915 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1917         [BZ #20348]
1918         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1919         preadv64, pwrite64 and pwritev64.
1921 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1923         [BZ #20350]
1924         * posix/tst-preadwrite.c: Renamed to ...
1925         * posix/tst-preadwrite-common.c: This.
1926         (PREAD): Removed.
1927         (PWRITE): Likewise.
1928         (STRINGIFY): Likewise.
1929         (STRINGIFY2): Likewise.
1930         (do_prepare): Make it static and remove function arguments.
1931         (do_test): Likewise.
1932         (PREPARE): Updated.
1933         (TEST_FUNCTION): New.
1934         (name): Make it static.
1935         (fd): Likewise.
1936         (do_prepare): Use create_temp_file.
1937         (do_test): Renamed to ...
1938         (do_test_with_offset): This.  Make it static and accept offset.
1939         Properly check return value of PWRITE and PREAD.  Return bytes
1940         read.  Don't close fd nor unlink name.
1941         * posix/tst-preadwrite.c: Rewrite.
1942         * posix/tst-preadwrite64.c: Likewise.
1944 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1946         [BZ #20309]
1947         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1948         -mtls-dialect=gnu2 works.
1949         * configure: Regenerated.
1950         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1951         (tests): Add tst-gnu2-tls1.
1952         (modules-names): Add tst-gnu2-tls1mod.
1953         ($(objpfx)tst-gnu2-tls1): New.
1954         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1955         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1956         * elf/tst-gnu2-tls1.c: New file.
1957         * elf/tst-gnu2-tls1mod.c: Likewise.
1958         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1959         bytes for push in the PLT entry to align the stack.
1961 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1963         [BZ #20349]
1964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1966 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1968         [BZ #18707]
1969         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1970         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1972 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1974         * sysdeps/unix/sysv/linux/sysdep.h
1975         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1976         guards.
1977         * misc/tst-preadvwritev-common.c: New file.
1978         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1979         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1980         a check for files larger than 2GB.
1982         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1983         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1984         * sysdeps/unix/sysv/linux/pread.c
1985         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1986         __OFF_T_MATCHES_OFF64_T.
1987         * sysdeps/unix/sysv/linux/pread64.c
1988         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1989         * sysdeps/unix/sysv/linux/preadv.c
1990         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1991         * sysdeps/unix/sysv/linux/preadv64.c
1992         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1993         * sysdeps/unix/sysv/linux/pwrite.c
1994         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1995         * sysdeps/unix/sysv/linux/pwrite64.c
1996         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1997         * sysdeps/unix/sysv/linux/pwritev.c
1998         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1999         * sysdeps/unix/sysv/linux/pwritev64.c
2000         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2002 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2004         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2005         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2007 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2009         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2011 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2013         [BZ #20240]
2014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2015         (CFLAGS-s_modf-ppc32.c): New variable.
2016         (CFLAGS-s_modff-ppc32.c): Likewise.
2017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2018         (CFLAGS-s_modf-ppc64.c): Likewise.
2019         (CFLAGS-s_modff-ppc64.c): Likewise.
2021 2016-07-07  Andreas Schwab  <schwab@suse.de>
2023         [BZ #20263]
2024         * nptl/tst-robust10.c: New test.
2025         * nptl/Makefile (tests): Add tst-robust10.
2027 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2029         [BZ #20263]
2030         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2032 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2034         * sysdeps/s390/linkmap.h (struct link_map_machine):
2035         Remove member gotplt and add member jmprel.
2036         * sysdeps/s390/s390-32/dl-machine.h
2037         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2038         instead of gotplt with &got[3].
2039         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2040         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2042 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2044         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2046 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2048         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2049         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2050         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2051         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2052         * libio/vtables.c (_IO_vtable_check)
2053         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2054         * libio/libioP.h (IO_set_accept_foreign_vtables)
2055         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2057 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2059         [BZ #20314]
2060         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2061         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2062         $(common-objpfx)cmath.
2063         ($(common-objpfx)cstdlib): New target.
2064         ($(common-objpfx)cmath): Likewise.
2066 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2068         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2070 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2072         [BZ #20327]
2073         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2074         are not part of the string.
2076 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2078         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2079         * nptl/tst-cancel4-common.h (fifoname): New variable.
2080         (fifofd): Likewise.
2081         (cl_fifo): New function.
2082         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2083         SIGINT.
2084         (tf_open): Add early cancel test.
2086 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2088         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2090 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2092         * sysdeps/generic/ldsodefs.h
2093         (dl_symbol_visibility_binds_local_p): New inline function.
2094         * elf/dl-addr.c (determine_info): Treat hidden and internal
2095         symbols as local.
2096         * elf/dl-lookup.c (do_lookup_x): Likewise.
2097         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2099 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2101         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2102         invalid exception for a sNaN input.
2103         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2104         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2105         (__nearbyint_vis3): Likewise
2106         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2107         (__nearbyintf_vis3): Likewise
2108         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2109         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2110         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2111         Likewise.
2112         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2113         Likewise.
2115 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2117         [BZ #20139]
2118         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2119         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2120         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2121         2.24 or above.
2122         (HAVE_AVX512_ASM_SUPPORT): Removed.
2123         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2124         * sysdeps/x86_64/configure: Regenerated.
2125         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2126         check unconditional.
2127         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2128         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2129         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2130         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2131         Likewise.
2132         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2133         Likewise.
2134         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2135         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2136         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2137         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2138         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2139         Likewise.
2140         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2141         Likewise.
2142         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2143         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2145         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2146         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2147         Likewise.
2148         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2149         Likewise.
2150         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2151         Likewise.
2152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2153         Likewise.
2154         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2155         Likewise.
2156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2157         Likewise.
2158         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2159         Likewise.
2160         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2161         Likewise.
2162         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2163         Likewise.
2164         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2165         Likewise.
2166         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2167         Likewise.
2169 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2171         [BZ #20024]
2172         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2173         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2174         of this implementation of vector function.
2175         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2177         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2178         Likewise.
2179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2181         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2182         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2183         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2184         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2185         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2186         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2187         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2188         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2190         for testing vector sincos with fixed ABI.
2191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2192         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2193         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2194         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2195         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2196         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2197         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2198         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2199         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2200         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2201         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2202         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2203         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2204         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2205         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2206         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2208 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2210         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2212 2016-06-30  Anton Blanchard  <anton@samba.org>
2214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2215         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2216         s_sinf-ppc64.
2217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2220         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2222 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2226         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2227         e_expf-ppc64.
2228         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2230         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2231         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2233 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2235         [BZ #20277]
2236         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2237         when SHARED is defined.
2239 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2241         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2242         (index_arch_Prefer_ERMS): Likewise.
2243         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2244         __memcpy_erms for Prefer_ERMS.
2245         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2246         (__memmove_erms): Enabled for libc.a.
2247         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2248         __memmove_erms or Prefer_ERMS.
2249         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2250         __mempcpy_erms for Prefer_ERMS.
2251         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2252         __memset_erms for Prefer_ERMS.
2254 2016-06-30  Andreas Schwab  <schwab@suse.de>
2256         [BZ #20262]
2257         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2258         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2259         of memory.
2261 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2263         [BZ #18645]
2264         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2265         (test-extras): Add tst-cleanupx4aux.
2266         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2267         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2268         tst-cleanupx4aux.o.
2269         * nptl/tst-cleanupx4aux.c: New file.
2271 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2273         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2275 2016-06-29  Andreas Schwab  <schwab@suse.de>
2277         [BZ #20260]
2278         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2279         address before the beginning of the string as an integer to avoid
2280         array-bounds warning.
2282 2016-06-28  Richard Henderson  <rth@redhat.com>
2284         * elf/elf.h (EM_BPF): New.
2285         (EM_NUM): Update.
2286         (R_BPF_NONE, R_BPF_MAP_FD): New.
2288         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2289         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2290         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2291         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2292         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2293         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2294         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2295         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2296         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2297         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2298         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2299         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2300         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2301         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2302         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2303         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2304         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2305         (EM_NUM): Update.
2307 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2309         [BZ #18960]
2310         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2311         Set _nl_current_LC_CATEGORY_used to two instead of one.
2313 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2315         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2316         (do_test): ... this.
2317         (TEST_FUNCTION): New macro.
2318          Include test-skeleton.c.
2319         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2320         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2322 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2324         [BZ #15479]
2325         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2326         floating-point environment rather than just control word.
2327         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2328         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2329         floating-point environment, with "invalid" exceptions merged in,
2330         rather than just control word.
2331         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2332         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2333         "inexact" exceptions.
2335         [BZ #15479]
2336         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2337         floating-point environment rather than just control word.
2338         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2339         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2340         floating-point environment, with "invalid" exceptions merged in,
2341         rather than just control word.
2342         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2343         * math/libm-test.inc (floor_test_data): Do not allow spurious
2344         "inexact" exceptions.
2346         [BZ #15479]
2347         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2348         floating-point environment rather than just control word.
2349         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2350         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2351         floating-point environment, with "invalid" exceptions merged in,
2352         rather than just control word.
2353         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2354         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2355         "inexact" exceptions.
2357 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2359         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2360         __libc_vfork.
2361         (__vfork) [IS_IN (libc)]: Remove alias.
2362         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2363         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2364         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2366 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2368         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2369         of atomic_compare_and_exchange_bool_rel.
2370         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2371         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2372         catomic_compare_and_exchange_bool_rel): Remove.
2373         * sysdeps/aarch64/atomic-machine.h
2374         (atomic_compare_and_exchange_bool_rel): Likewise.
2375         * sysdeps/alpha/atomic-machine.h
2376         (atomic_compare_and_exchange_bool_rel): Likewise.
2377         * sysdeps/arm/atomic-machine.h
2378         (atomic_compare_and_exchange_bool_rel): Likewise.
2379         * sysdeps/mips/atomic-machine.h
2380         (atomic_compare_and_exchange_bool_rel): Likewise.
2381         * sysdeps/microblaze/atomic-machine.h
2382         ( __arch_compare_and_exchange_bool_8_rel,
2383         __arch_compare_and_exchange_bool_16_rel): Likewise.
2384         * sysdeps/powerpc/atomic-machine.h
2385         ( __arch_compare_and_exchange_bool_8_rel,
2386         __arch_compare_and_exchange_bool_16_rel): Likewise.
2387         * sysdeps/powerpc/powerpc32/atomic-machine.h
2388         ( __arch_compare_and_exchange_bool_32_rel,
2389         __arch_compare_and_exchange_bool_64_rel): Likewise.
2390         * sysdeps/powerpc/powerpc64/atomic-machine.h
2391         ( __arch_compare_and_exchange_bool_32_rel,
2392         __arch_compare_and_exchange_bool_64_rel): Likewise.
2393         * sysdeps/tile/atomic-machine.h
2394         (atomic_compare_and_exchange_bool_rel): Likewise.
2396 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2398         [BZ #20296]
2399         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2400         when either argument is a NaN.
2401         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2402         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2404         * math/libm-test.inc (snan_value_ld): New macro.
2405         (isgreater_test_data): Add sNaN tests.
2406         (isgreaterequal_test_data): Likewise.
2407         (isless_test_data): Likewise.
2408         (islessequal_test_data): Likewise.
2409         (islessgreater_test_data): Likewise.
2410         (isunordered_test_data): Likewise.
2411         (nextafter_test_data): Likewise.
2412         (nexttoward_test_data): Likewise.
2413         (remainder_test_data): Likewise.
2414         (remquo_test_data): Likewise.
2415         (significand_test_data): Likewise.
2416         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2418 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2420         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2421         environment macros are defined.
2422         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2424 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2426         [BZ #20191]
2427         Implement vtable verification in libio.
2428         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2429         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2430         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2431         _IO_new_file_init_internal instead of _IO_file_init.
2432         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2433         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2434         * libio/Makefile (routines): Add vtables.
2435         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2436         (_IO_init): Remove, not for internal use.
2437         (_IO_init_internal): Declare, internal replacement for _IO_init.
2438         (_IO_file_init): Remove, not for internal use.
2439         (_IO_new_file_init): Remove, not for internal use.
2440         (_IO_new_file_init_internal): Declare, internal replacement for
2441         _IO_new_file_init.
2442         (_IO_old_file_init): Remove, not for internal use.
2443         (_IO_old_file_init_internal): Declare, internal replacement for
2444         _IO_old_file_init.
2445         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2446         internal use.
2447         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2448         Declare.
2449         (libio_vtable): New macro.
2450         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2451         functions.
2452         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2453         _IO_new_file_init.
2454         (_IO_new_file_init): New externally visible wrapper which disables
2455         vtable verification.
2456         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2457         Define as vtables.
2458         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2459         (_IO_init): New externally visible wrapper which disables
2460         vtable verification.
2461         * libio/iofdopen.c (_IO_new_fdopen): Call
2462         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2463         comment.
2464         * libio/iofopen.c (__fopen_internal): Call
2465         _IO_new_file_init_internal instead of _IO_file_init.
2466         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2467         Define as vtables.
2468         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2469         _IO_new_file_init_internal instead of _IO_file_init.
2470         * libio/iopopen.c (_IO_new_popen): Likewise.
2471         (_IO_proc_jumps): Define as vtable.
2472         * libio/iovdprintf.c (_IO_vdprintf): Call
2473         _IO_new_file_init_internal instead of _IO_file_init.
2474         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2475         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2476         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2477         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2478         _IO_old_file_init.
2479         (_IO_old_file_init): New externally visible wrapper which disables
2480         vtable verification.
2481         (_IO_old_file_jumps): Define as vtable.
2482         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2483         _IO_old_file_init_internal instead of _IO_old_file_init.
2484         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2485         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2486         (_IO_old_proc_jumps): Define as vtable.
2487         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2488         Define as vtables.
2489         * libio/vtables.c: New file.
2490         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2491         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2492         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2493         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2494         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2495         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2496         instead of _IO_init.
2498 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2500         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2502 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2504         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2505         potentially unused.
2507 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2509         * test-skeleton.c (write_message): New function.
2510         * malloc/tst-mallocfork2.c (write_message): Remove.
2511         * debug/tst-longjmp_chk2.c (write_indented): New function.
2512         (write_message): Remove.
2513         (stackoverflow_handler): Call write_indented.
2515 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2517         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2518         "inexact" exceptions after fnstenv.
2519         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2520         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2521         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2523 2015-06-22  Zack Weinberg  <zackw@panix.com>
2525         * sysdeps/generic/bits/hwcap.h: Moved to ...
2526         * bits/hwcap.h: Here.
2528 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2530         * sysdeps/aarch64/memcpy.S (memcpy):
2531         Further tuning for performance.
2533 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2535         [BZ #20284]
2536         * malloc/arena.c (reused_arena): Do not return NULL if we start
2537         out with a non-corrupted arena.
2539 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2541         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2542         * misc/tst-preadvwritev.c: New file.
2543         * misc/tst-preadvwritev64.c: Likewise.
2544         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2545         usage.
2546         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2547         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2548         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2549         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2551 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2553         [BZ #19654]
2554         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2555         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2556         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2557         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2558         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2559         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2560         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2561         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2562         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2563         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2564         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2565         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2566         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2567         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2568         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2569         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2570         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2571         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2572         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2573         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2574         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2575         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2576         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2577         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2578         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2579         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2581 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2583         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2584         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2586 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2588         * sysdeps/aarch64/memcpy.S (memcpy):
2589         Rewrite of optimized memcpy and memmove.
2590         * sysdeps/aarch64/memmove.S (memmove): Remove
2591         memmove code (merged into memcpy.S).
2593 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2595         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2596         * sysdeps/generic/dl-dtv.h: New file.
2597         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2598         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2599         (dtv_t): Remove.
2600         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2601         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2602         (dtv_t): Remove.
2603         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2604         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2605         (dtv_t): Remove.
2606         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2607         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2608         (dtv_t): Remove.
2609         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2610         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2611         (dtv_t): Remove.
2612         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2613         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2614         (dtv_t): Remove.
2615         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2616         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2617         (dtv_t): Remove.
2618         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2619         (dtv_t): Remove.
2620         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2621         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2622         (dtv_t): Remove.
2623         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2624         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2625         (dtv_t): Remove.
2626         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2627         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2628         (dtv_t): Remove.
2629         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2630         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2631         (dtv_t): Remove.
2632         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2633         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2634         (dtv_t): Remove.
2635         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2636         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2637         (dtv_t): Remove.
2638         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2639         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2640         (dtv_t): Remove.
2641         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2642         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2643         (dtv_t): Remove.
2645 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2647         Revert symbol poisoning of  __malloc_initialize_hook.
2648         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2649         poisoning.
2650         * malloc/Makefile: Remove un-poisoning.
2651         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2652         instead of old__malloc_initialize_hook.
2653         * malloc/malloc-hooks.h: Likewise.
2654         * malloc/malloc.c: Likewise.
2655         * malloc/mcheck-init.c: Likewise.
2657 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2659         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2661 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2663         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2664         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2665         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2666         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2668 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2670         * NEWS: Mention addition of nextup and nextdown.
2671         * manual/arith.texi: Document nextup and nextdown.
2672         * manual/libm-err-tab.pl: Add nextup and nextdown.
2673         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2674         * math/Versions (libm): Add GLIBC_2.24.
2675         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2676         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2677         Add new test.
2678         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2679         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2680         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2681         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2682         (nextup_test_data): Likewise.
2683         (nextdown_test_data): Likewise.
2684         * math/s_nextdown.c: New file.
2685         * math/s_nextdownf.c: Likewise.
2686         * math/s_nextdownl.c: Likewise.
2687         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2688         F(nextup): New function.
2689         F(nextdown): Likewise.
2690         * math/tgmath.h: Add nextup and nextdown.
2691         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2692         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2693         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2694         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2695         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2696         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2697         Add nextup and nextdown.
2698         (CFLAGS-nldbl-nextup.c): New variable.
2699         (CFLAGS-nldbl-nextdown.c): Likewise.
2700         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2701         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2702         * sysdeps/nacl/libm.abilist: Update.
2703         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2704         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2705         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2706         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2707         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2708         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2709         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2710         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2711         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2712         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2713         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2714         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2717         Likewise.
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2727         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2732 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2734         * manual/pattern.texi: Fix typos & grammar errors.
2736 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2738         * manual/search.texi: Fix typos & grammar errors.
2740 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2742         * manual/message.texi: Fix typos & grammar errors.
2744 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2746         * manual/contrib.texi: Fix spelling typos.
2747         * manual/crypt.texi: Likewise.
2748         * manual/filesys.texi: Likewise.
2749         * manual/locale.texi: Likewise.
2750         * manual/message.texi: Likewise.
2751         * manual/nss.texi: Likewise.
2752         * manual/string.texi: Likewise.
2754 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2756         * manual/locale.texi: Fix typos & grammar errors.
2758 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2760         * manual/charset.texi: Fix typos & grammar errors.
2762 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2764         * manual/string.texi: Fix typos.
2766 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2768         * manual/ctype.texi: Fix typos.
2770 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2772         * manual/memory.texi: Fix various typos & grammar errors.
2774 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2776         [BZ #20255]
2777         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2778         * math/libm-test.inc (fdim_test_data): Add another test.
2780         [BZ #6796]
2781         [BZ #20255]
2782         [BZ #20256]
2783         * math/s_fdim.c: Include <math_private.h>.
2784         (__fdim): Use math_narrow_eval on result.
2785         * math/s_fdimf.c: Include <math_private.h>.
2786         (__fdimf): Use math_narrow_eval on result.
2787         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2788         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2789         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2790         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2791         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2792         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2793         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2794         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2795         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2796         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2797         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2798         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2799         overflow.  Add sNaN tests.
2801         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2802         fpclassify.
2803         * math/s_fdimf.c (__fdimf): Likewise.
2804         * math/s_fdiml.c (__fdiml): Likewise.
2806 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2808         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2809         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2811         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2812         ifunc'ed strcasecmp/strncasecmp.
2813         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2814         [EALIGN]: Removed.
2815         [END]: Likewise.
2816         [__strcasecmp]: Define instead of the above to control symbol name.
2817         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2818         for __strcasecmp_power8.
2819         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2820         for __strncasecmp_power8.
2821         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2823         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2824         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2825         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2826         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2828 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2830         [BZ #20252]
2831         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2832         arguments when second argument is a NaN.
2833         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2834         qNaN tests.
2836         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2837         (conj_test_data): Likewise.
2838         (copysign_test_data): Likewise.
2839         (creal_test_data): Likewise.
2840         (fma_test_data): Likewise.
2841         (fmod_test_data): Likewise.
2843         [BZ #20250]
2844         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2845         itself.
2846         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2847         zero input to itself.
2848         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2849         Likewise.
2850         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2851         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2852         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2853         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2854         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2856 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2858         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2859         * nptl/tst-cancel4-common.c: New file.
2860         * nptl/tst-cancel4-common.h: Likewise.
2861         * nptl/tst-cancel4.c: Move common definitions to
2862         tst-cancel4-common.{c,h} file.
2863         * nptl/tst-cancel4_1.c: New test.
2864         * nptl/tst-cancel4_2.c: New test.
2866 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2868         [BZ #20248]
2869         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2870         (write_message): New function.
2871         (stackoverflow_handler): Call it instead of printf, to avoid
2872         excessive stack usage by printf.
2873         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2875 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2877         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2878         (prio_inherit_missing): Remove define.
2879         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2880         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2881         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2882         Likewise.
2883         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2884         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2885         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2886         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2887         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2888         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2890 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2892         [BZ #19670]
2893         [BZ #19672]
2895         * io/test-lfs.c (do_prepare): Use xmalloc.
2896         * io/tst-fcntl.c (do_prepare): Likewise.
2897         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2898         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2899         * login/tst-utmp.c (do_prepare): Likewise.
2900         * posix/tst-exec.c (do_prepare): Likewise.
2901         * posix/tst-pathconf.c (prepare): Likewise.
2902         * posix/tst-spawn.c (do_prepare): Likewise.
2903         * posix/tst-truncate.c (do_prepare): Likewise.
2904         * rt/tst-aio.c (do_prepare): Likewise.
2905         * rt/tst-aio64.c (do_prepare): Likewise.
2907 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2909         [BZ #20237]
2910         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2911         (get*ent): Set entidx to NULL during initialization.  If entidx is
2912         NULL, start iteration from the beginning.
2914 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2916         * malloc/malloc.c (musable): Return correct size for dumped fake
2917         mmapped chunk.
2919 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2921         [BZ #20222]
2922         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2923         (_IO_cookie_write): Likewise.
2924         (_IO_cookie_seek): Likewise.
2925         (_IO_cookie_close): Likewise.
2926         (_IO_old_cookie_seek): Likewise.
2927         (set_callbacks): New function.
2928         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2930 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2932         * locale/programs/localedef.c (oldstyle_tables): Remove.
2933         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2935 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2937         [BZ #20240]
2938         * math/Makefile (CFLAGS-s_modf.c): New variable.
2939         (CFLAGS-s_modff.c): Likewise.
2940         (CFLAGS-s_modfl.c): Likewise.
2941         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2943 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2945         [BZ #20215]
2946         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2947         [!__GNUC_PREREQ (3,2)]: Likewise.
2949 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2951         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2952         (msghdr.msg_controllen): Likewise.
2953         (cmsghdr.cmsg_len): Likewise.
2954         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2955         ptw-oldsendmsg.
2956         (CFLAGS-oldrecvmsg.c): Remove rule.
2957         (CFLAGS-oldsendmsg.c): Likewise.
2958         (CFLAGS-recvmsg.c): Add rule.
2959         (CFLAGS-sendmsg.c): Likewise.
2960         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2961         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2962         (CFLAGS-recvmsg.c): Remove rule.
2963         (CFLAGS-sendmsg.c): Likewise.
2964         (CFLAGS-oldrecvmsg.c): Likewise.
2965         (CFLAGS-oldsendmsg.c): Likewise.
2966         (CFLAGS-recvmmsg.c): Likewise.
2967         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2968         to kernel defined interfaces.
2969         (msghdr.msg_controllen): Likewise.
2970         (cmsghdr.cmsg_len): Likewise.
2971         (msghdr.__glibc_reserved1): Remove member.
2972         (msghdr.__glibc_reserved2): Likewise.
2973         (cmsghdr.__glibc_reserved1): Likewise.
2974         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2975         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2976         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2977         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2978         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2979         version.
2980         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2981         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2982         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2983         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2984         Remove recvmsg and sendmsg.
2985         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2986         Likewise.
2987         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2988         Likewise.
2989         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2990         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2991         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2992         Likewise.
2993         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2994         Likewise.
2995         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2996         [libc] (GLIBC_2.24): Likewise.
2997         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2998         Likewise.
2999         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3000         Likewise.
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3002         [libc] (GLIBC_2.24): Likewise.
3003         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3004         Likewise.
3005         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3006         Likewise.
3007         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3008         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3009         Likewise.
3010         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3011         Likewise.
3012         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3013         Likewise.
3014         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3017         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3018         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3019         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3020         version for {recv,send,recm,sendm}msg.
3021         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3022         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3023         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3024         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3025         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3026         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3027         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3028         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3029         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3030         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3034         Likewise.
3035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3036         Likewise.
3037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3051 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3053         [BZ #19564]
3054         Remove __malloc_initialize_hook from the API.
3055         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3056         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3057         #pragma GCC poison.
3058         * malloc/malloc-hooks.h: New file.
3059         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3060         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3061         (old__malloc_initialize_hook): Rename from
3062         __malloc_initialize_hook to evade poisoning.  Turn into compat
3063         symbol.
3064         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3065         __malloc_initialize_hook.
3066         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3067         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3068         * manual/memory.texi (Hooks for Malloc): Remove
3069         __malloc_initialize_hook.  Adjust hook example.
3071 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3073         [BZ #20235]
3074         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3075         itself.
3076         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3077         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3079         [BZ #20234]
3080         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3081         infinity or NaN input to itself.
3083         [BZ #20233]
3084         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3085         to itself.
3087         [BZ #20232]
3088         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3089         itself.
3091 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3093         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3094         __libc_start_main via GOT.
3096 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3098         * sysdeps/x86_64/memcopy.h: New file.
3099         * sysdeps/x86_64/wordcopy.c: Likewise.
3101 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3103         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3104         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3105         <cstdlib>.
3106         (optimization_barrier): New.
3107         (do_test): Use it.  Call quick_exit in the global namespace.
3108         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3109         instead of <cstdlib>, <thread>.
3110         (optimization_barrier): New.
3111         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3112         Call quick_exit in the global namespace.
3113         (do_test): Call optimization_barrier.  Use pthread_create,
3114         pthread_join instead of std::thread.
3116 2016-06-09  Andreas Schwab  <schwab@suse.de>
3118         [BZ #19755]
3119         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3120         new entries in auto-propagate mode.
3121         * nscd/grpcache.c (cache_addgr): Likewise.
3123 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3125         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3126         New functions.
3127         (add_temp_file): Use them.
3129 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3131         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3133 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3135         [BZ #20229]
3136         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3137         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3138         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3140         [BZ #20228]
3141         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3142         itself.
3143         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3144         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3146         [BZ #20227]
3147         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3148         itself.
3149         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3150         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3151         * math/libm-test.inc (log_test_data): Add sNaN tests.
3153         [BZ #20226]
3154         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3155         itself.
3156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3157         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3158         (exp10_test_data): Likewise.
3159         (expm1_test_data): Likewise.
3161         [BZ #20225]
3162         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3163         itself.
3164         * math/s_ldexpf.c (__ldexpf): Likewise.
3165         * math/s_ldexpl.c (__ldexpl): Likewise.
3166         * math/w_scalbln.c (__w_scalbln): Likewise.
3167         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3168         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3169         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3170         (scalbln_test_data): Likewise.
3172         [BZ #20224]
3173         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3174         argument to itself.
3175         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3177 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3179         [BZ #19776]
3180         * sysdeps/x86_64/memcpy.S: Make it dummy.
3181         * sysdeps/x86_64/mempcpy.S: Likewise.
3182         * sysdeps/x86_64/memmove.S: New file.
3183         * sysdeps/x86_64/memmove_chk.S: Likewise.
3184         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3185         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3186         * sysdeps/x86_64/memmove.c: Removed.
3187         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3188         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3189         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3190         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3191         Likewise.
3192         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3193         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3195         memcpy-sse2-unaligned, memmove-avx-unaligned,
3196         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3197         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3198         (__libc_ifunc_impl_list): Replace
3199         __memmove_chk_avx512_unaligned_2 with
3200         __memmove_chk_avx512_unaligned.  Remove
3201         __memmove_chk_avx_unaligned_2.  Replace
3202         __memmove_chk_sse2_unaligned_2 with
3203         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3204         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3205         with __memmove_avx512_unaligned.  Replace
3206         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3207         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3208         with __memcpy_chk_avx512_unaligned.  Remove
3209         __memcpy_chk_avx_unaligned_2.  Replace
3210         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3211         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3212         Replace __memcpy_avx512_unaligned_2 with
3213         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3214         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3215         with __mempcpy_chk_avx512_unaligned.  Remove
3216         __mempcpy_chk_avx_unaligned_2.  Replace
3217         __mempcpy_chk_sse2_unaligned_2 with
3218         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3219         Replace __mempcpy_avx512_unaligned_2 with
3220         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3221         Replace __mempcpy_sse2_unaligned_2 with
3222         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3223         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3224         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3225         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3226         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3227         (ENTRY): Removed.
3228         (END): Likewise.
3229         (ENTRY_CHK): Likewise.
3230         (libc_hidden_builtin_def): Likewise.
3231         Don't include ../memcpy.S.
3232         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3233         __memcpy_chk_avx512_unaligned_erms and
3234         __memcpy_chk_avx512_unaligned.  Use
3235         __memcpy_chk_avx_unaligned_erms and
3236         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3237         Default to __memcpy_chk_sse2_unaligned.
3238         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3239         Change function suffix from unaligned_2 to unaligned.
3240         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3241         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3242         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3243         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3244         (ENTRY): Removed.
3245         (END): Likewise.
3246         (ENTRY_CHK): Likewise.
3247         (libc_hidden_builtin_def): Likewise.
3248         Don't include ../mempcpy.S.
3249         (mempcpy): New.  Add a weak alias.
3250         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3251         __mempcpy_chk_avx512_unaligned_erms and
3252         __mempcpy_chk_avx512_unaligned.  Use
3253         __mempcpy_chk_avx_unaligned_erms and
3254         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3255         Default to __mempcpy_chk_sse2_unaligned.
3257 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3259         [BZ #19881]
3260         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3261         into ...
3262         * sysdeps/x86_64/memset.S: This.
3263         (__bzero): Removed.
3264         (__memset_tail): Likewise.
3265         (__memset_chk): Likewise.
3266         (memset): Likewise.
3267         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3268         defined.
3269         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3270         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3271         (__memset_zero_constant_len_parameter): Check SHARED instead of
3272         PIC.
3273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3274         memset-avx2 and memset-sse2-unaligned-erms.
3275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3276         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3277         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3278         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3279         (__bzero): Enabled.
3280         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3281         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3282         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3283         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3284         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3285         (memset): Removed.
3286         (__memset_chk): Likewise.
3287         (MEMSET_SYMBOL): New.
3288         (libc_hidden_builtin_def): Replace __memset_sse2 with
3289         __memset_sse2_unaligned.
3290         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3291         __memset_chk_sse2 and __memset_chk_avx2 with
3292         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3293         Use __memset_chk_sse2_unaligned_erms or
3294         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3295         __memset_chk_avx512_unaligned_erms and
3296         __memset_chk_avx512_unaligned.
3298 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3300         * math/gen-auto-libm-test.c (fp_format_desc): remove
3301         suffix member.
3302         (output_generic_value): Remove usage of suffix member,
3303         and the resulting unuse of the fp_format argument.
3304         (output_for_one_input_case): Remove unused fp_format
3305         parameter.
3307         * math/auto-libm-test-out: Regenerate.
3309         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3310         usage with TEST_COND_ibm128.
3311         (TEST_COND_flt_32): Remove.
3312         (TEST_COND_dbl_64): Remove.
3313         (TEST_COND_ldbl_96_intel): Remove.
3314         (TEST_COND_ldbl_96_m68k): Remove.
3315         (TEST_COND_ldbl_128): Remove.
3317 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3319         * auto-libm-test-in:
3320         Replace flt-32 usage with binary32.
3321         Replace dbl-64 usage with binary64.
3322         Replace ldbl-intel-96 usage with intel96.
3323         Replace ldbl-m68k-96 usage with m68k96.
3324         Replace ldbl-128ibm usage with ibm128.
3325         Replace ldbl-128 usage with binary128.
3327         * auto-libm-test-out: Regenerate.
3329 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3331         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3332         (parse_ulps): Dynamically generate type name matching
3333         string from all_floats.
3334         (get_ulps): Generate the ulps as an array instead.
3335         (output_ulps): Dynamically compose the type based
3336         on the number of supported formats, and print
3337         the indices as type specific helper macros.
3339         * math/libm-test.inc: Remove comment about CHOOSE.
3340         (ulp_data): Generate the type in libm-test-ulps.h.
3341         (ULP_IDX): New macro.
3342         (find_ulps): Update usage of max_ulp.
3344         * math/test-double-vlen2.h (CHOOSE): Remove.
3345         * math/test-double-vlen4.h (CHOOSE): Likewise.
3346         * math/test-double-vlen8.h (CHOOSE): Likewise.
3347         * math/test-float.c (CHOOSE): Likewise.
3348         * math/test-float-finite.c (CHOOSE): Likewise.
3349         * math/test-double.c (CHOOSE): Likewise.
3350         * math/test-double-finite.c (CHOOSE): Likewise.
3351         * math/test-idouble.c (CHOOSE): Likewise.
3352         * math/test-ifloat.c (CHOOSE): Likewise.
3353         * math/test-ildoubl.c (CHOOSE): Likewise.
3354         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3355         * math/test-ldouble.c (CHOOSE): Likewise.
3357         * math/test-float.h (TEST_FLOAT): Remove.
3358         * math/test-double.h (TEST_DOUBLE): Likewise.
3359         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3361 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3363         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3364         (parse_args): Strip C suffix from floating point literals
3365         typed with 'f' and wrap them with LIT().
3367         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3368         (test_ff_f_data_nexttoward): Rename to
3369         (test_fj_f_data): New struct.
3370         (nexttoward_test_data): Relabel tests as
3371         TEST_fj_f instead of TEST_ff_f.
3373 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3375         Emacs bug 23726.
3376         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3377         (__libc_realloc): Correct size computation for dumped fake mmapped
3378         chunks.
3380 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3382         [BZ #20219]
3383         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3384         to itself.
3385         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3387         [BZ #20218]
3388         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3389         to itself.
3390         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3392 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3394         [BZ #20195]
3395         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3396         check to ...
3397         (init_cpu_features): Here.
3399 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3401         [BZ #20214]
3402         * sysdeps/unix/sysv/linux/bits/in.h
3403         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3404          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3405         Define to 1.
3406         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3407          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3408         Define to 0.
3409         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3410         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3412 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3414         [BZ #20198]
3415         * stdlib/Makefile (tests): Add tst-quick_exit, and
3416         tst-thread-quick_exit.
3417         [ifeq ($(have-cxx-thread_local),yes)]
3418         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3419         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3420         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3421         (LDLIBS-tst-thread-quick_exit): Likewise.
3422         [ifneq ($(have-cxx-thread_local),yes)]
3423         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3424         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3425         If run_dtors is true call __call_tls_dtors.
3426         (exit): Call __run_exit_handlers with run_dtors set to true.
3427         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3428         definition.
3429         * stdlib/quick_exit.c (quick_exit): Remove function.
3430         (__new_quick_exit): New function.
3431         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3432         function.
3433         * stdlib/tst-quick_exit.cc: New file.
3434         * stdlib/tst-thread-quick_exit.cc: New file.
3435         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3436         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3437         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3438         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3439         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3440         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3441         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3442         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3443         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3444         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3445         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3446         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3447         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3448         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3449         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3450         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3455         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3456         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3457         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3458         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3459         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3462         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3463         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3464         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3466 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3468         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3469         a typo in comments.
3471 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3473         [BZ #20213]
3474         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3475         argument to itself.
3476         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3478 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3480         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3481         required flags.
3482         (CFLAGS-pwritev64.c): Likewise.
3483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3485         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3486         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3487         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3488         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3489         syscall from auto-generation.
3490         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3491         [WORDSIZE == 64] (pwritev64): Remove macro.
3492         [!PWRITEV] (PWRITEV): Likewise.
3493         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3494         [!PWRITEV] (PWRITE): Likewise.
3495         [!PWRITEV] (OFF_T): Likewise.
3496         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3497         (LO_HI_LONG): Remove macro.
3498         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3499         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3500         (PWRITEV): Remove macro.
3501         (PWRITEV_REPLACEMENTE): Likewise.
3502         (PWRITE): Likewise.
3503         (OFF_T): Likewise.
3504         (pwritev64): New function.
3505         * nptl/tst-cancel4.c (tf_writev): Add test.
3507         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3508         required flags.
3509         (CFLAGS-preadv64.c): Likewise.
3510         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3511         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3512         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3513         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3514         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3515         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3516         syscall from auto-generation.
3517         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3518         [WORDSIZE == 64] (preadv64): Remove macro.
3519         [!PREADV] (PREADV): Likewise.
3520         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3521         [!PREADV] (PREAD): Likewise.
3522         [!PREADV] (OFF_T): Likewise.
3523         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3524         (LO_HI_LONG): Remove macro.
3525         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3526         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3527         (PREADV): Remove macro.
3528         (PREADV_REPLACEMENTE): Likewise.
3529         (PREAD): Likewise.
3530         (OFF_T): Likewise.
3531         (preadv64): New function.
3532         * nptl/tst-cancel4.c (tf_preadv): Add test.
3534 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3536         [BZ #20212]
3537         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3538         argument to itself.
3539         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3541 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3543         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3544         New symbol defined as libc_hidden_def.
3545         (strcasestr): Became a weak alias to __strcasestr.
3546         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3547         according to multi-arch support.  Move __stpncpy hidden
3548         definition from here to...
3549         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3550         symbol stpncpy.
3551         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3552         libc_hidden_builtin_def.
3553         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3554         memset symbol to use when multi-arch support is available.
3556 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3558         * dlfcn/tst-rec-dlopen.c: Include string.h.
3560 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3562         * manual/install.texi: Remove mention of --without-tls
3563         * INSTALL: Regenerate.
3565 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3567         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3568         Remove.
3569         (call_function, interposed_malloc_called): New variables.
3570         (malloc): New function.
3571         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3572         and clear call_function as needed.
3574 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3576         * include/wchar.h (__wmemset): Use __typeof.
3578 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3580         * include/wchar.h (__wmemset): Declare function without typeof.
3582 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3584         [BZ #20205]
3585         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3586         exponent when incrementing negative subnormal with low mantissa
3587         word zero.
3588         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3589         Add another test.
3591 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3593         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3594         __wmemset instead of wmemset.
3596 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3598         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3599         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3600         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3601         __USE_KERNEL_IPV6_DEFS to 0.
3602         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3603         Update comment.
3605 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3607         [BZ #19861]
3608         Do not use IFUNC resolver with potentially unrelocated symbol.
3609         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3610         (DEFINE_FORK): Remove macro and inline definition.
3611         (fork_alias): Renamed from fork_ifunc.
3612         (__fork_alias): Renamed from __fork_ifunc.
3614 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3616         [BZ 19653]
3617         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3618         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3620 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3622         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3623         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3624         i386-linux-gnu).
3625         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3626         Set to no.
3627         * sysdeps/mach/hurd/configure: Refresh.
3629 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3631         [BZ #20178]
3632         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3633         on failure instead of exit.
3635 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3637         [BZ #3629]
3638         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3639         of POSIX.1-2008.
3641 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3643         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3644           Use PLT entry for calling _hurd_self_sigstate.
3646 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3648         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3649         available logical processors with SMT level type sharing L2
3650         cache for Intel processors.
3652 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3654         [BZ #20160]
3655         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3656         argument to itself before returning the result.
3657         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3658         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3659         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3660         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3661         Likewise.
3662         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3663         Likewise.
3664         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3665         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3666         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3667         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3668         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3669         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3671         [BZ #20160]
3672         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3673         argument to itself before returning the result.
3674         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3675         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3676         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3678         Likewise.
3679         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3680         Likewise.
3681         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3682         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3683         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3684         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3685         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3686         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3688 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3690         * libm-test.inc: Replace usage of M_El with
3691         (lit_e): New macro.
3693 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3695         * libm-test.inc: Replace usage of M_PI_4l with
3696         (lit_pi_4_d): New macro.
3698 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3700         * libm-test.inc: Replace usage of M_PIl with
3701         (lit_pi): New macro.
3703 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3705         * libm-test.inc: Replace usage of M_PI2l with
3706         (lit_pi_2_d): New macro.
3708         * math/test-double.h (LITM): New macro.
3709         * math/test-float.h (LITM): Likewise.
3710         * math/test-ldouble.h (LITM): Likewise.
3712 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3714         * libm-test.inc (M_PI_34l): Rename to
3715         (lit_pi_3_m_4_d): New Macro.
3716         (M_PI_34_LOG10El): Rename to
3717         (lit_pi_3_m_4_ln10_m_d): New Macro.
3718         (M_PI2_LOG10El): Rename to
3719         (lit_pi_2_ln10_m_d):  New Macro.
3720         (M_PI4_LOG10El): Rename to
3721         (lit_pi_4_ln10_m_d):  New Macro.
3722         (M_PI_LOG10El): Rename to
3723         (lit_pi_ln10_d):  New Macro.
3725 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3727         [BZ #20157]
3728         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3729         determine whether to negate low half if [_ARCH_PPCGR], and integer
3730         comparison otherwise.
3731         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3732         determine whether to negate low half.
3734         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3735         (NO_TEST_INLINE_DOUBLE): Likewise.
3736         (TEST_COND_x86_64): Likewise.
3737         (TEST_COND_x86): Likewise.
3738         (M_PI_6l): Likewise.
3740 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3742         * math/libm-test.inc:
3743         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3744         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3745         (TEST_LDOUBLE): Update usage to evaluate as true if
3746         the guarded tests match the property being tested.
3747         (LDBL_MAX_EXP): Change to MAX_EXP.
3748         (LDBL_MIN_EXP): Change to MIN_EXP.
3749         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3750         nexttoward tests.
3752 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3754         * math/libm-test.inc:
3755         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3756         (TYPE_MIN): Likewise.
3757         (TYPE_TRUE_MIN): Likewise.
3758         (TYPE_MAX): Likewise.
3759         (MIN_EXP): Likewise.
3760         (MAX_EXP): Likewise.
3761         (MANT_DIG): Likewise.
3763         (FSTR_MAX): New macro.
3764         (__CONCATX): Likewise.
3765         (QTYPE_STR): Likewise.
3766         (TEST_COND_binary32): Likewise.
3767         (TEST_COND_binary64): Likewise.
3768         (TEST_COND_binary128): Likewise.
3769         (TEST_COND_ibm128): Likewise.
3770         (TEST_COND_intel96): Likewise.
3771         (TEST_COND_m68k96): Likewise.
3773         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3774         (TEST_COND_dbl_64): Likewise.
3775         (TEST_COND_ldbl_96_intel): Likewise.
3776         (TEST_COND_ldbl_96_m68k): Likewise.
3777         (TEST_COND_ldbl_128): Likewise.
3778         (TEST_COND_ldbl_128ibm): Likewise.
3780         (plus_zero): Redefine using LIT macro.
3781         (minus_zero): Likewise.
3782         (plus_infty): Redefine as (INF).
3783         (minux_infty): Redefine as (-INF).
3784         (max_value): Redefine as TYPE_MAX.
3785         (min_value): Redefine as TYPE_MIN.
3786         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3788         (print_float): Refactor to use snprintf to convert FLOAT values
3789         to string. This brings it closer to dropin replacement of strtof
3790         for the TS 18661 defined types.
3791         (update_stats): Likewise.
3792         (print_complex_function_ulps): Likewise.
3793         (print_max_error): Likewise.
3794         (print_complex_max_error): Likewise.
3795         (check_float_internal): Likewise.
3797         * math/test-float.h (PREFIX): New macro.
3798         (LIT): Likewise.
3799         (TYPE_STR): Likewise.
3800         (FTOSTR): Likewise.
3802         * math/test-double.h (PREFIX): New macro.
3803         (LIT): Likewise.
3804         (TYPE_STR): Likewise.
3805         (FTOSTR): Likewise.
3807         * math/test-ldouble.h (PREFIX): New macro.
3808         (LIT): Likewise.
3809         (TYPE_STR): Likewise.
3810         (FTOSTR): Likewise.
3812 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3814         [BZ #20156]
3815         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3816         to itself when zero or not finite.
3817         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3818         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3819         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3820         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3822 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3824         [BZ #20153]
3825         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3826         x * x + x for infinities and NaNs.
3828         [BZ #20151]
3829         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3830         argument to itself before returning result.
3831         (__ieee754_y0l): Likewise.
3832         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3833         (__ieee754_y1l).
3835         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3836         (atan_test_data): Likewise.
3837         (ceil_test_data): Likewise.
3838         (cos_test_data): Likewise.
3839         (cosh_test_data): Likewise.
3840         (erf_test_data): Likewise.
3841         (exp2_test_data): Likewise.
3842         (fabs_test_data): Likewise.
3843         (floor_test_data): Likewise.
3844         (ilogb_test_data): Likewise.
3845         (j0_test_data): Likewise.
3846         (j1_test_data): Likewise.
3847         (jn_test_data): Likewise.
3848         (lgamma_test_data): Likewise.
3849         (lrint_test_data): Likewise.
3850         (llrint_test_data): Likewise.
3851         (logb_test_data): Likewise.
3852         (lround_test_data): Likewise.
3853         (llround_test_data): Likewise.
3854         (nearbyint_test_data): Likewise.
3855         (rint_test_data): Likewise.
3856         (round_test_data): Likewise.
3857         (sin_test_data): Likewise.
3858         (sincos_test_data): Likewise.
3859         (sinh_test_data): Likewise.
3860         (sqrt_test_data): Likewise.
3861         (tan_test_data): Likewise.
3862         (tanh_test_data): Likewise.
3863         (tgamma_test_data): Likewise.
3864         (trunc_test_data): Likewise.
3865         (y0_test_data): Likewise.
3866         (y1_test_data): Likewise.
3867         (yn_test_data): Likewise.
3869         * math/libm-test.inc: Update comment about NaN testing.
3870         (TEST_SNAN): New macro.
3871         (snan_value): Likewise.
3872         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3873         (fpclassify_test_data): Add sNaN tests.
3874         (isfinite_test_data): Likewise.
3875         (isinf_test_data): Likewise.
3876         (isnan_test_data): Likewise.
3877         (isnormal_test_data): Likewise.
3878         (issignaling_test_data): Likewise.
3879         (signbit_test_data): Likewise.
3880         * math/gen-libm-test.pl (%beautify): Add snan_value.
3881         (show_exceptions): Add argument $test_snan.
3882         (parse_args): Handle snan_value as non-finite.  Update call to
3883         show_exceptions.
3884         * math/Makefile (libm-test-no-inline-cflags): Add
3885         -fsignaling-nans.
3887 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3889         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3890         (CFLAGS-oldsendmsg.c): Add rule.
3891         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3892         Correct recvmsg symbol name.
3893         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3894         Likewise.
3896 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3898         * sysdeps/unix/sysv/linux/Makefile
3899         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3900         oldsendmmsg.
3901         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3902         sendmmsg.
3903         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3904         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3905         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3906         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3908         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3909         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3911         Likewise.
3912         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3914         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3915         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3916         iovlen and controllen fields to adjust to POSIX specification.
3917         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3919         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3920         and change to correct expected type.
3921         (msghdr.msg_controllen): Likewise.
3922         (cmsghdr.cmsg_len): Likewise.
3923         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3924         expected POSIX assumption about the size.
3925         (msghdr.msg_controllen): Likewise.
3926         (msghdr.__glibc_reserved1): Likewise.
3927         (msghdr.__glibc_reserved2): Likewise.
3928         (cmsghdr.cmsg_len): Likewise.
3929         (cmsghdr.__glibc_reserved1): Likewise.
3930         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3931         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3932         (CFLAGS-sendmsg.c): Remove rule.
3933         (CFLAGS-recvmsg.c): Likewise.
3934         (CFLAGS-oldsendmsg.c): Add rule.
3935         (CFLAGS-oldrecvmsg.c): Likewise.
3936         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3937         recvmsg and sendmsg.
3938         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3939         Likewise.
3940         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3941         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3942         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3943         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3944         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3945         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3946         Likewise.
3947         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3948         Likewise.
3949         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3950         Likewise.
3951         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3952         Likewise.
3953         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3954         Likewise.
3955         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3956         Likewise.
3957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3958         (GLIBC_2.24): Likewise.
3959         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3960         Likewise.
3961         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3962         Likewise.
3963         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3964         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3965         Likewise.
3966         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3967         Likewise.
3968         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3969         Likewise.
3970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3971         (GLIBC_2.24): Likewise.
3972         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3973         Likewise.
3974         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3975         Likewise.
3976         * sysdeps/unix/sysv/linux/Makefile
3977         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3978         (CFLAGS-sendmsg.c): Add rule.
3979         (CFLAGS-recvmsg.c): Likewise.
3980         (CFLAGS-oldsendmsg.c): Likewise.
3981         (CFLAGS-oldrecvmsg.c): Likewise.
3982         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3983         initialization.
3984         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3985         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3986         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3987         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3988         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3989         iovlen and controllen fields to adjust to POSIX specification.
3990         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3991         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3992         added recvmsg and sendmsg.
3993         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3994         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3995         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3996         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3997         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3998         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3999         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4000         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4001         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4002         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4003         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4004         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4006         Likewise.
4007         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4009         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4010         Likewise.
4011         Likewise.
4012         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4013         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4014         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4015         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4016         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4017         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4019         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4021         Likewise.
4022         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4023         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4025         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4026         from auto-generation.
4027         (sendmsg): Likewise.
4028         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4029         (sendmsg): Likewise.
4030         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4031         (sendmsg): Likewise.
4032         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4033         (sendmsg): Likewise.
4034         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4035         (sendmsg): Likewise.
4036         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4037         (sendmsg): Likewise.
4038         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4039         Likewise.
4040         (sendmsg): Likewise.
4041         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4042         (sendmsg): Likewise.
4043         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4044         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4045         Remove.
4046         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4047         Likewise.
4048         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4049         Undefine.
4050         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4051         Likewise.
4052         * sysdeps/unix/sysv/linux/kernel-features.h
4053         (__ASSUME_SENDMSG_SYSCALL): Define.
4054         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4055         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4057         Remove.
4058         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4059         Likewise.
4060         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4061         Undefine.
4062         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4063         Likewise.
4064         * sysdeps/unix/sysv/linux/s390/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/microblaze/kernel-features.h
4074         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4075         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4076         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4077         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4078         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4079         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4080         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4081         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4083 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4085         * stdlib/gen-tst-strtod-round.c: Add backslash to
4086         compile command in comment.
4087         (printfp): Remove the literal suffix, and define an infinite
4088         value as INF to avoid expansion clash with INFINITY.
4089         (round_str): Remove the literal suffix.
4090         (round_for_all): Likewise, remove the now duplicate ldbl-64
4091         entry, and remove some magic constants.
4093         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4094         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4095         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4096         (_CONCAT): New macro.
4097         (CONCAT): Likewise.
4098         (CHOOSE_ld): Likewise.
4099         (CHOOSE_f): Likewise.
4100         (CHOOSE_d): Likewise.
4101         (FTYPE_MEMBER): Likewise.
4102         (BOOL_MEMBER): Likewise.
4103         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4104         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4105         (_XNTRY): Likewise.
4106         (XNTRY): Likewise.
4107         (_ENTRY): Likewise.
4108         (ENTRY): Likewise.
4109         (test_exactness): Generate members via macro.
4110         (test_results): Likewise.
4111         (test): Update members.
4112         (TEST): Redefine using new macros.
4113         (INF): New macro.
4114         (fetestmodes): New structure.
4115         (do_test): Refactor to be type generic.
4116         (test_in_one_mode): Refactor duplicate code into
4117         (GEN_ONE_TEST): New macro.
4119         * stdlib/tst-strtod-round-data.h: Regenerate.
4121         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4122         Extend to pass additional arbitrary parameters to
4123         generators.
4125 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4127         [BZ #15479]
4128         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4129         floating-point state after first floating-point operation on
4130         input.  Restore full floating-point state instead of just rounding
4131         mode.
4132         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4133         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4134         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4135         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4136         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4138         [BZ #15479]
4139         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4140         floating-point state after first floating-point operation on
4141         input.  Restore full floating-point state instead of just rounding
4142         mode.
4143         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4144         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4145         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4146         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4147         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4149 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4151         [BZ #19727]
4152         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4153         valid high surrogate.
4154         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4155         of an utf16 surrogate.
4156         * iconv/gconv_simple.c (BODY): Likewise.
4157         * iconvdata/bug-iconv12.c: New file.
4158         * iconvdata/Makefile (tests): Add bug-iconv12.
4160 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4162         [BZ #19726]
4163         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4164         outptrp in case of an illegal input.
4165         * iconv/tst-iconv6.c: New file.
4166         * iconv/Makefile (tests): Add tst-iconv6.
4168 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4170         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4171         an error in case of a value in range of an utf16 low surrogate.
4173 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4175         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4176         an error in case of a value in range of an utf16 low surrogate.
4178 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4180         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4181         Move to ...
4182         * sysdeps/s390/Makefile: ... here.
4183         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4184         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4185         (BRANCH_ON_COUNT): New define.
4186         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4187         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4188         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4189         run on s390-32, too.
4190         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4191         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4192         run on s390-32, too.
4193         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4194         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4195         run on s390-32, too.
4197 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4199         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4200         etf3eh or new vector loop-variant.
4202 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4204         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4205         etf3eh or new vector loop-variant.
4207 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4209         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4210         or new vector loop-variant.
4212 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4214         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4215         Rename to TR_LOOP and usage of tr instead of troo instruction.
4217 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4219         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4220         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4222 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4224         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4225         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4226         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4227         New override define.
4228         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4230 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4232         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4233         * sysdeps/s390/configure.ac: Add test for S390 vector register
4234         support in gcc.
4235         * sysdeps/s390/configure: Regenerated.
4237 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4239         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4240         Install file from $(objpfx)gconv-modules.
4241         ($(objpfx)gconv-modules): Concatenate architecture specific file
4242         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4243         * sysdeps/s390/gconv-modules: New file.
4244         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4245         Deleted.
4246         ($(objpfx)gconv-modules-s390): Deleted.
4247         (sysdeps-gconv-modules): New variable.
4249 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4251         [BZ #15479]
4252         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4253         of immediate operand to rounding instruction.
4254         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4255         Likewise.
4256         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4257         Likewise.
4258         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4259         Likewise.
4261 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4263         * math/libm-test.inc (MIN_EXP): Directly define as
4264         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4266 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4268         * math/libm-test.inc (MANT_DIG): Directly define as
4269         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4271 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4273         * stdlib/gen-tst-strtod-round.c (main):
4274           Change usage to more closely match the generated
4275           output.  Add usage and compilation instructions.
4276           (string_to_fp): Add and use FILE* parameter as
4277           output target.
4278           (print_fp): Likewise.
4279           (round_str): Likewise.
4280           (round_for_all): Likewise.
4281         * stdlib/tst-strtod-round.c (tests): Move into
4282         * stdlib/tst-strtod-round-data.h: New file.
4284 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4286         [BZ #15479]
4287         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4288         (__round): Do not force "inexact" exception.
4289         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4290         variable.
4291         (__round): Do not force "inexact" exception.
4292         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4293         (__roundf): Do not force "inexact" exception.
4294         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4295         (__roundl): Do not force "inexact" exception.
4296         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4297         (__roundl): Do not force "inexact" exception.
4298         * math/libm-test.inc (round_test_data): Do not allow spurious
4299         "inexact" exceptions.
4301         [BZ #15479]
4302         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4303         exception in comment.
4304         (huge): Remove variable.
4305         (__floor): Do not force "inexact" exception.
4306         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4307         "inexact" exception in comment.
4308         (huge): Remove variable.
4309         (__floor): Do not force "inexact" exception.
4310         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4311         exception in comment.
4312         (huge): Remove variable.
4313         (__floorf): Do not force "inexact" exception.
4314         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4315         exception in comment.
4316         (huge): Remove variable.
4317         (__floorl): Do not force "inexact" exception.
4319         [BZ #15479]
4320         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4321         exception in comment.
4322         (huge): Remove variable.
4323         (__ceil): Do not force "inexact" exception.
4324         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4325         "inexact" exception in comment.
4326         (huge): Remove variable.
4327         (__ceil): Do not force "inexact" exception.
4328         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4329         (__ceilf): Do not force "inexact" exception.
4330         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4331         exception in comment.
4332         (huge): Remove variable.
4333         (__ceill): Do not force "inexact" exception.
4335 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4337         * config.h.in (BIND_NOW): New.
4338         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4339         * configure: Regenerated.
4340         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4341         indirect branch via the GOT slot.
4343 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4345         [BZ #19765]
4346         * sysdeps/s390/mempcpy.S: New File.
4347         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4348         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4349         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4350         Add mempcpy variants.
4351         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4352         (memcpy): Adjust to be usable from mempcpy entry point.
4353         (__memcpy_mvcle): Likewise.
4354         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4355         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4356         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4357         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4358         (__memcpy_z10): Likewise.
4359         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4361 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4363         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4364         Remove __GI_ symbol.
4365         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4366         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4367         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4368         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4369         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4370         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4372 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4374         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4375         Use cghi instead of chi to compare 64bit value.
4377 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4379         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4380         Jump to 1MB check before executing mvc-loop.
4382 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4384         [BZ #6527]
4385         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4386         unconditionally.
4387         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4389 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4391         * stdlib/tst-strtod6.c (do_test): Use new type generic
4392         invocation of the test function.
4393         (test): Refactor into ...
4394         (TEST_STRTOD): New macro base function.
4396 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4398         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4399         (TEST_STRTOD): New macro.
4400         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4402 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4404         * stdlib/tst-strtod6.c (do_test): Use new type generic
4405         invocation of the test function.
4406         (test): Refactor into ...
4407         (TEST_STRTOD): New macro base function.
4409 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4411         CVE-2016-4429
4412         [BZ #20112]
4413         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4414         payload.
4416 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4418         [BZ #20111]
4419         * bits/sockaddr.h (_SS_SIZE): Define.
4420         * bits/socket.h (_SS_SIZE): Remove.
4421         (_SS_PADSIZE): Adjust to account for all padding.
4422         (struct sockaddr_storage): Update comment.  Avoid implicit
4423         padding.
4424         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4425         (_SS_PADSIZE): Adjust to account for all padding.
4426         (struct sockaddr_storage): Update comment.  Avoid implicit
4427         padding.
4428         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4429         * sysdeps/unix/sysv/linux/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/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4434         __SS_SIZE is 126 in this version.
4435         * inet/tst-sockaddr.c: New file.
4436         * inet/Makefile (tests): Add tst-sockaddr.c
4437         (tst-sockaddr.c): Compile with non-strict aliasing.
4439 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4441         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4442         [XPG3 || XPG4].
4443         (NL_ARGMAX): Also expect for [XPG3].
4444         (NL_LANGMAX): Likewise.
4445         (NL_MSGMAX): Likewise.
4446         (NL_NMAX): Likewise.
4447         (NL_SETMAX): Likewise.
4448         (NL_TEXTMAX): Likewise.
4449         (NZERO): Likewise.
4450         (TMP_MAX): Likewise.
4451         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4452         variable.
4454         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4455         (PF_MAX): Update value.
4456         (AF_KCM): New macro.
4457         (SOL_NETBEUI): Likewise.
4458         (SOL_LLC): Likewise.
4459         (SOL_DCCP): Likewise.
4460         (SOL_NETLINK): Likewise.
4461         (SOL_TIPC): Likewise.
4462         (SOL_RXRPC): Likewise.
4463         (SOL_PPPOL2TP): Likewise.
4464         (SOL_BLUETOOTH): Likewise.
4465         (SOL_PNPIPE): Likewise.
4466         (SOL_RDS): Likewise.
4467         (SOL_IUCV): Likewise.
4468         (SOL_CAIF): Likewise.
4469         (SOL_ALG): Likewise.
4470         (SOL_NFC): Likewise.
4471         (SOL_KCM): Likewise.
4472         (MSG_BATCH): New enum value and macro.
4474 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4476         [BZ #18185]
4477         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4478         sharing L2 cache to 2 for Knights Landing.
4480 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4482         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4483         (FTW_DP): Do not expect for [XPG3 || XPG4].
4484         (FTW_SL): Do not expect for [XPG3].
4485         (FTW_SLN): Likewise.
4486         (FTW_PHYS): Likewise.
4487         (FTW_MOUNT): Likewise.
4488         (FTW_DEPTH): Likewise.
4489         (FTW_CHDIR): Likewise.
4490         (nftw): Likewise.
4491         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4492         variable.
4494 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4496         * manual/errno.texi: Fix various typos & grammar errors.
4498 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4500         * manual/intro.texi: Fix duplicated typo.
4502 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4504         [BZ #13304]
4505         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4506         <float.h>, <math_private.h> and <stdlib.h>.
4507         (add_split): New function.
4508         (mul_split): Likewise.
4509         (ext_val): New typedef.
4510         (store_ext_val): New function.
4511         (mul_ext_val): New function.
4512         (compare): New function.
4513         (add_split_ext): New function.
4514         (__fmal): After checking for Inf, NaN and zero, compute result as
4515         an exact sum of scaled double values in round-to-nearest before
4516         adding those up and adjusting for other rounding modes.
4517         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4518         tests of fma.
4519         * math/auto-libm-test-out: Regenerated.
4521 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4523         [BZ #20119]
4524         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4525         processor level type mask for CPUID with EAX == 11.
4527 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4529         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4530         logical threads if the HTT bit is 0.
4531         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4532         (index_cpu_HTT): Likewise.
4533         (reg_HTT): Likewise.
4535 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4537         [BZ #20115]
4538         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4539         Remove alignments on jump targets.
4541 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4543         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4544         (getpwent): Likewise.
4545         (setpwent): Likewise.
4546         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4547         variable.
4549         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4550         (remque): Likewise.
4551         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4552         variable.
4554 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4556         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4557         not being tested.
4559 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4561         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4562         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4563         call.
4564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4565         (__condvar_cleanup1): Likewise.
4567 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4569         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4570         New
4571         (__pthread_unwind): Renamed to ...
4572         (PTHREAD_UNWIND): This.
4573         (__pthread_enable_asynccancel): Replace
4574         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4576 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4578         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4579         (CLONE_NEWCGROUP): New macro.
4581         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4582         (Q_GETNEXTQUOTA): New macro.
4584 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4586         [BZ #19907]
4587         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4588         buffer updated by the previous run.
4589         * string/test-memcpy.c (do_one_test): Likewise.
4590         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4591         * string/test-memmove.c (do_one_test): Likewise.
4593 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4595         [BZ #20094]
4596         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4597         not [__USE_XOPEN].
4598         (unlockpt): Likewise.
4599         (ptsname): Likewise.
4600         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4601         variable.
4603         [BZ #20076]
4604         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4605         instead of [__USE_UNIX98].
4606         (S_ISSOCK): Likewise.
4607         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4608         variable.
4610         [BZ #20074]
4611         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4612         [__USE_POSIX].
4613         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4614         variable.
4616         [BZ #20051]
4617         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4618         (ttyslot): Do not declare.
4619         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4620         (ttyslot): New prototype.
4621         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4622         variable.
4623         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4625 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4627         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4629 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4631         Fix race condition in tst-mallocfork2, use fewer resources.
4632         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4633         to current process group.
4634         (signal_sender): Yield in the non-sleeping case.
4636 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4638         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4639         (ecvt): Likewise.
4640         (fcvt): Likewise.
4641         (gcvt): Likewise.
4642         (getsubopt): Likewise.
4643         (grantpt): Likewise.
4644         (initstate): Likewise.
4645         (l64a): Likewise.
4646         (mktemp): Likewise.
4647         (mkstemp): Likewise.
4648         (ptsname): Likewise.
4649         (random): Likewise.
4650         (realpath): Likewise.
4651         (setstate): Likewise.
4652         (srandom): Likewise.
4653         (ttyslot): Likewise.
4654         (unlockpt): Likewise.
4655         (valloc): Likewise.
4657         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4658         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4659         variable.
4661 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4663         [BZ #20072]
4664         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4665         init_cpu_features only if SHARED is defined.
4666         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4668 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4670         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4671         non-inclusive caches on Intel processors.
4673 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4675         * malloc/malloc.c (dumped_main_arena_start)
4676         (dumped_main_arena_end): New variables.
4677         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4678         (do_check_chunk): Skip dumped fake mmapped chunks.
4679         (munmap_chunk): Likewise.
4680         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4681         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4682         mmapped chunks.
4683         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4684         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4685         and dumped_main_arena_end to cover the dumped heap.
4687 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4689         * conform/data/time.h-data (getdate_err): Do not expect for
4690         [XPG3].
4691         (getdate): Likewise.
4692         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4693         variable.
4695         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4696         (F_ULOCK): Likewise.
4697         (F_TEST): Likewise.
4698         (F_TLOCK): Likewise.
4699         (useconds_t): Likewise.
4700         (intptr_t): Do not expect for [XPG3] or [XPG4].
4701         (brk): Do not expect for [XPG3]
4702         (fchown): Likewise.
4703         (fchdir): Likewise.
4704         (ftruncate): Likewise.
4705         (getdtablesize): Likewise.
4706         (gethostid): Likewise.
4707         (getpagesize): Likewise.
4708         (getpgid): Likewise.
4709         (getsid): Likewise.
4710         (getwd): Likewise.
4711         (lchown): Likewise.
4712         (lockf): Likewise.
4713         (readlink): Likewise.
4714         (sbrk): Likewise.
4715         (setpgrp): Likewise.
4716         (setregid): Likewise.
4717         (setreuid): Likewise.
4718         (symlink): Likewise.
4719         (sync): Likewise.
4720         (truncate): Likewise.
4721         (ualarm): Likewise.
4722         (usleep): Likewise.
4723         (vfork): Likewise.
4724         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4725         variable.
4727         [BZ #20054]
4728         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4729         not [__USE_UNIX98].
4730         * conform/data/unistd.h-data (gethostname): Do not expect for
4731         [XPG3].
4733         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4734         [!POSIX] (S_IFBLK): Likewise.
4735         [!POSIX] (S_IFCHR): Likewise.
4736         [!POSIX] (S_IFIFO): Likewise.
4737         [!POSIX] (S_IFREG): Likewise.
4738         [!POSIX] (S_IFDIR): Likewise.
4739         [!POSIX] (S_IFLNK): Likewise.
4740         [!POSIX] (S_IFSOCK): Likewise.
4741         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4742         variable.
4743         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4745 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4747         * sysdeps/aarch64/memset.S (__memset):
4748         Rewrite of optimized memset.
4750 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4752         [BZ #19703]
4753         Partially async-signal-safe fork for single-threaded processes.
4754         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4755         variable.  Do not acquire and reset/release malloc and libio locks
4756         in single-threaded processes.
4757         * malloc/tst-mallocfork2.c: New file.
4758         * malloc/Makefile (tests): Add it.
4760 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4762         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4763         argument.  Use scratch buffer instead of extend_alloca.
4764         (gethosts): Use scratch buffer instead of extend_alloca.
4765         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4766         extend_alloca.
4767         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4769 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4771         [BZ #20055]
4772         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4773         instead of [__USE_UNIX98].
4774         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4775         [__USE_UNIX98].
4776         * conform/data/termios.h-data (tcgetsid): Do not expect for
4777         [XPG3].
4778         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4779         variable.
4780         (test-xfail-XPG4/termios.h/conform): Likewise.
4782 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4784         Do not use mcheck in localedef.
4785         * locale/programs/localedef.c (turn_on_mcheck)
4786         (__malloc_initialize_hook): Remove.
4788 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4790         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4791         * sysdeps/s390/s390-64/Makefile: Likewise.
4793 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4795         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4796         Remove ifunc-defines.sym.
4797         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4798         Likewise.
4799         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4800         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4801         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4802         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4803         rtld-global-offsets.sym.
4804         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4805         * sysdeps/x86/cpu-features-offsets.sym: This.
4806         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4807         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4809 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4811         [BZ #20073]
4812         * io/sys/stat.h (fchmod): Declare for
4813         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4814         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4815         variable.
4817         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4818         [XPG3] (S_IFSOCK): Likewise.
4819         [XPG3] (S_ISVTX): Likewise.
4820         [XPG3] (S_ISLNK): Likewise.
4821         [XPG3] (S_ISSOCK): Likewise.
4822         [XPG3] (fchmod): Likewise.
4823         [XPG3] (lstat): Likewise.
4824         [XPG3] (mknod): Likewise.
4826         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4827         [XPG3].  Expect type long and XFAIL for [XPG4].
4828         (st_blocks): Likewise.
4830         [BZ #20044]
4831         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4832         (pthread_atfork): New prototype.
4833         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4834         variable.
4836         [BZ #20043]
4837         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4838         prototype.
4840 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4842         [BZ #20017]
4843         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4844         gmtime.
4846 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4848         [BZ #19994]
4849         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4850         flag in _res.options.
4852 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4854         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4855         [XPG3 || XPG4].
4856         (blksize_t): Likewise.
4857         (clockid_t): Likewise.
4858         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4859         variable.
4860         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4862 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4864         * sysdeps/unix/sysv/linux/s390/init-first.c:
4865         Add VDSO_SYMBOL(getcpu).
4866         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4867         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4868         Add VDSO_SYMBOL(getcpu).
4869         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4870         New define HAVE_GETCPU_VSYSCALL.
4871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4873 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4875         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4876         instead of <sysdeps/x86_64/cacheinfo.c>.
4877         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4878         * sysdeps/x86/cacheinfo.c: Here.
4880 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4882         * malloc/malloc-internal.h: Adjust header file guard.
4884 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4886         [BZ #19787]
4887         * inet/getnameinfo.c (check_sprintf_result): New function.
4888         (CHECKED_SNPRINTF): New macro.
4889         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4890         to the host buffer.
4891         (gni_host_local): Use checked_copy to copy the host name.
4892         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4893         (gni_serv_local): Use checked_copy to copy the service name.
4894         (getnameinfo): Remove unnecessary truncation of result buffers.
4896 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4898         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4899         in case of inet_ntop failure.
4901 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4903         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4904         avoid long lines.
4905         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4906         variables.
4907         (gni_host_inet, gni_host_local): Add comment.
4908         (gni_host): Add comment.  Use temporary to avoid long lines.
4910 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4912         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4913         registers specifiers where general purpose registers specifiers should
4914         have been used.
4916 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4918         [BZ #19779]
4919         CVE-2016-1234
4920         Avoid copying names of directory entries.
4921         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4922         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4923         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4924         (struct readdir_result): New type.
4925         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4926         (GL_READDIR): New macros.
4927         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4928         (convert_dirent, convert_dirent64): New functions.
4929         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4930         convert_dirent64.  Adjust references to the readdir result.
4931         * sysdeps/unix/sysv/linux/i386/glob64.c:
4932         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4933         * posix/bug-glob2.c (LONG_NAME): Define.
4934         (filesystem): Add LONG_NAME.
4935         (my_DIR): Increase the size of room_for_dirent.
4937 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4939         [BZ #20041]
4940         * misc/sys/select.h (__need_timespec): Only define if
4941         [__USE_XOPEN2K].
4942         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4943         variable.
4944         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4945         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4946         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4948 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4949             Segher Boessenkool  <segher@gcc.gnu.org>
4951         [BZ #20004]
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4953         (__novec_swapcontext): Add missing load.
4955 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4957         [BZ #20023]
4958         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4959         <time.h>.
4960         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4961         variable.
4962         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4964 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4967         flags CLONE_VM compare.
4969 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4971         [BZ #20031]
4972         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4973         completely empty.
4975 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4977         [BZ #19573]
4978         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4979         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4980         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4981         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4982         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4983         (hesiod_free_list): Mark as hidden.
4984         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4985         res_set, res_get.
4986         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4987         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4988         (hesiod_init): Remove obsolete res_ninit call.
4989         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4990         (hesiod_bind): Do not call init.
4991         (get_txt_records): Use res_mkquery, res_send instead of
4992         res_nmkquery, res_nsend.
4993         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4994         instead of _nss_hesiod_init.
4995         (_nss_hesiod_initgroups_dyn): Likewise.
4996         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4997         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4998         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5000 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5002         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5003         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5005 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5007         * hesiod/hesiod.h: Remove RCS keyword.
5008         * hesiod/hesiod_p.h: Likewise.
5010         * hesiod/hesiod.c: Likewise.
5012 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5014         [BZ #12450]
5015         * locale/iso-639.def: Add Samogitian/sgs.
5017 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5019         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5021         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5023 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5024             Carlos O'Donell  <carlos@redhat.com>
5026         [BZ #19072]
5027         * grp/Makefile (headers): Add grp-merge.h
5028         (routines): Add grp-merge.
5029         * grp/getgrgid_r.c: Include grp-merge.h.
5030         (DEEPCOPY_FN): Define.
5031         (MERGE_FN): Define.
5032         * grp/getgrname_r.c: Include grp-merge.h.
5033         (DEEPCOPY_FN): Define.
5034         (MERGE_FN): Define.
5035         * grp/grp-merge.c: New file.
5036         * grp/grp-merge.h: New file.
5037         * include/grp-merge.h: New file.
5038         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5039         __copy_grp@GLIBC_PRIVATE.
5040         * manual/nss.texi (Actions in the NSS configuration): Describe
5041         return, continue, and merge.
5042         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5043         (DEEPCOPY_FN): Define.
5044         (MERGE_FN): Define.
5045         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5046         (DEEPCOPY_FN): Define.
5047         (MERGE_FN): Define.
5048         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5049         [!MERGE_FN]: Define __merge_einval.
5050         (CHECK_MERGE): Define.
5051         (REENTRANT_NAME): Process merge if do_merge is true.
5052         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5053         (__nss_getent_r): Likewise.
5054         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5055         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5057 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5059         [BZ #20012]
5060         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5061         length to calculate the buffer to read.
5062         (fmemopen_write): Set the buffer position based on bytes written.
5063         (fmemopen_seek): Return EINVAL for invalid whence modes.
5065         [BZ #19957]
5066         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5067         tst-getpid2.
5068         (test): Add tst-clone2.
5069         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5070         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5071         pid/tid fields for CLONE_VM.
5072         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5073         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5074         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5075         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5076         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5077         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5078         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5079         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5081         Likewise.
5082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5083         Likewise.
5084         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5085         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5086         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5087         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5088         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5089         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5090         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5091         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5093 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5095         [BZ #19642]
5096         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5097         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5098         (gni_serv_local, gni_serv): New functions extracted from
5099         getnameinfo.
5100         (getnameinfo): Call gni_host and gni_serv to perform the
5101         processing.  Always free scratch buffer.
5103 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5105         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5106         remaining bytes in the dest string, with zeros.
5108 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5110         [BZ #20010]
5111         CVE-2016-3706
5112         * sysdeps/posix/getaddrinfo.c
5113         (convert_hostent_to_gaih_addrtuple): New function.
5114         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5115         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5116         AF_INET data.
5118 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5120         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5121         callback function gl_readdir.
5122         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5123         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5124         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5125         memcpy to copy the name.
5126         * manual/pattern.texi (Calling Glob): Document requirements for
5127         implementations of the gl_readdir callback function.
5128         * manual/examples/mkdirent.c: New example.
5129         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5130         per the manual guidance.
5131         * posix/tst-gnuglob.c (my_readdir): Likewise.
5133 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5135         [BZ #20014]
5136         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5137         not [__USE_POSIX].
5138         (getchar_unlocked): Likewise.
5139         (putc_unlocked): Likewise.
5140         (putchar_unlocked): Likewise.
5141         (flockfile): Likewise.
5142         (ftrylockfile): Likewise.
5143         (funlockfile): Likewise.
5144         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5145         variable.
5146         (test-xfail-XPG4/stdio.h/conform): Likewise.
5148         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5149         Expect constant.
5150         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5151         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5152         variable.
5153         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5154         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5156         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5157         [__USE_LARGEFILE64] (off64_t): Likewise.
5158         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5159         variable.
5161 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5163         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5165 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5167         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5168         * resolv/res_init.c: Likewise.
5169         * resolv/res_mkquery.c: Likewise.
5171 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5173         * resolv/res_init.c (isascii): Do not define.  Use definition in
5174         <ctype.h>.
5175         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5176         (LOG_AUTH): Remove.
5177         (SPRINTF): Remove, adjust caller.
5178         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5180 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5182         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5183         SUNSECURITY conditional.
5184         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5186 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5188         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5189         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5190         Remove BSD-related preprocessor conditionals.
5191         * conf/portability.h: Remove.
5193 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5195         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5196         * resolv/res_data.c: Likewise.
5198 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5200         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5201         * resolv/res_data.c: Remove code conditional on ultrix.
5203 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5205         * resolv/res_init.c (RFC1535): Do not define.  Remove
5206         RFC1535 preprocessor conditionals.
5207         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5208         because there configuration options which make the resolver
5209         behavior different.
5211 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5213         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5214         RESOLVSORT preprocessor conditionals.
5215         * resolv/nss_dns/dns-host.c: Likewise.
5216         * resolv/res_init.c: Likewise.
5218 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5220         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5221         is never defined.
5223 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5225         * inet/inet_lnaof.c: Remove SCSS keyword.
5226         * inet/inet_mkadr.c: Likewise.
5227         * inet/inet_net.c: Likewise.
5228         * inet/inet_netof.c: Likewise.
5229         * inet/rcmd.c: Likewise.
5230         * inet/rexec.c: Likewise.
5231         * inet/ruserpass.c: Likewise.
5233 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5235         * resolv/inet_addr.c: Remove _LIBC conditionals.
5236         * resolv/res_data.c: Likewise.
5237         * resolv/res_init.c: Likewise.
5238         * resolv/res_mkquery.c: Likewise.
5239         * resolv/res_libc.c: Update comment.
5240         * resolv/README: Update.
5242 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5244         * resolv/gethnamaddr.c: Remove SCSS keyword.
5245         * resolv/herror.c: Likewise.
5246         * resolv/inet_addr.c: Likewise.
5247         * resolv/inet_net_ntop.c: Likewise.
5248         * resolv/inet_net_pton.c: Likewise.
5249         * resolv/inet_neta.c: Likewise.
5250         * resolv/inet_ntop.c: Likewise.
5251         * resolv/inet_pton.c: Likewise.
5252         * resolv/ns_date.c: Remove RCS keyword.
5253         * resolv/ns_name.c: Likewise.
5254         * resolv/ns_netint.c: Likewise.
5255         * resolv/ns_parse.c: Likewise.
5256         * resolv/ns_print.c: Likewise.
5257         * resolv/ns_samedomain.c: Likewise.
5258         * resolv/ns_ttl.c: Likewise.
5259         * resolv/nsap_addr.c: Likewise.
5260         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5261         * resolv/res_data.c: Remove RCS keyword.
5262         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5263         * resolv/res_init.c: Likewise.
5264         * resolv/res_mkquery.c: Likewise.
5265         * resolv/res_query.c: Likewise.
5266         * resolv/res_send.c: Likewise.
5268 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5270         * conform/data/stdio.h-data (fdopen): Expect also for
5271         [XPG3 || XPG4].
5273         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5274         (fseeko): Likewise.
5275         (ftello): Likewise.
5276         (ftrylockfile): Likewise.
5277         (funlockfile): Likewise.
5278         (getc_unlocked): Likewise.
5279         (getchar_unlocked): Likewise.
5280         (putc_unlocked): Likewise.
5281         (putchar_unlocked): Likewise.
5283 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5285         [BZ #19868]
5286         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5287         DNS packet syntax checks (which were not needed before).  Skip
5288         over non-PTR records.
5290 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5292         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5293         definition.  Include <stddef.h> instead.
5295 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5297         [BZ #19831]
5298         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5299         function.
5300         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5301         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5303 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5305         [BZ #19862]
5306         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5307         (getanswer_r): Do not call syslog.
5308         (gaih_getanswer_slice): Likewise.
5309         * resolv/gethnamaddr.c (AskedForGot): Remove.
5310         (getanswer): Do not call syslog.
5311         (gethostbyaddr): Likewise.
5313 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5315         * conform/data/signal.h-data (union sigval): Expect also if
5316         [XOPEN2K].
5317         (struct sigevent): Likewise.
5318         (SIGEV_NONE): Likewise.
5319         (SIGEV_SIGNAL): Likewise.
5320         (SIGEV_THREAD): Likewise.
5321         (SIGRTMIN): Likewise.
5322         (SIGRTMAX): Likewise.
5323         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5324         variable.
5325         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5327 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5329         [BZ #19830]
5330         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5331         (gaih_getanswer_slice): Likewise.
5332         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5333         Also check for availability of RR metadata.
5335 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5337         [BZ #19825]
5338         * resolv/res_send.c (send_vc): Remove early *resplen2
5339         initialization.  Set *resplen2 on socket error.  Call
5340         close_and_return_error for other errors.
5342 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5344         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5345         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5346         (SCM_IUCV_TRGCLS): New define.
5348 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5350         [BZ #20005]
5351         * libio/fmemopen.c (fmemopen_write): Update internal position after
5352         write.
5353         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5354         * stdio-common/tst-fmemopen4.c: New file..
5356 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5358         [BZ #19996]
5359         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5360         not [__USE_XOPEN2K].
5361         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5362         variable.
5364         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5365         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5366         variable.
5368         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5369         [__USE_XOPEN2K8].
5370         [__USE_LARGEFILE64] (off64_t): Likewise.
5371         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5372         variable.
5374 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5376         [BZ #19989]
5377         * libio/stdio.h (cuserid): Do not declare if
5378         [__USE_XOPEN2K && !__USE_GNU].
5379         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5380         variable.
5382 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5384         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5385         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5387         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5388         ifunc'ed strcspn.
5389         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5390         [EALIGN]: Removed.
5391         [END]: Likewise
5392         [STRSPN]: Define instead of the above to control symbol name.
5393         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5394         New file.
5395         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5396         Likewise.
5397         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5398         Likewise.
5399         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5400         Likewise.
5401         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5402         [INITIAL_MASK]: New macro.
5403         [STRCSPN]: Likewise.
5404         [UPDATE_MASK]: Likewise.
5405         [USE_AS_STRCSPN]: Lisewise.
5407 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5409         [BZ #19931]
5410         * stdio-common/tst-vfprintf-width-prec.c: New file.
5411         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5412         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5413         (generated): Add mtrace-related files.
5414         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5415         (tst-%-mem.out): New pattern rule, replaces
5416         tst-printf-bz18872-mem.out.
5417         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5418         specifier, deallocate any previously allocated work buffer.
5420 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5422         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5423         Add nop before __startcontext, add explaining comments.
5425 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5427         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5428         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5429         completely different API.
5431         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5432         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5433         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5434         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5435         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5436         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5437         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5438         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5439         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5440         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5442 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5444         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5446 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5448         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5449         when it is the default of 0.
5451 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5453         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5454         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5455         (sysdep_routines): Add new strcasestr targets.
5456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5457         (__libc_ifunc_impl_list): Likewise.
5458         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5459         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5460         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5461         * sysdeps/powerpc/powerpc64/power8/Makefile:
5462         New file to add strcasestr-ppc64 to sysdep_routines.
5463         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5464         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5466 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5468         * benchtests/Makefile (wcsmbs-benchset): Include only for
5469         native builds and runs.
5470         (LOCALES): Likewise.
5471         (bench-build): Build timing-type here instead of the bench
5472         target.  Generate locale only for native builds.
5473         * benchtests/README: Add note for cross-building.
5475         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5477         * benchtests/README: Update README to include instructions on
5478         using bench-build.
5480         * Makefile.in (bench-build): New target.
5481         * Rules (PHONY): Add bench-build target.
5482         * benchtests/Makefile (bench): Depend on bench-build.
5483         (bench-build): New target.
5485 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5487         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5488         profil_reply_port.
5489         (profile_waiter): Do not initialize profil_reply_port.
5490         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5491         frequency instead of tick length in us.
5493 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5495         [BZ #18712]
5496         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5497         (__old_mempcpy_small): Likewise.
5498         (__old_strcpy_small): Likewise.
5499         (__old_stpcpy_small): Likewise.
5500         (__old_strpbrk_c2): Fix compat symbol name.
5501         (__old_strpbrk_c3): Likewise.
5502         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5503         (__mempcpy_small): Remove.
5504         (__strcpy_small): Remove.
5505         (__stpcpy_small): Remove.
5507 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5509         [BZ #19400]
5510         * locale/iso-639.def: Add the Talossan/tzl language.
5512 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5514         [BZ #16983]
5515         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5516         comment.  Add "ln" to strchr check on postal_fmt.
5518 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5520         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5521         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5522         tel_dom_fmt.
5524 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5526         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5527         (sysdep_routines): Added __strlen_power8.
5528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5529         __strlen_power8 entry.
5530         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5531         Implementation for POWER8.
5532         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5533         for __strlen_power8.
5534         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5535         Implementation for POWER8.
5537 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5539         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5541 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5543         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5544         Goldmont and Airmont processors.
5546 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5548         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5549         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5550         (__STRING2_SMALL_GET32): Remove.
5551         (memset): Remove.
5552         (__memset_1): Remove.
5553         (__memset_gc): Remove.
5554         (__mempcpy): Remove.
5555         (mempcpy): Remove.
5556         (__mempcpy_args): Remove.
5557         (strchr): Remove.
5558         (strcpy): Remove.
5559         (strcpy_args): Remove.
5560         (__stpcpy_args): Remove.
5561         (__strcmp_cc): Remove.
5562         (__strcmp_gc): Remove.
5563         (strstr): Remove.
5565 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5567         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5568         * nis/nis_call.c (nis_server_cache_add): Likewise.
5570 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5572         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5574 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5576         * malloc/arena.c (__malloc_fork_lock_parent)
5577         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5578         internal_function attribute.
5580 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5582         * stdio-common/printf_fp.c (__printf_fp_l):
5583         Rename ___printf_fp_l to __printf_fp_l and
5584         remove strong alias. Use libc_hidden_def instead
5585         of ldbl_hidden_def macro.
5587 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5589         Remove malloc hooks from fork handler.  They are no longer needed
5590         because malloc runs right before fork, and no malloc calls from
5591         other fork handlers are not possible anymore.
5592         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5593         declarations.
5594         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5595         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5596         (atfork_recursive_cntr): Remove.
5597         (__malloc_fork_lock_parent): Do not override malloc hooks and
5598         thread_arena.
5599         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5600         thread_arena.
5601         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5602         thread_arena instead of save_arena.
5604 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5606         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5607         (thread_atfork, thread_atfork_static): Remove.
5608         * sysdeps/mach/hurd/malloc-machine.h:
5609         (thread_atfork, thread_atfork_static): Remove.
5611 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5613         [BZ #19431]
5614         Run the malloc fork handler as late as possible to avoid deadlocks.
5615         * malloc/malloc-internal.h: New file.
5616         * malloc/malloc.c: Include it.
5617         * malloc/arena.c (ATFORK_MEM): Remove.
5618         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5619         Update comment.
5620         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5621         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5622         Remove outdated comment.
5623         (ptmalloc_init): Do not call thread_atfork.  Remove
5624         thread_atfork_static.
5625         * malloc/tst-malloc-fork-deadlock.c: New file.
5626         * Makefile (tests): Add tst-malloc-fork-deadlock.
5627         (tst-malloc-fork-deadlock): Link against libpthread.
5628         * manual/memory.texi (Aligned Memory Blocks): Update safety
5629         annotation comments.
5630         * sysdeps/nptl/fork.c (__libc_fork): Call
5631         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5632         __malloc_fork_unlock_child.
5633         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5635 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5637         [BZ #19613]
5638         Remove union wait.
5639         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5640         (w_stopsig, w_stopval): Remove.
5641         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5642         stat_loc argument.
5643         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5644         (__WAIT_STATUS_DEFN): Remove.
5645         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5646         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5647         (wait, wait3, wait4): Use int * for the stat_loc argument.
5648         * posix/wait.c (__wait): Likewise.
5649         * posix/wait3.c (__wait3): Likewise.
5650         * posix/wait4.c (__wait4): Likewise.
5651         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5652         (__WAIT_STATUS_DEFN): Remove.
5653         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5654         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5655         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5656         argument.
5657         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5658         * sysdeps/posix/wait3.c (__wait3): Likewise.
5659         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5660         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5661         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5662         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5663         stat_loc argument.
5664         * manual/process.texi (BSD Wait Functions): Remove union wait.
5666 2016-04-13  Andreas Schwab  <schwab@suse.de>
5668         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5669         (test-extras): Add tst-tlsalign-vars.
5670         * math/Makefile: Wrap long lines.
5671         (libm-vec-test-wrappers): Define.
5672         (test-extras): Add $(libm-vec-test-wrappers).
5673         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5674         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5675         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5676         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5677         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5678         (extra-test-objs): Add corresponding objects.
5680 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5682         [BZ #19928]
5683         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5684         New.
5685         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5686         times of shared cache size.
5687         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5688         (VMOVNT): New.
5689         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5690         (VMOVNT): Likewise.
5691         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5692         (VMOVNT): Likewise.
5693         (VMOVU): Changed to movups for smaller code sizes.
5694         (VMOVA): Changed to movaps for smaller code sizes.
5695         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5696         comments.
5697         (PREFETCH): New.
5698         (PREFETCH_SIZE): Likewise.
5699         (PREFETCHED_LOAD_SIZE): Likewise.
5700         (PREFETCH_ONE_SET): Likewise.
5701         Rewrite to use forward and backward loops, which move 4 vector
5702         registers at a time, to support overlapping addresses and use
5703         non temporal store if size is above the threshold and there is
5704         no overlap between destination and source.
5706 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5708         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5709         Include dl-vdso.
5710         * sysdeps/unix/sysv/linux/mips/Versions: Add
5711         __vdso_clock_gettime.
5712         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5713         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5714         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5715         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5716         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5717         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5718         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5719         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5720         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5722 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5724         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5725         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5726         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5727         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5728         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5729         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5732         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5733         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5734         syscalls generation.
5735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5736         [__NR_pwrite64] (__NR_write): Remove define.
5737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5738         [__NR_pwrite64] (__NR_write): Remove define.
5739         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5740         Remove define.
5741         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5742         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5743         Remove define.
5744         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5745         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5746         Linux implementation as base.
5747         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5749         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5750         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5751         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5752         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5755         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5756         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5757         syscall generation.
5758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5759         [__NR_pread64] (__NR_pread): Remove define.
5760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5761         [__NR_pread64] (__NR_pread): Likewise.
5762         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5763         define.
5764         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5765         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5766         Remove define.
5767         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5768         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5769         Linux implementation as base.
5770         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5771         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5772         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5774         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5775         definition.
5776         (__ALIGNMENT_COUNT): Likewise.
5777         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5778         (__ALIGNMENT_COUNT): Likewise.
5779         (SYSCALL_LL): New define.
5780         (SYSCALL_LL64): Likewise.
5781         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5782         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5783         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5784         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5786         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5787         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5788         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5789         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5790         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5791         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5793 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5795         [BZ #19865]
5796         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5797         original buffer before retry.
5799 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5801         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5802         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5803         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5804         GLRO(dl_auxv) list.
5805         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5806         including <ldsodefs.h>.
5807         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5809 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5811         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5812         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5813         $(CPPFLAGS).
5815 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5817         [BZ #17950]
5818         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5819         Add -mfpmath=387.
5821 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5823         * sysdeps/i386/configure.ac: Change == to = when calling test.
5824         * sysdeps/x86_64/configure.ac: Likewise.
5825         * sysdeps/i386/configure: Regenerated.
5826         * sysdeps/x86_64/configure: Likewise.
5828 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5830         [BZ #16137]
5831         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5832         * benchtests/bench-strcoll.c (input_files): Likewise.
5833         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5834         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5835         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5837 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5839         [BZ #19929]
5840         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5841         [__USE_XOPEN2K8 && !__USE_GNU].
5842         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5843         variable.
5845         [BZ #19925]
5846         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5847         define if [!__USE_MISC && __USE_XOPEN2K].
5848         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5849         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5850         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5851         Likewise.
5852         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5853         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5854         variable.
5855         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5857 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5859         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5860         (sysdep_routines): Add new strspn targets.
5861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5862         (__libc_ifunc_impl_list): Add strspn.
5863         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5864         New file.
5865         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5866         Likewise.
5867         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5868         Likewise.
5869         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5870         Likewise.
5872 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5874         * misc/hsearch_r.c: Include <limits.h>.
5876 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5878         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5880 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5882         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5883         (MEMCPY_SYMBOL): New.
5884         (MEMPCPY_SYMBOL): Likewise.
5885         (MEMMOVE_CHK_SYMBOL): Likewise.
5886         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5887         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5888         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5889         Provide alias for memcpy in libc.a and ld.so.
5891 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5893         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5894         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5895         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5896         Disabled fro now.
5897         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5898         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5900 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5902         * benchtests/Makefile (string-benchset): Add memcpy-large,
5903         memmove-large and memset-large.
5904         * benchtests/bench-memcpy-large.c: New file.
5905         * benchtests/bench-memmove-large.c: Likewise.
5906         * benchtests/bench-memmove-large.c: Likewise.
5907         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5909 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5911         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5912         32-bit displacement to avoid long nop between instructions.
5914 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5916         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5917         a comment on VMOVU and VMOVA.
5919 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5921         [BZ #19633]
5922         Use specified locale for number formatting in strfmon_l.
5923         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5924         (__nl_lookup_word): New inline functions.
5925         * include/printf.h (__print_fp_l): Declare.
5926         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5927         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5928         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5929         (___printf_fp): New function.
5930         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5931         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5932         * stdlib/tst-strfmon_l.c (do_test): New test.
5933         * stdlib/Makefile (tests): Add kt.
5934         (LOCALES): Build additional locales.
5935         (tst-strfmon_l.out): Require locales.
5937 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5939         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5940         if not in libc.
5941         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5942         Likewise.
5943         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5944         Likewise.
5945         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5946         Likewise.
5948 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5950         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5951         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5952         with unaligned_erms.
5953         (__memmove_erms): Skip if source == destination.
5954         (__memmove_unaligned_erms): Don't check source == destination
5955         first.
5957 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5959         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5960         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5962 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5964         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5965         * string/strspn.c (strspn): Likewise.
5967 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5969         * benchtests/bench-memset.c (do_test): Support 64-byte
5970         alignment.
5971         (test_main): Test 64-byte alignment.
5973 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5975         * benchtests/bench-memmove.c (test_main): Test 64-byte
5976         alignment.
5978 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5980         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5982 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5984         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5985         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5986         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5988         * string/strpbrk.c (strpbrk): Rewrite function.
5989         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5990         (__strpbrk_c2): Likewise.
5991         (__strpbrk_c3): Likewise.
5992         * string/string-inlines.c
5993         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5994         Likewise.
5995         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5996         Likewise.
5998         * string/strspn.c (strcspn): Rewrite function.
5999         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6000         (__strspn_c1): Remove inline function.
6001         (__strspn_c2): Likewise.
6002         (__strspn_c3): Likewise.
6003         * string/string-inlines.c
6004         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6005         compatibility symbol.
6006         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6007         Likewise.
6008         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6009         Likewise.
6010         * string/string-inlines.c: Include generic version.
6012 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6013             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6015         * string/Version (libc): Add GLIBC_2.24.
6016         * string/strcspn.c (strcspn): Rewrite function.
6017         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6018         (__strcspn_c1): Remove inline function.
6019         (__strcspn_c2): Likewise.
6020         (__strcspn_c3): Likewise.
6021         * string/string-inline.c
6022         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6023         compatibility symbol.
6024         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6025         Likewise.
6026         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6027         Likewise.
6028         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6030 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6032         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6033         Use ahi instead of aghi to adjust stack pointer.
6035 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6037         [BZ #19853]
6038         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6039         TEST to take significant digits as second parameter.
6040         [TEST]: Redefine in terms of TEST_N taking 30
6041         significant digits.
6042         (do_test): Add test case to demonstrate precision
6043         failure in the ldbl-128ibm printf.
6044         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6045         (__mpn_extract_long_double): Carry 7 extra intermediate
6046         bits of precision to aide computing difference when
6047         signs differ.
6049 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6051         [BZ #19881]
6052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6053         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6054         memset-avx512-unaligned-erms.
6055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6056         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6057         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6058         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6059         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6060         __memset_sse2_unaligned_erms, __memset_erms,
6061         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6062         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6063         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6064         file.
6065         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6066         Likewise.
6067         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6068         Likewise.
6069         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6070         Likewise.
6072 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6074         [BZ #19776]
6075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6076         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6077         memmove-avx512-unaligned-erms.
6078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6079         (__libc_ifunc_impl_list): Test
6080         __memmove_chk_avx512_unaligned_2,
6081         __memmove_chk_avx512_unaligned_erms,
6082         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6083         __memmove_chk_sse2_unaligned_2,
6084         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6085         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6086         __memmove_avx512_unaligned_erms, __memmove_erms,
6087         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6088         __memcpy_chk_avx512_unaligned_2,
6089         __memcpy_chk_avx512_unaligned_erms,
6090         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6091         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6092         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6093         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6094         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6095         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6096         __mempcpy_chk_avx512_unaligned_erms,
6097         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6098         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6099         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6100         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6101         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6102         __mempcpy_erms.
6103         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6104         file.
6105         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6106         Likwise.
6107         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6108         Likwise.
6109         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6110         Likwise.
6112 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6114         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6115         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6116         (La_s390_64_regs): Likewise.
6117         (La_s390_32_retval): Append vector register lrv_v24.
6118         (La_s390_64_retval): Likeweise.
6119         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6120         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6121         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6122         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6124 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6126         [BZ #19916]
6127         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6128         to create a non-vector/vector version for _dl_runtime_resolve and
6129         _dl_runtime_profile. Move implementation to ...
6130         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6131         (_dl_runtime_resolve) Save and restore fpr/vrs.
6132         (_dl_runtime_profile) Save and restore vrs and fix some issues
6133         if _dl_call_pltexit is called.
6134         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6135         Choose the correct resolver function if running on a machine with vx.
6136         * sysdeps/s390/s390-64/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-64/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         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6143         Choose the correct resolver function if running on a machine with vx.
6145 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6147         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6149 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6151         [BZ #19509]
6152         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6153         skip_map != NULL.
6154         * elf/tst-dlsym-error.c: New file.
6155         * elf/Makefile (tests): Add tst-dlsym-error.
6156         (tst-dlsym-error): Link against libdl.
6158 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6161         (__ASSUME_FUTIMESAT): Remove macro.
6162         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6164 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6166         [BZ #19879]
6167         CVE-2016-3075
6168         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6169         copy name.
6171 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6173         [BZ #19837]
6174         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6175         error if parse_line fails.
6177 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6179         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6180         (index_cpu_ERMS): Likewise.
6181         (reg_ERMS): Likewise.
6183 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6185         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6186         PER_LINUX_FDPIC): Add.
6188 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6191         memcpy-avx512-no-vzeroupper.
6192         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6193         to ...
6194         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6195         (MEMCPY): Don't define.
6196         (MEMCPY_CHK): Likewise.
6197         (MEMPCPY): Likewise.
6198         (MEMPCPY_CHK): Likewise.
6199         (MEMPCPY_CHK): Renamed to ...
6200         (__mempcpy_chk_avx512_no_vzeroupper): This.
6201         (MEMPCPY_CHK): Renamed to ...
6202         (__mempcpy_chk_avx512_no_vzeroupper): This.
6203         (MEMCPY_CHK): Renamed to ...
6204         (__memmove_chk_avx512_no_vzeroupper): This.
6205         (MEMCPY): Renamed to ...
6206         (__memmove_avx512_no_vzeroupper): This.
6207         (__memcpy_avx512_no_vzeroupper): New alias.
6208         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6210 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6212         [BZ #18858]
6213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6214         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6215         and mempcpy-avx512-no-vzeroupper.
6216         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6217         New.
6218         (MEMPCPY): Likewise.
6219         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6220         (MEMPCPY_CHK): New.
6221         (MEMPCPY): Likewise.
6222         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6223         (MEMPCPY): Likewise.
6224         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6225         (MEMPCPY): Likewise.
6226         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6227         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6228         Likewise.
6229         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6230         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6232 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6233              Amit Pawar  <Amit.Pawar@amd.com>
6235         [BZ #19583]
6236         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6237         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6238         processors.  Set Fast_Copy_Backward for AMD Excavator
6239         processors.
6240         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6241         New.
6242         (index_arch_Fast_Unaligned_Copy): Likewise.
6243         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6244         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6246 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6248         [BZ #19791]
6249         * resolv/res_send.c (close_and_return_error): New function.
6250         (send_dg): Initialize *resplen2 after reopen failure.  Call
6251         close_and_return_error for error returns.  On error paths without
6252         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6253         successful return.
6255 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6257         [BZ# 19860]
6258         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6259         zero if the compiler does not provide the AVX512F bit.
6261 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6263         [BZ #19848]
6264         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6265         from 8 to 4.
6266         (__ieee754_powl): Compare integer exponent against 4 not 8.
6267         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6268         from 8 to 4.
6269         (__ieee754_powl): Compare integer exponent against 4 not 8.
6270         * math/auto-libm-test-in: Add more tests of pow.
6271         * math/auto-libm-test-out: Regenerated.
6272         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6275 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6277         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6278         Make code unconditional.
6279         [!__NR_utimensat]: Remove conditional code.
6280         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6281         Make code unconditional.
6282         [!__NR_utimensat]: Remove conditional code.
6283         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6284         Make code unconditional.
6285         [!__NR_utimensat]: Remove conditional code.
6287 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6289         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6290         Make code unconditional.
6292 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6294         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6295         call-clobbered %eax on retry path.
6296         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6298 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6300         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6301         Don't set %rcx twice before "rep movsb".
6303 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6305         [BZ #19583]
6306         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6307         inline.  Check family before setting family, model and
6308         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6309         bits here.
6310         (init_cpu_features): Replace HAS_CPU_FEATURE and
6311         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6312         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6313         for Intel processors with usable AVX2.  Call get_common_indeces
6314         for other processors with family == NULL.
6315         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6316         (CPU_FEATURES_ARCH_P): Likewise.
6317         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6318         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6320 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6322         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6323         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6324         $(shared-thread-library) instead of hardcoding the path to libpthread.
6326 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6328         * sysdeps/unix/sysv/linux/kernel-features.h
6329         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6330         * sysdeps/unix/sysv/linux/getdents.c
6331         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6332         [!have_no_getdents64_defined]: Likewise.
6333         (__GETDENTS): Remove __have_no_getdents64 conditional.
6335 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6337         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6338         Remove macro.
6339         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6340         <kernel-features.h>.
6341         (signalfd) [__NR_signalfd4]: Make code unconditional.
6342         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6344 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6346         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6347         style.
6349 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6351         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6352         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6353         __pthread_unwind.
6354         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6355         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6356         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6357         (__condvar_cleanup1): Likewise.
6359 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6361         [BZ #19822]
6362         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6363         move it to the final $@ location.
6365 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6367         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6368         access where posix_spawn success and pid argument is null.
6369         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6370         success case.
6372 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6374         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6376         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6378         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6379         and __fcntl.
6380         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6381         __fcntl only.
6382         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6383         adding attribute_hidden to __open and __fcntl.
6385         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6386         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6387         depend on libc-modules.h,
6388         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6390 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6392         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6393         Remove macro.
6394         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6395         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6396         entry.
6398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6399         Remove macro.
6400         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6401         include <kernel-features.h>.
6402         [!__ASSUME_FALLOCATE]: Remove conditional code.
6403         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6405 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6407         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6408         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6409         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6410         (_ZGVdN4v_cos_avx2): Likewise.
6411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6412         (_ZGVdN4v_cos): Likewise.
6413         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6414         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6415         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6416         (_ZGVdN4v_exp_avx2): Likewise.
6417         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6418         (_ZGVdN4v_exp): Likewise.
6419         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6420         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6421         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6422         (_ZGVdN4v_log_avx2): Likewise.
6423         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6424         (_ZGVdN4v_log): Likewise.
6425         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6426         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6427         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6428         (_ZGVdN4vv_pow_avx2): Likewise.
6429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6430         (_ZGVdN4vv_pow): Likewise.
6431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6432         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6434         (_ZGVdN4v_sin_avx2): Likewise.
6435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6436         (_ZGVdN4v_sin): Likewise.
6437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6438         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6439         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6440         (_ZGVdN4vvv_sincos_avx2): Likewise.
6441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6442         (_ZGVdN4vvv_sincos): Likewise.
6443         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6444         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6445         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6446         (_ZGVbN4v_cosf_sse4): Likewise.
6447         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6448         (_ZGVdN8v_cosf_avx2): Likewise.
6449         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6450         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6451         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6452         (_ZGVbN4v_expf_sse4): Likewise.
6453         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6454         (_ZGVdN8v_expf_avx2): Likewise.
6455         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6456         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6458         (_ZGVbN4v_logf_sse4): Likewise.
6459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6460         (_ZGVdN8v_logf_avx2): Likewise.
6461         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6462         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6463         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6464         (_ZGVbN4vv_powf_sse4): Likewise.
6465         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6466         (_ZGVdN8vv_powf_avx2): Likewise.
6467         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6468         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6469         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6470         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6471         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6472         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6473         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6474         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6475         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6476         (_ZGVbN4v_sinf_sse4): Likewise.
6477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6478         (_ZGVdN8v_sinf_avx2): Likewise.
6479         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6480         Use JUMPTARGET to call callee.
6481         (WRAPPER_IMPL_SSE2_ff): Likewise.
6482         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6483         (WRAPPER_IMPL_AVX): Likewise.
6484         (WRAPPER_IMPL_AVX_ff): Likewise.
6485         (WRAPPER_IMPL_AVX_fFF): Likewise.
6486         (WRAPPER_IMPL_AVX512): Likewise.
6487         (WRAPPER_IMPL_AVX512_ff): Likewise.
6488         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6489         Likewise.
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         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6499 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6501         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6502         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6503         qualifier.
6504         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6505         internal_function qualifiers.
6507 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6509         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6510         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6511         * math/atest-exp.c (exp_mpn): Mark chk unused.
6512         * math/atest-exp2.c (exp_mpn): Likwise.
6513         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6514         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6516 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6518         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6519         Remove macro.
6520         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6521         <kernel-features.h>.
6522         [__NR_ppoll]: Make code unconditional.
6523         [!__ASSUME_PPOLL]: Remove conditional code.
6525         * sysdeps/unix/sysv/linux/kernel-features.h
6526         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6527         (__ASSUME_ACCEPT4): Likewise.
6528         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6529         Define.
6530         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6531         Likewise.
6532         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6533         Likewise.
6534         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6535         Likewise.
6536         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6537         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6538         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6539         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6540         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6541         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6542         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6543         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6544         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6545         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6546         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6547         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6548         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6549         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6550         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6551         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6552         Likewise.
6553         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6554         Likewise.
6555         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6556         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6557         0x040300].
6558         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6559         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6560         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6561         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6562         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6563         0x030300].
6564         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6565         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6566         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6567         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6568         0x040300].
6569         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6570         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6572         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6573         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6574         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6575         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6576         0x030300].
6577         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6578         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6579         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6580         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6581         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6582         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6583         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6584         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6585         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6586         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6587         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6588         0x040300].
6589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6590         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6591         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6592         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6593         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6594         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6595         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6596         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6597         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6598         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6599         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6600         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6601         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6603         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6604         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6605         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6606         Likewise.
6607         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6608         Likewise.
6610 2016-03-15  Andreas Schwab  <schwab@suse.de>
6612         [BZ #19257]
6613         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6614         statp->_u._ext.nscount as loop count.
6616 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6618         * math/test-signgam-finite-c99.c: Also #undef
6619         __LIBC_INTERNAL_MATH_INLINES.
6620         * math/test-signgam-main.c: Likewise.
6622 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6624         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6625         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6626         (MADV_FREE): Likewise.
6627         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6628         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6629         EPOLLEXCLUSIVE.
6631 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6633         * timezone/README: Remove mention of checktab.awk. Mention wiki
6634         SharedSourceFiles.
6636 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6638         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6639         WUNTRACED.
6641 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6643         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6644         order to match the type of p when calling atomic_exchange_acq().
6646 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6648         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6649         cfi_offset calls.
6650         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6651         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6652         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6653         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6654         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6656 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6658         * timezone/checktab.awk: Removed.
6660 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6662         * manual/math.texi (Errors in Math Functions): Document relaxed
6663         accuracy goals for IBM long double.
6664         * math/libm-test.inc (test_exceptions): Always allow spurious
6665         "underflow" and "inexact" exceptions for IBM long double.
6667 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6669         [BZ #19762]
6670         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6671         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6672         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6673         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6674         (bit_arch_*): This for feature array.
6675         (bit_*): Renamed to ...
6676         (bit_cpu_*): This for cpu array.
6677         (index_*): Renamed to ...
6678         (index_arch_*): This for feature array.
6679         (index_*): Renamed to ...
6680         (index_cpu_*): This for cpu array.
6681         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6682         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6683         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6684         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6685         bit_##name with index_cpu_##name and bit_cpu_##name.
6686         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6687         bit_##name with index_arch_##name and bit_arch_##name.
6689 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6691         [BZ #19792]
6692         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6693         Terminate FDE before return label.
6695 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6697         [BZ #19790]
6698         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6699         (rintl): Define as macro.
6700         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6701         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6702         of fesetround.  Ensure results are evaluated before end of scope.
6703         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6704         USE_AS_NEARBYINTL and include s_rintl.c.
6705         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6706         Disable exception traps in new environment.
6707         (libc_feholdsetround_ppc_ctx): Likewise.
6709 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6711         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6712         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6713         (tst_audit10_aux) [__AVX512F__]: ... here.
6715 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6717         * include/sys/auxv.h: New file.
6719 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6721         [BZ #19759]
6722         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6724 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6726         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6727         operand modifier.
6728         (feclearexcept): Likewise.
6730 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6732         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6733         to reflect the entire 32-bit HWCAP.
6734         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6735         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6737 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6739         [BZ #19783]
6740         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6741         $(test-via-rtld-prefix).
6742         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6744 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6746         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6747         union wait.  Report any non-zero exit status as error.
6749 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6751         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6752         configured with --enable-hardcoded-path-in-tests.
6754 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6756         [BZ #19677]
6757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6758         (__ieee754_remainderl): Put zero low parts in canonical form.
6759         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6760         file.  Based on
6761         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6762         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6763         with wrapper round test-fmodrem-ldbl-128ibm.c.
6764         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6765         file.
6766         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6767         Likewise.
6768         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6769         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6771 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6773         [BZ #19610]
6774         * elf/ldconfig.c (opt_link): Update comment.
6775         (options): Update help string for option -X.
6776         (search_dir): Unlink stale symbolic link only if updating symbolic
6777         links.
6778         * elf/tst-ldconfig-X.sh: New file.
6779         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6780         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6782 2016-03-07  Andreas Schwab  <schwab@suse.de>
6784         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6785         needed arguments.
6787 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6789         [BZ #15333]
6790         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6791         to lstat64.
6793 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6795         * libio/filedoalloc.c (isatty): Remove.
6796         (local_isatty): Add comment.  Call __isatty directly.
6797         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6798         * libio/wfiledoalloc.c (isatty): Remove.
6799         (_IO_wfile_doallocate): Update comment.
6801 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6803         [BZ #19269]
6804         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6805         tst-audit4-aux.o.
6806         (tst-audit10): Depend on tst-audit10-aux.o.
6807         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6808         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6809         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6810         instead of inline AVX code.
6811         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6812         instead of inline AVX512 code.
6813         * sysdeps/x86_64/tst-audit4-aux.c: New file
6814         * sysdeps/x86_64/tst-audit10-aux.c: New file
6816         [BZ #19648]
6817         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6819 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6821         [BZ #14750]
6822         [BZ #10354]
6823         [BZ #18433]
6824         * include/sched.h (__clone): Add hidden prototype.
6825         (__clone2): Likewise.
6826         * include/unistd.h (__dup): Likewise.
6827         * posix/Makefile (tests): Add tst-spawn2.
6828         * posix/tst-spawn2.c: New file.
6829         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6830         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6831         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6832         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6833         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6834         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6835         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6836         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6837         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6838         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6839         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6841         Likewise.
6842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6843         Likewise.
6844         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6845         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6846         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6847         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6848         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6849         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6850         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6851         * sysdeps/unix/sysv/linux/nptl-signals.h
6852         (____nptl_is_internal_signal): New function.
6853         * sysdeps/unix/sysv/linux/spawni.c: New file.
6855         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6856         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6857         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6858         * posix/tst-execvp2.c (do_test): Likewise.
6859         * posix/tst-execvp3.c (do_test): Likewise.
6860         * posix/tst-execvp4.c (do_test): Likewise.
6861         * posix/tst-execvpe1.c: New file.
6862         * posix/tst-execvpe2.c: Likewise.
6863         * posix/tst-execvpe3.c: Likewise.
6864         * posix/tst-execvpe4.c: Likewise.
6865         * posix/tst-execvpe5.c: Likewise.
6866         * posix/tst-execvpe6.c: Likewise.
6868         [BZ #19534]
6869         * posix/execl.c (execl): Remove dynamic memory allocation.
6870         * posix/execle.c (execle): Likewise.
6871         * posix/execlp.c (execlp): Likewise.
6873 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6875         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6876         Replace .text with .text.avx512.
6877         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6878         Likewise.
6880 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6882         * sysdeps/generic/libnsl.abilist: New file.
6883         * sysdeps/generic/libutil.abilist: New file.
6885 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6887         [BZ #19762]
6888         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6889         HAS_ARCH_FEATURE with Fast_Rep_String.
6890         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6891         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6892         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6893         Likewise.
6894         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6895         Likewise.
6896         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6897         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6898         Likewise.
6899         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6900         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6901         Likewise.
6903 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6905         [BZ #19745]
6906         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6907         with *%rax in call.
6909 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6911         [BZ #19745]
6912         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6913         with *__libc_start_main@GOTPCREL(%rip) in call.
6915 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6917         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6918         inside conditional for nonempty $(CXX).
6920         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6921         nonempty.
6923         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6924         to test for empty $(CXX) rather than $(CXX) of "no".
6926 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6928         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6930 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6931             H.J. Lu  <hongjiu.lu@intel.com>
6933         [BZ #18880]
6934         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6935         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6936         enable __memcpy_ssse3_back.
6938 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6940         [BZ #19758]
6941         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6942         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6944 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6946         [BZ #19490]
6947         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6948         (__fentry__): Likewise.
6950 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6952         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6953         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6955 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6957         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6958         __mcount_internal directly.
6959         (C_LABEL(__fentry__)): Likewise.
6960         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6961         directly.
6963 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6965         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6966         (__start_context): Call __setcontext directly.
6968 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6970         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6971         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6972         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6973         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6974         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6975         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6976         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6977         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6978         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6979         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6980         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6981         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6982         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6983         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6984         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6985         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6986         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6987         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6988         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6989         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6990         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6991         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6992         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6993         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6994         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6995         Remove conditional code.
6996         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6997         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6998         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6999         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7000         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7001         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7002         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7003         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7004         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7005         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7006         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7007         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7009 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7011         * NEWS (2.23): Fix typo in bug 19048 text.
7013 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7015         [BZ #14259]
7016         * Makeconfig: Rename msgcatdir to localedir.
7017         Rename inst_msgcatdir to inst_localedir.
7018         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7019         * config.make.in: Add localedir.
7020         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7021         (ldd-rewrite): Likewise.
7022         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7023         (install-others): Use inst_localedir.
7024         (CPPFLAGS): Use localedir.
7025         * locale/Makefile (locale-CPPFLAGS): Likewise.
7026         * po/Makefile (mo-installed): Use inst_localedir.
7028         [BZ #19575]
7029         * localedata/charmaps/GB18030: Update comments regarding PAU to
7030         non-PUA mappings.
7032 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7034         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7035         test for header.
7036         * sysdeps/unix/sysv/linux/configure: Regenerated.
7037         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7038         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7039         Remove conditional code.
7040         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7042         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7043         Define to 3.2.0.
7044         (arch_minimum_kernel): Likewise.
7045         * sysdeps/unix/sysv/linux/configure: Regenerated.
7046         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7047         Define to 2.6.32.
7048         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7049         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7050         (arch_minimum_kernel): Define to 2.6.32.
7051         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7052         * README: Document Linux 3.2 requirement.
7053         * manual/install.texi (Linux): Document Linux 3.2 headers
7054         requirement.
7055         * INSTALL: Regenerated.
7057 2016-02-24  Andreas Schwab  <schwab@suse.de>
7059         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7060         if !NO_LONG_DOUBLE.
7062 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7064         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7065         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7067 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7069         [BZ #19512]
7070         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7072 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7074         * posix/tst-dir.c: Include libc-internal.h.
7076 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7078         [BZ #19056]
7079         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7080         * manual/filesys.texi (Reading/Closing Directory): Mention
7081         deprecaion.
7082         * posix/tst-dir.c (main): Disable deprecation warning in test.
7084 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7086         [BZ #19679]
7087         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7088         Renamed to ...
7089         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7090         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7091         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7092         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7093         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7094         * sysdeps/x86_64/dl-trampoline.h
7095         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7096         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7098 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7100         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7102 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7104         * elf/elf.h (R_386_GOT32X): New.
7105         (R_386_NUM): Update.
7106         (R_X86_64_GOTPCRELX: New.
7107         (R_X86_64_REX_GOTPCRELX): New.
7108         (R_X86_64_NUM): Update.
7110 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7112         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7114 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7116         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7117         assign attr->stackaddr to it, and adjust it down when
7118         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7119         [_STACK_GROWS_UP]: Delete assert.
7120         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7121         Implement stack grows up logic.
7122         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7123         stack grows up logic.
7125 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7127         * NEWS: Update with 2.24 template.
7129 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7131         [BZ #19678]
7132         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7133         Ensure +0.0 is returned when taking the next value below the least
7134         positive value.
7136 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7138         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7139         available.  Do not define NO_THREADS.
7140         * malloc/malloc.c: Do not check NO_THREADS.
7141         * malloc/arena.c: Likewise.
7143 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7145         * malloc/malloc.c (__libc_mallinfo): Update comment.
7146         (struct malloc_par): Remove max_total_mem member, it was always 0.
7147         (int_mallinfo): Store 0 into usmblks (no functional change).
7148         * malloc/hooks.c (struct malloc_state): Document that
7149         max_total_mem is always 0.
7150         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7151         always 0.
7152         * manual/memory.texi (Statistics of Malloc): Likewise.
7154 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7156         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7157         * malloc/arena.c (arena_max): Remove.
7158         (heap_trim, _int_new_arena): Do not update arena_max.
7160 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7162         * resolv/res_init.c (res_ninit): Update comment.
7164 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7166         [BZ #19505]
7167         * posix/spawn_int.h: Add headers and include guard.
7168         (__spawn_valid_fd): New function.
7169         * posix/spawn_faction_addopen.c
7170         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7171         * posix/spawn_faction_addclose.c
7172         (posix_spawn_file_actions_addclose): Likewise.
7173         * posix/spawn_faction_adddup2.c
7174         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7175         second file descriptor.
7176         * posix/spawn_valid_fd.c: New file.
7177         * posix/tst-posix_spawn-fd.c: New file.
7178         * posix/Makefile (routines): Add spawn_valid_fd.
7179         (tests): Add tst-posix_spawn-fd.
7181 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7183         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7184         (do_test): Limit the number of arenas, so that we can use fewer
7185         outer threads.  Limit timeout to 3 seconds, in preparation for a
7186         larger TIMEOUT value.
7188 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7190         [BZ #19674]
7191         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7192         sign in overflowing and underflowing results when overflow or
7193         underflow is detected early.  Include sign in result before rather
7194         than after scaling.
7196         [BZ #19603]
7197         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7198         (__ieee754_remainderl): Adjust sign of integer version of low part
7199         when taking absolute value of high part.
7200         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7201         * math/libm-test.inc (remainder_test_data): Add another test.
7202         (remquo_test_data): Likewise.
7204 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7206         [BZ #19602]
7207         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7208         equal high parts and both low parts zero specially.
7209         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7210         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7211         Add test-fmodl-ldbl-128ibm.
7213         [BZ #19595]
7214         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7215         common logic for all cases of shifting subnormal results.  Do not
7216         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7217         exponent to ldbl_insert_mantissa in subnormal case.
7219         [BZ #19594]
7220         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7221         on high and low parts then adjust result and use
7222         ldbl_canonicalize_int if needed.
7224         [BZ #19593]
7225         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7226         on high part and __floor or __ceil on low part then use
7227         ldbl_canonicalize_int if needed.
7229         [BZ #19592]
7230         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7231         high and low parts then use ldbl_canonicalize_int if needed.
7233         [BZ #17899]
7234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7235         New function.
7236         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7237         on high and low parts then use ldbl_canonicalize_int if needed.
7239 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7241         * configure: Regenerated.
7243         * po/libc.pot: Regenerated.
7245         * po/be.po: Updated translation.
7246         * po/bg.po: Likewise.
7247         * po/ca.po: Likewise.
7248         * po/cs.po: Likewise.
7249         * po/da.po: Likewise.
7250         * po/el.po: Likewise.
7251         * po/eo.po: Likewise.
7252         * po/es.po: Likewise.
7253         * po/fi.po: Likewise.
7254         * po/fr.po: Likewise.
7255         * po/gl.po: Likewise.
7256         * po/hr.po: Likewise.
7257         * po/hu.po: Likewise.
7258         * po/ia.po: Likewise.
7259         * po/id.po: Likewise.
7260         * po/it.po: Likewise.
7261         * po/ja.po: Likewise.
7262         * po/lt.po: Likewise.
7263         * po/nb.po: Likewise.
7264         * po/nl.po: Likewise.
7265         * po/pt_BR.po: Likewise.
7266         * po/rw.po: Likewise.
7267         * po/sk.po: Likewise.
7268         * po/sl.po: Likewise.
7269         * po/sv.po: Likewise.
7270         * po/tr.po: Likewise.
7271         * po/zh_CN.po: Likewise.
7272         * po/zh_TW.po: Likewise.
7274         * version.h (RELEAES): Set to "development".
7275         (VERSION): Set to 2.23.90.
7277         * version.h (RELEASE): Set to "stable".
7278         (VERSION): Set to 2.23.
7279         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7281         * NEWS: Updated fixed bugs.
7283 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7284             Wilco Dijkstra  <wdijkstr@arm.com>
7286         [BZ #19462]
7287         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7288         (_STRING_INLINE_unaligned): This.
7289         * include/string.h: Include <string_private.h>.
7290         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7291         _STRING_INLINE_unaligned.
7292         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7293         (_STRING_INLINE_unaligned): New.
7294         * sysdeps/aarch64/string_private.h: New file.
7295         * sysdeps/generic/string_private.h: Likewise.
7296         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7297         * sysdeps/s390/string_private.h: Likewise.
7298         * sysdeps/x86/string_private.h: Likewise.
7299         * sysdeps/m68k/m680x0/m68020/bits/string.h
7300         (_STRING_ARCH_unaligned): Renamed to ...
7301         (_STRING_INLINE_unaligned): This.
7302         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7303         to ...
7304         (_STRING_INLINE_unaligned): This.
7305         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7306         to ...
7307         (_STRING_INLINE_unaligned): This.
7308         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7309         to ...
7310         (_STRING_INLINE_unaligned): This.
7312 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7313             H.J. Lu  <hongjiu.lu@intel.com>
7315         [BZ #19590]
7316         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7317         relocation.
7319 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7321         [BZ #18665]
7322         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7323         *herrno_p.
7324         (gaih_getanswer): Document functional behviour. Return tryagain
7325         if any result is tryagain.
7326         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7327         when freed.
7328         * resolv/res_send.c: Add copyright text.
7329         (__libc_res_nsend): Document that MAXPACKET is expected.
7330         (send_vc): Document. Remove buffer reuse.
7331         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7332         size of the buffer. Add Dprint for truncated UDP buffer.
7334 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7336         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7337         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7338         * INSTALL: Regenerate.
7340 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7341             Jonathan Wakely  <jwakely@redhat.com>
7342             Carlos O'Donell  <carlos@redhat.com>
7344         [BZ 19439]
7345         * math/Makefile (tests): Add test-math-isinff.
7346         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7347         * math/bits/mathcalls.h [__USE_MISC]: Use
7348         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7349         functions not in C++11 and which don't conflict e.g. isinff,
7350         isinfl etc.
7351         * math/test-math-isinff.cc: New file.
7353 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7355         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7357 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7359         [BZ #19529]
7360         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7362 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7364         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7366 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7368         [BZ #19550]
7369         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7370         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7371         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7372         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7373         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7374         New syscall entry.
7375         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7376         New syscall entry.
7377         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7378         syscall entry.
7380 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7382         [BZ #18240]
7383         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7384         unsigned int wraparound.
7386 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7388         [BZ #18240]
7389         * misc/bug18240.c: New test.
7390         * misc/Makefile (tests): Add it.
7392 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7393             Joseph Myers  <joseph@codesourcery.com>
7395         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7396         load in branch delay slot when less than a word of input left.
7398 2016-01-27  Andreas Schwab  <schwab@suse.de>
7400         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7401         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7402         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7403         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7405 2016-01-26  David S. Miller  <davem@davemloft.net>
7407         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7409 2016-01-25  David S. Miller  <davem@davemloft.net>
7411         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7412         __sqrtl_finite.
7413         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7414         instead using versioned_symbol.
7415         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7416         of entries.
7418         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7419         __sqrtl_finite to GLIBC_2.23
7421 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7423         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7425 2016-01-25  Andreas Schwab  <schwab@suse.de>
7427         [BZ #17514]
7428         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7429         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7430         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7431         * nptl/tst-mutex-errorcheck.c: New file.
7433 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7435         [BZ #18560]
7436         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7437         (IPCOP_semop): Likewise.
7438         (IPCOP_semget): Likewise.
7439         (IPCOP_semctl): Likewise.
7440         (IPCOP_msgsnd): Likewise.
7441         (IPCOP_msgrcv): Likewise.
7442         (IPCOP_msgget): Likewise.
7443         (IPCOP_msgctl): Likewise.
7444         (IPCOP_shmat): Likewise.
7445         (IPCOP_shmdt): Likewise.
7446         (IPCOP_shmget): Likewise.
7447         (IPCOP_shmctl): Likewise.
7449 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7451         * string/tst-endian.c: Include <libc-internal.h>.
7452         (do_test): Ignore tautological-compare warnings around
7453         "htobeXX (beXXtoh (i)) != i" and
7454         "htoleXX (leXXtoh (i)) != i" if-statements.
7456 2016-01-24  David S. Miller  <davem@davemloft.net>
7458         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7459         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7460         alias.
7461         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7462         __sqrtl_finite.
7464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7466 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7468         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7469         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7470         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7472 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7474         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7475         (thread_func): Use new function to simplify barrier check.
7476         (do_test): Use new function to simplify checking barrier exit
7477         code, and actually join the child thread.
7479 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7481         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7482         semicolon.
7483         (__libc_tend): Likewise.
7484         (__libc_tabort): Likewise.
7486 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7488         * sysdeps/nios2/libm-test-ulps: Update.
7489         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7490         (__gtsf2): Likewise.
7491         (__unorddf2): Likewise.
7492         (__unordsf2): Likewise.
7493         (__ledf2): Likewise.
7495 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7497         * nis/nis_table.c (__follow_path): Disable diagnostic for
7498         uninitialized variable that is a false positive for gcc 4.7.
7499         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7501 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7503         * sysdeps/nacl/lowlevellock-futex.h
7504         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7505         Always evaluate PRIVATE argument.
7507 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7509         [BZ #19490]
7510         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7511         (pthread_cond_broadcast): Use ENTRY/END
7512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7513         (pthread_cond_signal): Likewise.
7514         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7515         Likewise.
7516         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7517         Likewise.
7518         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7519         Likewise.
7521 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7523         * sysdeps/ieee754/dbl-64/s_finite.c
7524         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7525         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7526         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7527         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7528         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7531         (__gtsf2): Add as optional for libc.so.
7532         (__unordsf2): Likewise.
7533         (__signbit): Remove for libc.so.
7534         (__signbitl): Likewise.
7536 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7538         * iconvdata/bug-iconv11.c (test_ibm93x):
7539         Use %zu printf format specifier for size_t argument.
7541 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7543         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7544         already-recorded ulps.
7545         * sysdeps/arm/libm-test-ulps: Regenerated.
7546         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7547         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7548         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7550 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7551             Paul Pluzhnikov  <ppluzhnikov@google.com>
7553         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7554         assembler not supporting AVX-512.
7556 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7558         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7560 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7562         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7563         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7565         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7567         * sysdeps/arm/libm-test-ulps: Regenerated.
7569 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7571         [BZ #19451]
7572         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7574 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7576         [BZ #19486]
7577         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7578         * sysdeps/generic/fix-fp-int-convert-overflow.h
7579         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7580         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7581         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7582         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7583         Likewise.
7584         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7585         Avoid conversions to long int where inexact exceptions
7586         could be raised.
7587         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7588         Likewise.
7589         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7590         Avoid conversions to long long int where inexact exceptions
7591         could be raised.
7592         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7593         Likewise.
7595 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7597         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7598         * configure: Regenerated.
7600 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7602         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7604 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7606         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7607         outside of comment.
7609 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7611         * nptl/tst-barrier1.c: Add description on first line.
7612         * nptl/tst-barrier2.c: Likewise.
7613         * nptl/tst-barrier3.c: Likewise.
7614         * nptl/tst-barrier4.c: Likewise.
7615         * nptl/tst-barrier5.c: Likewise.
7617 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7619         [BZ #18868]
7620         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7622 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7626         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7627         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7628         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7629         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7630         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7631         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7632         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7633         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7634         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7636 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7638         [BZ #13065]
7639         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7640         new implementation.
7641         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7642         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7643         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7644         (BARRIER_IN_THRESHOLD): New macro.
7645         * nptl/pthread_barrierattr_setpshared.c
7646         (pthread_barrierattr_setpshared): Clean up.
7647         * nptl/tst-barrier4.c: Correct comment.
7648         * nptl/tst-barrier5.c: New file.
7649         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7650         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7651         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7652         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7653         * nptl/lowlevelbarrier.sym: Remove.
7654         * nptl/DESIGN-barrier.txt: Remove.
7655         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7656         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7657         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7658         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7659         error.
7660         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7661         implementation.
7663 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7665         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7666         (do_child): Mask SIGRTMIN while thr is running.
7668 2016-01-15  Martin Sebor  <msebor@redhat.com>
7670         [BZ #19432]
7671         * iconvdata/Makefile: Add bug-iconv11.
7672         * iconvdata/bug-iconv11.c: New test.
7673         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7674         * iconvdata/ibm933.c: Same.
7675         * iconvdata/ibm935.c: Same.
7676         * iconvdata/ibm937.c: Same.
7677         * iconvdata/ibm939.c: Same.
7679 2016-01-15  Martin Sebor  <msebor@redhat.com>
7681         [BZ #19443]
7682         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7683         [DEBUG] (_ufc_set_bits): Declare used.
7684         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7685         [DEBUG] (print_all): Declare used.
7686         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7687         operands of the ternary ?: expression to target type.
7688         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7689         calling the undeclared abort.
7690         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7692 2016-01-15  Martin Sebor  <msebor@redhat.com>
7694         [BZ #18755]
7695         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7696         warnings.
7697         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7698         (__gai_create_helper_thread): Same.
7699         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7700         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7701         to suppress -Wmaybe-uninitialized warnings.
7703 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7705         [BZ #19465]
7706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7707         inside if.
7708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7709         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7712 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7714         [BZ #19466]
7715         * time/tst-mktime2.c (time_t_max): Removed.
7716         (time_t_min): Likewise.
7717         (TYPE_SIGNED): New.
7718         (TYPE_MINIMUM): Likewise.
7719         (TYPE_MAXIMUM): Likewise.
7720         (TIME_T_MIN): Likewise.
7721         (TIME_T_MAX): Likewise.
7722         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7723         and TIME_T_MIN.
7724         (do_test): Likewise.
7726 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7728         [BZ #19467]
7729         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7730         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7732 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7734         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7736 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7738         * benchtests/Makefile (PYTHON): Define.
7739         (bench-func): Use $(PYTHON) to run python scripts.
7740         ($(objpfx)bench-%.c): Likewise.
7742 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7744         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7745         leading slash when `file_name' is "/".
7747 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7749         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7750         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7751         Likewise.
7752         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7753         Likewise.
7754         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7755         Likewise.
7756         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7757         enum constant and macro.
7758         (PTRACE_SETSIGMASK): Likewise.
7759         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7760         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7761         (PTRACE_GETSIGMASK): Likewise.
7762         (PTRACE_SETSIGMASK): Likewise.
7763         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7764         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7765         Likewise.
7766         (PTRACE_SETSIGMASK): Likewise.
7767         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7768         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7769         (PTRACE_GETSIGMASK): Likewise.
7770         (PTRACE_SETSIGMASK): Likewise.
7771         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7773         Likewise.
7774         (PTRACE_SETSIGMASK): Likewise.
7775         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7777         Likewise.
7778         (PTRACE_SETSIGMASK): Likewise.
7779         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7780         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7781         Likewise.
7782         (PTRACE_SETSIGMASK): Likewise.
7783         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7785 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7786             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7788         [BZ #19439]
7789         * math/bits/mathcalls.h
7790         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7791         prototype.
7792         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7794 2016-01-11  Andreas Schwab  <schwab@suse.de>
7796         [BZ #19253]
7797         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7798         cache when TZDEFRULES was used.
7799         * time/tst-tzname.c: New file.
7800         * time/Makefile (test): Add tst-tzname.
7801         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7802         * timezone/Makefile (test-zones): Add $(posixrules-file).
7803         ($(testdata)/$(posixrules-file)): New rule.
7805 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7807         Fix doc quoting problems with Texinfo 5
7808         Without this change, in the info file output, Texinfo 5 quotes code
7809         in text with undirected single quotes 'like this' and generates
7810         code examples that with many PDF readers cannot be cut out of PDFs
7811         and pasted into code.
7812         * manual/libc.texinfo: Configure the libc manual like the GNU
7813         Emacs manual, by using @documentencoding and setting
7814         txicodequoteundirected and txicodequotebacktick.  This way,
7815         Texinfo 5 quotes code in text with directed single quotes ‘like
7816         this’ and produces examples that can be cut out of PDFs.  This
7817         change causes Texinfo 5 to generate info files that contain UTF-8
7818         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7819         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7821 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7823         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7824         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7825         barriers to their respective compiler built-ins.
7826         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7827         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7828         * sysdeps/powerpc/sysdep.h: Likewise.
7829         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7830         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7831         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7833 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7835         * scripts/config.guess: Revert previous shebang change.
7836         * scripts/config.sub: Likewise.
7837         * scripts/mkinstalldirs: Likewise.
7839 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7841         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7842         PPC_FEATURE2_HAS_IEEE128.
7843         * sysdeps/powerpc/dl-procinfo.c:
7844         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7846 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7848         [BZ #19415]
7849         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7850         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7851         (_dl_lookup_address): Rewrite using function resolver trampoline.
7852         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7853         two bits in address.
7855 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7857         * longlong.h: Change !__SHMEDIA__ to
7858         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7859         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7861 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7862             Joseph Myers  <joseph@codesourcery.com>
7863             Mark Shinwell  <shinwell@codesourcery.com>
7864             Andrew Stubbs  <ams@codesourcery.com>
7865             Rich Felker <dalias@libc.org>
7867         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7869 2016-01-07  Richard Henderson  <rth@redhat.com>
7871         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7873 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7875         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7876         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7877         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7878         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7879         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7881 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7882             Joseph Myers  <joseph@codesourcery.com>
7884         * timezone/private.h: Update from tzcode 2015g.
7885         * timezone/tzfile.h: Likewise.
7886         * timezone/tzselect.ksh: Likewise.
7887         * timezone/zdump.c: Likewise.
7888         * timezone/zic.c: Likewise.
7889         * timezone/ialloc.c: Remove file.
7890         * timezone/scheck.c: Likewise.
7891         * timezone/Makefile (extra-objs): Remove variable.
7892         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7893         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7894         -Wno-maybe-uninitialized.
7895         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7896         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7897         (CFLAGS-ialloc.c): Remove variable.
7898         (CFLAGS-scheck.c): Likewise.
7899         * timezone/README: Update list of files from tzcode.
7901 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7903         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7904         instead of __fxprintf when _LIBC is undefined.
7906 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7908         * catgets/test-gencat.sh: Remove space after shebang.
7909         * conform/GlibcConform.pm: Likewise.
7910         * conform/check-header-lists.sh: Likewise.
7911         * conform/conformtest.pl: Likewise.
7912         * conform/linknamespace.pl: Likewise.
7913         * conform/list-header-symbols.pl: Likewise.
7914         * debug/catchsegv.sh: Likewise.
7915         * elf/genrtldtbl.awk: Likewise.
7916         * elf/tst-pathopt.sh: Likewise.
7917         * elf/tst-rtld-load-self.sh: Likewise.
7918         * grp/tst_fgetgrent.sh: Likewise.
7919         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7920         * iconvdata/gen-8bit-gap.sh: Likewise.
7921         * iconvdata/gen-8bit.sh: Likewise.
7922         * iconvdata/run-iconv-test.sh: Likewise.
7923         * intl/tst-gettext.sh: Likewise.
7924         * intl/tst-gettext2.sh: Likewise.
7925         * intl/tst-gettext4.sh: Likewise.
7926         * intl/tst-gettext6.sh: Likewise.
7927         * intl/tst-translit.sh: Likewise.
7928         * io/ftwtest-sh: Likewise.
7929         * libio/test-freopen.sh: Likewise.
7930         * locale/gen-translit.pl: Likewise.
7931         * malloc/tst-mtrace.sh: Likewise.
7932         * manual/check-safety.sh: Likewise.
7933         * manual/libc-texinfo.sh: Likewise.
7934         * manual/tsort.awk: Likewise.
7935         * manual/xtract-typefun.awk: Likewise.
7936         * nptl/tst-cancel-wrappers.sh: Likewise.
7937         * nptl/tst-tls6.sh: Likewise.
7938         * posix/globtest.sh: Likewise.
7939         * posix/tst-getconf.sh: Likewise.
7940         * posix/wordexp-tst.sh: Likewise.
7941         * scripts/check-c++-types.sh: Likewise.
7942         * scripts/check-local-headers.sh: Likewise.
7943         * scripts/config.guess: Likewise.
7944         * scripts/config.sub: Likewise.
7945         * scripts/cpp: Likewise.
7946         * scripts/cross-test-ssh.sh: Likewise.
7947         * scripts/documented.sh: Likewise.
7948         * scripts/evaluate-test.sh: Likewise.
7949         * scripts/gen-libc-abis: Likewise.
7950         * scripts/gen-sorted.awk: Likewise.
7951         * scripts/list-fixed-bugs.py: Likewise.
7952         * scripts/merge-test-results.sh: Likewise.
7953         * scripts/mkinstalldirs: Likewise.
7954         * scripts/rellns-sh: Likewise.
7955         * scripts/test-installation.pl: Likewise.
7956         * scripts/update-copyrights: Likewise.
7957         * stdio-common/tst-printf.sh: Likewise.
7958         * stdio-common/tst-unbputc.sh: Likewise.
7959         * stdlib/tst-fmtmsg.sh: Likewise.
7960         * stdlib/tst-setcontext3.sh: Likewise.
7961         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7962         * sysdeps/unix/make-syscalls.sh: Likewise.
7964 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7966         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7967         asm stw with atomic_exchange_rel.  Add explanatory comment.
7968         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7969         Likewise.
7971 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7973         [BZ #19122]
7974         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7975         * sysdeps/generic/dl-unistd.h: New file.
7976         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7978 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7980          [BZ #19122]
7981          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7982          * sysdeps/generic/dl-mman.h: New file.
7983          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7985 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7987         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7988         trailing whitespace removed.
7989         * scripts/config.guess: Update to version 2016-01-01.
7990         * scripts/config.sub: Update to version 2016-01-01.
7991         * scripts/move-if-change: Update from gnulib.
7993 2016-01-04  Anton Blanchard  <anton@samba.org>
7995         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7996         for array indices.
7997         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7999 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8001         * NEWS: Update copyright dates.
8002         * catgets/gencat.c (print_version): Likewise.
8003         * csu/version.c (banner): Likewise.
8004         * debug/catchsegv.sh: Likewise.
8005         * debug/pcprofiledump.c (print_version): Likewise.
8006         * debug/xtrace.sh (do_version): Likewise.
8007         * elf/ldconfig.c (print_version): Likewise.
8008         * elf/ldd.bash.in: Likewise.
8009         * elf/pldd.c (print_version): Likewise.
8010         * elf/sotruss.sh: Likewise.
8011         * elf/sprof.c (print_version): Likewise.
8012         * iconv/iconv_prog.c (print_version): Likewise.
8013         * iconv/iconvconfig.c (print_version): Likewise.
8014         * locale/programs/locale.c (print_version): Likewise.
8015         * locale/programs/localedef.c (print_version): Likewise.
8016         * login/programs/pt_chown.c (print_version): Likewise.
8017         * malloc/memusage.sh (do_version): Likewise.
8018         * malloc/memusagestat.c (print_version): Likewise.
8019         * malloc/mtrace.pl: Likewise.
8020         * manual/libc.texinfo: Likewise.
8021         * nptl/version.c (banner): Likewise.
8022         * nscd/nscd.c (print_version): Likewise.
8023         * nss/getent.c (print_version): Likewise.
8024         * nss/makedb.c (print_version): Likewise.
8025         * posix/getconf.c (main): Likewise.
8026         * scripts/test-installation.pl: Likewise.
8027         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8029         * All files with FSF copyright notices: Update copyright dates
8030         using scripts/update-copyrights.
8031         * intl/plural.c: Regenerated.
8032         * locale/programs/charmap-kw.h: Likewise.
8033         * locale/programs/locfile-kw.h: Likewise.
8035 2016-01-02  Helge Deller  <deller@gmx.de>
8037         [BZ #19285]
8038         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8039         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8040         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8041         (MADV_xxK_PAGES): Remove.
8043 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8045         [BZ #15421]
8046         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8047         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8048         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8049         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8051 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8053         [BZ #19408]
8054         * sysdeps/unix/sysv/linux/personality.c: New file.
8055         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8056         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8057         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8058         (sysdep_routines): Add personality.
8059         (tests): Add tst-personality.
8060         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8061         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8062         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8063         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8064         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8065         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8066         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8067         Likewise.
8068         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8069         Likewise.
8070         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8071         Likewise.
8072         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8073         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8074         Likewise.
8076 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8078         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8079         (PATH_ARM_SYSTYPE): Remove.
8080         (PATH_CPUINFO): Likewise.
8081         (IO_BASE_FOOTBRIDGE): Likewise.
8082         (IO_SHIFT_FOOTBRIDGE): Likewise.
8083         (struct platform): Likewise.
8084         (init_iosys): Remove compatibility code for 2.4 kernels.
8085         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8087 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8089         * malloc/tst-malloc-thread-fail.c: New file.
8090         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8091         (tst-malloc-thread-fail): Link against libpthread.
8093 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8095         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8096         (get_parser): New function.
8097         (main): New function.
8099 2015-12-29  Rob Wu  <rob@robwu.nl>
8101         [BZ #19369]
8102         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8104 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8106         [BZ #19270]
8107         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8109 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8111         [BZ #15421]
8112         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8114 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8116         [BZ #13690]
8117         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8118         after releasing it.
8119         (__lll_robust_unlock): Likewise.
8120         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8121         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8122         (lll_robust_unlock): Likewise.
8123         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8124         Prevent warnings in callers.
8126 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8128         * malloc/arena.c (list_lock): Update comment.
8130 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8132         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8133         __parse_hwcap_and_convert_at_platform to libc.a.
8135 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8137         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8138         platform and feature support for POWER9.
8139         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8140         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8141         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8142         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8143         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8144         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8145         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8146         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8148 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8150         Harmonize generic stdio-lock support with nptl
8152         This fixes build when _IO_funlockfile is a macro, fixes build where
8153         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8154         stack unwind.
8156         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8157         _IO_release_lock ): Use cleanup attribute on new
8158         _IO_acquire_lock_file variable instead of assuming that
8159         _IO_release_lock will be called.
8160         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8161         _IO_acquire_lock_needs_exceptions_enabled.
8162         (_IO_acquire_lock_clear_flags2): New macro.
8164 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8166         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8168 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8170         [BZ #19182]
8171         * malloc/arena.c (list_lock): Document lock ordering requirements.
8172         (free_list_lock): New lock.
8173         (ptmalloc_lock_all): Comment on free_list_lock.
8174         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8175         (detach_arena): Update comment.  free_list_lock is now needed.
8176         (_int_new_arena): Use free_list_lock around detach_arena call.
8177         Acquire arena lock after list_lock.  Add comment, including FIXME
8178         about incorrect synchronization.
8179         (get_free_list): Switch to free_list_lock.
8180         (reused_arena): Acquire free_list_lock around detach_arena call
8181         and attached threads counter update.  Add two FIXMEs about
8182         incorrect synchronization.
8183         (arena_thread_freeres): Switch to free_list_lock.
8184         * malloc/malloc.c (struct malloc_state): Update comments to
8185         mention free_list_lock.
8187 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8189         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8190         Remove functions.
8191         (sloww, sloww1): Accept argument to offset quadrant.
8192         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8193         quadrant.
8194         (__sin, __cos): Consolidate common code into new functions.
8195         (reduce_sincos_1, do_sincos_1): New functions.
8196         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8199         code to new functions.
8200         (reduce_sincos_2, do_sincos_2): New functions.
8201         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8204         common code for sincos.
8205         (__cos) [!IN_SINCOS]: Likewise.
8206         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8207         New function.
8208         (__sincos): Use it.
8210 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8212         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8213         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8214         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8216 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8218         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8221         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8222         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8223         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8224         index_Prefer_No_VZEROUPPER): New feature.
8225         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8226         Prefer_No_VZEROUPPER for Knights Landing.
8228 015-12-18  Torvald Riegel  <triegel@redhat.com>
8230         * math/atest-exp2.c (mp_exp_m1): Remove.
8232 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8234         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8235         syscalls.
8236         (__SYSCALL0): New macro.
8237         (__SYSCALL1): Likewise.
8238         (__SYSCALL2): Likewise.
8239         (__SYSCALL3): Likewise.
8240         (__SYSCALL4): Likewise.
8241         (__SYSCALL5): Likewise.
8242         (__SYSCALL6): Likewise.
8243         (__SYSCALL_CONCAT_X): Likewise.
8244         (__SYSCALL_CONCAT): Likewise.
8245         (__SYSCALL_DIST): Likewise.
8246         (__SYSCALL_CALL): Likewise.
8248 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8250         [BZ #19363]
8251         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8253 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8255         [BZ #19375]
8256         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8257         negative subnormals.
8259 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8262         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8263         (INTERNAL_SYSCALL_NCS): Use it.
8264         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8266 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8268         [BZ #19243]
8269         * malloc/arena.c (get_free_list): Remove assert and adjust
8270         reference count handling.  Add comment about reused_arena
8271         interaction.
8272         (reused_arena): Add comments abount get_free_list interaction.
8273         * malloc/tst-malloc-thread-exit.c: New file.
8274         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8275         (tst-malloc-thread-exit): Link against libpthread.
8277 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8279         [BZ #19367]
8280         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8281         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8282         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8283         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8284         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8286 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8288         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8289         Silvermont optimizations for Knights Landing.
8291 2015-12-15  Andreas Schwab  <schwab@suse.de>
8293         [BZ #17197]
8294         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8295         immediately after emitting SI.
8296         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8297         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8298         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8299         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8300         * iconvdata/bug-iconv10.c: New file.
8301         * iconvdata/Makefile (tests): Add bug-iconv10.
8302         ($(objpfx)bug-iconv10.out): New rule.
8304 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8306         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8307         aliasing violation.
8309 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8311         [BZ #18472]
8312         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8313         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8314         conditionals for them.
8315         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8316         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8318         sys/kdaemon.h.
8319         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8320         compat-only syscall, obsoleted in glibc 2.23.
8321         (create_module): Likewise.
8322         (get_kernel_syms): Likewise.
8323         (query_module): Likewise.
8324         (uselib): Likewise.
8325         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8327 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8329         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8330         <linux/version.h>.
8331         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8332         conditional code.
8333         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8334         and ioshift_name initialization.
8336 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8338         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8339         Fix indentation.
8341 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8343         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8345 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8347         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8349 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8350             Jakub Wilk  <jwilk@debian.org>
8352         [BZ #19347]
8353         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8354         to change the group of the device to the tty group.
8356 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8358         Split large string section; add truncation advice
8359         * manual/examples/strncat.c: Remove.
8360         This example was misleading, as the code would have undefined
8361         behavior if "hello" was longer than SIZE.  Anyway, the manual
8362         shouldn't encourage strncpy+strncat for this sort of thing.
8363         * manual/string.texi (Copying Strings and Arrays): Split into
8364         three sections Copying Strings and Arrays, Concatenating Strings,
8365         and Truncating Strings, as this section was way too long.  All
8366         cross-referenced changed.  Add advice about string-truncation
8367         functions.  Remove misleading strncat example.
8369 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8371         * manual/nss.texi (NSS Modules Interface): Document
8372         NSS_STATUS_NOTFOUND and SUCCESS.
8374 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8376         [BZ 18568]
8377         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8378         201505L, for Unicode 8.
8380 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8382         * locale/C-translit.h: Regenerate.
8384 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8386         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8387         and U+0153.
8389 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8391         [BZ #19351]
8392         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8393         expanding log(1+z), compare z rather than its square with epsilon
8394         to determine when to avoid evaluating the expansion.
8396         [BZ #19350]
8397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8398         Increase overflow threshold.
8400         [BZ #19349]
8401         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8402         when small.
8404         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8405         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8406         New macro.
8407         [__LINUX_KERNEL_VERSION >= 0x040300]
8408         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8410         Likewise.
8411         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8412         Likewise.
8413         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8414         Likewise.
8415         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8416         Likewise.
8417         [__LINUX_KERNEL_VERSION >= 0x040300]
8418         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8419         [__LINUX_KERNEL_VERSION >= 0x040300]
8420         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8421         [__LINUX_KERNEL_VERSION >= 0x040300]
8422         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8423         [__LINUX_KERNEL_VERSION >= 0x040300]
8424         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8425         [__LINUX_KERNEL_VERSION >= 0x040300]
8426         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8427         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8428         Likewise.
8429         [__LINUX_KERNEL_VERSION >= 0x040300]
8430         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8431         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8432         Likewise.
8433         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8434         Likewise.
8435         [__LINUX_KERNEL_VERSION >= 0x040300]
8436         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8437         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8438         Likewise.
8439         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8440         Likewise.
8441         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8442         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8443         Likewise.
8444         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8445         Likewise.
8446         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8447         Likewise.
8448         [__LINUX_KERNEL_VERSION >= 0x040300]
8449         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8451         Likewise.
8452         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8453         Likewise.
8454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8455         Likewise.
8456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8457         Likewise.
8458         [__LINUX_KERNEL_VERSION >= 0x040300]
8459         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8460         [__LINUX_KERNEL_VERSION >= 0x040300]
8461         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8462         [__LINUX_KERNEL_VERSION >= 0x040300]
8463         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8464         [__LINUX_KERNEL_VERSION >= 0x040300]
8465         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8466         [__LINUX_KERNEL_VERSION >= 0x040300]
8467         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8469         Likewise.
8470         [__LINUX_KERNEL_VERSION >= 0x040300]
8471         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8473         Likewise.
8474         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8475         Likewise.
8476         [__LINUX_KERNEL_VERSION >= 0x040300]
8477         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8479         Likewise.
8480         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8481         Likewise.
8482         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8483         (__ASSUME_SOCKET_SYSCALL): Likewise.
8484         (__ASSUME_BIND_SYSCALL): Likewise.
8485         (__ASSUME_CONNECT_SYSCALL): Likewise.
8486         (__ASSUME_LISTEN_SYSCALL): Likewise.
8487         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8488         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8489         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8490         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8491         (__ASSUME_SEND_SYSCALL): Likewise.
8492         (__ASSUME_SENDTO_SYSCALL): Likewise.
8493         (__ASSUME_RECV_SYSCALL): Likewise.
8494         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8495         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8496         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8497         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8498         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8499         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8500         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8501         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8502         Likewise.
8503         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8504         Likewise.
8505         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8506         Likewise.
8507         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8508         Likewise.
8509         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8510         Likewise.
8511         [__LINUX_KERNEL_VERSION >= 0x020625]
8512         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8513         [__LINUX_KERNEL_VERSION >= 0x020625]
8514         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8515         [__LINUX_KERNEL_VERSION >= 0x020625]
8516         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8517         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8518         Likewise.
8519         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8520         Likewise.
8521         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8522         Likewise.
8523         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8524         Likewise.
8525         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8526         Likewise.
8527         [__LINUX_KERNEL_VERSION >= 0x020625]
8528         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8529         [__LINUX_KERNEL_VERSION >= 0x020625]
8530         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8531         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8532         Likewise.
8533         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8534         Likewise.
8536 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8538         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8539         record the current if the current ABI and CPU support the FP64
8540         extension.
8541         (has-modd-spreg): Define to record the current if the current ABI and
8542         CPU support 32-bit floating point values in odd FPU registers.
8543         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8544         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8545         $(has-modd-spreg) equals yes.
8546         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8547         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8548         $(has-modd-spreg) equal yes.
8550 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8552         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8553         basename.
8555 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8557         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8558         (bench-string): ... here.
8559         (bench): Add bench-string.
8560         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8561         to *-benchset to reflect what they are.
8562         (benchset): Adjust.
8564         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8565         cos-inputs.
8567 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8569         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8570         __attribute__ ((__simd__)) for vector math function declarations.
8572 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8574         Fix typo in strncat, wcsncat manual entries
8575         * manual/string.texi (Copying and Concatenation): Fix typos in
8576         sample implementations of strncat and wcsncat, by having them use
8577         the old value of the destination length, not the new one.
8579 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8581         [BZ #16961]
8582         [BZ #16962]
8583         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8584         string on the stack for strtod.
8585         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8586         a string on the stack for strtof.
8587         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8588         constructing a string on the stack for strtold.
8589         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8590         __strtold_nan to GLIBC_PRIVATE.
8591         * math/test-nan-overflow.c: New file.
8592         * math/test-nan-payload.c: Likewise.
8593         * math/Makefile (tests): Add test-nan-overflow and
8594         test-nan-payload.
8596 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8598         Consistency about byte vs character in string.texi
8599         * manual/string.texi (String and Array Utilities):
8600         Distinguish more carefully among bytes, multibyte characters,
8601         and wide characters.  Use "byte" when talking about C 'char',
8602         to distinguish it more clearly from multibyte characters.
8603         Say "wide character" or "multibyte character" instead of
8604         "character", when a wide or multibyte character is intended.
8605         Similarly for "multibyte string" versus "string".
8606         Define these terms more carefully.
8608 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8610         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8611         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8612         Likewise.
8613         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8614         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8615         * sysdeps/sh/math_private.h: New file.
8616         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8617         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8618         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8619         long double function name.
8620         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8621         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8622         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8623         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8624         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8626         Remove __finitel, __isinfl, and __isnanl.
8627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8628         Likewise.
8629         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8631         Remove __finitel.
8632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8633         Likewise.
8634         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8636 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8638         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8639         installed libmvec_nonshared.a.
8641 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8643         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8644         (sysdep_routines): Likewise.
8645         (sysdep-rtld-routines): Likewise.
8646         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8647         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8648         * sysdeps/powerpc/Versions: Added new
8649         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8650         * sysdeps/powerpc/hwcapinfo.c: New file.
8651         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8652         and parse hwcap, hwcap2 and platform number information.
8653         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8654         to store HWCAP+HWCAP2 and platform number.
8655         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8656         for HWCAP+HWCAP2 and platform number in the TCB.
8657         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8658         the HWCAP, HWCAP2 and platform number in the TCB.
8659         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8660         (TLS_INIT_TP): Included calls to add the hwcap and
8661         at_platform values in the TCB in TP initialization.
8662         (TLS_DEFINE_INIT_TP): Likewise.
8663         (THREAD_GET_HWCAP): New macro.
8664         (THREAD_SET_HWCAP): Likewise.
8665         (THREAD_GET_AT_PLATFORM): Likewise.
8666         (THREAD_SET_AT_PLATFORM): Likewise.
8667         * sysdeps/powerpc/powerpc32/dl-machine.h:
8668         (dl_platform_init): New function that calls
8669         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8670         powerpc32.
8671         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8672         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8673         this functionality, static linking case.
8674         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8675         linking case.
8676         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8677         __parse_hwcap_and_convert_at_platform for the static linking case.
8678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8679         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8680         ABI list for GLIBC 2.23.
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8682         Likewise.
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8684         Likewise.
8686 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8688         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8689         * configure: Regenerate.
8690         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8691         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8693 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8695         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8696         * iconvdata/ibm933.c: Likewise.
8697         * iconvdata/ibm935.c: Likewise.
8698         * iconvdata/ibm937.c: Likewise.
8699         * iconvdata/ibm939.c: Likewise.
8701 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8703         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8704         pthread_join.
8705         * nptl/tst-cancel21.c (tf): Likewise.
8707 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8709         [BZ #19313]
8710         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8711         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8712         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8713         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8714         Likewise.
8715         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8716         Likewise.
8717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8718         Likewise.
8719         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8720         Likewise.
8721         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8722         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8723         unsigned long int with __CPU_MASK_TYPE.
8725 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8727         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8729 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8731         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8732         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8733         t512.x.
8734         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8736 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8738         [BZ #19214]
8739         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8740         argument to return extended model.  Update family and model
8741         with extended family and model when family == 0x0f.
8742         (init_cpu_features): Updated.
8744 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8746         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8747         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8749         * sysdeps/mach/hurd/mmap64.c: New file.
8751 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8753         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8754         rights for its main user thread in NEWTASK.
8756 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8758         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8759         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8761 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8763         [BZ #14259]
8764         * Makeconfig: Rename localedir to complocaledir.
8765         Rename inst_localedir to inst_complocaledir.
8766         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8767         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8768         * configure.ac: Use libc_cv_complocaledir.
8769         * configure: Regenerate.
8770         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8771         -DCOMPLOCALEDIR.
8772         * locale/findlocale.c: Use COMPLOCALEDIR.
8773         * locale/loadarchive.c: Likewise.
8774         * locale/programs/locale.c: Likewise.
8775         * locale/programs/localedef.c: Likewise.
8776         * locale/programs/locarchive.c: Likewise.
8777         * localedata/Makefile: Use inst_complocaledir.
8778         * sysdeps/gnu/configure: Regenerate.
8779         * sysdeps/hppa/configure: Regenerate.
8780         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8781         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8783         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8784         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8785         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8786         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8788 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8790         [BZ #19058]
8791         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8792         AS_NEEDED.
8793         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8794         workaround.
8795         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8796         libmvec-static-only-routines): Added new file.
8797         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8799 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8801         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8802         of interrupted RPC instead of restoring it.
8804         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8805         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8806         libc_hidden_def.
8807         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8808         into initialized data instead of common. Define rtld_hidden_data_def.
8809         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8810         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8811         libc_hidden_def.
8812         (if_freenameindex): Add libc_hidden_weak.
8813         (if_nameindex): Add libc_hidden_weak.
8814         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8815         __open64.
8816         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8817         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8818         * sysdeps/mach/nanosleep.c: Include <time.h>
8819         (__nanosleep): Rename to __libc_nanosleep.
8820         (__nanosleep): Add weak_alias.
8821         (nanosleep): Update alias.
8823 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8825         * stdlib/strtod_nan.c: New file.
8826         * stdlib/strtod_nan_double.h: Likewise.
8827         * stdlib/strtod_nan_float.h: Likewise.
8828         * stdlib/strtod_nan_main.c: Likewise.
8829         * stdlib/strtod_nan_narrow.h: Likewise.
8830         * stdlib/strtod_nan_wide.h: Likewise.
8831         * stdlib/strtof_nan.c: Likewise.
8832         * stdlib/strtold_nan.c: Likewise.
8833         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8834         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8835         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8836         * wcsmbs/wcstod_nan.c: Likewise.
8837         * wcsmbs/wcstof_nan.c: Likewise.
8838         * wcsmbs/wcstold_nan.c: Likewise.
8839         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8840         strtold_nan.
8841         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8842         wcstof_nan.
8843         * include/stdlib.h (__strtof_nan): Declare and use
8844         libc_hidden_proto.
8845         (__strtod_nan): Likewise.
8846         (__strtold_nan): Likewise.
8847         (__wcstof_nan): Likewise.
8848         (__wcstod_nan): Likewise.
8849         (__wcstold_nan): Likewise.
8850         * include/wchar.h (____wcstoull_l_internal): Declare.
8851         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8852         (____strtoull_l_internal): Remove declaration.
8853         (STRTOF_NAN): Define macro.
8854         (SET_MANTISSA): Remove macro.
8855         (STRTOULL): Likewise.
8856         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8857         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8858         (STRTOF_NAN): Define macro.
8859         (SET_MANTISSA): Remove macro.
8860         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8861         (SET_MANTISSA): Remove macro.
8862         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8863         macro.
8864         (SET_MANTISSA): Remove macro.
8865         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8866         macro.
8867         (SET_MANTISSA): Remove macro.
8868         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8869         (SET_MANTISSA): Remove macro.
8870         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8871         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8872         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8874         [BZ #19266]
8875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8876         upper case and lower case letters inside NAN(), not using TOLOWER.
8877         * stdlib/tst-strtod-nan-locale-main.c: New file.
8878         * stdlib/tst-strtod-nan-locale.c: Likewise.
8879         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8880         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8881         Depend on $(gen-locales).
8882         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8883         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8884         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8885         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8886         Depend on $(gen-locales).
8887         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8889 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8891         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8893         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8895         __finitel, __isinfl, and __isnanl.
8896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8897         Likewise.
8898         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8900         __finitel.
8901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8902         Likewise.
8903         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8905 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8907         * malloc/memusage.c (me): Remove redundant getenv call.
8909 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8911         [BZ #19143]
8912         [BZ #19164]
8913         * nptl/check-cpuset.h: Remove.
8914         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8915         Remove CPU set size check.
8916         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8917         Likewise.
8918         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8919         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8920         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8921         (__pthread_setaffinity_new): Remove CPU set size check.
8922         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8923         (__kernel_cpumask_size): Remove.
8924         (__sched_setaffinity_new): Remove CPU set size check.
8925         * manual/threads.texi (Default Thread Attributes): Remove stale
8926         reference to check_cpuset_attr, determine_cpumask_size in comment.
8927         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8928         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8929         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8930         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8931         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8932         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8933         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8934         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8935         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8936         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8937         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8938         skeleton test file.
8939         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8940         tst-affinity-pid.
8942 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8944         * scripts/update-abilist.sh: New file.
8945         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8946         * Makerules (update-all-abi-%, update-all-abi)
8947         (subdir_update-all-abi): New targets.
8948         * elf/Makefile (update-all-abi): New target.
8950 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8952         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8953         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8954         (__libc_lock_define_initialized): Use it.
8955         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8956         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8957         * malloc/malloc.c (main_arena): Likewise.
8958         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8959         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8961 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8963         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8964         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8965         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8966         (PTRACE_O_MASK): Update value.
8967         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8968         New value in enum __ptrace_setoptions.
8969         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8970         (PTRACE_O_MASK): Update value.
8971         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8972         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8973         (PTRACE_O_MASK): Update value.
8974         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8975         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8976         (PTRACE_O_MASK): Update value.
8977         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8978         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8979         (PTRACE_O_MASK): Update value.
8980         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8981         New value in enum __ptrace_setoptions.
8982         (PTRACE_O_MASK): Update value.
8983         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8984         New value in enum __ptrace_setoptions.
8985         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8986         (PTRACE_O_MASK): Update value.
8988         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8989         New macro.
8990         (PACKET_AUXDATA): Likewise.
8991         (PACKET_ORIGDEV): Likewise.
8992         (PACKET_VERSION): Likewise.
8993         (PACKET_HDRLEN): Likewise.
8994         (PACKET_RESERVE): Likewise.
8995         (PACKET_TX_RING): Likewise.
8996         (PACKET_LOSS): Likewise.
8997         (PACKET_VNET_HDR): Likewise.
8998         (PACKET_TX_TIMESTAMP): Likewise.
8999         (PACKET_TIMESTAMP): Likewise.
9000         (PACKET_FANOUT): Likewise.
9001         (PACKET_TX_HAS_OFF): Likewise.
9002         (PACKET_QDISC_BYPASS): Likewise.
9003         (PACKET_ROLLOVER_STATS): Likewise.
9004         (PACKET_FANOUT_DATA): Likewise.
9005         (PACKET_MR_UNICAST): Likewise.
9007         [BZ #19242]
9008         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9009         (TOUPPER): Likewise.
9010         * stdlib/tst-strtol-locale-main.c: New file.
9011         * stdlib/tst-strtol-locale.c: Likewise.
9012         * stdlib/Makefile (tests): Add tst-strtol-locale.
9013         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9014         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9015         Depend on $(gen-locales).
9016         * wcsmbs/tst-wcstol-locale.c: New file.
9017         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9018         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9019         tr_TR.ISO-8859-9.
9020         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9021         Depend on $(gen-locales).
9023 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9025         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9026         __glibc_likely instead of __builtin_expect.  After falling back to
9027         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9028         system interface to register the code pages as occupied.
9030 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9032         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9033         [!ARM_MATH_PRIVATE_H].
9034         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9035         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9036         [!HPPA_MATH_PRIVATE_H].
9037         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9038         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9039         to [!I386_MATH_PRIVATE_H].
9040         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9041         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9042         Change guard to [!M68K_MATH_PRIVATE_H].
9043         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9044         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9045         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9046         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9047         macro.
9048         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9049         [!MIPS_MATH_PRIVATE_H].
9050         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9051         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9052         [!NIO2_MATH_PRIVATE_H].
9053         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9054         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9055         [!TILE_MATH_PRIVATE_H].
9056         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9058         [BZ #15421]
9059         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9060         initialize with 0 and define as weak alias of __signgam.
9061         * include/math.h [!_ISOMAC] (__signgam): Declare.
9062         * math/Makefile (libm-calls): Add w_lgamma_compat.
9063         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9064         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9065         test-signgam-ullong-init.
9066         (tests-static): Add test-signgam-uchar-static,
9067         test-signgam-uchar-init-static, test-signgam-uint-static,
9068         test-signgam-uint-init-static, test-signgam-ullong-static and
9069         test-signgam-ullong-init-static.
9070         (CFLAGS-test-signgam-uchar.c): New variable.
9071         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9072         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9073         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9074         (CFLAGS-test-signgam-uint.c): Likewise.
9075         (CFLAGS-test-signgam-uint-init.c): Likewise.
9076         (CFLAGS-test-signgam-uint-static.c): Likewise.
9077         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9078         (CFLAGS-test-signgam-ullong.c): Likewise.
9079         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9080         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9081         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9082         * math/Versions (libm): Add GLIBC_2.23.
9083         * math/lgamma-compat.h: New file.
9084         * math/test-signgam-main.c: Likewise.
9085         * math/test-signgam-uchar-init-static.c: Likewise.
9086         * math/test-signgam-uchar-init.c: Likewise.
9087         * math/test-signgam-uchar-static.c: Likewise.
9088         * math/test-signgam-uchar.c: Likewise.
9089         * math/test-signgam-uint-init-static.c: Likewise.
9090         * math/test-signgam-uint-init.c: Likewise.
9091         * math/test-signgam-uint-static.c: Likewise.
9092         * math/test-signgam-uint.c: Likewise.
9093         * math/test-signgam-ullong-init-static.c: Likewise.
9094         * math/test-signgam-ullong-init.c: Likewise.
9095         * math/test-signgam-ullong-static.c: Likewise.
9096         * math/test-signgam-ullong.c: Likewise.
9097         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9098         wrapper of w_lgamma_main.c.
9099         * math/w_lgamma_compat.c: New file.
9100         * math/w_lgamma_compatf.c: Likewise.
9101         * math/w_lgamma_compatl.c: Likewise.
9102         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9103         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9104         defining compatibility symbols.
9105         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9106         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9107         wrapper of w_lgammaf_main.c.
9108         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9109         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9110         defining compatibility symbols.
9111         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9112         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9113         wrapper of w_lgammal_main.c.
9114         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9115         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9116         defining compatibility symbols.
9117         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9118         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9119         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9120         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9121         <lgamma-compat.h>.
9122         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9123         (__ieee754_gamma): Define as alias.
9124         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9125         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9126         <lgamma-compat.h>.
9127         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9128         (__ieee754_gammaf): Define as alias.
9129         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9130         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9131         <lgamma-compat.h>.
9132         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9133         (__ieee754_gammal): Define as alias.
9134         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9135         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9136         <math/w_lgamma_compat.c>.
9137         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9138         Define as alias of __lgamma_compat and use in defining lgammal.
9139         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9140         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9141         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9142         (USE_AS_COMPAT): New macro.
9143         (LGAMMA_OLD_VER): Undefine and redefine.
9144         (lgammal): Do not define here.
9145         (gammal): Only define here if [GAMMA_ALIAS].
9146         * conform/linknamespace.pl (@whitelist): Remove signgam.
9147         * sysdeps/nacl/libm.abilist: Update.
9148         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9151         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9152         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9153         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9154         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9155         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9157         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9159         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9161         Likewise.
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9163         Likewise.
9164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9165         Likewise.
9166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9167         Likewise.
9168         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9169         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9170         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9171         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9172         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9174         Likewise.
9175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9181 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9183         [BZ #16364]
9184         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9185         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9187 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9189         * sysdeps/s390/fpu/bits/mathinline.h:
9190         Use __asm__ [__volatile__] instead of asm [volatile].
9191         * sysdeps/s390/abort-instr.h: Likewise.
9192         * sysdeps/s390/atomic-machine.h: Likewise.
9193         * sysdeps/s390/bits/string.h: Likewise.
9194         * sysdeps/s390/dl-tls.h: Likewise.
9195         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9196         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9197         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9198         * sysdeps/s390/fpu/fesetround.c: Likewise.
9199         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9200         * sysdeps/s390/fpu/s_fma.c: Likewise.
9201         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9202         * sysdeps/s390/memusage.h: Likewise.
9203         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9204         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9205         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9206         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9207         * sysdeps/s390/nptl/tls.h: Likewise.
9208         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9209         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9210         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9211         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9212         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9213         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9214         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9215         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9216         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9217         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9218         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9219         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9220         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9221         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9222         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9223         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9224         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9225         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9226         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9227         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9228         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9230         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9232 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9233             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9235         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9236         Add lwarx hint, and use macro for acquire instruction.
9237         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9238         Likewise.
9239         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9240         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9241         update to use new atomic macros.
9243 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9245         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9246         (__lll_trylock_elision): Fix setting of adapt_count.
9247         * sysdeps/unix/sysv/linux/powerpc/htm.h
9248         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9249         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9250         (_ABORT_SYSCALL): Renumber, and clarify definition.
9251         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9253 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9255         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9256         after system headers to prevent MIN/MAX redefinition.  Define
9257         HAVE_ALLOCA to preserve builtin alloca usage.
9259 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9262         static and don't set or restore rounding.
9263         (__cos)[IN_SINCOS]: Likewise.
9264         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9265         (__sincos): Set and restore rounding mode.  Remove check for infinite
9266         or NaN input.
9268         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9270         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9271         as used.
9273 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9275         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9277 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9279         * config.make.in (have-glob-dat-reloc): New.
9280         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9281         target supports GLOB_DAT relocaton. AC_SUBST.
9282         * configure: Regenerated.
9283         * elf/Makefile (tests): Add tst-prelink.
9284         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9285         (tst-prelink-ENV): New.
9286         ($(objpfx)tst-prelink-conflict.out): Likewise.
9287         ($(objpfx)tst-prelink-cmp.out): Likewise.
9288         * sysdeps/x86/tst-prelink.c: Moved to ...
9289         * elf/tst-prelink.c: Here.
9290         * sysdeps/x86/tst-prelink.exp: Moved to ...
9291         * elf/tst-prelink.exp: Here.
9292         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9293         (tst-prelink-ENV): Removed.
9294         ($(objpfx)tst-prelink-conflict.out): Likewise.
9295         ($(objpfx)tst-prelink-cmp.out): Likewise.
9296         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9298 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9300         [BZ #14551]
9301         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9302         (__mpn_construct_long_double): If high part overflows to infinity,
9303         set errno and recompute overflowed result of the correct sign.
9304         * sysdeps/ieee754/ldbl-128ibm/Makefile
9305         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9306         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9307         $(libm).
9308         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9310 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9312         [BZ #15479]
9313         [BZ #19238]
9314         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9315         floating-point state after first operation on input.  Restore full
9316         state rather than just rounding mode.
9317         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9318         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9319         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9321         [BZ #19235]
9322         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9323         add 0.5 to integer arguments.
9324         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9325         Likewise.
9326         (.LC2): New object.
9328 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9330         * scripts/pylintrc (reports): Set to no.
9332 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9334         * elf/dl-load.c (open_verify): Take new argument FD.
9335         Skip __open call if passed FD is not -1.
9336         (_dl_map_object, open_path): Update callers.
9337         * elf/dl-sysdep-open.h: New file.
9338         * elf/dl-load.c: Include it.
9339         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9340         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9341         * sysdeps/nacl/dl-sysdep-open.h: New file.
9342         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9343         from libc to rtld.
9345 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9347         [BZ #19228]
9348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9349         and restore full floating-point state.
9350         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9351         Likewise.
9352         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9353         Likewise.
9354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9355         Likewise.
9356         * math/test-nearbyint-except-2.c: New file.
9357         * math/Makefile (tests): Add test-nearbyint-except-2.
9359 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9361         [BZ #19178]
9362         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9363         (tst-prelink-ENV): New.
9364         ($(objpfx)tst-prelink-conflict.out): Likewise.
9365         ($(objpfx)tst-prelink-cmp.out): Likewise.
9366         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9367         * sysdeps/x86/tst-prelink.c: New file.
9368         * sysdeps/x86/tst-prelink.exp: Likewise.
9370 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9372         * math/auto-libm-test-in: Add another test of pow.
9373         * math/auto-libm-test-out: Regenerated.
9374         * math/libm-test.inc (pow_test_data): Add another test.
9376 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9378         [BZ #19219]
9379         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9380         weak_alias to nearbyintl.
9382 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9384         * sysdeps/aarch64/bits/string.h: New file.
9385         (_STRING_ARCH_unaligned): Define.
9387 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9389         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9390         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9391         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9392         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9395 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9397         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9398         for original name of the DSO.  Add it to the name list of the DSO
9399         if it is actually given.
9400         (_dl_map_object): Keep track of whether an audit module rewrote
9401         the file name.  If yes, pass the original name to
9402         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9403         debugging is enabled, log the change of the file name.
9404         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9405         _dl_map_object_from_fd.
9406         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9407         * elf/tst-audit11.c: New file
9408         * elf/tst-auditmod11.c: New file.
9409         * elf/tst-audit11mod1.c: New file.
9410         * elf/tst-audit11mod2.c: New file.
9411         * elf/tst-audit11mod2.map: New file.
9412         * elf/tst-audit12.c: New file
9413         * elf/tst-auditmod12.c: New file.
9414         * elf/tst-audit12mod1.c: New file.
9415         * elf/tst-audit12mod2.c: New file.
9416         * elf/tst-audit12mod2.map: New file.
9417         * elf/tst-audit12mod3.c: New file.
9419 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9421         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9422         Don't create weak aliases,
9423         because versioned symbols are created later.
9424         * sysdeps/s390/s390-32/setjmp.S
9425         (setjmp, _setjmp): Remove weak and rename to an unique name
9426         in SHARED case due to existing versioned symbols.
9427         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9428         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9429         (getcontext): Create weak alias only in non SHARED case.
9430         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9432 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9434         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9435         (__ASSUME_*_SYSCALL) Define new macros.
9436         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9437         Remove socketcall syscalls.
9438         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9439         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9440         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9441         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9442         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9443         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9445 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9447         [BZ #12926]
9448         Terminate process on invalid netlink response.
9449         * sysdeps/unix/sysv/linux/netlinkaccess.h
9450         (__netlink_assert_response): Declare.
9451         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9452         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9453         (sysdep_routines): Add netlink_assert_response.
9454         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9455         __netlink_assert_response.
9456         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9457         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9458         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9459         __netlink_assert_response.
9461 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9463         [BZ #19178]
9464         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9465         (RTYPE_CLASS_PLT): Likewise.
9466         (RTYPE_CLASS_COPY): Likewise.
9467         (RTYPE_CLASS_TLS): Likewise.
9468         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9469         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9470         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9471         DL_DEBUG_PRELINK.
9473 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9475         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9476         calls with argument -0.5.
9477         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9479         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9480         (libc_cv_z_nodlopen): Likewise.
9481         (libc_cv_z_initfirst): Likewise.
9482         * configure: Regenerated.
9484 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9486         Simplify abilist format to be line-based.
9487         * scripts/abilist.awk: Collect descriptors in the descs variable.
9488         (emit): Write descs variable and sort it
9489         externally, with sort.
9490         * sysdeps/**/*.abilist: Convert to new format.
9492 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9494         [BZ #11460]
9495         * io/Makefile (routines): Add fts64.
9496         (tests): Add tst-fts and tst-fts-lfs.
9497         (CFLAGS-fts64.c): New.
9498         * io/Versions (GLIBC_2.23): New.
9499         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9500         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9501         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9502         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9503         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9504         (FTSENT64): Likewise.
9505         (fts64_children): Likewise.
9506         (fts64_close): Likewise.
9507         (fts64_open): Likewise.
9508         (fts64_read): Likewise.
9509         (fts64_set): Likewise.
9510         * io/fts64.c: New file.
9511         * io/tst-fts.c: New test.
9512         * io/tst-fts-lfs.c: Likewise.
9513         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9514         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9515         fts64_set.
9516         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9517         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9518         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9519         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9520         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9521         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9524         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9535         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9536         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9537         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9538         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9539         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9542         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9543         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9544         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9545         * sysdeps/wordsize-64/fts.c: New file.
9546         * sysdeps/wordsize-64/fts64.c: Likewise.
9547         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9548         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9549         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9550         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9552 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9554         * math/libm-test.inc (NON_FINITE): New macro.
9555         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9556         * math/gen-libm-test.pl (show_exceptions): Add argument
9557         $non_finite.
9558         (parse_args): Update call to show_exceptions.
9559         * math/test-math-finite.h: New file.
9560         * math/test-math-no-finite.h: Likewise.
9561         * math/test-double-finite.c: Likewise.
9562         * math/test-float-finite.c: Likewise.
9563         * math/test-ldouble-finite.c: Likewise.
9564         * math/test-double.c: Include "test-math-no-finite.h".
9565         * math/test-float.c: Include "test-math-no-finite.h".
9566         * math/test-ldouble.c: Include "test-math-no-finite.h".
9567         * math/test-math-inline.h (TEST_FINITE): New macro.
9568         * math/test-math-vector.h (TEST_FINITE): Likewise.
9569         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9570         (libm-tests): Add test-float-finite and test-double-finite.
9571         ($(objpfx)test-float-finite.o): New dependency on
9572         $(objpfx)libm-test.stmp.
9573         ($(objpfx)test-double-finite.o): Likewise.
9574         ($(objpfx)test-ldouble-finite.o): Likewise.
9575         (libm-test-no-inline-cflags): New variable.
9576         (libm-test-finite-cflags): Likewise.
9577         (CFLAGS-test-float-finite.c): Likewise.
9578         (CFLAGS-test-double-finite.c): Likewise.
9579         (CFLAGS-test-ldouble-finite.c): Likewise.
9580         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9581         (CFLAGS-test-double.c): Likewise.
9582         (CFLAGS-test-ldouble.c): Likewise.
9584 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9586         * io/fcntl.c (__fcntl): Add ... to prototype.
9587         * misc/ioctl.c (__ioctl): Likewise.
9588         * misc/syscall.c (syscall): Likewise.
9590 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9592         * scripts/list-fixed-bugs.py: New file.
9594         [BZ #19213]
9595         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9596         returned for argument 1.
9597         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9598         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9599         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9600         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9601         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9602         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9604         [BZ #19211]
9605         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9606         __USE_XOPEN], not if [!__USE_ISOC99].
9607         (lgammaf): Likewise.
9608         (lgammal): Likewise.
9609         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9610         (gammaf): Likewise.
9611         (gammal): Likewise.
9612         * math/test-signgam-finite-c11.c: New file.
9613         * math/test-signgam-finite-c99.c: Likewise.
9614         * math/test-signgam-finite.c: Likewise.
9615         * math/Makefile (tests): Add test-signgam-finite,
9616         test-signgam-finite-c99 and test-signgam-finite-c11.
9617         (CFLAGS-test-signgam-finite.c): New variable.
9618         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9619         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9621         [BZ #19212]
9622         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9623         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9624         500].
9625         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9626         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9627         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9628         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9629         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9630         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9631         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9632         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9633         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9634         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9636         [BZ #19209]
9637         * math/bits/math-finite.h (ldexp): Remove declaration.
9638         (ldexpf): Likewise.
9639         (ldexpl): Likewise.
9641         [BZ #19205]
9642         * math/bits/math-finite.h (acosf): Condition declaration on
9643         [__USE_ISOC99].
9644         (acosl): Likewise.
9645         (acoshf): Likewise.
9646         (acoshl): Likewise.
9647         (asinf): Likewise.
9648         (asinl): Likewise.
9649         (atan2f): Likewise.
9650         (atan2l): Likewise.
9651         (atanhf): Likewise.
9652         (atanhl): Likewise.
9653         (coshf): Likewise.
9654         (coshl): Likewise.
9655         (expf): Likewise.
9656         (expl): Likewise.
9657         (fmodf): Likewise.
9658         (fmodl): Likewise.
9659         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9660         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9661         (j0l): Likewise.
9662         (y0f): Likewise.
9663         (y0l): Likewise.
9664         (j1f): Likewise.
9665         (j1l): Likewise.
9666         (y1f): Likewise.
9667         (y1l): Likewise.
9668         (jnf): Likewise.
9669         (jnl): Likewise.
9670         (ynf): Likewise.
9671         (ynl): Likewise.
9672         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9673         (lgammal_r): Likewise.
9674         (__lgamma_r_finite): New declaration.
9675         (__lgammaf_r_finite): Likewise.
9676         (__lgammal_r_finite): Likewise.
9677         (lgamma): Use __lgamma_r_finite.
9678         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9679         __lgammaf_r_finite.
9680         (lgammal): Condition definition on [__USE_ISOC99].  Use
9681         __lgammal_r_finite.
9682         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9683         __lgamma_r_finite.
9684         (gammaf): Condition definition on [__USE_ISOC99].  Use
9685         __lgammaf_r_finite.
9686         (gammal): Condition definition on [__USE_ISOC99].  Use
9687         __lgammal_r_finite.
9688         (logf): Condition declaration on [__USE_ISOC99].
9689         (logl): Likewise.
9690         (log10f): Likewise.
9691         (log10l): Likewise.
9692         (ldexpf): Likewise.
9693         (ldexpl): Likewise.
9694         (powf): Likewise.
9695         (powl): Likewise.
9696         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9697         __USE_ISOC99].
9698         (remainderf): Condition declaration on [__USE_ISOC99].
9699         (remainderl): Likewise.
9700         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9701         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9702         (scalbl): Likewise.
9703         (sinhf): Condition declaration on [__USE_ISOC99].
9704         (sinhl): Likewise.
9705         (sqrtf): Likewise.
9706         (sqrtl): Likewise.
9708 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9710         * sysdeps/arm/atomic-machine.h
9711         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9712         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9713         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9714         Remove conditional code.
9715         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9716         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9717         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9718         Change conditional to [__ASSEMBLER__].
9719         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9720         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9721         [!__ASSEMBLER__].
9722         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9723         code.
9724         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9725         conditional macro definitions.
9726         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9727         (__arch_compare_and_exchange_val_16_acq): Likewise.
9728         (__arch_compare_and_exchange_val_32_acq): Likewise.
9729         (atomic_exchange_and_add): Likewise.
9730         (atomic_add): Likewise.
9731         (atomic_add_negative): Likewise.
9732         (atomic_add_zero): Likewise.
9733         (atomic_bit_set): Likewise.
9734         (atomic_bit_test_set): Likewise.
9735         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9736         code unconditional.
9737         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9739         * math/test-math-errno.h: New file.
9740         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9741         empty.
9742         (TEST_ERRNO): New macro.
9743         (TEST_EXCEPTIONS): Likewise.
9744         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9745         (TEST_EXCEPTIONS): Likewise.
9746         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9747         * math/test-double.c: Include "test-math-errno.h".
9748         * math/test-float.c: Likewise.
9749         * math/test-ldouble.c: Likewise.
9750         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9751         code unconditional.
9752         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9753         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9754         unconditional.
9755         (test_errno): Only run code if TEST_ERRNO.
9756         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9758 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9760         * nptl/tst-once5.cc: Remove attribution.
9762 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9764         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9765         sqrt, tan, tanh, y0, y1 and yn.
9766         * math/auto-libm-test-out: Regenerated.
9767         * math/libm-test.inc (scalb_test_data): Add more tests.
9768         (scalbn_test_data): Likewise.
9769         (scalbln_test_data): Likewise.
9770         (signbit_test_data): Likewise.
9771         (sin_test_data): Likewise.
9772         (sincos_test_data): Likewise.
9773         (sinh_test_data): Likewise.
9774         (sqrt_test_data): Likewise.
9775         (tan_test_data): Likewise.
9776         (tanh_test_data): Likewise.
9777         (tgamma_test_data): Likewise.
9778         (y0_test_data): Likewise.
9779         (y1_test_data): Likewise.
9780         (yn_test_data): Likewise.
9781         (significand_test_data): Likewise.
9782         * sysdeps/i386/fpu/libm-test-ulps: Update.
9784 2015-11-03  David Kastrup  <dak@gnu.org>
9786         [BZ #18604]
9787         * assert/assert.h (assert): Don't macro-expand failed assertion
9788         expression in error message.
9789         * malloc/malloc.c (assert): Likewise.
9791 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9793         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9794         test.
9795         * configure: Regenerated.
9797 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9799         * math/libm-test.inc (modf_test_data): Add more tests.
9800         (nearbyint_test_data): Likewise.
9801         (nextafter_test_data): Likewise.
9802         (nexttoward_test_data): Likewise.
9803         (pow_test_data): Likewise.
9804         (remainder_test_data): Likewise.
9805         (remquo_test_data): Likewise.
9806         (rint_test_data): Likewise.
9808         [BZ #19201]
9809         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9810         Check for zero remainder in case of large exponents and ensure
9811         correct sign of result in that case.
9812         * math/libm-test.inc (remainder_test_data): Add more tests.
9814         [BZ #6799]
9815         * math/s_nextafter.c: Include <errno.h>.
9816         (__nextafter): Set errno on overflow and underflow.
9817         * math/s_nexttowardf.c: Include <errno.h>.
9818         (__nexttowardf): Set errno on overflow and underflow.
9819         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9820         (__nextafterl): Set errno on overflow and underflow.
9821         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9822         (__nexttoward): Set errno on overflow and underflow.
9823         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9824         (__nexttowardf): Set errno on overflow and underflow.
9825         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9826         (__nextafterf): Set errno on overflow and underflow.
9827         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9828         (__nextafterl): Set errno on overflow and underflow.
9829         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9830         (__nexttoward): Set errno on overflow and underflow.
9831         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9832         (__nexttowardf): Set errno on overflow and underflow.
9833         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9834         (__nextafterl): Set errno on overflow and underflow.
9835         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9836         (__nexttoward): Set errno on overflow and underflow.
9837         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9838         (__nexttowardf): Set errno on overflow and underflow.
9839         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9840         (__nexttoward): Set errno on overflow and underflow.
9841         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9842         (__nexttowardf): Set errno on overflow and underflow.
9843         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9844         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9845         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9846         (__nextafterl): Set errno on overflow and underflow.
9847         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9848         setting to be missing on overflow.  Add more tests.
9849         (nexttoward_test_data): Likewise.
9851         * configure.ac (libc_cv_initfini_array): Remove configure test.
9852         * configure: Regenerated.
9854 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9856         [BZ #19189]
9857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9858         non-finite argument handle arguments with negative sign.
9860         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9861         result from infinite argument.
9862         (j1_test_data): Likewise.
9863         (jn_test_data): Likewise.
9864         (y0_test_data): Likewise.
9865         (y1_test_data): Likewise.
9866         (yn_test_data): Likewise.
9868         [BZ #16171]
9869         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9870         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9871         * math/w_remainderf.c (dremf): Define as weak alias of
9872         __remainderf.
9873         * math/w_remainderl.c (dreml): Define as weak alias of
9874         __remainderl.
9875         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9876         __remainder.
9877         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9878         __remainderf.
9879         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9880         __remainderl.
9881         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9882         weak alias of remainderl.
9883         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9884         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9885         alias of __remainder.
9886         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9887         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9888         strong alias of __remainderl.
9889         (dreml): Use long_double_symbol.
9890         * math/Makefile (libm-calls): Remove w_drem.
9891         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9892         (CFLAGS-nldbl-drem.c): Remove variable.
9893         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9894         * math/w_drem.c: Remove file.
9895         * math/w_dremf.c: Likewise.
9896         * math/w_dreml.c: Likewise.
9897         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9898         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9899         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9901         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9902         * sysdeps/i386/configure: Regenerated.
9903         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9904         * sysdeps/x86_64/configure: Regenerated.
9906         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9907         test.
9908         (libc_cv_visibility_attribute): Likewise.
9909         (libc_cv_protected_data): Test unconditionally.
9910         (libc_cv_broken_visibility_attribute): Remove configure test.
9911         (libc_cv_have_sdata_section): Test unconditionally.
9912         * configure: Regenerated.
9914         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9915         * include/scratch_buffer.h: Include <stddef.h> instead of
9916         <libc-internal.h>.
9917         (struct scratch_buffer): Use max_align_t instead of
9918         libc_max_align_t.
9920 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9922         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9923         instead of extend_alloca.  Change control flow to avoid a goto.
9924         Remove assert which is trivially always true.
9926 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9928         [BZ #16068]
9929         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9930         (FE_ALL_EXCEPT_X86): New macro.
9931         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9932         FE_ALL_EXCEPT.  Ensure precision control is included in
9933         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9934         handle "denormal operand exception" and clear FZ and DAZ bits.
9935         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9936         (FE_ALL_EXCEPT_X86): New macro.
9937         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9938         FE_ALL_EXCEPT.  Ensure precision control is included in
9939         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9940         handle "denormal operand exception" and clear FZ and DAZ bits.
9941         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9942         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9943         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9944         test-fenv-x87 and test-fenv-sse-2.
9945         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9947         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9948         * math/test-double.h (BUILD_COMPLEX): New macro.
9949         * math/test-float.h (BUILD_COMPLEX): Likewise.
9950         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9952         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9953         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9954         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9955         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9956         instead of DBL_DENORM_MIN in comment.
9957         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9958         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9959         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9960         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9961         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9962         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9964 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9966         [BZ# 19048]
9967         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9968         attached_threads member.
9969         (main_arena): Initialize attached_threads.
9970         * malloc/arena.c (list_lock): Update comment.
9971         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9972         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9973         (deattach_arena): New function.
9974         (_int_new_arena): Initialize arena reference count and deattach
9975         replaced arena.
9976         (get_free_list, reused_arena): Update reference count and deattach
9977         replaced arena.
9978         (arena_thread_freeres): Update arena reference count and only put
9979         unreferenced arenas on the free list.
9981 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9983         [BZ #19181]
9984         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9985         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9986         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9987         * math/test-fenv-clear-main.c: New file.
9988         * math/test-fenv-clear.c: Likewise.
9989         * math/Makefile (tests): Add test-fenv-clear.
9990         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9991         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9992         test-fenv-clear-sse.
9993         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9995         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9996         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9997         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9999 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10001         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10002         static libc.
10004 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10006         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10007         test.
10008         * sysdeps/i386/configure: Regenerated.
10009         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10010         test.
10011         * sysdeps/x86_64/configure: Regenerated.
10012         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10014         memset-avx2 unconditionally instead of conditionally on
10015         [$(config-cflags-avx2) = yes].
10016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10017         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10018         unconditional.
10019         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10020         * sysdeps/x86_64/multiarch/memset_chk.S
10021         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10022         to [IS_IN (libc) && SHARED].
10024 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10026         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10027         configure test.
10028         * sysdeps/arm/configure: Regenerated.
10029         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10030         Define variable if not already defined.
10032         [BZ #17404]
10033         * sysdeps/mips/atomic-machine.h
10034         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10035         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10036         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10038         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10039         unconditional.
10040         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10041         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10042         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10043         unconditional.
10044         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10045         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10046         unconditional.
10047         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10048         * stdlib/setenv.c
10049         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10050         code unconditional.
10051         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10052         Remove conditional code.
10053         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10054         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10055         unconditional.
10056         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10057         code.
10058         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10059         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10060         unconditional.
10061         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10062         code.
10063         * sysdeps/ieee754/ldbl-128/k_tanl.c
10064         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10065         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10066         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10067         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10068         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10069         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10070         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10071         unconditional.
10072         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10073         code.
10074         * sysdeps/ieee754/ldbl-96/k_tanl.c
10075         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10076         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10078         * nptl/tst-initializers1-c11.c: New file.
10079         * nptl/tst-initializers1-gnu11.c: Likewise.
10080         * nptl/Makefile (tests): Add these new tests.
10081         (CFLAGS-tst-initializers1-c11.c): New variable.
10082         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10084         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10085         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10086         instead of -std=gnu99.
10087         * configure.ac (systemtap): Test with -std=gnu11 instead of
10088         -std=gnu99.
10089         * configure: Regenerated.
10090         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10091         in compilation command in comment.
10093         * sysdeps/nptl/configure.ac: Remove file.
10094         * sysdeps/nptl/configure: Remove generated file.
10095         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10096         * configure: Regenerated.
10097         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10098         * config.make.in (have-forced-unwind): Remove variable.
10099         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10100         unconditional.
10101         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10102         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10103         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10104         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10105         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10106         unconditional.
10108 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10110         [BZ #19174]
10111         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10112         .skip_lock_out_of_tbegin_retries.
10113         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10114         (__lll_lock_elision): Likewise, and respect a value of
10115         try_tbegin <= 0.
10117 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10119         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10120         statement.
10122 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10124         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10125         variable.
10126         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10127         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10129         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10130         of -std=c1x -D_ISOC11_SOURCE.
10132         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10133         * configure: Regenerated.
10134         * manual/install.texi (Tools for Compilation): Document
10135         requirement for GCC 4.7 or later.
10136         * INSTALL: Regenerated.
10138 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10140         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10141         on CNT to a conditional jump to 'puntdata'.
10143 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10145         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10146         (libc_cv_gcc_tls_model_attr): Likewise.
10147         * configure: Regenerated.
10149         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10150         * configure: Regenerated.
10151         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10153 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10155         * configure.ac (old_glibc_headers): Remove configure test.
10156         * configure: Regenerated.
10157         * config.make.in (old-glibc-headers): Remove variable.
10158         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10159         (install): Remove dependency on remove-old-headers.
10160         (headers2_0): Remove variable.
10161         (remove-old-headers): Remove rule.
10163         * configure.ac (libc_cv_dot_text): Remove configure test.
10164         (libc_cv_asm_set_directive): Use .text instead of
10165         ${libc_cv_dot_text} in configure test.
10166         * configure: Regenerated.
10168 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10170         [BZ #19168]
10171         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10173 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10175         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10176         not support static linking.
10177         * configure: Regenerate.
10179 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10181         * math/libm-test.inc (check_float_internal): Do not special-case
10182         errors up to 0.5 ulp.
10184         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10185         log2.
10186         * math/auto-libm-test-out: Regenerated.
10187         * math/libm-test.inc (MAX_EXP): New macro.
10188         (ilogb_test_data): Add more tests.
10189         (isfinite_test_data): Likewise.
10190         (isgreater_test_data): Likewise.
10191         (isgreaterequal_test_data): Likewise.
10192         (isinf_test_data): Likewise.
10193         (isless_test_data): Likewise.
10194         (islessequal_test_data): Likewise.
10195         (islessgreater_test_data): Likewise.
10196         (isnan_test_data): Likewise.
10197         (isnormal_test_data): Likewise.
10198         (issignaling_test_data): Likewise.
10199         (isunordered_test_data): Likewise.
10200         (j0_test_data): Likewise.
10201         (j1_test_data): Likewise.
10202         (jn_test_data): Likewise.
10203         (lgamma_test_data): Likewise.
10204         (log_test_data): Likewise.
10205         (log10_test_data): Likewise.
10206         (log1p_test_data): Likewise.
10207         (log2_test_data): Likewise.
10208         (logb_test_data): Likewise.
10209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10211         [BZ #18611]
10212         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10213         avoid excess range and precision on underflow.
10214         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10215         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10216         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10217         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10218         underflow.
10219         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10221         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10223         * math/auto-libm-test-in: Do not allow missing errno setting for
10224         tests of j1 and jn.
10225         * math/auto-libm-test-out: Regenerated.
10227 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10229         [BZ #15491]
10230         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10231         floating-point environment instead of clearing all exceptions.
10232         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10233         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10234         merging in "invalid" exceptions from frndint.
10235         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10236         * math/test-nearbyint-except.c: New file.
10237         * math/Makefile (tests): Add test-nearbyint-except.
10239 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10241         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10243         * sysdeps/tile/libm-test-ulps: Regenerated.
10245 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10248         (__NR_sync_file_range2): Assume it is always defined.
10249         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10250         (__NR_sync_file_range): Assume it is always defined.
10252 2015-10-22  Andreas Schwab  <schwab@suse.de>
10254         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10255         INTERNAL_SYSCALL_ERRNO.
10256         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10257         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10258         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10259         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10260         Likewise.
10261         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10263 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10265         * io/tst-fcntl.c (fd): New static variable.
10266         (do_prepare): Open temporary file here....
10267         (do_test): ...not here.
10269         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10271 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10273         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10274         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10275         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10276         Moved before "#ifdef __ASSEMBLER__".
10278 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10280         [BZ #19156]
10281         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10282         arguments very close to 0.
10284 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10286         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10287         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10289 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10291         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10292         New.  Defined for GCC 5 and above when not compiling for
10293         profiling.
10294         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10296         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10297         Renamed to ...
10298         (CFLAGS-epoll_pwait.o): This.
10299         (CFLAGS-mmap.c): Renamed to ...
10300         (CFLAGS-mmap.o): This.
10301         (CFLAGS-mmap64.c): Renamed to ...
10302         (CFLAGS-mmap64.o): This.
10303         (CFLAGS-epoll_pwait.os): New.
10304         (CFLAGS-mmap.os): Likewise.
10305         (CFLAGS-mmap64.os): Likewise.
10306         (CFLAGS-semtimedop.os): Likewise.
10307         (CFLAGS-semtimedop.c): Renamed to ...
10308         (CFLAGS-semtimedop.o): This.
10310 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10312         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10313         warning message.
10315 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10317         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10318         * Makefile ($(objpfx)c++-types-check.out): Filter out
10319         $(+gccwarn-c) instead of -Wstrict-prototypes.
10321         * io/fts.c (fts_open): Convert to prototype-style function
10322         definition.
10323         * malloc/mcheck.c (mcheck): Likewise.
10324         (mcheck_pedantic): Likewise.
10325         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10326         internal_function.
10327         (re_search_internal): Likewise.
10328         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10329         prototype-style function definition.
10330         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10331         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10332         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10333         (xdr_utmpptr): Likewise.
10334         (xdr_utmparr): Likewise.
10335         (xdr_utmpidle): Likewise.
10336         (xdr_utmpidleptr): Likewise.
10337         (xdr_utmpidlearr): Likewise.
10339         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10340         log, log10 and log2.
10341         * math/auto-libm-test-out: Regenerated.
10342         * math/libm-test.inc (fmod_test_data): Add more tests.
10343         (fpclassify_test_data): Likewise.
10344         (frexp_test_data): Likewise.
10345         (hypot_test_data): Likewise.
10346         (ilogb_test_data): Likewise.
10348 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10350         * debug/fortify_fail.c (__fortify_fail): Convert to
10351         prototype-style function definition.  Use internal_function.
10352         * libio/genops.c (save_for_backup): Convert to prototype-style
10353         function definition.
10354         * libio/wgenops.c (save_for_wbackup): Likewise.
10355         * login/grantpt.c (grantpt): Likewise.
10356         * login/ptsname.c (ptsname): Likewise.
10357         (__ptsname_r): Likewise.
10358         * login/unlockpt.c (unlockpt): Likewise.
10359         * mach/msgserver.c (__mach_msg_server): Likewise.
10360         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10361         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10362         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10363         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10364         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10365         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10366         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10367         Likewise.
10368         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10369         internal_function.
10370         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10371         prototype-style function definition.
10372         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10373         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10374         (__pthread_create_2_0): Likewise.
10375         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10376         * nptl/register-atfork.c (__register_atfork): Likewise.
10377         * posix/glob.c (glob): Likewise.
10378         * posix/regcomp.c (re_comp): Likewise.
10379         * posix/regexec.c (re_exec): Likewise.
10380         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10381         [!__STDC__]: Remove conditional code.
10382         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10383         [!__STDC__]: Remove conditional code.
10384         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10385         [!__STDC__]: Remove conditional code.
10386         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10387         [!__STDC__]: Remove conditional code.
10388         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10389         [!__STDC__]: Remove conditional code.
10390         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10391         [!__STDC__]: Remove conditional code.
10392         * stdlib/mul.c [__STDC__]: Make code unconditional.
10393         [!__STDC__]: Remove conditional code.
10394         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10395         [!__STDC__]: Remove conditional code.
10396         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10397         [!__STDC__]: Remove conditional code.
10398         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10399         function definition.
10400         (STRTOF): Likewise.
10401         * stdlib/strtod_l.c (__STRTOF): Likewise.
10402         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10403         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10404         (__strtol_l): Likewise.
10405         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10406         [!__STDC__]: Remove conditional code.
10407         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10408         definition.
10409         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10410         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10411         type.
10412         (__strcasecmp): Convert to prototype-style function definition.
10413         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10414         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10415         type.
10416         (__strncasecmp): Convert to prototype-style function definition.
10417         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10418         * sunrpc/xdr.c (xdr_union): Likewise.
10419         * sunrpc/xdr_array.c (xdr_array): Likewise.
10420         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10421         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10422         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10423         Likewise.
10424         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10425         Likewise.
10426         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10427         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10428         Likewise.
10429         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10430         (LOCALE_PARAM_PROTO): Likewise.
10431         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10432         argument type.
10433         (ut_argument_spec): Remove macro.
10434         (ut_argument_spec_iso): Rename to ut_argument_spec.
10435         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10436         prototype-style function definition.
10437         (memcpy_uppcase): Likewise.
10438         (__strftime_internal): Likewise.
10439         (my_strftime): Likewise.
10440         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10441         (LOCALE_PARAM_DECL): Likewise.
10442         [_LIBC] (LOCALE_PARAM): Include argument type.
10443         (__strptime_internal): Convert to prototype-style function
10444         definition.
10445         (strptime): Likewise.
10446         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10447         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10448         type.
10449         (__wcscasecmp): Convert to prototype-style function definition.
10450         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10451         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10452         type.
10453         (__wcsncasecmp): Convert to prototype-style function definition.
10455         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10456         function definition.
10457         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10458         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10459         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10460         * elf/dl-minimal.c (_itoa): Likewise.
10461         * hurd/hurdmalloc.c (malloc): Likewise.
10462         (free): Likewise.
10463         (realloc): Likewise.
10464         * inet/inet6_option.c (inet6_option_space): Likewise.
10465         (inet6_option_init): Likewise.
10466         (inet6_option_append): Likewise.
10467         (inet6_option_alloc): Likewise.
10468         (inet6_option_next): Likewise.
10469         (inet6_option_find): Likewise.
10470         * io/ftw.c (FTW_NAME): Likewise.
10471         (NFTW_NAME): Likewise.
10472         (NFTW_NEW_NAME): Likewise.
10473         (NFTW_OLD_NAME): Likewise.
10474         * libio/iofwide.c (_IO_fwide): Likewise.
10475         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10476         (_IO_str_init_static): Likewise.
10477         (_IO_str_init_readonly): Likewise.
10478         (_IO_str_overflow): Likewise.
10479         (_IO_str_underflow): Likewise.
10480         (_IO_str_count): Likewise.
10481         (_IO_str_seekoff): Likewise.
10482         (_IO_str_pbackfail): Likewise.
10483         (_IO_str_finish): Likewise.
10484         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10485         (_IO_wstr_overflow): Likewise.
10486         (_IO_wstr_underflow): Likewise.
10487         (_IO_wstr_count): Likewise.
10488         (_IO_wstr_seekoff): Likewise.
10489         (_IO_wstr_pbackfail): Likewise.
10490         (_IO_wstr_finish): Likewise.
10491         * locale/programs/localedef.c (normalize_codeset): Likewise.
10492         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10493         (add_locales_to_archive): Likewise.
10494         (delete_locales_from_archive): Likewise.
10495         * malloc/malloc.c (__libc_mallinfo): Likewise.
10496         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10497         * misc/tsearch.c (__tfind): Likewise.
10498         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10499         * nptl/pthread_attr_getdetachstate.c
10500         (__pthread_attr_getdetachstate): Likewise.
10501         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10502         Likewise.
10503         * nptl/pthread_attr_getinheritsched.c
10504         (__pthread_attr_getinheritsched): Likewise.
10505         * nptl/pthread_attr_getschedparam.c
10506         (__pthread_attr_getschedparam): Likewise.
10507         * nptl/pthread_attr_getschedpolicy.c
10508         (__pthread_attr_getschedpolicy): Likewise.
10509         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10510         Likewise.
10511         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10512         Likewise.
10513         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10514         Likewise.
10515         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10516         Likewise.
10517         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10518         (__pthread_attr_init_2_0): Likewise.
10519         * nptl/pthread_attr_setdetachstate.c
10520         (__pthread_attr_setdetachstate): Likewise.
10521         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10522         Likewise.
10523         * nptl/pthread_attr_setinheritsched.c
10524         (__pthread_attr_setinheritsched): Likewise.
10525         * nptl/pthread_attr_setschedparam.c
10526         (__pthread_attr_setschedparam): Likewise.
10527         * nptl/pthread_attr_setschedpolicy.c
10528         (__pthread_attr_setschedpolicy): Likewise.
10529         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10530         Likewise.
10531         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10532         Likewise.
10533         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10534         Likewise.
10535         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10536         Likewise.
10537         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10538         Likewise.
10539         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10540         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10541         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10542         use internal_function.
10543         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10544         prototype-style function definition.
10545         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10546         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10547         internal_function.
10548         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10549         Convert to prototype-style function definition.
10550         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10551         Likewise.
10552         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10553         Likewise.
10554         (__pthread_mutex_unlock): Likewise.
10555         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10556         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10557         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10558         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10559         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10560         * nss/makedb.c (process_input): Likewise.
10561         * posix/fnmatch.c (__strchrnul): Likewise.
10562         (__wcschrnul): Likewise.
10563         (fnmatch): Likewise.
10564         * posix/fnmatch_loop.c (FCT): Likewise.
10565         * posix/glob.c (globfree): Likewise.
10566         (__glob_pattern_type): Likewise.
10567         (__glob_pattern_p): Likewise.
10568         * posix/regcomp.c (re_compile_pattern): Likewise.
10569         (re_set_syntax): Likewise.
10570         (re_compile_fastmap): Likewise.
10571         (regcomp): Likewise.
10572         (regerror): Likewise.
10573         (regfree): Likewise.
10574         * posix/regexec.c (regexec): Likewise.
10575         (re_match): Likewise.
10576         (re_search): Likewise.
10577         (re_match_2): Likewise.
10578         (re_search_2): Likewise.
10579         (re_search_stub): Likewise.  Use internal_function
10580         (re_copy_regs): Likewise.
10581         (re_set_registers): Convert to prototype-style function
10582         definition.
10583         (prune_impossible_nodes): Likewise.  Use internal_function.
10584         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10585         prototype-style function definition.
10586         (inet_net_pton_ipv4): Likewise.
10587         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10588         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10589         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10590         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10591         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10592         Make variadic.
10593         * time/strptime_l.c (localtime_r): Convert to prototype-style
10594         function definition.
10595         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10596         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10597         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10598         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10600         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10601         definition.
10602         (_ufc_doit_r): Likewise.
10603         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10604         (_ufc_output_conversion_r): Likewise.
10605         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10606         * inet/rcmd.c (rcmd_af): Likewise.
10607         (rcmd): Likewise.
10608         (ruserok_af): Likewise.
10609         (ruserok): Likewise.
10610         (ruserok2_sa): Likewise.
10611         (ruserok_sa): Likewise.
10612         (iruserok_af): Likewise.
10613         (iruserok): Likewise.
10614         (__ivaliduser): Likewise.
10615         (__validuser2_sa): Likewise.
10616         * inet/rexec.c (rexec_af): Likewise.
10617         (rexec): Likewise.
10618         * inet/ruserpass.c (ruserpass): Likewise.
10619         * locale/programs/xmalloc.c (xcalloc): Likewise.
10620         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10621         * math/w_drem.c (__drem): Likewise.
10622         * math/w_dremf.c (__dremf): Likewise.
10623         * math/w_dreml.c (__dreml): Likewise.
10624         * misc/daemon.c (daemon): Likewise.
10625         * resolv/res_debug.c (p_fqnname): Likewise.
10626         * stdlib/div.c (div): Likewise.
10627         * string/memcmp.c (memcmp_bytes): Likewise.
10628         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10629         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10631         * crypt/cert.c (main): Convert to prototype-style function
10632         definition.
10633         * io/pipe.c (__pipe): Likewise.
10634         * io/pipe2.c (__pipe2): Likewise.
10635         * misc/futimesat.c (futimesat): Likewise.
10636         * misc/utimes.c (__utimes): Likewise.
10637         * posix/execve.c (__execve): Likewise.
10638         * posix/execvp.c (execvp): Likewise.
10639         * posix/execvpe.c (__execvpe): Likewise.
10640         * posix/fexecve.c (fexecve): Likewise.
10641         * socket/socketpair.c (socketpair): Likewise.
10642         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10643         * stdlib/erand48.c (erand48): Likewise.
10644         * stdlib/erand48_r.c (__erand48_r): Likewise.
10645         * stdlib/jrand48.c (jrand48): Likewise.
10646         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10647         * stdlib/lcong48.c (lcong48): Likewise.
10648         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10649         * stdlib/nrand48.c (nrand48): Likewise.
10650         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10651         * stdlib/seed48.c (seed48): Likewise.
10652         * stdlib/seed48_r.c (__seed48_r): Likewise.
10653         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10654         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10655         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10657 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10659         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10660         * configure: Regenerated.
10661         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10662         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10663         unconditional.
10664         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10665         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10666         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10667         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10668         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10669         unconditional.
10670         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10672         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10673         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10675         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10676         function definition.
10677         * crypt/crypt_util.c (__encrypt_r): Likewise.
10678         * libio/genops.c (_IO_no_init): Likewise.
10679         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10680         (_IO_old_fopencookie): Likewise.
10681         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10682         * libio/iogetline.c (_IO_getline): Likewise.
10683         (_IO_getline_info): Likewise.
10684         * libio/iogetwline.c (_IO_getwline): Likewise.
10685         (_IO_getwline_info): Likewise.
10686         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10687         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10688         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10689         (find_entry): Likewise.
10690         (iterate_table): Likewise.
10691         (lookup): Likewise.
10692         * login/forkpty.c (forkpty): Likewise.
10693         * misc/hsearch_r.c (__hsearch_r): Likewise.
10694         * misc/select.c (__select): Likewise.
10695         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10696         Likewise.
10697         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10698         Likewise.
10699         * nptl/old_pthread_cond_timedwait.c
10700         (__pthread_cond_timedwait_2_0): Likewise.
10701         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10702         * nptl/pthread_barrierattr_getpshared.c
10703         (pthread_barrierattr_getpshared): Likewise.
10704         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10705         Likewise.
10706         * nptl/pthread_mutex_setprioceiling.c
10707         (pthread_mutex_setprioceiling): Likewise.
10708         * nptl/pthread_mutexattr_getprioceiling.c
10709         (pthread_mutexattr_getprioceiling): Likewise.
10710         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10711         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10712         Likewise.
10713         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10714         Likewise.
10715         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10716         Likewise.
10717         * socket/recvfrom.c (__recvfrom): Likewise.
10718         * socket/sendto.c (__sendto): Likewise.
10719         * socket/setsockopt.c (__setsockopt): Likewise.
10720         * stdio-common/_itoa.c (_itoa): Likewise.
10721         * stdio-common/_itowa.c (_itowa): Likewise.
10722         * stdio-common/reg-printf.c (__register_printf_specifier):
10723         Likewise.
10724         (__register_printf_function): Likewise.
10725         * stdio-common/tempname.c (__path_search): Likewise.
10726         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10727         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10728         * stdlib/random_r.c (__initstate_r): Likewise.
10729         * stdlib/setenv.c (__add_to_environ): Likewise.
10730         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10731         * streams/getpmsg.c (getpmsg): Likewise.
10732         * streams/putmsg.c (putmsg): Likewise.
10733         * streams/putpmsg.c (putpmsg): Likewise.
10734         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10735         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10736         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10737         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10738         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10739         * sunrpc/svc_udp.c (cache_get): Likewise.
10740         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10741         * sysdeps/mach/hurd/getcwd.c
10742         (__canonicalize_directory_name_internal): Likewise.
10743         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10744         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10745         * sysdeps/mach/hurd/select.c (__select): Likewise.
10746         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10747         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10748         * sysdeps/sparc/nptl/pthread_barrier_init.c
10749         (__pthread_barrier_init): Likewise.
10750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10751         (__pthread_cond_timedwait): Likewise.
10752         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10753         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10754         Likewise.
10755         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10756         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10757         Likewise.
10758         * sysvipc/semtimedop.c (semtimedop): Likewise.
10759         * time/setitimer.c (__setitimer): Likewise.
10760         * time/strftime_l.c (emacs_strftime): Likewise.
10762 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10764         * config.make.in (have-ssp): Delete.
10765         (stack-protector): New variable.
10766         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10767         cache test for -fstack-protector-strong.  Export stack_protector to
10768         the best ssp flag.
10769         * configure: Regenerated.
10770         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10771         * nscd/Makefile (CFLAGS-nscd): Likewise.
10772         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10774 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10776         [BZ #19122]
10777         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10778         attribute_hidden.
10780 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10782         [BZ #18743]
10783         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10784         code to...
10785         (ELIDE_LOCK): ...here.
10786         (__get_new_count): New function with part of the code from
10787         __elide_lock that updates the value of adapt_count after a
10788         transaction abort.
10789         (__elided_trylock): Moved this code to...
10790         (ELIDE_TRYLOCK): ...here.
10792 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10794         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10795         * configure: Regenerate.
10796         * INSTALL: Regenerate.
10797         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10798         and tweak grammar.
10800 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10802         * login/programs/pt_chown.c: Include signal.h
10803         (main): Clear any signal mask from the parent process.
10805 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10807         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10808         * configure: Regenerated.
10809         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10810         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10811         $(gnu89-inline-CFLAGS).
10813         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10814         test.
10815         (libc_cv_asm_weakext_directive): Likewise.
10816         * configure: Regenerated.
10817         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10818         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10819         * include/libc-symbols.h
10820         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10821         #error.
10822         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10823         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10825         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10826         prototype-style function definition.
10827         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10828         * sysdeps/i386/ffs.c (__ffs): Likewise.
10829         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10830         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10831         Likewise.
10832         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10833         Likewise.
10834         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10835         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10836         Likewise.
10837         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10838         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10839         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10840         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10841         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10842         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10843         * sysdeps/mach/hurd/access.c (__access): Likewise.
10844         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10845         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10846         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10847         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10848         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10849         (cthread_getspecific): Likewise.
10850         (cthread_setspecific): Likewise.
10851         (__libc_getspecific): Likewise.
10852         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10853         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10854         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10855         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10856         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10857         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10858         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10859         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10860         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10861         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10862         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10863         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10864         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10865         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10866         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10867         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10868         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10869         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10870         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10871         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10872         * sysdeps/mach/hurd/link.c (__link): Likewise.
10873         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10874         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10875         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10876         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10877         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10878         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10879         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10880         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10881         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10882         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10883         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10884         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10885         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10886         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10887         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10888         * sysdeps/mach/hurd/send.c (__send): Likewise.
10889         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10890         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10891         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10892         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10893         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10894         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10895         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10896         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10897         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10898         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10899         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10900         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10901         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10902         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10903         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10904         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10905         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10906         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10907         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10908         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10909         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10910         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10911         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10912         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10913         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10914         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10915         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10916         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10917         * sysdeps/posix/alarm.c (alarm): Likewise.
10918         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10919         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10920         * sysdeps/posix/dup.c (__dup): Likewise.
10921         * sysdeps/posix/dup2.c (__dup2): Likewise.
10922         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10923         (main): Likewise.
10924         * sysdeps/posix/flock.c (__flock): Likewise.
10925         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10926         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10927         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10928         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10929         * sysdeps/posix/isatty.c (__isatty): Likewise.
10930         * sysdeps/posix/killpg.c (killpg): Likewise.
10931         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10932         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10933         * sysdeps/posix/raise.c (raise): Likewise.
10934         * sysdeps/posix/remove.c (remove): Likewise.
10935         * sysdeps/posix/rename.c (rename): Likewise.
10936         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10937         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10938         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10939         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10940         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10941         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10942         * sysdeps/posix/sigset.c (sigset): Likewise.
10943         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10944         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10945         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10946         * sysdeps/posix/time.c (time): Likewise.
10947         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10948         (ttyname): Likewise.
10949         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10950         * sysdeps/posix/utime.c (utime): Likewise.
10951         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10952         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10953         Likewise.
10954         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10955         (pthread_spin_trylock): Likewise.
10956         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10957         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10958         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10959         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10960         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10961         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10962         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10963         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10964         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10965         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10966         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10967         * sysdeps/s390/ffs.c (__ffs): Likewise.
10968         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10969         Likewise.
10970         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10971         Likewise.
10972         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10973         Likewise.
10974         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10975         (pthread_barrier_destroy): Likewise.
10976         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10977         (__pthread_barrier_wait): Likewise.
10978         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10979         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10980         (__pthread_barrier_wait): Likewise.
10981         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10982         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10983         (memcmp_not_common_alignment): Likewise.
10984         (MEMCMP): Likewise.
10985         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10986         (_wordcopy_fwd_dest_aligned): Likewise.
10987         (_wordcopy_bwd_aligned): Likewise.
10988         (_wordcopy_bwd_dest_aligned): Likewise.
10989         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10990         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10991         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10992         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10993         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10994         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10995         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10996         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10997         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10998         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10999         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11000         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11001         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11002         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11003         * sysdeps/unix/stime.c (stime): Likewise.
11004         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11005         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11006         Likewise.  Use internal_function.
11007         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11008         Convert to prototype-style function definition.
11009         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11010         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11011         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11012         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11013         Likewise.  Use internal_function.
11014         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11015         prototype-style function definition
11016         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11017         Likewise.
11018         (__getlogin_r): Likewise.
11019         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11020         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11021         (__pthread_cond_broadcast): Likewise.
11022         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11023         (__pthread_cond_destroy): Likewise.
11024         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11025         (__pthread_cond_init): Likewise.
11026         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11027         (__pthread_cond_signal): Likewise.
11028         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11029         (__pthread_cond_wait): Likewise.
11030         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11031         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11032         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11033         Likewise.
11034         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11035         Likewise.
11036         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11037         Likewise.
11038         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11039         Likewise.
11040         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11042         (__ftruncate64): Likewise.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11044         (truncate64): Likewise.
11045         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11046         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11047         (pthread_getcpuclockid): Likewise.
11048         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11049         Likewise.
11050         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11051         Likewise.
11052         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11053         Likewise.
11054         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11055         Likewise.
11056         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11057         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11058         (__libc_sigaction): Likewise.
11059         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11060         Likewise.
11061         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11062         (__sigprocmask): Likewise.
11063         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11064         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11065         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11066         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11067         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11068         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11069         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11070         Likewise.
11071         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11072         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11073         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11074         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11075         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11076         Likewise.
11077         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11078         (__sigprocmask): Likewise.
11079         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11080         (cfgetispeed): Likewise.
11081         (cfsetospeed): Likewise.
11082         (cfsetispeed): Likewise.
11083         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11084         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11085         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11086         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11087         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11088         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11089         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11090         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11091         Likewise.
11092         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11093         Likewise.
11094         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11095         Likewise.
11096         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11097         Likewise.
11098         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11100 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11102         sunrpc: Rewrite with explicit TLS access using __thread.
11103         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11104         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11105         directly.
11106         (__rpc_thread_variables): Access thread_rpc_vars directly.
11107         Eliminate redundant assignment of the tvp variable.
11109 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11111         malloc: Rewrite with explicit TLS access using __thread.
11112         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11113         (tsd_setspecific, tsd_getspecific): Remove.
11114         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11115         (tsd_setspecific, tsd_getspecific): Likewise.
11116         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11117         (tsd_setspecific, tsd_getspecific): Likewise.
11118         * malloc/arena.c (thread_arena): New TLS variable.
11119         (arena_key): Remove variable.
11120         (arena_get): Use thread_arena.
11121         (arena_lookup): Remove macro.
11122         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11123         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11124         (_int_new_arena, get_free_list, reused_arena)
11125         (arena_thread_freeres): Use thread_arena.
11126         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11127         tsd_getspecific, tsd_setspecific from safety annotations.
11128         (Allocating Cleared Space): Remove arena_lookup from safety
11129         annotations.
11131 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11133         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11134         struct scratch_buffer instead of extend_alloca.
11136 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11138         * sysdeps/unix/sysv/linux/kernel-features.h
11139         (__ASSUME_SOCK_CLOEXEC): Remove.
11140         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11141         (__have_paccept): Remove unused macro.
11142         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11143         * misc/syslog.c (openlog_internal): Remove fallback code for
11144         !__ASSUME_SOCK_CLOEXEC.
11145         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11146         missing SOCK_CLOEXEC.
11147         * nscd/connections.c (have_sock_cloexec): Remove definition.
11148         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11149         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11150         !__ASSUME_SOCK_CLOEXEC.
11151         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11152         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11153         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11154         definition.
11155         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11156         code for !__ASSUME_SOCK_CLOEXEC.
11158 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11160         [BZ #18982]
11161         * manual/stdio.texi (Variable Arguments Output): Add portability
11162         note, explaining that vfprintf clobbers the va_list pointer.
11164 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11166         * math/libm-test.inc (fabs_test_data): Add more tests.
11167         (fdim_test_data): Likewise.
11168         (fma_test_data): Likewise.
11169         (fmax_test_data): Likewise.
11170         (fmin_test_data): Likewise.
11171         (fmod_test_data): Likewise.
11173 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11175         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11176         data.
11178 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11180         * math/libm-test.inc (ceil_test_data): Add more tests and more
11181         expectations for "inexact".
11182         (floor_test_data): Add more tests.
11183         (round_test_data): Likewise.
11184         (trunc_test_data): Likewise.
11186         * crypt/cert.c (good_bye): Convert to prototype-style function
11187         definition.
11188         (get8): Likewise.
11189         (put8): Likewise.
11190         * crypt/crypt-entry.c (crypt): Likewise.
11191         (__fcrypt): Likewise.
11192         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11193         (_ufc_set_bits): Likewise.
11194         (_ufc_clearmem): Likewise.
11195         (__init_des_r): Likewise.
11196         (shuffle_sb): Likewise.
11197         (shuffle_sb): Likewise.
11198         (_ufc_setup_salt_r): Likewise.
11199         (_ufc_mk_keytab_r): Likewise.
11200         (_ufc_dofinalperm_r): Likewise.
11201         (encrypt): Likewise.
11202         (__setkey_r): Likewise.
11203         (setkey): Likewise.
11204         * crypt/md5.c (md5_init_ctx): Likewise.
11205         (md5_read_ctx): Likewise.
11206         (md5_finish_ctx): Likewise.
11207         (md5_stream): Likewise.
11208         (md5_buffer): Likewise.
11209         (md5_process_bytes): Likewise.
11210         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11211         (__sha256_finish_ctx): Likewise.
11212         (__sha256_process_bytes): Likewise.
11213         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11214         (__sha512_finish_ctx): Likewise.
11215         (__sha512_process_bytes): Likewise.
11216         * ctype/isctype.c (__isctype): Likewise.
11217         * debug/backtrace.c (__backtrace): Likewise.
11218         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11219         * debug/fgets_chk.c (__fgets_chk): Likewise.
11220         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11221         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11222         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11223         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11224         * debug/memset_chk.c (__memset_chk): Likewise.
11225         * debug/strcat_chk.c (__strcat_chk): Likewise.
11226         * debug/strncat_chk.c (__strncat_chk): Likewise.
11227         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11228         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11229         * dirent/dirfd.c (dirfd): Likewise.
11230         * dirent/getdents.c (__getdirentries): Likewise.
11231         * dirent/getdents64.c (getdirentries64): Likewise.
11232         * dirent/rewinddir.c (__rewinddir): Likewise.
11233         * dirent/seekdir.c (seekdir): Likewise.
11234         * dirent/telldir.c (telldir): Likewise.
11235         * elf/sln.c (makesymlinks): Likewise.
11236         (makesymlink): Likewise.
11237         * gmon/gmon.c (__moncontrol): Likewise.
11238         (__monstartup): Likewise.
11239         (write_hist): Likewise.
11240         (write_call_graph): Likewise.
11241         (write_bb_counts): Likewise.
11242         * grp/setgroups.c (setgroups): Likewise.
11243         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11244         * inet/inet_net.c (inet_network): Likewise.
11245         * inet/inet_netof.c (inet_netof): Likewise.
11246         * inet/rcmd.c (rresvport_af): Likewise.
11247         (rresvport): Likewise.
11248         * io/access.c (__access): Likewise.
11249         * io/chdir.c (__chdir): Likewise.
11250         * io/chmod.c (__chmod): Likewise.
11251         * io/chown.c (__chown): Likewise.
11252         * io/close.c (__close): Likewise.
11253         * io/creat.c (creat): Likewise.
11254         * io/creat64.c (creat64): Likewise.
11255         * io/dup.c (__dup): Likewise.
11256         * io/dup2.c (__dup2): Likewise.
11257         * io/dup3.c (__dup3): Likewise.
11258         * io/euidaccess.c (__euidaccess): Likewise.
11259         * io/faccessat.c (faccessat): Likewise.
11260         * io/fchmod.c (__fchmod): Likewise.
11261         * io/fchmodat.c (fchmodat): Likewise.
11262         * io/fchown.c (__fchown): Likewise.
11263         * io/fchownat.c (fchownat): Likewise.
11264         * io/fcntl.c (__fcntl): Likewise.
11265         * io/flock.c (__flock): Likewise.
11266         * io/fts.c (fts_load): Likewise.
11267         (fts_close): Likewise.
11268         (fts_read): Likewise.
11269         (fts_set): Likewise.
11270         (fts_children): Likewise.
11271         (fts_build): Likewise.
11272         (fts_stat): Likewise.
11273         (fts_sort): Likewise.
11274         (fts_alloc): Likewise.
11275         (fts_lfree): Likewise.
11276         (fts_palloc): Likewise.
11277         (fts_padjust): Likewise.
11278         (fts_maxarglen): Likewise.
11279         (fts_safe_changedir): Likewise.
11280         * io/getwd.c (getwd): Likewise.
11281         * io/isatty.c (__isatty): Likewise.
11282         * io/lchown.c (__lchown): Likewise.
11283         * io/link.c (__link): Likewise.
11284         * io/linkat.c (linkat): Likewise.
11285         * io/lseek.c (__libc_lseek): Likewise.
11286         * io/mkdir.c (__mkdir): Likewise.
11287         * io/mkdirat.c (mkdirat): Likewise.
11288         * io/mkfifo.c (mkfifo): Likewise.
11289         * io/mkfifoat.c (mkfifoat): Likewise.
11290         * io/open.c (__libc_open): Likewise.
11291         * io/open64.c (__libc_open64): Likewise.
11292         * io/readlink.c (__readlink): Likewise.
11293         * io/readlinkat.c (readlinkat): Likewise.
11294         * io/rmdir.c (__rmdir): Likewise.
11295         * io/symlink.c (__symlink): Likewise.
11296         * io/symlinkat.c (symlinkat): Likewise.
11297         * io/ttyname.c (ttyname): Likewise.
11298         * io/ttyname_r.c (__ttyname_r): Likewise.
11299         * io/umask.c (__umask): Likewise.
11300         * io/unlink.c (__unlink): Likewise.
11301         * io/unlinkat.c (unlinkat): Likewise.
11302         * io/utime.c (utime): Likewise.
11303         * libio/clearerr.c (clearerr): Likewise.
11304         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11305         * libio/feof.c (_IO_feof): Likewise.
11306         * libio/feof_u.c (feof_unlocked): Likewise.
11307         * libio/ferror.c (_IO_ferror): Likewise.
11308         * libio/ferror_u.c (ferror_unlocked): Likewise.
11309         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11310         * libio/fileno.c (__fileno): Likewise.
11311         * libio/fputc.c (fputc): Likewise.
11312         * libio/fputc_u.c (fputc_unlocked): Likewise.
11313         * libio/fputwc.c (fputwc): Likewise.
11314         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11315         * libio/freopen.c (freopen): Likewise.
11316         * libio/freopen64.c (freopen64): Likewise.
11317         * libio/fseek.c (fseek): Likewise.
11318         * libio/fseeko.c (fseeko): Likewise.
11319         * libio/fseeko64.c (fseeko64): Likewise.
11320         * libio/ftello.c (__ftello): Likewise.
11321         * libio/ftello64.c (ftello64): Likewise.
11322         * libio/fwide.c (fwide): Likewise.
11323         * libio/genops.c (_IO_un_link): Likewise.
11324         (_IO_link_in): Likewise.
11325         (_IO_least_marker): Likewise.
11326         (_IO_switch_to_main_get_area): Likewise.
11327         (_IO_switch_to_backup_area): Likewise.
11328         (_IO_switch_to_get_mode): Likewise.
11329         (_IO_free_backup_area): Likewise.
11330         (_IO_switch_to_put_mode): Likewise.
11331         (__overflow): Likewise.
11332         (__underflow): Likewise.
11333         (__uflow): Likewise.
11334         (_IO_setb): Likewise.
11335         (_IO_doallocbuf): Likewise.
11336         (_IO_default_underflow): Likewise.
11337         (_IO_default_uflow): Likewise.
11338         (_IO_default_xsputn): Likewise.
11339         (_IO_sgetn): Likewise.
11340         (_IO_default_xsgetn): Likewise.
11341         (_IO_sync): Likewise.
11342         (_IO_default_setbuf): Likewise.
11343         (_IO_default_seekpos): Likewise.
11344         (_IO_default_doallocate): Likewise.
11345         (_IO_init): Likewise.
11346         (_IO_old_init): Likewise.
11347         (_IO_default_sync): Likewise.
11348         (_IO_default_finish): Likewise.
11349         (_IO_default_seekoff): Likewise.
11350         (_IO_sputbackc): Likewise.
11351         (_IO_sungetc): Likewise.
11352         (_IO_set_column): Likewise.
11353         (_IO_set_column): Likewise.
11354         (_IO_adjust_column): Likewise.
11355         (_IO_get_column): Likewise.
11356         (_IO_init_marker): Likewise.
11357         (_IO_remove_marker): Likewise.
11358         (_IO_marker_difference): Likewise.
11359         (_IO_marker_delta): Likewise.
11360         (_IO_seekmark): Likewise.
11361         (_IO_unsave_markers): Likewise.
11362         (_IO_nobackup_pbackfail): Likewise.
11363         (_IO_default_pbackfail): Likewise.
11364         (_IO_default_seek): Likewise.
11365         (_IO_default_stat): Likewise.
11366         (_IO_default_read): Likewise.
11367         (_IO_default_write): Likewise.
11368         (_IO_default_showmanyc): Likewise.
11369         (_IO_default_imbue): Likewise.
11370         (_IO_iter_next): Likewise.
11371         (_IO_iter_file): Likewise.
11372         * libio/getc.c (_IO_getc): Likewise.
11373         * libio/getwc.c (_IO_getwc): Likewise.
11374         * libio/iofclose.c (_IO_new_fclose): Likewise.
11375         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11376         * libio/iofflush.c (_IO_fflush): Likewise.
11377         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11378         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11379         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11380         * libio/iofgets.c (_IO_fgets): Likewise.
11381         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11382         * libio/iofgetws.c (fgetws): Likewise.
11383         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11384         * libio/iofopen64.c (_IO_fopen64): Likewise.
11385         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11386         (_IO_cookie_write): Likewise.
11387         (_IO_cookie_seek): Likewise.
11388         (_IO_cookie_close): Likewise.
11389         (_IO_cookie_seekoff): Likewise.
11390         (_IO_old_cookie_seek): Likewise.
11391         * libio/iofputs.c (_IO_fputs): Likewise.
11392         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11393         * libio/iofputws.c (fputws): Likewise.
11394         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11395         * libio/iofread.c (_IO_fread): Likewise.
11396         * libio/iofread_u.c (__fread_unlocked): Likewise.
11397         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11398         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11399         * libio/ioftell.c (_IO_ftell): Likewise.
11400         * libio/iofwrite.c (_IO_fwrite): Likewise.
11401         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11402         * libio/iogets.c (_IO_gets): Likewise.
11403         * libio/iopadn.c (_IO_padn): Likewise.
11404         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11405         (_IO_new_popen): Likewise.
11406         (_IO_new_proc_close): Likewise.
11407         * libio/ioputs.c (_IO_puts): Likewise.
11408         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11409         (_IO_seekoff): Likewise.
11410         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11411         (_IO_seekpos): Likewise.
11412         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11413         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11414         * libio/ioungetc.c (_IO_ungetc): Likewise.
11415         * libio/ioungetwc.c (ungetwc): Likewise.
11416         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11417         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11418         * libio/iowpadn.c (_IO_wpadn): Likewise.
11419         * libio/libc_fatal.c (__libc_fatal): Likewise.
11420         * libio/memstream.c (__open_memstream): Likewise.
11421         (_IO_mem_sync): Likewise.
11422         (_IO_mem_finish): Likewise.
11423         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11424         (_IO_old_file_close_it): Likewise.
11425         (_IO_old_file_finish): Likewise.
11426         (_IO_old_file_fopen): Likewise.
11427         (_IO_old_file_attach): Likewise.
11428         (_IO_old_file_setbuf): Likewise.
11429         (_IO_old_do_write): Likewise.
11430         (old_do_write): Likewise.
11431         (_IO_old_file_underflow): Likewise.
11432         (_IO_old_file_overflow): Likewise.
11433         (_IO_old_file_sync): Likewise.
11434         (_IO_old_file_seekoff): Likewise.
11435         (_IO_old_file_write): Likewise.
11436         (_IO_old_file_xsputn): Likewise.
11437         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11438         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11439         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11440         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11441         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11442         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11443         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11444         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11445         (_IO_old_popen): Likewise.
11446         (_IO_old_proc_close): Likewise.
11447         * libio/oldpclose.c (__old_pclose): Likewise.
11448         * libio/pclose.c (__new_pclose): Likewise.
11449         * libio/peekc.c (_IO_peekc_locked): Likewise.
11450         * libio/putc.c (_IO_putc): Likewise.
11451         * libio/putc_u.c (putc_unlocked): Likewise.
11452         * libio/putchar.c (putchar): Likewise.
11453         * libio/putchar_u.c (putchar_unlocked): Likewise.
11454         * libio/putwc.c (putwc): Likewise.
11455         * libio/putwc_u.c (putwc_unlocked): Likewise.
11456         * libio/putwchar.c (putwchar): Likewise.
11457         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11458         * libio/rewind.c (rewind): Likewise.
11459         * libio/setbuf.c (setbuf): Likewise.
11460         * libio/setlinebuf.c (setlinebuf): Likewise.
11461         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11462         * libio/vscanf.c (_IO_vscanf): Likewise.
11463         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11464         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11465         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11466         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11467         (_IO_switch_to_main_wget_area): Likewise.
11468         (_IO_switch_to_wbackup_area): Likewise.
11469         (_IO_wsetb): Likewise.
11470         (_IO_wdefault_pbackfail): Likewise.
11471         (_IO_wdefault_finish): Likewise.
11472         (_IO_wdefault_uflow): Likewise.
11473         (__woverflow): Likewise.
11474         (__wuflow): Likewise.
11475         (__wunderflow): Likewise.
11476         (_IO_wdefault_xsputn): Likewise.
11477         (_IO_wdefault_xsgetn): Likewise.
11478         (_IO_wdoallocbuf): Likewise.
11479         (_IO_wdefault_doallocate): Likewise.
11480         (_IO_switch_to_wget_mode): Likewise.
11481         (_IO_free_wbackup_area): Likewise.
11482         (_IO_switch_to_wput_mode): Likewise.
11483         (_IO_sputbackwc): Likewise.
11484         (_IO_sungetwc): Likewise.
11485         (_IO_adjust_wcolumn): Likewise.
11486         (_IO_init_wmarker): Likewise.
11487         (_IO_wmarker_delta): Likewise.
11488         (_IO_seekwmark): Likewise.
11489         (_IO_unsave_wmarkers): Likewise.
11490         * libio/wmemstream.c (open_wmemstream): Likewise.
11491         (_IO_wmem_sync): Likewise.
11492         (_IO_wmem_finish): Likewise.
11493         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11494         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11495         * locale/programs/simple-hash.c (init_hash): Likewise.
11496         (delete_hash): Likewise.
11497         (insert_entry): Likewise.
11498         (set_entry): Likewise.
11499         (next_prime): Likewise.
11500         (is_prime): Likewise.
11501         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11502         (xmalloc): Likewise.
11503         (xrealloc): Likewise.
11504         * locale/programs/xstrdup.c (xstrdup): Likewise.
11505         * localedata/collate-test.c (xstrcoll): Likewise.
11506         * localedata/xfrm-test.c (xstrcmp): Likewise.
11507         * login/getlogin_r.c (__getlogin_r): Likewise.
11508         * login/getpt.c (__posix_openpt): Likewise.
11509         * login/login_tty.c (login_tty): Likewise.
11510         * login/setlogin.c (setlogin): Likewise.
11511         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11512         (mach_msg_destroy_port): Likewise.
11513         (mach_msg_destroy_memory): Likewise.
11514         * malloc/mcheck.c (flood): Likewise.
11515         * misc/acct.c (acct): Likewise.
11516         * misc/brk.c (__brk): Likewise.
11517         * misc/chflags.c (chflags): Likewise.
11518         * misc/chroot.c (chroot): Likewise.
11519         * misc/fchflags.c (fchflags): Likewise.
11520         * misc/fstab.c (getfsspec): Likewise.
11521         (getfsfile): Likewise.
11522         * misc/fsync.c (fsync): Likewise.
11523         * misc/ftruncate.c (__ftruncate): Likewise.
11524         * misc/ftruncate64.c (__ftruncate64): Likewise.
11525         * misc/getdomain.c (getdomainname): Likewise.
11526         (getdomainname): Likewise.
11527         * misc/gethostname.c (__gethostname): Likewise.
11528         * misc/getpass.c (getpass): Likewise.
11529         * misc/getttyent.c (skip): Likewise.
11530         (value): Likewise.
11531         * misc/gtty.c (gtty): Likewise.
11532         * misc/hsearch.c (hsearch): Likewise.
11533         (hcreate): Likewise.
11534         * misc/hsearch_r.c (__hcreate_r): Likewise.
11535         (__hdestroy_r): Likewise.
11536         * misc/ioctl.c (__ioctl): Likewise.
11537         * misc/mkdtemp.c (mkdtemp): Likewise.
11538         * misc/mkostemp.c (mkostemp): Likewise.
11539         * misc/mkostemp64.c (mkostemp64): Likewise.
11540         * misc/mkostemps.c (mkostemps): Likewise.
11541         * misc/mkostemps64.c (mkostemps64): Likewise.
11542         * misc/mkstemp.c (mkstemp): Likewise.
11543         * misc/mkstemp64.c (mkstemp64): Likewise.
11544         * misc/mkstemps.c (mkstemps): Likewise.
11545         * misc/mkstemps64.c (mkstemps64): Likewise.
11546         * misc/mktemp.c (__mktemp): Likewise.
11547         * misc/preadv.c (preadv): Likewise.
11548         * misc/preadv64.c (preadv64): Likewise.
11549         * misc/pwritev.c (pwritev): Likewise.
11550         * misc/pwritev64.c (pwritev64): Likewise.
11551         * misc/readv.c (__readv): Likewise.
11552         * misc/revoke.c (revoke): Likewise.
11553         * misc/setdomain.c (setdomainname): Likewise.
11554         * misc/setegid.c (setegid): Likewise.
11555         * misc/seteuid.c (seteuid): Likewise.
11556         * misc/sethostid.c (sethostid): Likewise.
11557         * misc/sethostname.c (sethostname): Likewise.
11558         * misc/setregid.c (__setregid): Likewise.
11559         * misc/setreuid.c (__setreuid): Likewise.
11560         * misc/sstk.c (sstk): Likewise.
11561         * misc/stty.c (stty): Likewise.
11562         * misc/syscall.c (syscall): Likewise.
11563         * misc/syslog.c (setlogmask): Likewise.
11564         * misc/truncate.c (__truncate): Likewise.
11565         * misc/truncate64.c (truncate64): Likewise.
11566         * misc/ualarm.c (ualarm): Likewise.
11567         * misc/usleep.c (usleep): Likewise.
11568         * misc/ustat.c (ustat): Likewise.
11569         * misc/writev.c (__writev): Likewise.
11570         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11571         * nptl/old_pthread_cond_broadcast.c
11572         (__pthread_cond_broadcast_2_0): Likewise.
11573         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11574         Likewise.
11575         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11576         Likewise.
11577         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11578         Likewise.
11579         * nptl/pt-raise.c (raise): Likewise.
11580         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11581         Likewise.
11582         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11583         * nptl/pthread_barrierattr_destroy.c
11584         (pthread_barrierattr_destroy): Likewise.
11585         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11586         Likewise.
11587         * nptl/pthread_barrierattr_setpshared.c
11588         (pthread_barrierattr_setpshared): Likewise.
11589         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11590         Likewise.
11591         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11592         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11593         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11594         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11595         Likewise.
11596         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11597         Likewise.
11598         * nptl/pthread_condattr_getpshared.c
11599         (pthread_condattr_getpshared): Likewise.
11600         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11601         Likewise.
11602         * nptl/pthread_condattr_setpshared.c
11603         (pthread_condattr_setpshared): Likewise.
11604         * nptl/pthread_detach.c (pthread_detach): Likewise.
11605         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11606         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11607         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11608         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11609         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11610         Likewise.
11611         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11612         Likewise.
11613         * nptl/pthread_mutex_getprioceiling.c
11614         (pthread_mutex_getprioceiling): Likewise.
11615         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11616         Likewise.
11617         * nptl/pthread_mutexattr_getprotocol.c
11618         (pthread_mutexattr_getprotocol): Likewise.
11619         * nptl/pthread_mutexattr_getpshared.c
11620         (pthread_mutexattr_getpshared): Likewise.
11621         * nptl/pthread_mutexattr_getrobust.c
11622         (pthread_mutexattr_getrobust): Likewise.
11623         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11624         Likewise.
11625         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11626         Likewise.
11627         * nptl/pthread_mutexattr_setprioceiling.c
11628         (pthread_mutexattr_setprioceiling): Likewise.
11629         * nptl/pthread_mutexattr_setprotocol.c
11630         (pthread_mutexattr_setprotocol): Likewise.
11631         * nptl/pthread_mutexattr_setpshared.c
11632         (pthread_mutexattr_setpshared): Likewise.
11633         * nptl/pthread_mutexattr_setrobust.c
11634         (pthread_mutexattr_setrobust): Likewise.
11635         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11636         Likewise.
11637         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11638         Likewise.
11639         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11640         Likewise.
11641         * nptl/pthread_rwlockattr_getkind_np.c
11642         (pthread_rwlockattr_getkind_np): Likewise.
11643         * nptl/pthread_rwlockattr_getpshared.c
11644         (pthread_rwlockattr_getpshared): Likewise.
11645         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11646         Likewise.
11647         * nptl/pthread_rwlockattr_setkind_np.c
11648         (pthread_rwlockattr_setkind_np): Likewise.
11649         * nptl/pthread_rwlockattr_setpshared.c
11650         (pthread_rwlockattr_setpshared): Likewise.
11651         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11652         Likewise.
11653         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11654         Likewise.
11655         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11656         Likewise.
11657         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11658         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11659         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11660         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11661         * nptl/sem_close.c (sem_close): Likewise.
11662         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11663         * nptl/sem_init.c (__old_sem_init): Likewise.
11664         * nptl/sigaction.c (__sigaction): Likewise.
11665         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11666         * posix/_exit.c (_exit): Likewise.
11667         * posix/alarm.c (alarm): Likewise.
11668         * posix/confstr.c (confstr): Likewise.
11669         * posix/fpathconf.c (__fpathconf): Likewise.
11670         * posix/getgroups.c (__getgroups): Likewise.
11671         * posix/getpgid.c (__getpgid): Likewise.
11672         * posix/group_member.c (__group_member): Likewise.
11673         * posix/pathconf.c (__pathconf): Likewise.
11674         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11675         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11676         * posix/setgid.c (__setgid): Likewise.
11677         * posix/setpgid.c (__setpgid): Likewise.
11678         * posix/setuid.c (__setuid): Likewise.
11679         * posix/sleep.c (__sleep): Likewise.
11680         * posix/sysconf.c (__sysconf): Likewise.
11681         * posix/times.c (__times): Likewise.
11682         * posix/uname.c (__uname): Likewise.
11683         * posix/waitid.c (__waitid): Likewise.
11684         * pwd/getpw.c (__getpw): Likewise.
11685         * resolv/base64.c (b64_pton): Likewise.
11686         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11687         * resolv/gethnamaddr.c (Dprintf): Likewise.
11688         (gethostbyname): Likewise.
11689         (gethostbyname2): Likewise.
11690         (gethostbyaddr): Likewise.
11691         (_sethtent): Likewise.
11692         (_gethtbyname): Likewise.
11693         (_gethtbyname2): Likewise.
11694         (_gethtbyaddr): Likewise.
11695         (map_v4v6_address): Likewise.
11696         (map_v4v6_hostent): Likewise.
11697         (addrsort): Likewise.
11698         (ht_sethostent): Likewise.
11699         (ht_gethostbyname): Likewise.
11700         (ht_gethostbyaddr): Likewise.
11701         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11702         (inet_net_ntop_ipv4): Likewise.
11703         * resolv/inet_neta.c (inet_neta): Likewise.
11704         * resolv/inet_ntop.c (inet_ntop): Likewise.
11705         (inet_ntop4): Likewise.
11706         (inet_ntop6): Likewise.
11707         * resolv/inet_pton.c (__inet_pton): Likewise.
11708         (inet_pton4): Likewise.
11709         (inet_pton6): Likewise.
11710         * resolv/res_debug.c (loc_aton): Likewise.
11711         (loc_ntoa): Likewise.
11712         * resource/getpriority.c (__getpriority): Likewise.
11713         * resource/getrusage.c (__getrusage): Likewise.
11714         * resource/nice.c (nice): Likewise.
11715         * resource/setpriority.c (__setpriority): Likewise.
11716         * resource/setrlimit64.c (setrlimit64): Likewise.
11717         * resource/vlimit.c (vlimit): Likewise.
11718         * resource/vtimes.c (vtimes): Likewise.
11719         * rt/aio_error.c (aio_error): Likewise.
11720         * rt/aio_return.c (aio_return): Likewise.
11721         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11722         * signal/kill.c (__kill): Likewise.
11723         * signal/killpg.c (killpg): Likewise.
11724         * signal/raise.c (raise): Likewise.
11725         * signal/sigaction.c (__sigaction): Likewise.
11726         * signal/sigaddset.c (sigaddset): Likewise.
11727         * signal/sigaltstack.c (sigaltstack): Likewise.
11728         * signal/sigandset.c (sigandset): Likewise.
11729         * signal/sigblock.c (__sigblock): Likewise.
11730         * signal/sigdelset.c (sigdelset): Likewise.
11731         * signal/sigempty.c (sigemptyset): Likewise.
11732         * signal/sigfillset.c (sigfillset): Likewise.
11733         * signal/sighold.c (sighold): Likewise.
11734         * signal/sigignore.c (sigignore): Likewise.
11735         * signal/sigintr.c (siginterrupt): Likewise.
11736         * signal/sigisempty.c (sigisemptyset): Likewise.
11737         * signal/sigismem.c (sigismember): Likewise.
11738         * signal/signal.c (signal): Likewise.
11739         * signal/sigorset.c (sigorset): Likewise.
11740         * signal/sigpause.c (__sigpause): Likewise.
11741         * signal/sigpending.c (sigpending): Likewise.
11742         * signal/sigprocmask.c (__sigprocmask): Likewise.
11743         * signal/sigrelse.c (sigrelse): Likewise.
11744         * signal/sigreturn.c (__sigreturn): Likewise.
11745         * signal/sigset.c (sigset): Likewise.
11746         * signal/sigsetmask.c (__sigsetmask): Likewise.
11747         * signal/sigstack.c (sigstack): Likewise.
11748         * signal/sigsuspend.c (__sigsuspend): Likewise.
11749         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11750         * signal/sysv_signal.c (__sysv_signal): Likewise.
11751         * socket/accept.c (accept): Likewise.
11752         * socket/accept4.c (__libc_accept4): Likewise.
11753         * socket/bind.c (__bind): Likewise.
11754         * socket/connect.c (__connect): Likewise.
11755         * socket/getpeername.c (getpeername): Likewise.
11756         * socket/getsockname.c (__getsockname): Likewise.
11757         * socket/getsockopt.c (getsockopt): Likewise.
11758         * socket/listen.c (__listen): Likewise.
11759         * socket/recv.c (__recv): Likewise.
11760         * socket/recvmsg.c (__recvmsg): Likewise.
11761         * socket/send.c (__send): Likewise.
11762         * socket/sendmsg.c (__sendmsg): Likewise.
11763         * socket/shutdown.c (shutdown): Likewise.
11764         * socket/sockatmark.c (sockatmark): Likewise.
11765         * socket/socket.c (__socket): Likewise.
11766         * stdio-common/ctermid.c (ctermid): Likewise.
11767         * stdio-common/cuserid.c (cuserid): Likewise.
11768         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11769         * stdio-common/remove.c (remove): Likewise.
11770         * stdio-common/rename.c (rename): Likewise.
11771         * stdio-common/renameat.c (renameat): Likewise.
11772         * stdio-common/tempname.c (__gen_tempname): Likewise.
11773         * stdio-common/xbug.c (InitBuffer): Likewise.
11774         (AppendToBuffer): Likewise.
11775         (ReadFile): Likewise.
11776         * stdlib/a64l.c (a64l): Likewise.
11777         * stdlib/drand48_r.c (drand48_r): Likewise.
11778         * stdlib/getcontext.c (getcontext): Likewise.
11779         * stdlib/getenv.c (getenv): Likewise.
11780         * stdlib/l64a.c (l64a): Likewise.
11781         * stdlib/llabs.c (llabs): Likewise.
11782         * stdlib/lldiv.c (lldiv): Likewise.
11783         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11784         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11785         * stdlib/putenv.c (putenv): Likewise.
11786         * stdlib/random.c (__srandom): Likewise.
11787         (__initstate): Likewise.
11788         (__setstate): Likewise.
11789         * stdlib/random_r.c (__srandom_r): Likewise.
11790         (__setstate_r): Likewise.
11791         (__random_r): Likewise.
11792         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11793         * stdlib/setcontext.c (setcontext): Likewise.
11794         * stdlib/setenv.c (setenv): Likewise.
11795         (unsetenv): Likewise.
11796         * stdlib/srand48.c (srand48): Likewise.
11797         * stdlib/srand48_r.c (__srand48_r): Likewise.
11798         * stdlib/swapcontext.c (swapcontext): Likewise.
11799         * stdlib/system.c (__libc_system): Likewise.
11800         * stdlib/tst-strtod.c (expand): Likewise.
11801         * stdlib/tst-strtol.c (expand): Likewise.
11802         * stdlib/tst-strtoll.c (expand): Likewise.
11803         * streams/fattach.c (fattach): Likewise.
11804         * streams/fdetach.c (fdetach): Likewise.
11805         * streams/getmsg.c (getmsg): Likewise.
11806         * streams/isastream.c (isastream): Likewise.
11807         * string/ffs.c (__ffs): Likewise.
11808         * string/ffsll.c (ffsll): Likewise.
11809         * string/memcmp.c (memcmp_common_alignment): Likewise.
11810         (memcmp_not_common_alignment): Likewise.
11811         (MEMCMP): Likewise.
11812         * string/memcpy.c (memcpy): Likewise.
11813         * string/memmove.c (MEMMOVE): Likewise.
11814         * string/memset.c (memset): Likewise.
11815         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11816         * string/strchrnul.c (STRCHRNUL): Likewise.
11817         * string/strerror.c (strerror): Likewise.
11818         * string/strndup.c (__strndup): Likewise.
11819         * string/strverscmp.c (__strverscmp): Likewise.
11820         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11821         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11822         (clnttcp_freeres): Likewise.
11823         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11824         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11825         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11826         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11827         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11828         (xdr_callhdr): Likewise.
11829         * sunrpc/rpcinfo.c (udpping): Likewise.
11830         (tcpping): Likewise.
11831         (pstatus): Likewise.
11832         (pmapdump): Likewise.
11833         (brdcst): Likewise.
11834         (deletereg): Likewise.
11835         (getprognum): Likewise.
11836         (getvers): Likewise.
11837         (get_inet_address): Likewise.
11838         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11839         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11840         (svcudp_stat): Likewise.
11841         (svcudp_recv): Likewise.
11842         (svcudp_reply): Likewise.
11843         (svcudp_getargs): Likewise.
11844         (svcudp_freeargs): Likewise.
11845         (svcudp_destroy): Likewise.
11846         * sunrpc/xdr.c (xdr_bytes): Likewise.
11847         (xdr_netobj): Likewise.
11848         (xdr_string): Likewise.
11849         (xdr_wrapstring): Likewise.
11850         * sunrpc/xdr_float.c (xdr_float): Likewise.
11851         (xdr_double): Likewise.
11852         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11853         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11854         * sysvipc/ftok.c (ftok): Likewise.
11855         * sysvipc/msgctl.c (msgctl): Likewise.
11856         * sysvipc/msgget.c (msgget): Likewise.
11857         * sysvipc/msgrcv.c (msgrcv): Likewise.
11858         * sysvipc/msgsnd.c (msgsnd): Likewise.
11859         * sysvipc/semget.c (semget): Likewise.
11860         * sysvipc/semop.c (semop): Likewise.
11861         * sysvipc/shmat.c (shmat): Likewise.
11862         * sysvipc/shmctl.c (shmctl): Likewise.
11863         * sysvipc/shmdt.c (shmdt): Likewise.
11864         * sysvipc/shmget.c (shmget): Likewise.
11865         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11866         * termios/speed.c (cfgetospeed): Likewise.
11867         (cfgetispeed): Likewise.
11868         (cfsetospeed): Likewise.
11869         (cfsetispeed): Likewise.
11870         * termios/tcflow.c (tcflow): Likewise.
11871         * termios/tcflush.c (tcflush): Likewise.
11872         * termios/tcgetattr.c (__tcgetattr): Likewise.
11873         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11874         * termios/tcgetsid.c (tcgetsid): Likewise.
11875         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11876         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11877         * time/adjtime.c (__adjtime): Likewise.
11878         * time/dysize.c (dysize): Likewise.
11879         * time/ftime.c (ftime): Likewise.
11880         * time/getitimer.c (__getitimer): Likewise.
11881         * time/gettimeofday.c (__gettimeofday): Likewise.
11882         * time/gmtime.c (__gmtime_r): Likewise.
11883         (gmtime): Likewise.
11884         * time/localtime.c (__localtime_r): Likewise.
11885         (localtime): Likewise.
11886         * time/offtime.c (__offtime): Likewise.
11887         * time/settimeofday.c (__settimeofday): Likewise.
11888         * time/stime.c (stime): Likewise.
11889         * time/strftime_l.c (tm_diff): Likewise.
11890         (iso_week_days): Likewise.
11891         * time/strptime.c (strptime): Likewise.
11892         * time/time.c (time): Likewise.
11893         * time/timespec_get.c (timespec_get): Likewise.
11894         * time/tzset.c (tzset_internal): Likewise.
11895         (compute_change): Likewise.
11896         (__tz_compute): Likewise.
11897         * wcsmbs/btowc.c (__btowc): Likewise.
11898         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11899         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11900         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11901         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11902         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11903         * wcsmbs/wcscat.c (__wcscat): Likewise.
11904         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11905         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11906         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11907         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11908         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11909         * wcsmbs/wcslen.c (__wcslen): Likewise.
11910         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11911         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11912         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11913         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11914         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11915         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11916         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11917         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11918         * wcsmbs/wcstok.c (wcstok): Likewise.
11919         * wcsmbs/wctob.c (wctob): Likewise.
11920         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11921         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11922         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11923         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11924         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11925         * wcsmbs/wmemset.c (__wmemset): Likewise.
11926         * wctype/wcfuncs.c (__towlower): Likewise.
11927         (__towupper): Likewise.
11929         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11930         (lll_unlock_elision): Add adapt_count parameter.
11932 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11934         * sysdeps/nptl/configure.ac: Do not give errors based on the
11935         results of top-level configure tests.
11936         * sysdeps/nptl/configure: Regenerated.
11938         * configure.ac (libc_cv_Bgroup): Remove configure test.
11939         * configure: Regenerated.
11940         * config.make.in (have-Bgroup): Remove variable.
11942         * configure.ac (sizeof_long_double): Remove configure test.
11943         * configure: Regenerated.
11944         * config.make.in (sizeof-long-double): Remove variable.
11946         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11947         * configure: Regenerated.
11948         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11949         variable.
11950         (exceptions): Likewise.
11951         * sysdeps/arm/configure: Regenerated.
11952         * config.make.in (exceptions): Remove variable.
11953         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11954         $(exceptions).
11955         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11956         (CFLAGS-vdprintf_chk.c): Likewise.
11957         (CFLAGS-printf_chk.c): Likewise.
11958         (CFLAGS-fprintf_chk.c): Likewise.
11959         (CFLAGS-vprintf_chk.c): Likewise.
11960         (CFLAGS-vfprintf_chk.c): Likewise.
11961         (CFLAGS-gets_chk.c): Likewise.
11962         (CFLAGS-fgets_chk.c): Likewise.
11963         (CFLAGS-fgets_u_chk.c): Likewise.
11964         (CFLAGS-fread_chk.c): Likewise.
11965         (CFLAGS-fread_u_chk.c): Likewise.
11966         (CFLAGS-wprintf_chk.c): Likewise.
11967         (CFLAGS-fwprintf_chk.c): Likewise.
11968         (CFLAGS-vwprintf_chk.c): Likewise.
11969         (CFLAGS-vfwprintf_chk.c): Likewise.
11970         (CFLAGS-fgetws_chk.c): Likewise.
11971         (CFLAGS-fgetws_u_chk.c): Likewise.
11972         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11973         (CFLAGS-fputc.c): Likewise.
11974         (CFLAGS-fputwc.c): Likewise.
11975         (CFLAGS-freopen64.c): Likewise.
11976         (CFLAGS-freopen.c): Likewise.
11977         (CFLAGS-fseek.c): Likewise.
11978         (CFLAGS-fseeko64.c): Likewise.
11979         (CFLAGS-fseeko.c): Likewise.
11980         (CFLAGS-ftello64.c): Likewise.
11981         (CFLAGS-ftello.c): Likewise.
11982         (CFLAGS-fwide.c): Likewise.
11983         (CFLAGS-genops.c): Likewise.
11984         (CFLAGS-getc.c): Likewise.
11985         (CFLAGS-getchar.c): Likewise.
11986         (CFLAGS-getwc.c): Likewise.
11987         (CFLAGS-getwchar.c): Likewise.
11988         (CFLAGS-iofclose.c): Likewise.
11989         (CFLAGS-iofflush.c): Likewise.
11990         (CFLAGS-iofgetpos64.c): Likewise.
11991         (CFLAGS-iofgetpos.c): Likewise.
11992         (CFLAGS-iofgets.c): Likewise.
11993         (CFLAGS-iofgetws.c): Likewise.
11994         (CFLAGS-iofputs.c): Likewise.
11995         (CFLAGS-iofputws.c): Likewise.
11996         (CFLAGS-iofread.c): Likewise.
11997         (CFLAGS-iofsetpos64.c): Likewise.
11998         (CFLAGS-iofsetpos.c): Likewise.
11999         (CFLAGS-ioftell.c): Likewise.
12000         (CFLAGS-iofwrite.c): Likewise.
12001         (CFLAGS-iogetdelim.c): Likewise.
12002         (CFLAGS-iogetline.c): Likewise.
12003         (CFLAGS-iogets.c): Likewise.
12004         (CFLAGS-iogetwline.c): Likewise.
12005         (CFLAGS-ioputs.c): Likewise.
12006         (CFLAGS-ioseekoff.c): Likewise.
12007         (CFLAGS-ioseekpos.c): Likewise.
12008         (CFLAGS-iosetbuffer.c): Likewise.
12009         (CFLAGS-iosetvbuf.c): Likewise.
12010         (CFLAGS-ioungetc.c): Likewise.
12011         (CFLAGS-ioungetwc.c): Likewise.
12012         (CFLAGS-oldfileops.c): Likewise.
12013         (CFLAGS-oldiofclose.c): Likewise.
12014         (CFLAGS-oldiofgetpos64.c): Likewise.
12015         (CFLAGS-oldiofgetpos.c): Likewise.
12016         (CFLAGS-oldiofsetpos64.c): Likewise.
12017         (CFLAGS-oldiofsetpos.c): Likewise.
12018         (CFLAGS-peekc.c): Likewise.
12019         (CFLAGS-putc.c): Likewise.
12020         (CFLAGS-putchar.c): Likewise.
12021         (CFLAGS-putwc.c): Likewise.
12022         (CFLAGS-putwchar.c): Likewise.
12023         (CFLAGS-rewind.c): Likewise.
12024         (CFLAGS-wfileops.c): Likewise.
12025         (CFLAGS-wgenops.c): Likewise.
12026         (CFLAGS-oldiofopen.c): Likewise.
12027         (CFLAGS-iofopen.c): Likewise.
12028         (CFLAGS-iofopen64.c): Likewise.
12029         (CFLAGS-oldtmpfile.c): Likewise.
12030         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12031         (CFLAGS-fprintf.c): Likewise.
12032         (CFLAGS-printf.c): Likewise.
12033         (CFLAGS-vfwprintf.c): Likewise.
12034         (CFLAGS-vfscanf.c): Likewise.
12035         (CFLAGS-vfwscanf.c): Likewise.
12036         (CFLAGS-fscanf.c): Likewise.
12037         (CFLAGS-scanf.c): Likewise.
12038         (CFLAGS-isoc99_vfscanf.c): Likewise.
12039         (CFLAGS-isoc99_vscanf.c): Likewise.
12040         (CFLAGS-isoc99_fscanf.c): Likewise.
12041         (CFLAGS-isoc99_scanf.c): Likewise.
12042         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12043         (CFLAGS-isoc99_fwscanf.c): Likewise.
12044         (CFLAGS-isoc99_vwscanf.c): Likewise.
12045         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12047         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12048         after mkstemp64.
12049         * login/tst-utmp.c (do_prepare): Likewise.
12050         * rt/tst-aio.c (do_prepare): Likewise.
12051         * rt/tst-aio64.c (do_prepare): Likewise.
12053 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12055         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12056         (__lll_lock_elision): Remove adapt_count decrement...
12057         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12058         (__lll_trylock_elision): Likewise.
12059         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12060         (__lll_unlock_elision): ... to here. And utilize
12061         new adapt_count parameter.
12062         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12063         (__lll_unlock_elision): Update to include adapt_count
12064         parameter.
12065         (lll_unlock_elision): Pass pointer to adapt_count
12066         variable.
12068 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12070         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12071         Add elision adapt_count parameter to list of arguments.
12072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12073         (lll_unlock_elision): Update with new parameter list
12074         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12075         (lll_unlock_elision): Likewise.
12076         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12077         (lll_unlock_elision): Likewise.
12079 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12081         [BZ #19122]
12082         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12083         attribute_hidden.
12085         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12086         attribute_hidden.
12087         [IS_IN (rtld)] (__strdup): Likewise.
12088         [IS_IN (rtld)] (__strerror_r): Likewise.
12089         [IS_IN (rtld)] (__strsep_g): Likewise.
12090         [IS_IN (rtld)] (memchr): Likewise.
12091         [IS_IN (rtld)] (memcmp): Likewise.
12092         [IS_IN (rtld)] (memcpy): Likewise.
12093         [IS_IN (rtld)] (memmove): Likewise.
12094         [IS_IN (rtld)] (memset): Likewise.
12095         [IS_IN (rtld)] (rawmemchr): Likewise.
12096         [IS_IN (rtld)] (stpcpy): Likewise.
12097         [IS_IN (rtld)] (strchr): Likewise.
12098         [IS_IN (rtld)] (strcmp): Likewise.
12099         [IS_IN (rtld)] (strlen): Likewise.
12100         [IS_IN (rtld)] (strnlen): Likewise.
12101         [IS_IN (rtld)] (strsep): Likewise.
12103         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12104         attribute_hidden.
12105         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12107         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12108         attribute_hidden.
12109         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12111         * include/setjmp.h (__longjmp): Add attribute_hidden.
12112         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12114         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12115         Add attribute_hidden.
12117         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12118         [IS_IN (rtld)] (__open): Likewise.
12119         [IS_IN (rtld)] (__fcntl): Likewise.
12121         * include/dirent.h (__opendirat): Add attribute_hidden.
12122         (__getdents): Likewise.
12123         (__getdents64): Likewise.
12124         (__alloc_dir): Likewise.
12125         [IS_IN (rtld)] (__closedir): Likewise.
12126         [IS_IN (rtld)] (__fdopendir): Likewise.
12127         [IS_IN (rtld)] (__readdir): Likewise.
12128         [IS_IN (rtld)] (__readdir64): Likewise.
12129         [IS_IN (rtld)] (__rewinddir): Likewise.
12131         * include/dlfcn.h (_dl_catch_error): Moved to ...
12132         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12133         attribute_hidden.
12135         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12136         (_itoa_word): Likewise.
12138         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12139         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12140         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12141         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12142         (_dl_higher_prime_number): Likewise.
12143         (_dl_debug_printf_c): Likewise.
12144         (_dl_signal_cerror): Likewise.
12145         (_dl_receive_error): Likewise.
12146         (_dl_reloc_bad_type): Likewise.
12147         (_dl_resolve_conflicts): Likewise.
12148         (_dl_check_all_versions): Likewise.
12149         (_dl_check_map_versions): Likewise.
12150         (_dl_sort_fini): Likewise.
12151         (_dl_debug_initialize): Likewise.
12152         (_dl_init_paths): Likewise.
12153         (_dl_show_auxv): Likewise.
12154         (_dl_next_ld_env_entry): Likewise.
12155         (_dl_important_hwcaps): Likewise.
12156         (_dl_load_cache_lookup): Likewise.
12157         (_dl_update_slotinfo): Likewise.
12158         (_dl_show_scope): Likewise.
12160         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12161         attribute_hidden.
12162         (_wordcopy_fwd_dest_aligned): Likewise.
12163         (_wordcopy_bwd_aligned): Likewise.
12164         (_wordcopy_bwd_dest_aligned): Likewise.
12166         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12167         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12168         Likewise.
12169         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12170         Likewise.
12171         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12173 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12175         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12176         GCC 5 requirement.
12178 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12180         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12181         test.
12182         * sysdeps/i386/configure: Regenerated.
12183         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12184         code unconditional.
12186         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12187         test.
12188         (libc_cv_asm_popsection_directive): Likewise.
12189         * configure: Regenerated.
12190         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12191         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12192         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12193         (__make_section_unallocated): Make definition unconditional.
12194         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12195         Remove conditional definition.
12196         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12197         (__make_section_unallocated): Likewise.
12199         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12200         * configure: Regenerated.
12201         * config.make.in (static-libgcc): Remove variable.
12202         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12203         $(static-libgcc).
12204         (build-module-helper): Likewise.
12206         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12207         * configure: Regenerated.
12209 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12211         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12212         (struct char_buffer): New type.
12213         (char_buffer_start, char_buffer_size, char_buffer_error)
12214         (char_buffer_rewind, char_buffer_add): New functions.
12215         (ADDW): Remove macro, replaced by the char_buffer_add function.
12216         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12217         of extend_alloca.  Make control flow more explicit.
12219 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12221         [BZ #19137]
12222         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12223         Add -fomit-frame-pointer.
12224         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12226 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12228         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12229         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12230         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12231         only if !__GNUC_PREREQ (5,0).
12232         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12233         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12234         (INTERNAL_SYSCALL_NCS): Likewise.
12235         (LOADREGS_0): New macro for GCC 5.
12236         (ASMARGS_0): Likewise.
12237         (LOADREGS_1): Likewise.
12238         (ASMARGS_1): Likewise.
12239         (LOADREGS_2): Likewise.
12240         (ASMARGS_2): Likewise.
12241         (LOADREGS_3): Likewise.
12242         (ASMARGS_3): Likewise.
12243         (LOADREGS_4): Likewise.
12244         (ASMARGS_4): Likewise.
12245         (LOADREGS_5): Likewise.
12246         (ASMARGS_5): Likewise.
12247         (LOADREGS_6): Likewise.
12248         (ASMARGS_6): Likewise.
12250 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12252         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12253         -fomit-frame-pointer.
12254         (CFLAGS-mmap64.c): Likewise.
12255         (CFLAGS-semtimedop.c): Likewise.
12256         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12257         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12258         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12259         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12261 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12263         [BZ #18928]
12264         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12265         _dl_pointer_guard member.
12266         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12267         initializer.
12268         (security_init): Always set up pointer guard.
12269         (process_envvars): Do not process LD_POINTER_GUARD.
12271 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12273         [BZ #19134]
12274         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12275         (.LC2): Likewise.
12276         (.LC3): Likewise.
12277         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12279 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12281         [BZ #19129]
12282         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12283         r0 and r1.
12285 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12287         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12289 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12291         * include/stap-probe.h: Fix macro definition formatting.
12293 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12295         [BZ #19074]
12296         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12297         load and store num_ifs.
12299 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12301         [BZ #18822]
12302         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12303         (__sched_getaffinity_new): Add libc_hidden_proto and
12304         libc_hidden_def.
12306 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12308         [BZ #19007]
12309         * scripts/localplt.awk: Also allow GOT references.
12310         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12311         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12312         with "+ REL R_386_GLOB_DAT".
12313         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12314         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12316 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12318         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12319         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12320         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12321         Likewise.
12322         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12323         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12324         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12325         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12326         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12327         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12328         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12329         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12330         Likewise.
12331         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12333 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12335         [BZ #19125]
12336         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12337         <math_private.h> and <stdint.h>.
12338         (__llround): Avoid conversions to and from long long int, and
12339         subtractions, where those might raise spurious exceptions.
12340         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12341         <math_private.h> and <stdint.h>.
12342         (__llroundf): Avoid conversions to and from long long int, and
12343         subtractions, where those might raise spurious exceptions.
12345 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12347         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12348         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12349         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12350         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12351         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12352         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12353         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12354         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12355         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12356         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12357         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12358         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12359         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12360         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12361         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12362         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12363         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12364         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12365         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12366         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12367         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12368         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12369         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12370         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12371         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12372         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12373         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12374         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12375         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12376         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12377         (__xstat64_conv): Likewise.
12378         (__xstat32_conv): Likewise.
12380 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12382         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12383         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12384         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12385         <sysdeps/unix/sysv/linux/sysdep.h>.
12386         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12387         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12388         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12389         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12390         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12391         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12392         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12393         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12394         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12399         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12400         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12402         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12403         (sysdep-dl-routines): Add sysdep.
12404         [$(subdir) == nptl] (libpthread-routines): Likewise.
12405         [$(subdir) == rt] (librt-routines): Likewise.
12406         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12407         PIC when branching to SYSCALL_ERROR_LABEL.
12408         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12409         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12410         <sysdeps/unix/sysv/linux/sysdep.h>.
12411         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12412         (SYSCALL_ERROR_ERRNO): Removed.
12413         (SYSCALL_ERROR_HANDLER): Changed to empty.
12414         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12415         (__syscall_error): New prototype.
12416         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12417         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12419 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12421         [BZ #19124]
12422         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12423         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12424         _dl_runtime_resolve_avx.
12425         (_dl_runtime_profile_avx512): Make it a hidden alias of
12426         _dl_runtime_profile_avx.
12428 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12430         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12431         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12432         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12433         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12435         [BZ #16422]
12436         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12437         New configure test.
12438         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12439         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12440         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12441         <math_private.h> and <stdint.h>.
12442         (__llrint): Avoid conversions to long long int where those might
12443         raise spurious exceptions.
12444         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12445         <math_private.h> and <stdint.h>.
12446         (__llrintf): Avoid conversions to long long int where those might
12447         raise spurious exceptions.
12449 2015-10-12  Andreas Schwab  <schwab@suse.de>
12451         [BZ #18969]
12452         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12453         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12454         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12455         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12456         $(gen-locales).
12457         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12458         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12459         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12460         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12461         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12462         $(gen-locales).
12463         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12464         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12465         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12466         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12467         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12468         ($(objpfx)tst-ftell-active-handler.out)
12469         ($(objpfx)tst-ftell-append.out)
12470         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12471         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12472         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12473         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12474         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12475         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12476         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12477         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12478         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12479         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12480         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12481         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12482         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12483         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12484         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12485         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12486         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12487         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12488         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12489         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12490         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12491         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12492         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12493         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12494         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12495         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12496         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12497         $(gen-locales).
12498         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12499         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12500         $(gen-locales).
12501         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12502         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12503         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12504         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12505         $(gen-locales).
12506         * libio/tst_wprintf2.c (main): Use explicit locale.
12507         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12509 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12511         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12512         __msg_sig_post.
12513         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12515 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12517         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12518         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12520         * sysdeps/arm/libm-test-ulps: Regenerated.
12522         [BZ #15470]
12523         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12525         [BZ #16399]
12526         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12527         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12528         and <fix-fp-int-convert-overflow.h>.
12529         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12530         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12531         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12532         and <fix-fp-int-convert-overflow.h>.
12533         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12534         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12535         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12536         <fix-fp-int-convert-overflow.h>.
12537         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12538         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12539         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12540         <fix-fp-int-convert-overflow.h>.
12541         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12542         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12543         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12544         and <fix-fp-int-convert-overflow.h>.
12545         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12546         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12547         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12548         <limits.h> and <fix-fp-int-convert-overflow.h>.
12549         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12550         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12551         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12552         and <fix-fp-int-convert-overflow.h>.
12553         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12554         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12555         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12556         and <fix-fp-int-convert-overflow.h>.
12557         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12558         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12559         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12561 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12563         [BZ #18589]
12564         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12565         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12566         $(gen-locales).
12568 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12569             Phil Blundell <pb@pbcl.net>
12571         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12572         * nptl/tst-cancel26.c: New file.
12573         * nptl/tst-cancel27.c: Likewise.
12575 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12577         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12578         __ILP32__ isn't defined.
12579         (lrint): Likewise.
12580         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12581         (lrintf): Likewise.
12582         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12583         (lrintl): Likewise.
12584         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12585         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12586         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12588 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12590         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12591         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12593         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12594         file.
12595         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12596         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12598 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12600         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12601         configure test.
12602         * sysdeps/i386/configure: Regenerated.
12603         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12604         configure test.
12605         * sysdeps/x86_64/configure: Regenerated.
12606         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12607         Make code unconditional.
12609         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12610         test.
12611         * sysdeps/i386/configure: Regenerated.
12612         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12613         test.
12614         * sysdeps/x86_64/configure: Regenerated.
12615         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12616         Make code unconditional.
12617         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12618         Likewise.
12619         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12620         Likewise.
12621         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12622         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12623         code unconditional.
12624         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12625         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12626         code unconditional.
12627         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12628         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12629         code unconditional.
12630         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12631         code unconditional.
12632         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12633         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12634         code unconditional.
12635         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12636         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12637         code unconditional.
12638         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12639         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12640         code unconditional.
12641         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12642         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12643         code unconditional.
12644         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12645         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12647         [BZ #19095]
12648         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12649         mantissa to long int before shifting left.
12651 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12653         [BZ #19094]
12654         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12655         <limits.h>.
12656         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12657         when result overflows but exception would not result from cast.
12658         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12659         <limits.h>.
12660         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12661         when result overflows but exception would not result from cast.
12662         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12663         <limits.h>.
12664         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12665         when result overflows but exception would not result from cast.
12666         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12667         <limits.h>.
12668         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12669         when result overflows but exception would not result from cast.
12670         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12671         <limits.h>.
12672         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12673         when result overflows but exception would not result from cast.
12674         * math/libm-test.inc (lrint_test_data): Add more tests.
12675         (llrint_test_data): Likewise.
12677 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12679         [BZ #18872]
12680         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12681         Move out from under [$(run-built-tests) = yes] conditional.
12682         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12683         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12685 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12687         [BZ #18589]
12688         * string/Makefile (tests): Add bug-strcoll2.
12689         (LOCALES): Add cs_CZ.UTF-8.
12690         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12692         [BZ #18589]
12693         * string/bug-strcoll2.c: New file.
12694         * locale/categories.def: Revert commit
12695         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12696         * locale/langinfo.h: Likewise.
12697         * locale/localeinfo.h: Likewise.
12698         * locale/C-collate.c: Likewise.
12699         * locale/programs/ld-collate.c (collate_output): Likewise.
12700         * string/strcoll_l.c (STRDIFF): Likewise.
12701         (STRCOLL): Likewise.
12702         * wcsmbs/wcscoll_l.c: Likewise.
12704 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12706         * math/libm-test.inc (lround_test_data): Do not expect the absence
12707         of "inexact" for some tests with non-integer arguments.
12708         (llround_test_data): Likewise.
12710         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12711         test.
12712         (libc_cv_cc_sse2avx): Likewise.
12713         * sysdeps/i386/configure: Regenerated.
12714         * sysdeps/i386/i686/multiarch/Makefile
12715         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12716         [$(subdir) = math].
12717         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12718         code unconditional.
12719         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12720         Likewise.
12721         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12722         Likewise.
12723         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12724         Likewise.
12725         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12726         test.
12727         (libc_cv_cc_sse2avx): Likewise.
12728         * sysdeps/x86_64/configure: Regenerated.
12729         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12730         unconditional.
12731         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12732         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12733         unconditional.
12734         (_dl_runtime_profile)
12735         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12736         conditional code.
12737         * sysdeps/x86_64/fpu/multiarch/Makefile
12738         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12739         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12740         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12741         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12742         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12743         * sysdeps/x86_64/fpu/multiarch/e_log.c
12744         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12745         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12746         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12747         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12748         Likewise.
12749         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12750         Likewise.
12751         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12752         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12753         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12754         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12755         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12756         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12757         (HAVE_SSE2AVX_SUPPORT): Likewise.
12759 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12761         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12762         instead of #pragma optimize.
12764 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12766         [BZ #17195]
12767         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12768         as is similarly done in systrim and _int_free already.
12770 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12772         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12774 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12776         [BZ #19088]
12777         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12778         <limits.h>.
12779         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12780         overflows but exception would not result from cast.
12781         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12782         and <limits.h>.
12783         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12784         overflows but exception would not result from cast.
12785         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12786         <limits.h>.
12787         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12788         overflows but exception would not result from cast.
12789         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12790         <limits.h>.
12791         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12792         overflows but exception would not result from cast.
12793         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12794         <limits.h>.
12795         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12796         overflows but exception would not result from cast.
12797         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12798         <limits.h>.
12799         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12800         overflows but exception would not result from cast.
12801         * math/libm-test.inc (lround_test_data): Add more tests.
12802         (llround_test_data): Likewise.
12804 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12806         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12807         (CFLAGS-ialloc.c): Ditto.
12808         (CFLAGS-scheck.c): Ditto.
12810 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12812         [BZ #19086]
12813         * manual/filesys.texi (Storage Allocation): Fix argument order for
12814         posix_fallocate64.
12816 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12818         [BZ #19085]
12819         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12820         exponent below 48 inside case for non-overflowing exponent.
12821         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12823 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12825         * iconvdata/cp737.h (from_idx): Add const.
12826         * iconvdata/cp775.h (from_idx): Likewise.
12828 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12830         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12831         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12832         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12834         [BZ #19079]
12835         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12836         file, conditioned on [!_LP64].
12837         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12838         [!_LP64] (__lround): Do not define as function or alias.
12839         [!_LP64] (lround): Likewise.
12840         [!_LP64] (__lroundl): Likewise.
12841         [!_LP64] (lroundl): Likewise.
12842         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12843         macro.
12844         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12845         Likewise.
12847 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12849         * math/libm-test.inc (lrint_test_data): Add more tests.
12850         (llrint_test_data): Likewise.
12851         (lround_test_data): Likewise.
12852         (llround_test_data): Likewise.
12854         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12855         (llrint_test_data): Add tests used for lrint.
12857         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12858         test.
12859         * sysdeps/i386/configure: Regenerated.
12860         * sysdeps/i386/i686/multiarch/Makefile
12861         [$(config-cflags-sse4) = yes]: Make code unconditional.
12862         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12863         Likewise.
12864         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12865         Likewise.
12866         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12867         test.
12868         * sysdeps/x86_64/configure: Regenerated.
12869         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12870         Make code unconditional.
12871         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12872         Likewise.
12873         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12874         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12876         * scripts/rpm2dynsym.sh: Remove file.
12878 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12880         * configure.ac (libc_cv_cxx_thread_local): Define.
12881         * configure: Regenerate.
12882         * config.make.in (have-cxx-thread_local): Define.
12883         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12884         (LDLIBS-tst-thread_local1): Define.
12885         (tests): Add tst-thread_local1.
12886         [have-cxx-thread_local != yes] (tests-unsupported): Add
12887         tst-thread_local1.
12888         * nptl/tst-thread_local1.cc: New file.
12890 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12892         [BZ #19078]
12893         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12894         (u_thres): Likewise.
12895         (__expl): Determine whether to call __kernel_standard_l based on
12896         value of result, not argument.
12898         * math/libm-test.inc (scalb_test_data): Add more expectations for
12899         the "inexact" exception.
12901         [BZ #19077]
12902         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12903         0.0L for argument 1.0L.
12905         [BZ #19076]
12906         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12907         constant 0.0L when computing infinite result.
12909 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12911         [BZ #10432]
12912         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12913         malloc_usable_size.
12915 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12917         [BZ #19018]
12918         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12919         Mangle function pointer before storing it.
12920         (__call_tls_dtors): Demangle function pointer before calling it.
12922 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12924         [BZ #19012]
12925         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12926         Clean up on failure.
12928 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12930         [BZ #19071]
12931         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12932         long int variable to store possibly incremented high part of
12933         mantissa.
12934         * math/libm-test.inc (lround_test_data): Add tests used for
12935         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12936         for tests requiring 64-bit long.  Do not condition tests on
12937         [TEST_FLOAT] unnecessarily.
12938         (llround_test_data): Add tests used for lround.  Add another
12939         expectation for the "inexact" exception.  Do not condition tests
12940         on [TEST_FLOAT] unnecessarily.
12942         [BZ #887]
12943         [BZ #19049]
12944         [BZ #19050]
12945         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12946         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12947         <fix-int-fp-convert-zero.h>.
12948         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12949         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12950         <fix-int-fp-convert-zero.h>.
12951         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12952         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12953         <fix-int-fp-convert-zero.h>.
12954         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12955         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12956         <fix-int-fp-convert-zero.h>.
12957         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12958         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12959         <fix-int-fp-convert-zero.h>.
12960         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12961         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12962         <fix-int-fp-convert-zero.h>.
12963         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12964         * sysdeps/ieee754/flt-32/s_erff.c: Include
12965         <fix-int-fp-convert-zero.h>.
12966         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12967         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12968         <fix-int-fp-convert-zero.h>.
12969         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12971         <fix-int-fp-convert-zero.h>.
12972         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12973         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12974         <fix-int-fp-convert-zero.h>.
12975         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12976         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12977         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12978         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12979         file.
12980         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12982 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12986 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12988         [BZ #19059]
12989         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12990         overflowing computation.
12991         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12992         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12993         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12994         Likewise.
12995         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12996         Likewise.
12997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12998         Likewise.
12999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13000         Likewise.
13001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13002         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13003         Likewise.
13004         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13005         Likewise.
13006         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13008         * nss/rewrite_field.c (__nss_rewrite_field): Use
13009         internal_function.
13010         * nss/valid_field.c (__nss_valid_field): Likewise.
13011         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13013 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13015         [BZ #18724]
13016         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13017         (__nss_invalid_field_characters, __nss_valid_field)
13018         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13019         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13020         tst-field.c: New file.
13021         * nss/Makefile (routines): Add valid_field, rewrite_field.
13022         (tests-static): Define unconditionally.
13023         (tests): Include tests-static.
13024         [build-static-nss] (tests-static): Use append.
13025         [build-static-nss] (tests): Remove modification.
13026         * nss/getent.c (print_group): Call putgrent.  Report error.
13027         (print_gshadow): Call putsgent.  Report error.
13028         (print_passwd): Call putpwent.  Report error.
13029         (print_shadow): Call putspent.  Report error.
13030         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13031         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13032         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13033         name, password, directory, shell fields for valid syntax.  Rewrite
13034         GECOS field to match syntax.
13035         * pwd/Makefile (tests): Add tst-putpwent.
13036         * pwd/tst-putpwent.c: New file.
13037         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13038         Check grName, grpasswd, gr_mem fields for valid syntax.
13039         Change loop variable i to size_t.
13040         * grp/Makefile (tests): Add tst-putgrent.
13041         * grp/tst-putgrent.c: New file.
13042         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13043         valid syntax.
13044         * shadow/Makefile (tests): Add tst-putspent.
13045         * shadow/tst-putspent.c: New file.
13046         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13047         sg_mem fields for valid syntax.
13048         * gshadow/Makefile (tests): Add tst-putsgent.
13049         * gshadow/tst-putsgent.c: New file.
13051 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13053         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13054         assembly instructions.
13056 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13058         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13059         prefix from operands.
13061 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13063         [BZ #16347]
13064         [BZ #19046]
13065         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13066         <libc-internal.h>.
13067         (MAXLGM): Do not use diagnostic control macros.
13068         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13069         threshold for ldbl-128ibm.
13070         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13071         instead of multiplying by log then subtracting.
13072         * math/auto-libm-test-in: Add more tests of lgamma.
13073         * math/auto-libm-test-out: Regenerated.
13075         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13076         (TYPE_HEX_DIG): Likewise.
13077         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13078         precisions when printing floating-point numbers.
13079         (check_float_internal): Likewise.
13081 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13083         [BZ #16620]
13084         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13085         of log (10) rounded downward to 48 bits.
13086         (log10_low): Use corresponding low part of log (10).
13088         [BZ #19032]
13089         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13090         compute result as (x - x) / (x - x) not as 0 / 0.
13091         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13092         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13094         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13095         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13096         and expm1.
13097         * math/auto-libm-test-out: Regenerated.
13098         * math/libm-test.inc (acos_test_data): Add more tests.
13099         (asin_test_data): Likewise.
13100         (asinh_test_data): Likewise.
13101         (atan_test_data): Likewise.
13102         (atanh_test_data): Likewise.
13103         (atan2_test_data): Likewise.
13104         (cbrt_test_data): Likewise.
13105         (ceil_test_data): Likewise.
13106         (copysign_test_data): Likewise.
13107         (cos_test_data): Likewise.
13108         (cosh_test_data): Likewise.
13109         (erf_test_data): Likewise.
13110         (erfc_test_data): Likewise.
13111         (exp_test_data): Likewise.
13112         (exp10_test_data): Likewise.
13113         (exp2_test_data): Likewise.
13114         (expm1_test_data): Likewise.
13115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13117 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13119         [BZ #19006]
13120         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13121         to ...
13122         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13123         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13124         to ...
13125         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13126         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13127         to ...
13128         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13129         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13130         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13131         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13132         to ...
13133         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13134         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13135         Moved to ...
13136         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13137         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13138         Moved to ...
13139         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13140         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13141         to ...
13142         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13143         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13144         Moved to ...
13145         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13146         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13147         to ...
13148         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13149         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13150         Removed.
13151         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13152         Likewise.
13153         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13154         Likewise.
13155         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13156         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13157         Likewise.
13158         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13159         Likewise.
13160         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13161         Likewise.
13162         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13163         Likewise.
13164         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13165         Likewise.
13166         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13167         Likewise.
13168         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13169         Likewise.
13170         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13171         Likewise.
13172         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13175         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13176         Likewise.
13177         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13178         Likewise.
13179         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13180         Likewise.
13181         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13182         Likewise.
13183         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13184         Likewise.
13185         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13186         Replace ../i486/pthread_cond_timedwait.S with
13187         ../pthread_cond_timedwait.S.
13189 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13191         * math/libm-test.inc (acos_test_data): Refine expectations for
13192         errno and "inexact" exceptions.
13193         (acosh_test_data): Likewise.
13194         (asin_test_data): Likewise.
13195         (asinh_test_data): Likewise.
13196         (atan_test_data): Likewise.
13197         (atanh_test_data): Likewise.
13198         (atan2_test_data): Likewise.
13199         (cbrt_test_data): Likewise.
13200         (ceil_test_data): Likewise.
13201         (copysign_test_data): Likewise.
13202         (cosh_test_data): Likewise.
13203         (erf_test_data): Likewise.
13204         (erfc_test_data): Likewise.
13205         (exp_test_data): Likewise.
13206         (exp10_test_data): Likewise.
13207         (exp2_test_data): Likewise.
13208         (expm1_test_data): Likewise.
13209         (fabs_test_data): Likewise.
13210         (floor_test_data): Likewise.
13211         (fma_test_data): Likewise.
13212         (fmax_test_data): Likewise.
13213         (fmin_test_data): Likewise.
13214         (fmod_test_data): Likewise.
13215         (fpclassify_test_data): Likewise.
13216         (frexp_test_data): Likewise.
13217         (hypot_test_data): Likewise.
13218         (ilogb_test_data): Likewise.
13219         (isgreater_test_data): Likewise.
13220         (isgreaterequal_test_data): Likewise.
13221         (isinf_test_data): Likewise.
13222         (isless_test_data): Likewise.
13223         (islessequal_test_data): Likewise.
13224         (islessgreater_test_data): Likewise.
13225         (isnan_test_data): Likewise.
13226         (isnormal_test_data): Likewise.
13227         (issignaling_test_data): Likewise.
13228         (isunordered_test_data): Likewise.
13229         (j0_test_data): Likewise.
13230         (j1_test_data): Likewise.
13231         (jn_test_data): Likewise.
13232         (lgamma_test_data): Likewise.
13233         (lrint_test_data): Likewise.
13234         (llrint_test_data): Likewise.
13235         (log_test_data): Likewise.
13236         (log10_test_data): Likewise.
13237         (log1p_test_data): Likewise.
13238         (log2_test_data): Likewise.
13239         (logb_test_data): Likewise.
13240         (lround_test_data): Likewise.
13241         (llround_test_data): Likewise.
13242         (modf_test_data): Likewise.
13243         (nearbyint_test_data): Likewise.
13244         (nextafter_test_data): Likewise.
13245         (nexttoward_test_data): Likewise.
13246         (pow_test_data): Likewise.
13247         (remainder_test_data): Likewise.
13248         (remquo_test_data): Likewise.
13249         (rint_test_data): Likewise.
13250         (round_test_data): Likewise.
13251         (signbit_test_data): Likewise.
13252         (sinh_test_data): Likewise.
13253         (sqrt_test_data): Likewise.
13254         (tanh_test_data): Likewise.
13255         (tgamma_test_data): Likewise.
13256         (trunc_test_data): Likewise.
13257         (y0_test_data): Likewise.
13258         (y1_test_data): Likewise.
13259         (yn_test_data): Likewise.
13260         (significand_test_data): Likewise.
13262 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13264         * manual/filesys.texi (Storage Allocation): Document that
13265         posix_fallocate emulation fails when fd is open with O_WRONLY.
13267 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13269         [BZ #19016]
13270         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13271         allow more cases with X^2 + Y^2 >= 0.5.
13272         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13273         normal element in sum instead of special-casing based on values of
13274         arguments.
13275         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13276         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13277         -1 as normal element in sum instead of special-casing based on
13278         values of arguments.
13279         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13280         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13281         (__x2y2m1): Update comment.
13282         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13283         as normal element in sum instead of special-casing based on values
13284         of arguments.
13285         * math/s_clog.c (__clog): Handle more cases using log1p without
13286         hypot.
13287         * math/s_clog10.c (__clog10): Likewise.
13288         * math/s_clog10f.c (__clog10f): Likewise.
13289         * math/s_clog10l.c (__clog10l): Likewise.
13290         * math/s_clogf.c (__clogf): Likewise.
13291         * math/s_clogl.c (__clogl): Likewise.
13292         * math/auto-libm-test-in: Add more tests of clog and clog10.
13293         * math/auto-libm-test-out: Regenerated.
13294         * sysdeps/i386/fpu/libm-test-ulps: Update.
13295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13297 2015-09-28  Martin Sebor  <msebor@redhat.com>
13299         [BZ #18969]
13300         * string/Makefile (LOCALES): Define.
13301         (gen-locales.mk): Include.
13302         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13303         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13304         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13305         on setlocale failure.
13307 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13309         [BZ #18985]
13310         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13311         (__strftime_internal): Likewise.
13312         * time/tst-strftime.c (do_bz18985): New test.
13313         (do_test): Call it.
13315 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13317         [BZ #18956]
13318         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13319         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13320         extracting high part.
13321         * math/auto-libm-test-in: Add another test of pow.
13322         * math/auto-libm-test-out: Regenerated.
13323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13325 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13327         [BZ #18825]
13328         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13329         New macro.
13330         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13331         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13332         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13333         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13334         DBL_NARROW_EVAL, reloading the PIC register as needed.
13335         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13336         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13337         FLT_NARROW_EVAL.  Use separate return path for case when first
13338         argument is NaN.
13339         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13340         DEFINE_LDBL_MIN.
13341         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13342         PIC register.
13343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13344         math_check_force_underflow_nonneg.
13345         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13346         underflow for subnormal result.
13347         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13348         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13349         math_check_force_underflow_nonneg.
13350         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13351         math_check_force_underflow.
13352         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13353         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13354         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13355         DEFINE_LDBL_MIN.
13356         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13357         * math/auto-libm-test-in: Add more tests of pow.
13358         * math/auto-libm-test-out: Regenerated.
13360 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13362         * nss/bug17079.c (init_test_items): Add diagnostic for
13363         inconsistent entries.
13364         (test_buffer_size): Skip inconsistent entries.
13366 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13368         [BZ #13304]
13369         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13370         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13371         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13373         [BZ #13304]
13374         * sysdeps/microblaze/s_fma.c: New file.
13375         * sysdeps/microblaze/s_fmaf.c: Likewise.
13376         * sysdeps/microblaze/sfp-machine.h: Likewise.
13378 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13380         [BZ #17250]
13381         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13382         member.
13384 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13386         [BZ #18803]
13387         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13388         (MO): New macro.
13389         (__ieee754_hypot) [PIC]: Load PIC register.
13390         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13391         DBL_NARROW_EVAL.
13392         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13393         math_check_force_underflow_nonneg in case where result might be
13394         tiny.
13395         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13396         Likewise.
13397         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13398         Likewise.
13399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13400         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13401         * math/auto-libm-test-in: Add more tests of hypot.
13402         * math/auto-libm-test-out: Regenerated.
13404 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13406         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13408 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13410         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13411         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13412         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13413         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13414         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13415         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13416         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13418         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13419         LOAD_PIC_REG.
13421         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13422         (FLT_CHECK_FORCE_UFLOW): Likewise.
13423         (DBL_CHECK_FORCE_UFLOW): Likewise.
13424         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13425         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13426         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13427         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13428         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13429         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13430         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13431         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13432         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13433         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13434         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13435         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13436         (flt_min): Replace with use of DEFINE_FLT_MIN.
13437         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13438         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13439         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13440         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13441         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13442         (flt_min): Replace with use of DEFINE_FLT_MIN.
13443         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13444         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13445         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13446         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13447         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13448         (flt_min): Replace with use of DEFINE_FLT_MIN.
13449         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13450         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13451         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13452         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13453         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13454         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13455         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13456         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13457         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13458         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13459         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13460         (flt_min): Replace with use of DEFINE_FLT_MIN.
13461         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13462         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13463         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13464         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13465         main computation.
13466         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13467         (flt_min): Replace with use of DEFINE_FLT_MIN.
13468         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13469         main computation.
13470         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13471         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13472         (MO): New macro.
13473         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13474         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13475         (flt_min): Replace with use of DEFINE_FLT_MIN.
13476         (MO): New macro.
13477         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13478         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13479         (__log1pl): Use MO.
13481         [BZ #19003]
13482         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13483         $(config-cflags-nofma).
13485 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13487         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13489 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13491         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13492         (TWO127): Likewise.
13494         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13495         (min_of_type): Likewise.
13496         (math_check_force_underflow): Likewise.
13497         (math_check_force_underflow_nonneg): Likewise.
13498         (math_check_force_underflow_complex): Likewise.
13499         * math/e_exp2l.c (__ieee754_exp2l): Use
13500         math_check_force_underflow_nonneg.
13501         * math/k_casinh.c (__kernel_casinh): Likewise.
13502         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13503         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13504         * math/s_catan.c (__catan): Use
13505         math_check_force_underflow_complex.
13506         * math/s_catanf.c (__catanf): Likewise.
13507         * math/s_catanh.c (__catanh): Likewise.
13508         * math/s_catanhf.c (__catanhf): Likewise.
13509         * math/s_catanhl.c (__catanhl): Likewise.
13510         * math/s_catanl.c (__catanl): Likewise.
13511         * math/s_ccosh.c (__ccosh): Likewise.
13512         * math/s_ccoshf.c (__ccoshf): Likewise.
13513         * math/s_ccoshl.c (__ccoshl): Likewise.
13514         * math/s_cexp.c (__cexp): Likewise.
13515         * math/s_cexpf.c (__cexpf): Likewise.
13516         * math/s_cexpl.c (__cexpl): Likewise.
13517         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13518         * math/s_clog10.c (__clog10): Likewise.
13519         * math/s_clog10f.c (__clog10f): Likewise.
13520         * math/s_clog10l.c (__clog10l): Likewise.
13521         * math/s_clogf.c (__clogf): Likewise.
13522         * math/s_clogl.c (__clogl): Likewise.
13523         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13524         * math/s_csinf.c (__csinf): Likewise.
13525         * math/s_csinh.c (__csinh): Likewise.
13526         * math/s_csinhf.c (__csinhf): Likewise.
13527         * math/s_csinhl.c (__csinhl): Likewise.
13528         * math/s_csinl.c (__csinl): Likewise.
13529         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13530         * math/s_csqrtf.c (__csqrtf): Likewise.
13531         * math/s_csqrtl.c (__csqrtl): Likewise.
13532         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13533         * math/s_ctanf.c (__ctanf): Likewise.
13534         * math/s_ctanh.c (__ctanh): Likewise.
13535         * math/s_ctanhf.c (__ctanhf): Likewise.
13536         * math/s_ctanhl.c (__ctanhl): Likewise.
13537         * math/s_ctanl.c (__ctanl): Likewise.
13538         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13539         instead of volatile.
13540         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13541         math_check_force_underflow.
13542         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13543         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13544         volatile when forcing underflow.
13545         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13546         math_check_force_underflow_nonneg.
13547         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13548         Likewise.
13549         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13550         math_check_force_underflow.
13551         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13552         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13553         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13554         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13555         math_check_force_underflow_nonneg.
13556         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13557         math_check_force_underflow.
13558         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13560         instead of volatile.
13561         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13562         math_check_force_underflow.
13563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13564         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13565         math_check_force_underflow_nonneg.
13566         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13567         math_check_force_underflow.
13568         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13569         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13570         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13571         math_check_force_underflow_nonneg.
13572         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13573         Likewise.
13574         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13575         math_check_force_underflow.
13576         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13577         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13578         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13579         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13580         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13581         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13582         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13583         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13584         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13585         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13586         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13587         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13588         Likewise.
13589         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13590         math_check_force_underflow_nonneg.
13591         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13592         Likewise.
13593         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13594         math_check_force_underflow.
13595         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13596         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13597         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13598         Likewise.
13599         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13600         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13601         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13602         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13603         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13604         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13606         instead of volatile.
13607         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13608         math_check_force_underflow.
13609         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13610         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13611         math_check_force_underflow.
13612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13613         Likewise.
13614         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13615         Use math_check_force_underflow_nonneg.
13616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13617         math_check_force_underflow.
13618         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13619         Likewise.
13620         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13621         Likewise.
13622         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13623         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13624         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13625         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13627         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13628         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13629         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13630         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13631         math_check_force_underflow_nonneg.
13632         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13633         math_check_force_underflow.
13634         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13635         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13636         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13637         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13638         math_check_force_underflow_nonneg.
13639         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13640         math_check_force_underflow.
13641         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13643         instead of volatile.
13644         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13645         math_check_force_underflow.
13647         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13648         * stdlib/strtod_l.c: Include <math_private.h>.
13649         (overflow_value): Use math_narrow_eval.
13650         (underflow_value): Likewise.
13651         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13652         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13653         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13654         (__ieee754_gamma_r): Likewise.
13655         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13656         Likewise.
13657         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13658         Likewise.
13659         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13660         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13661         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13662         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13663         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13664         (__ieee754_gammaf_r): Likewise.
13665         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13666         Likewise.
13667         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13668         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13669         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13670         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13671         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13672         volatile.
13673         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13674         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13675         math_narrow_eval.
13676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13677         Likewise.
13678         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13679         Likewise.
13680         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13681         Likewise.
13682         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13683         volatile.
13684         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13685         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13686         math_narrow_eval.
13687         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13688         Likewise.
13689         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13690         Likewise.
13692 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13694         * nptl/Versions: Remove ignored symbols.
13696 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13698         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13699         * nss/Makefile (tests): Update.
13701 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13703         * nss/bug18287.c: New file.
13704         * nss/Makefile (tests): Add bug18287.
13706 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13708         * mach/Versions (__mach_host_self_): Add symbol.
13710 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13712         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13713         vm_page_size.
13715 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13717         Really fix sysdeps/i386/fpu/s_scalbn.S build
13719         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13720         (libc: GLIBC_2_22): Remove unused version set.
13722 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13724         * config.make.in (enable-timezone-tools): New variable.
13725         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13726         (enable_timezone_tools): Export to generated files.
13727         * configure: Regenerate.
13728         * INSTALL: Regenerate.
13729         * manual/install.texi (--disable-timezone-tools): Document new flag.
13730         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13731         ifeq ($(enable-timezone-tools),yes) check.
13733 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13735         * timezone/Makefile: Revert previous change.
13737         [BZ #18980]
13738         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13739         (DEFINE_DBL_MIN): Likewise.
13740         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13741         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13742         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13743         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13744         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13745         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13746         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13747         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13748         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13749         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13750         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13751         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13752         (flt_min): Replace with use of DEFINE_FLT_MIN.
13753         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13754         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13755         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13756         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13757         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13758         (flt_min): Replace with use of DEFINE_FLT_MIN.
13759         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13760         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13761         (flt_min): Replace with use of DEFINE_FLT_MIN.
13762         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13763         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13764         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13765         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13766         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13767         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13768         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13769         (__ieee754_pow): Use DBL_NARROW_EVAL.
13770         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13771         (__ieee754_powf): Use FLT_NARROW_EVAL.
13772         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13773         (__ieee754_expf_sse2): Convert double-precision result to single
13774         precision.
13775         * sysdeps/i386/fpu/libm-test-ulps: Update.
13777 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13779         * timezone/Makefile: Ignore unused variable errors due to private.h
13780         (time_t_min) and (time_t_max).
13781         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13782         Likewise.
13784 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13786         [BZ #18981]
13787         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13788         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13789         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13790         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13791         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13792         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13793         (__scalbn): Use DBL_NARROW_EVAL.
13794         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13795         (__scalbnf): Use FLT_NARROW_EVAL.
13797 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13799         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13800         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13801         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13802         * stdio-common/printf_fp.c (___printf_fp):
13803         Use signbit to get the sign. Use isinf macro to allow inlining.
13804         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13805         * stdio-common/printf_size.c (__printf_size): Likewise.
13807 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13809         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13811 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #18980]
13814         * sysdeps/generic/math_private.h: Include <float.h>.
13815         (math_narrow_eval): New macro.
13816         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13817         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13818         math_narrow_eval on overflowing return value.
13819         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13820         Likewise.
13821         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13822         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13823         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13824         Likewise.
13825         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13827 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13829         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13830         * math/Makefile: Remove isinf_ns.c.
13831         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13832         * math/multc3.c (__multc3): Likewise.
13833         * math/s_casin.c (__casin): Likewise.
13834         * math/s_casinf.c (__casinf): Likewise.
13835         * math/s_casinl.c (__casinl): Likewise.
13836         * math/s_cproj.c (__cproj): Likewise.
13837         * math/s_cprojf.c (__cprojf): Likewise.
13838         * math/s_cprojl.c (__cprofl): Likewise.
13839         * math/s_ctan.c (__ctan): Likewise.
13840         * math/s_ctanf.c (__ctanf): Likewise.
13841         * math/s_ctanh.c (__ctanh): Likewise.
13842         * math/s_ctanhf.c (__ctanhf): Likewise.
13843         * math/s_ctanhl.c (__ctanhl): Likewise.
13844         * math/s_ctanl.c (__ctanl): Likewise.
13845         * math/w_fmod.c (__fmod): Likewise.
13846         * math/w_fmodf.c (__fmodf): Likewise.
13847         * math/w_fmodl.c (_fmodl): Likewise.
13848         * math/w_remainder.c (__remainder): Likewise.
13849         * math/w_remainderf.c (__remainderf): Likewise.
13850         * math/w_remainderl.c (__remainderl): Likewise.
13851         * math/w_scalb.c (__scalb): Likewise.
13852         * math/w_scalbf.c (__scalbf): Likewise.
13853         * math/w_scalbl.c (__scalbl): Likewise.
13854         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13855         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13856         with isinf.
13857         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13859         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13860         __isinf_nsf with isinf.
13861         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13862         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13863         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13864         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13865         with isinf.
13866         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13867         __isinf_nsl with isinf.
13868         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13869         with isinf.
13870         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13871         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13872         __isinf_nsl with isinf.
13873         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13874         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13875         with isinf.
13877 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13879         * resolv/base64.c (rcsid): Remove unused static.
13880         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13881         static.  (tqpi1): Likewise.
13882         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13883         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13884         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13885         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13886         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13887         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13888         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13889         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13890         Likewise.
13892 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13894         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13895         <nptl/pthreadP.h>.
13896         (_longjmp_unwind): Use __libc_ptf_call.
13897         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13899 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13901         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13902         * sysdeps/arm/__longjmp.S: Likewise.
13904 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13906         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13907         Use __builtin_signbit.
13908         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13909         Use __builtin_signbitf.
13910         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13911         Use __builtin_signbitl.
13912         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13913         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13915 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13917         [BZ #15367]
13918         [BZ #17441]
13920         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13921         * math/math.h (fpclassify): Use __builtin_fpclassify when
13922         available.  (signbit): Use __builtin_signbit(f/l).
13923         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13924         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13925         (isinf): Use __builtin_isinf_sign.
13927 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13929         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13930         * benchtests/bench-math-inlines.c: New benchmark.
13931         * benchtests/bench-util.h: New file.
13932         * benchtests/bench-util.c: New file.
13933         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13935 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13937         * elf/tst-dlmopen1.c: Define TEST_SO.
13938         (do_test): Use TEST_SO.
13940         * elf/dl-load.c: Include libc-internal.h.
13941         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13943 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13945         [BZ #17887]
13946         * time/strptime_l.c (__strptime_internal): Make %z accept
13947         [+-]HH:MM time zones.
13949 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13951         [BZ #17886]
13952         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13953         valid time zone.
13955 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13957         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13958         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13959         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13960         (__ASSUME_FDATASYNC): Delete.
13962 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13964         * conform/linknamespace.pl: Require weak undefined symbols to be
13965         in the standard namespace.
13966         (%strong_syms): Rename to %seen_syms.
13967         (%strong_seen): Rename to %seen_where.
13969 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13971         [BZ #18970]
13972         * misc/error.c (error): Replace pthread_setcancelstate with
13973         __pthread_setcancelstate.
13974         (error_at_line): Likewise.
13975         * posix/wordexp.c (parse_comm): Likewise.
13976         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13977         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13978         (__pthread_setcancelstate): This.
13979         (pthread_setcancelstate): Add an alias.
13980         * nptl/nptl-init.c (pthread_functions): Replace
13981         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13982         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13983         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13984         hidden_proto.
13985         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13986         it with hidden_def.
13987         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13988         (pthread_setcancelstate): Renamed to ...
13989         (__pthread_setcancelstate): This.
13990         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13991         __libc_ptf_call with __pthread_setcancelstate.
13993 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13994             Andreas Schwab  <schwab@suse.de>
13996         [BZ #17118]
13997         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13998         result when imaginary part of argument is infinite using sine and
13999         cosine.
14000         * math/s_ctanf.c (__ctanf): Likewise.
14001         * math/s_ctanl.c (__ctanl): Likewise.
14002         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14003         of result when real part of argument is infinite using sine and
14004         cosine.
14005         * math/s_ctanhf.c (__ctanhf): Likewise.
14006         * math/s_ctanhl.c (__ctanhl): Likewise.
14007         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14008         (ctanh_test_data): Add more tests of ctanh.
14010 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14012         [BZ #15384]
14013         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14014         bit-mask as in subtraction.
14015         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14016         Likewise.
14017         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14018         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14019         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14021         [BZ #18951]
14022         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14023         underflow exception for small results.
14024         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14025         Likewise.
14026         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14027         Likewise.
14028         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14029         Likewise.
14030         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14031         Likewise.
14032         * math/auto-libm-test-in: Add more tests of tgamma.
14033         * math/auto-libm-test-out: Regenerated.
14035 2015-09-17  Andreas Schwab  <schwab@suse.de>
14037         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14039 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14041         [BZ #18977]
14042         * math/bits/mathcalls.h
14043         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14044         not declare.
14045         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14046         Likewise.
14047         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14048         Likewise.
14049         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14050         Likewise.
14051         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14052         Likewise.
14053         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14054         Likewise.
14055         * conform/data/math.h-data
14056         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14057         function.
14058         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14059         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14060         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14061         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14062         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14063         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14064         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14065         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14066         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14067         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14068         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14070         [BZ #6803]
14071         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14072         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14073         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14074         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14075         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14076         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14077         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14078         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14079         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14080         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14081         Likewise.
14082         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14083         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14084         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14085         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14086         long_double_symbol calls.
14087         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14088         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14089         strong alias of __ldexpl.
14090         (scalbnl): Define using long_double_symbol.
14091         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14092         Remove alias.
14093         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14094         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14095         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14096         (scalbln_test_data): Add more errno expectations.
14098 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14100         Cache the host port like we cache the task port.  This way we do not
14101         need to call the kernel just to get the port.  Furthermore, we no
14102         longer increase the reference count on every invocation of
14103         `mach_host_self'.
14105         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14106         Protect declarations against the macro expansion.
14107         * mach/mach_init.c (__mach_host_self_): New variable.
14108         (mach_init): Initialize `__mach_host_self_'.
14109         * mach/mach_init.h (__mach_host_self_): New declaration.
14110         (__mach_host_self, mach_host_self): New macros.
14111         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14112         Release reference.
14114 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14116         [BZ #4404]
14117         * po/de.po: Update from Translation Project.
14119         [BZ #16415]
14120         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14121         (__expm1l): Remove code to handle positive infinity and overflow.
14122         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14123         variable.
14124         (__expm1l): Remove code to handle positive infinity and overflow.
14126 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14127             Paul Pluzhnikov  <ppluzhnikov@google.com>
14129         [BZ #18872]
14130         * stdio-common/Makefile (tst-printf-bz18872): New test.
14131         (tst-printf-bz18872-mem.out): Likewise.
14132         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14133         * stdio-common/vfprintf.c: Fix memory leaks.
14135 2015-09-16  Andreas Schwab  <schwab@suse.de>
14137         [BZ #17244]
14138         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14139         Remove extra va_start/va_end calls.
14141         [BZ #17243]
14142         * posix/execl.c (execl): Add missing va_end.
14143         * posix/execle.c (execle): Likewise.
14144         * posix/execlp.c (execlp): Likewise.
14146 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14148         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14149         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14151 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14153         [BZ #18967]
14154         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14155         undefine around includes of <bits/mathcalls.h>.
14156         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14157         not declare function.
14158         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14159         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14160         (scalb): Likewise.
14161         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14162         not define macro.
14163         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14164         variable.
14165         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14166         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14167         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14169         [BZ #18857]
14170         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14171         return non-finite argument without doing ordered comparisons on
14172         it.
14174         [BZ #16296]
14175         * math/fenv.h (fegetround): Use __attribute_pure__.
14176         * include/fenv.h (__fegetround): Likewise.
14178         [BZ #18595]
14179         * math/s_ctan.c (__ctan): Force underflow exception for results
14180         whose real or imaginary part has small absolute value.
14181         * math/s_ctanf.c (__ctanf): Likewise.
14182         * math/s_ctanh.c (__ctanh): Likewise.
14183         * math/s_ctanhf.c (__ctanhf): Likewise.
14184         * math/s_ctanhl.c (__ctanhl): Likewise.
14185         * math/s_ctanl.c (__ctanl): Likewise.
14186         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14187         and ctanh.  Add more tests of ctan and ctanh.
14189         [BZ #15918]
14190         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14191         handling of cases where one argument is an infinity.
14193         [BZ #18875]
14194         [BZ #18966]
14195         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14196         (MO): New macro.
14197         (__ieee754_exp10): For small results, force underflow exception
14198         and remove excess range and precision from return value.
14199         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14200         (MO): New macro.
14201         (__ieee754_exp10f): For small results, force underflow exception
14202         and remove excess range and precision from return value.
14203         * math/auto-libm-test-in: Add more tests of exp10.
14204         * math/auto-libm-test-out: Regenerated.
14206 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14208         [BZ #18875]
14209         [BZ #18961]
14210         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14211         (MO): New macro.
14212         (__ieee754_exp): For small results, force underflow exception and
14213         remove excess range and precision from return value.
14214         (__exp_finite): Likewise.
14215         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14216         (MO): New macro.
14217         (__ieee754_expf): For small results, force underflow exception and
14218         remove excess range and precision from return value.
14219         (__expf_finite): Likewise.
14220         * math/auto-libm-test-in: Add more tests of exp.
14221         * math/auto-libm-test-out: Regenerated.
14223         [BZ #16521]
14224         [BZ #18875]
14225         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14226         small results.
14227         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14228         (MO): New macro.
14229         (__ieee754_exp2): For small results, force underflow exception and
14230         remove excess range and precision from return value.
14231         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14232         (MO): New macro.
14233         (__ieee754_exp2f): For small results, force underflow exception
14234         and remove excess range and precision from return value.
14235         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14236         (MO): New macro.
14237         (__ieee754_exp2l): Force underflow exception for small results.
14238         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14239         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14240         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14241         (MO): New macro.
14242         (__ieee754_exp2l): Force underflow exception for small results.
14243         * math/auto-libm-test-in: Add more tests or exp2.
14244         * math/auto-libm-test-out: Regenerated.
14246 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14248         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14250         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14251         /dev/null.
14253 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14255         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14256         io fs process)): Drop spurious backslash.
14258 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14260         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14261         Use sysinfo system call instead of parsing /proc/meminfo.
14262         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14263         Likewise.
14265 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14267         [BZ #16985]
14268         * programs/localedef.c (main): Display argv[remaining] when
14269         output_path is NULL.
14271 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14273         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14274         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14275         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14276         tanh.
14277         * math/auto-libm-test-out: Regenerated.
14278         * sysdeps/i386/fpu/libm-test-ulps: Update.
14279         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14280         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14283 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14285         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14286         Use 'override' keyword to freeze the value here, preventing
14287         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14289 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14291         [BZ #14912]
14292         * sysdeps/aarch64/bits/atomic.h: Move to ...
14293         * sysdeps/aarch64/atomic-machine.h: ...here.
14294         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14295         _AARCH64_ATOMIC_MACHINE_H.
14296         * sysdeps/alpha/bits/atomic.h: Move to ...
14297         * sysdeps/alpha/atomic-machine.h: ...here.
14298         * sysdeps/arm/bits/atomic.h: Move to ...
14299         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14300         * bits/atomic.h: Move to ...
14301         * sysdeps/generic/atomic-machine.h: ...here.
14302         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14303         * sysdeps/i386/bits/atomic.h: Move to ...
14304         * sysdeps/i386/atomic-machine.h: ...here.
14305         * sysdeps/ia64/bits/atomic.h: Move to ...
14306         * sysdeps/ia64/atomic-machine.h: ...here.
14307         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14308         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14309         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14310         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14311         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14312         * sysdeps/microblaze/bits/atomic.h: Move to ...
14313         * sysdeps/microblaze/atomic-machine.h: ...here.
14314         * sysdeps/mips/bits/atomic.h: Move to ...
14315         * sysdeps/mips/atomic-machine.h: ...here.
14316         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14317         * sysdeps/powerpc/bits/atomic.h: Move to ...
14318         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14319         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14320         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14321         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14322         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14323         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14324         <atomic-machine.h> instead of <bits/atomic.h>.
14325         * sysdeps/s390/bits/atomic.h: Move to ...
14326         * sysdeps/s390/atomic-machine.h: ...here.
14327         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14328         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14329         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14330         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14331         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14332         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14333         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14334         * sysdeps/tile/bits/atomic.h: Move to ...
14335         * sysdeps/tile/atomic-machine.h: ...here.
14336         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14337         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14338         <sysdeps/tile/atomic-machine.h> instead of
14339         <sysdeps/tile/bits/atomic.h>.
14340         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14341         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14342         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14343         <sysdeps/tile/atomic-machine.h> instead of
14344         <sysdeps/tile/bits/atomic.h>.
14345         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14346         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14347         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14348         <sysdeps/arm/atomic-machine.h> instead of
14349         <sysdeps/arm/bits/atomic.h>.
14350         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14351         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14352         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14353         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14354         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14355         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14356         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14357         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14358         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14359         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14360         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14361         * sysdeps/x86_64/bits/atomic.h: Move to ...
14362         * sysdeps/x86_64/atomic-machine.h: ...here.
14363         * include/atomic.h: Include <atomic-machine.h> instead of
14364         <bits/atomic.h>.
14366         * sysdeps/mips/mips32/libm-test-ulps: Update.
14367         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14369         [BZ #18952]
14370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14371         not convert non-integer negative arguments to int to determine the
14372         value of signgam.
14373         * math/auto-libm-test-in: Add more tests of lgamma.
14374         * math/auto-libm-test-out: Regenerated.
14376         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14377         cosh, csqrt, erfc, expm1 and lgamma.
14378         * math/auto-libm-test-out: Regenerated.
14379         * sysdeps/i386/fpu/libm-test-ulps: Update.
14380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14382 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14384         [BZ #2542]
14385         [BZ #2543]
14386         [BZ #2558]
14387         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14388         __lgamma_neg for arguments from -28.0 to -2.0.
14389         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14390         __lgamma_negf for arguments from -15.0 to -2.0.
14391         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14392         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14393         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14394         Call __lgamma_negl for arguments from -33.0 to -2.0.
14395         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14396         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14397         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14398         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14399         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14400         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14401         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14402         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14403         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14404         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14405         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14406         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14407         (__lgamma_neg): Likewise.
14408         (__lgamma_negl): Likewise.
14409         (__lgamma_product): Likewise.
14410         (__lgamma_productl): Likewise.
14411         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14412         * math/auto-libm-test-in: Add more tests of lgamma.
14413         * math/auto-libm-test-out: Regenerated.
14414         * sysdeps/i386/fpu/libm-test-ulps: Update.
14415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14417 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14419         [BZ #18675]
14420         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14422 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14424         [BZ #14912]
14425         * bits/libc-lock.h: Move to ...
14426         * sysdeps/generic/libc-lock.h: ...here.
14427         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14428         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14429         * sysdeps/mach/hurd/libc-lock.h: ...here.
14430         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14431         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14432         * sysdeps/mach/bits/libc-lock.h: Move to ...
14433         * sysdeps/mach/libc-lock.h: ...here.
14434         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14435         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14436         * sysdeps/nptl/libc-lock.h: ...here.
14437         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14438         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14439         * sysdeps/nptl/libc-lockP.h: ...here.
14440         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14441         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14442         <bits/libc-lock.h>.
14443         * dirent/scandir-tail.c: Likewise.
14444         * dlfcn/dlerror.c: Likewise.
14445         * elf/dl-close.c: Likewise.
14446         * elf/dl-iteratephdr.c: Likewise.
14447         * elf/dl-lookup.c: Likewise.
14448         * elf/dl-open.c: Likewise.
14449         * elf/dl-support.c: Likewise.
14450         * elf/dl-writev.h: Likewise.
14451         * elf/rtld.c: Likewise.
14452         * grp/fgetgrent.c: Likewise.
14453         * gshadow/fgetsgent.c: Likewise.
14454         * gshadow/sgetsgent.c: Likewise.
14455         * iconv/gconv_conf.c: Likewise.
14456         * iconv/gconv_db.c: Likewise.
14457         * iconv/gconv_dl.c: Likewise.
14458         * iconv/gconv_int.h: Likewise.
14459         * iconv/gconv_trans.c: Likewise.
14460         * include/link.h: Likewise.
14461         * inet/getnameinfo.c: Likewise.
14462         * inet/getnetgrent.c: Likewise.
14463         * inet/getnetgrent_r.c: Likewise.
14464         * intl/bindtextdom.c: Likewise.
14465         * intl/dcigettext.c: Likewise.
14466         * intl/finddomain.c: Likewise.
14467         * intl/gettextP.h: Likewise.
14468         * intl/loadmsgcat.c: Likewise.
14469         * intl/localealias.c: Likewise.
14470         * intl/textdomain.c: Likewise.
14471         * libidn/idn-stub.c: Likewise.
14472         * libio/libioP.h: Likewise.
14473         * locale/duplocale.c: Likewise.
14474         * locale/freelocale.c: Likewise.
14475         * locale/newlocale.c: Likewise.
14476         * locale/setlocale.c: Likewise.
14477         * login/getutent_r.c: Likewise.
14478         * login/getutid_r.c: Likewise.
14479         * login/getutline_r.c: Likewise.
14480         * login/utmp-private.h: Likewise.
14481         * login/utmpname.c: Likewise.
14482         * malloc/mtrace.c: Likewise.
14483         * misc/efgcvt.c: Likewise.
14484         * misc/error.c: Likewise.
14485         * misc/fstab.c: Likewise.
14486         * misc/getpass.c: Likewise.
14487         * misc/mntent.c: Likewise.
14488         * misc/syslog.c: Likewise.
14489         * nis/nis_call.c: Likewise.
14490         * nis/nis_callback.c: Likewise.
14491         * nis/nss-default.c: Likewise.
14492         * nis/nss_compat/compat-grp.c: Likewise.
14493         * nis/nss_compat/compat-initgroups.c: Likewise.
14494         * nis/nss_compat/compat-pwd.c: Likewise.
14495         * nis/nss_compat/compat-spwd.c: Likewise.
14496         * nis/nss_nis/nis-alias.c: Likewise.
14497         * nis/nss_nis/nis-ethers.c: Likewise.
14498         * nis/nss_nis/nis-grp.c: Likewise.
14499         * nis/nss_nis/nis-hosts.c: Likewise.
14500         * nis/nss_nis/nis-network.c: Likewise.
14501         * nis/nss_nis/nis-proto.c: Likewise.
14502         * nis/nss_nis/nis-pwd.c: Likewise.
14503         * nis/nss_nis/nis-rpc.c: Likewise.
14504         * nis/nss_nis/nis-service.c: Likewise.
14505         * nis/nss_nis/nis-spwd.c: Likewise.
14506         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14507         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14508         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14509         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14510         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14511         * nis/nss_nisplus/nisplus-network.c: Likewise.
14512         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14513         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14514         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14515         * nis/nss_nisplus/nisplus-service.c: Likewise.
14516         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14517         * nis/ypclnt.c: Likewise.
14518         * nptl/libc_pthread_init.c: Likewise.
14519         * nss/getXXbyYY.c: Likewise.
14520         * nss/getXXent.c: Likewise.
14521         * nss/getXXent_r.c: Likewise.
14522         * nss/nss_db/db-XXX.c: Likewise.
14523         * nss/nss_db/db-netgrp.c: Likewise.
14524         * nss/nss_db/nss_db.h: Likewise.
14525         * nss/nss_files/files-XXX.c: Likewise.
14526         * nss/nss_files/files-alias.c: Likewise.
14527         * nss/nsswitch.c: Likewise.
14528         * posix/regex_internal.h: Likewise.
14529         * posix/wordexp.c: Likewise.
14530         * pwd/fgetpwent.c: Likewise.
14531         * resolv/res_hconf.c: Likewise.
14532         * resolv/res_libc.c: Likewise.
14533         * shadow/fgetspent.c: Likewise.
14534         * shadow/lckpwdf.c: Likewise.
14535         * shadow/sgetspent.c: Likewise.
14536         * socket/opensock.c: Likewise.
14537         * stdio-common/reg-modifier.c: Likewise.
14538         * stdio-common/reg-printf.c: Likewise.
14539         * stdio-common/reg-type.c: Likewise.
14540         * stdio-common/vfprintf.c: Likewise.
14541         * stdio-common/vfscanf.c: Likewise.
14542         * stdlib/abort.c: Likewise.
14543         * stdlib/cxa_atexit.c: Likewise.
14544         * stdlib/fmtmsg.c: Likewise.
14545         * stdlib/random.c: Likewise.
14546         * stdlib/setenv.c: Likewise.
14547         * string/strsignal.c: Likewise.
14548         * sunrpc/auth_none.c: Likewise.
14549         * sunrpc/bindrsvprt.c: Likewise.
14550         * sunrpc/create_xid.c: Likewise.
14551         * sunrpc/key_call.c: Likewise.
14552         * sunrpc/rpc_thread.c: Likewise.
14553         * sysdeps/arm/backtrace.c: Likewise.
14554         * sysdeps/generic/ldsodefs.h: Likewise.
14555         * sysdeps/generic/stdio-lock.h: Likewise.
14556         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14557         * sysdeps/i386/backtrace.c: Likewise.
14558         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14559         * sysdeps/m68k/backtrace.c: Likewise.
14560         * sysdeps/mach/hurd/cthreads.c: Likewise.
14561         * sysdeps/mach/hurd/dirstream.h: Likewise.
14562         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14563         * sysdeps/nptl/malloc-machine.h: Likewise.
14564         * sysdeps/nptl/stdio-lock.h: Likewise.
14565         * sysdeps/posix/dirstream.h: Likewise.
14566         * sysdeps/posix/getaddrinfo.c: Likewise.
14567         * sysdeps/posix/system.c: Likewise.
14568         * sysdeps/pthread/aio_suspend.c: Likewise.
14569         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14570         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14571         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14572         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14573         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14574         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14575         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14576         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14577         * sysdeps/unix/sysv/linux/system.c: Likewise.
14578         * sysdeps/x86_64/backtrace.c: Likewise.
14579         * time/alt_digit.c: Likewise.
14580         * time/era.c: Likewise.
14581         * time/tzset.c: Likewise.
14582         * wcsmbs/wcsmbsload.c: Likewise.
14583         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14584         instead of <bits/libc-lock.h> in comment.
14586 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14588         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14589         Only use .set mips2 if the current ISA is below mips2.
14590         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14591         Likewise.
14592         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14593         mips32r2 if the current ISA is below mips32r2.
14594         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14595         (TLS_IE): Updated to use the TLD_RDHWR macro.
14596         (TLS_LE): Likewise.
14597         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14598         __ASSEMBLER__ condition.
14600 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14602         Fix parallel build of before-compile targets.
14604         * sysdeps/mach/Makefile ($(patsubst
14605         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14606         mach-before-compile target.
14607         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14608         io fs process)): Move rule to dedicated hurd-before-compile target.
14610 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14612         Fix rules generating headers in hurd/ and mach/ when initial make call
14613         has subdir= explicitly set.
14615         * sysdeps/mach/Makefile ($(patsubst
14616         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14617         calling $(MAKE).
14618         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14619         io fs process)): Force subdir to hurd when calling $(MAKE).
14620         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14621         subdir to mach when calling $(MAKE).
14623 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14625         Check sysheaders when looking for Mach and Hurd headers
14627         * sysdeps/mach/configure.ac: Add sysheaders check.
14628         * sysdeps/mach/configure: Regenerate.
14629         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14630         * sysdeps/mach/hurd/configure: Regenerate.
14632 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14634         [BZ #18921]
14635         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14636         Fix inverted sense of test of 'o_directory_works' value.
14637         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14638         Bernhard Voelker <mail@bernhard-voelker.de>.
14640 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14642         [BZ #14912]
14643         * bits/linkmap.h: Move to ...
14644         * sysdeps/generic/linkmap.h: ...here.
14645         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14646         * sysdeps/aarch64/linkmap.h: ...here.
14647         * sysdeps/arm/bits/linkmap.h: Move to ...
14648         * sysdeps/arm/linkmap.h: ...here.
14649         * sysdeps/hppa/bits/linkmap.h: Move to ...
14650         * sysdeps/hppa/linkmap.h: ...here.
14651         * sysdeps/ia64/bits/linkmap.h: Move to ...
14652         * sysdeps/ia64/linkmap.h: ...here.
14653         * sysdeps/mips/bits/linkmap.h: Move to ...
14654         * sysdeps/mips/linkmap.h: ...here.
14655         * sysdeps/s390/bits/linkmap.h: Move to ...
14656         * sysdeps/s390/linkmap.h: ...here.
14657         * sysdeps/sh/bits/linkmap.h: Move to ...
14658         * sysdeps/sh/linkmap.h: ...here.
14659         * sysdeps/x86/bits/linkmap.h: Move to ...
14660         * sysdeps/x86/linkmap.h: ...here.
14661         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14663 2015-09-04  Andreas Schwab  <schwab@suse.de>
14665         [BZ #18635]
14666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14667         (__makecontext): Terminate FDE before return label.
14668         (__novec_makecontext): Likewise.
14670 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14672         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14673         first member of struct sv in syscall macro.
14675 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14677         [BZ #14912]
14678         * bits/stdio-lock.h: Move to ...
14679         * sysdeps/generic/stdio-lock.h: ...here.
14680         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14681         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14682         * sysdeps/nptl/stdio-lock.h: ...here.
14683         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14684         * include/libio.h: Include <stdio-lock.h> instead of
14685         <bits/stdio-lock.h>.
14686         * sysdeps/nptl/fork.c: Likewise.
14687         * sysdeps/pthread/flockfile.c: Likewise.
14688         * sysdeps/pthread/ftrylockfile.c: Likewise.
14689         * sysdeps/pthread/funlockfile.c: Likewise.
14691         [BZ #14912]
14692         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14693         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14694         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14695         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14696         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14697         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14698         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14700 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14702         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14703         (test-xfail-tst-protected1b): New variable.
14705 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14707         [BZ #14912]
14708         * bits/libc-tsd.h: Move to ...
14709         * sysdeps/generic/libc-tsd.h: ...here.
14710         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14711         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14712         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14713         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14714         * include/ctype.h: Include <libc-tsd.h> instead of
14715         <bits/libc-tsd.h>.
14716         * include/rpc/rpc.h: Likewise.
14717         * locale/localeinfo.h: Likewise.
14718         * sunrpc/rpc_thread.c: Likewise.
14719         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14720         * sysdeps/nptl/malloc-machine.h: Likewise.
14722         * Makefile (headers): Remove bits/libc-lock.h.
14723         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14725         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14726         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14727         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14728         <bits/stdio-lock.h>.
14729         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14730         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14732 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14734         [BZ #18757]
14735         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14736         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14737         BZ #18757.
14739 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14741         * malloc/mtrace.pl: Filter out NULL entries.
14743 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14745         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14746         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14747         macro.
14749         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14750         (TCP_CC_INFO): Likewise.
14751         (TCP_SAVE_SYN): Likewise.
14752         (TCP_SAVED_SYN): Likewise.
14754 2015-08-31  Brett Neumeier <brett@neumeier.us>
14756         [BZ #18870]
14757         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14759 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14761         [BZ #18873]
14762         Fix broken overflow check in posix_fallocate
14763         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14764         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14765         Fix parenthesization typo.
14767 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14769         [BZ #18887]
14770         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14771         tst-mntent-blank-passno.
14772         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14773         * misc/tst-mntent-blank-corrupt.c: New test.
14774         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14775         * misc/tst-mntent.c (do_test): ... here.
14777 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14779         [BZ #4404]
14780         * po/de.po: Fix SIGALRM typo.
14782 2015-08-28  James Perkins  <james@loowit.net>
14784         * time/tst-strptime2.c (tests): Replace short list of test
14785         strings for strptime %z specifier with code which exhaustively
14786         tests every combination of sign and 0 to 5 digits. Tests for
14787         rejection of invalid strings.
14789 2015-08-28  James Perkins  <james@loowit.net>
14791         [BZ #16141]
14792         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14793         calculation, removing incorrect decimal time rounding, so that
14794         all minute values result in a valid seconds value.
14795         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14796         offset range limits to UTC-99:59 through UTC+99:59 to parse
14797         current and historical use cases.
14798         * time/tst-strptime2.c (tests): Modify and add tests for the
14799         strptime %z input field descriptor, specifically conversion of
14800         minutes to seconds and validating an offset range of -9959 to
14801         +9959.
14803 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14804             Dmitry V. Levin  <ldv@altlinux.org>
14806         [BZ #18877]
14807         * posix/Makefile (tests): Add tst-mmap-offset.
14808         * posix/tst-mmap.c: New file.
14809         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14810         offset calculation for negative values.
14812 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14814         * sysdeps/i386/init-arch.h: New file.
14815         * sysdeps/i386/i586/init-arch.h: Likewise.
14816         * sysdeps/i386/i686/init-arch.h: Likewise.
14817         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14818         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14819         * sysdeps/x86/cpu-features.h (bit_I586): New.
14820         (bit_I686): Likewise.
14821         (bit_CX8): Likewise.
14822         (bit_CMOV): Likewise.
14823         (index_CX8): Likewise.
14824         (index_CMOV): Likewise.
14825         (index_I586): Likewise.
14826         (index_I686): Likewise.
14827         (reg_CX8): Likewise.
14828         (reg_CMOV): Likewise.
14829         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14830         available at compile-time.
14831         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14832         available at compile-time.
14833         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14834         (USE_I686): Likewise.
14836 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14838         * sysdeps/i386/bcopy.S: New file.
14839         * sysdeps/i386/bzero.S: Likewise.
14840         * sysdeps/i386/memcpy.S: Likewise.
14841         * sysdeps/i386/memmove.S: Likewise.
14842         * sysdeps/i386/mempcpy.S: Likewise.
14843         * sysdeps/i386/memset.S: Likewise.
14844         * sysdeps/i386/bzero.c: Removed.
14845         * sysdeps/i386/memset.c: Likewise.
14846         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14847         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14848         * sysdeps/i386/i586/memset_chk.S: Likewise.
14849         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14850         * sysdeps/i386/memcpy_chk.S: Here.
14851         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14852         * sysdeps/i386/memmove_chk.S: Here.
14853         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14854         * sysdeps/i386/mempcpy_chk.S: Likewise.
14855         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14856         * sysdeps/i386/memset_chk.S: Likewise.
14858 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14860         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14861         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14862         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14863         * soft-fp/fmadf4.c: Ditto.
14864         * soft-fp/fmatf4.c: Ditto.
14866 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14868         * sysdeps/i386/i586/Implies: Removed.
14869         * sysdeps/i386/i686/Implies: Likewise.
14871 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14873         * sysdeps/i386/i486/strlen.S: Moved to ...
14874         * sysdeps/i386/strlen.S: Here.
14876 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14878         * sysdeps/i386/i486/strcat.S: Moved to ...
14879         * sysdeps/i386/strcat.S: Here.
14881 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14883         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14884         * sysdeps/i386/pthread_spin_trylock.S: Here.
14885         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14886         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14888 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14890         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14891         * sysdeps/i386/string-inlines.c: Here.
14893 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14895         * sysdeps/i386/i486/htonl.S: Moved ...
14896         * sysdeps/i386/htonl.S: here.
14898 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14900         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14901         * sysdeps/i386/bits/atomic.h: Here.
14903 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14905         * sysdeps/i386/i486/Versions: Removed.
14907 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14909         [BZ #2898]
14910         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14911         Based on patch by Aurelien Jarno.
14913 2015-08-26  Stan Shebs  <stanshebs@google.com>
14915         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14916         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14918 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14920         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14921         * sysdeps/powerpc/dl-procinfo.c:
14922         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14923         feature so it shows when LD_SHOW_AUXV=1.
14925 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14927         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14928         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14929         definition.  ISA 2.07B no longer requires full sync.
14931 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14933         [BZ #18863]
14934         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14935         (si_call_addr): Define.
14936         (si_syscall): Define.
14937         (si_arch): Define.
14939 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14941         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14942         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14943         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14944         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14945         (__memset_zero_constant_len_parameter): New.
14946         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14947         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14948         (__memset_zero_constant_len_parameter): Don't define if
14949         __memset_chk or USE_AS_BZERO are defined.
14951         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14952         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14953         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14955         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14956         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14957         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14958         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14959         comments.
14960         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14961         -mno-mmx for $(all-rtld-routines).
14962         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14963         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14964         i386.
14966 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14968         * sysdeps/generic/unwind.h
14969         (_Unwind_Word): Use __mode__(__unwind_word__)
14970         instead of __mode__(__word__).
14971         (_Unwind_Sword): Likewise.
14973         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14974         (MAX_NEEDED_INPUT): New define.
14975         (MAX_NEEDED_OUTPUT): New define.
14977         * NEWS: New item for IBM z13 string optimizations.
14979         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14980         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14981         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14982         * sysdeps/s390/multiarch/Makefile
14983         (sysdep_routines): Add memrchr functions.
14984         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14985         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14987         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14988         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14989         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14990         * sysdeps/s390/multiarch/Makefile
14991         (sysdep_routines): Add wmemcmp functions.
14992         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14993         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14994         * benchtests/bench-wmemcmp.c: New File.
14995         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14997         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14998         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14999         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15000         * sysdeps/s390/multiarch/Makefile
15001         (sysdep_routines): Add wmemset functions.
15002         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15003         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15004         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15005         * string/test-memset.c: Add wmemset support.
15006         * wcsmbs/test-wmemset.c: New File.
15007         * wcsmbs/Makefile (strop-tests): Add wmemset.
15008         * benchtests/bench-memset.c: Add wmemset support.
15009         * benchtests/bench-wmemset.c: New File.
15010         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15012         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15013         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15014         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15015         * sysdeps/s390/multiarch/Makefile
15016         (sysdep_routines): Add memccpy functions.
15017         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15018         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15019         * string/memccpy.c: Use MEMCCPY if defined.
15021         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15022         * sysdeps/s390/multiarch/memchr.c: Likewise.
15023         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15024         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15025         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15026         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15027         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15028         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15029         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15030         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15031         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15032         and rawmemchr functions.
15033         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15034         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15035         and wmemchr.
15036         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15037         * string/test-memchr.c: Add wmemchr support.
15038         * wcsmbs/test-wmemchr.c: New File.
15039         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15040         * benchtests/bench-memchr.c: Add wmemchr support.
15041         * benchtests/bench-wmemchr.c: New File.
15042         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15044         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15045         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15046         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15047         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15048         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15049         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15051         wcscspn functions.
15052         * sysdeps/s390/multiarch/ifunc-impl-list.c
15053         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15054         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15055         * string/test-strcspn.c: Add wcscspn support.
15056         * wcsmbs/test-wcscspn.c: New File.
15057         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15058         * benchtests/bench-strcspn.c: Add wcscspn support.
15059         * benchtests/bench-wcscspn.c: New File.
15060         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15062         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15063         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15064         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15065         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15066         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15067         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15069         wcspbrk functions.
15070         * sysdeps/s390/multiarch/ifunc-impl-list.c
15071         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15072         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15073         * string/test-strpbrk.c: Add wcspbrk support.
15074         * wcsmbs/test-wcspbrk.c: New File.
15075         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15076         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15077         * benchtests/bench-wcspbrk.c: New File.
15078         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15080         * sysdeps/s390/multiarch/strspn-c.c: New File.
15081         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15082         * sysdeps/s390/multiarch/strspn.c: Likewise.
15083         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15084         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15085         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15086         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15087         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15088         wcsspn functions.
15089         * sysdeps/s390/multiarch/ifunc-impl-list.c
15090         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15091         * string/test-strspn.c: Add wcsspn support.
15092         * wcsmbs/test-wcsspn.c: New File.
15093         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15094         * benchtests/bench-strspn.c: Add wcsspn support.
15095         * benchtests/bench-wcsspn.c: New File.
15096         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15098         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15099         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15100         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15101         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15102         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15103         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15104         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15105         wcsrchr functions.
15106         * sysdeps/s390/multiarch/ifunc-impl-list.c
15107         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15108         * benchtests/bench-wcsrchr.c: New File.
15109         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15111         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15112         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15113         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15114         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15115         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15116         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15117         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15118         wcschrnul functions.
15119         * sysdeps/s390/multiarch/ifunc-impl-list.c
15120         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15121         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15122         * string/test-strchr.c: Add wcschrnul support.
15123         * wcsmbs/test-wcschrnul.c: New File.
15124         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15125         * benchtests/bench-strchr.c: Add wcschrnul support.
15126         * benchtests/bench-wcschrnul.c: New File.
15127         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15129         * sysdeps/s390/multiarch/strchr-c.c: New File.
15130         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15131         * sysdeps/s390/multiarch/strchr.c: Likewise.
15132         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15133         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15134         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15136         wcschr functions.
15137         * sysdeps/s390/multiarch/ifunc-impl-list.c
15138         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15139         * string/strchr.c (STRCHR): Define and use macro.
15140         * benchtests/bench-wcschr.c: New File.
15141         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15143         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15144         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15145         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15146         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15147         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15148         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15150         wcsncmp functions.
15151         * sysdeps/s390/multiarch/ifunc-impl-list.c
15152         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15153         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15154         * benchtests/bench-strncmp.c: Add wcsncmp support.
15155         * benchtests/bench-wcsncmp.c: New File.
15156         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15158         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15159         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15160         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15161         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15162         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15163         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15164         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15166         wcscmp functions.
15167         * sysdeps/s390/multiarch/ifunc-impl-list.c
15168         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15169         * string/strcmp.c (STRCMP): Define and use macro.
15170         * benchtests/bench-wcscmp.c: New File.
15171         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15172         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15173         instead of _HAVE_STRING_ARCH_memchr.
15175         * sysdeps/s390/multiarch/strncat-c.c: New File.
15176         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15177         * sysdeps/s390/multiarch/strncat.c: Likewise.
15178         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15179         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15180         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15182         wcsncat functions.
15183         * sysdeps/s390/multiarch/ifunc-impl-list.c
15184         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15185         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15186         * string/test-strncat.c: Add wcsncat support.
15187         * wcsmbs/test-wcsncat.c: New File.
15188         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15189         * benchtests/bench-strncat.c: Add wcsncat support.
15190         * benchtests/bench-wcsncat.c: New File.
15191         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15193         * sysdeps/s390/multiarch/strcat-c.c: New File.
15194         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15195         * sysdeps/s390/multiarch/strcat.c: Likewise.
15196         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15197         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15198         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15200         wcscat functions.
15201         * sysdeps/s390/multiarch/ifunc-impl-list.c
15202         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15203         * string/strcat.c (STRCAT): Define and use macro.
15204         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15205         * string/test-strcat.c: Add wcscat support.
15206         * wcsmbs/test-wcscat.c: New File.
15207         * wcsmbs/Makefile (strop-tests): Add wcscat.
15208         * benchtests/bench-strcat.c: Add wcscat support.
15209         * benchtests/bench-wcscat.c: New File.
15210         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15212         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15213         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15214         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15215         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15216         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15217         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15218         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15219         wcpncpy functions.
15220         * sysdeps/s390/multiarch/ifunc-impl-list.c
15221         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15222         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15223         * string/test-stpncpy.c: Add wcpncpy support.
15224         * wcsmbs/test-wcpncpy.c: New File.
15225         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15226         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15227         * benchtests/bench-wcpncpy.c: New File.
15228         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15230         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15231         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15232         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15233         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15234         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15235         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15236         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15237         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15238         wcsncpy functions.
15239         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15240         * sysdeps/s390/multiarch/ifunc-impl-list.c
15241         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15242         * string/test-strncpy.c: Add wcsncpy support.
15243         * wcsmbs/test-wcsncpy.c: New File.
15244         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15245         * benchtests/bench-strncpy.c: Add wcsncpy support.
15246         * benchtests/bench-wcsncpy.c: New File.
15247         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15249         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15250         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15251         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15252         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15253         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15254         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15255         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15256         wcpcpy functions.
15257         * string/stpcpy.c: Use STPCPY if defined.
15258         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15259         * sysdeps/s390/multiarch/ifunc-impl-list.c
15260         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15261         * string/test-stpcpy.c: Add wcpcpy support.
15262         * wcsmbs/test-wcpcpy.c: New File.
15263         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15264         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15265         * benchtests/bench-wcpcpy.c: New File.
15266         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15268         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15269         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15270         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15271         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15272         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15273         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15274         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15275         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15276         wcscpy functions.
15277         * sysdeps/s390/multiarch/ifunc-impl-list.c
15278         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15279         * benchtests/bench-wcscpy.c: New File.
15280         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15282         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15283         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15284         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15285         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15286         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15287         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15288         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15289         wcsnlen functions.
15290         * sysdeps/s390/multiarch/ifunc-impl-list.c
15291         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15292         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15293         * string/test-strnlen.c: Add wcsnlen support.
15294         * wcsmbs/test-wcsnlen.c: New File.
15295         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15296         * benchtests/bench-strnlen.c: Add wcsnlen support.
15297         * benchtests/bench-wcsnlen.c: New File.
15298         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15300         * sysdeps/s390/multiarch/Makefile: New File.
15301         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15302         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15303         * sysdeps/s390/multiarch/strlen.c: Likewise.
15304         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15305         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15306         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15307         * string/strlen.c (STRLEN): Define and use macro.
15308         * sysdeps/s390/multiarch/ifunc-impl-list.c
15309         (IFUNC_VX_IMPL): New macro function.
15310         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15311         * benchtests/Makefile (wcsmbs-bench): New variable.
15312         (string-bench-all): Added wcsmbs-bench.
15313         * benchtests/bench-wcslen.c: New File.
15315         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15316         s390_vx_libc_ifunc2): New macro function.
15318         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15319         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15320         assembler support.
15321         * sysdeps/s390/configure: Regenerated.
15323         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15324         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15326         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15327         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15328         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15330         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15331         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15332         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15333         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15334         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15335         (memcmp, bcmp): Use __memcmp_default as alias source.
15336         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15337         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15338         Rename to __memcmp_default.
15339         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15340         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15341         (memcpy): Use __memcpy_default as alias source.
15342         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15343         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15344         Rename to __memcpy_default.
15345         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15346         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15347         (memset): Use __memset_default as alias source.
15348         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15349         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15350         Rename to __memset_default.
15351         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15352         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15353         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15354         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15355         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15356         (memcmp, bcmp): Use __memcmp_default as alias source.
15357         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15358         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15359         Rename to __memcmp_default.
15360         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15361         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15362         (memcpy): Use __memcpy_default as alias source.
15363         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15364         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15365         Rename to __memcpy_default.
15366         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15367         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15368         (memset): Use __memset_default as alias source.
15369         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15370         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15371         Rename to __memset_default.
15372         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15373         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15375         [BZ #18610]
15376         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15377         __ieee_instruction_pointer to __unused.
15378         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15379         __ieee_instruction_pointer.
15380         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15381         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15382         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15383         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15384         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15385         Mark dxc-field as reserved.
15387 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15389         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15390         if the weak reference is not null.
15392 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15394         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15396         [BZ #11214]
15397         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15399 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15401         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15402         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15403         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15404         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15405         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15406         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15407         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15408         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15409         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15410         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15411         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15412         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15413         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15414         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15415         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15416         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15417         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15418         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15420 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15422         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15423         register other than r0 for tabort, it has special meaning.
15424         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15425         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15426         transaction before starting syscall.
15428 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15430         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15432 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15434         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15436         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15437         * sysdeps/x86_64/rtld-memset.S: Likewise.
15438         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15439         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15440         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15441         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15443         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15445 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15447         * debug/strcpy_chk.c: Improve performance.
15448         * debug/stpcpy_chk.c: Likewise.
15449         * sysdeps/x86_64/strcpy_chk.S: Remove.
15450         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15452         [BZ #18240]
15453         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15455 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15457         [BZ #15128]
15458         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15459         ifuncmain8.
15460         (modules-names): Add ifuncmod8.
15461         ($(objpfx)ifuncmain8): New rule.
15462         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15463         <cpuid.h>.
15464         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15465         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15466         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15467         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15468         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15469         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15470         * sysdeps/x86_64/ifuncmain8.c: New file.
15471         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15472         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15473         Removed.
15474         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15475         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15476         Change rtld_savespace_sse to __glibc_unused2.
15477         (RTLD_CHECK_FOREIGN_CALL): Removed.
15478         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15479         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15480         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15482 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15484         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15486 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15488         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15489         Unconditionally set __fpcr to avoid uninialized warning.
15490         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15492 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15494         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15495         is corrupt.
15497         * malloc/arena.c (arena_get2): Drop unused argument.
15498         (arena_lock): Adjust.
15499         (arena_get_retry): Likewise.
15501 2015-08-24  Andreas Schwab  <schwab@suse.de>
15503         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15504         Don't define.
15505         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15506         (__ASSUME_IPC64): Don't undef.
15507         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15508         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15509         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15510         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15511         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15512         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15513         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15514         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15515         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15516         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15517         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15518         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15519         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15520         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15521         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15522         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15523         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15524         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15525         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15526         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15527         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15529 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15531         * manual/Makefile (install): Only build manual when perl is available.
15533 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15535         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15536         '#undef memcpy' by '#undef memchr'.
15538 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15540         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15541         memchr not point to the internal __GI_memchr implementation.
15543 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15545         * timezone/Makefile (CFLAGS-zdump.c): Remove
15546         -Wno-strict-prototypes.
15547         (CFLAGS-zic.c): Likewise.
15548         (CFLAGS-ialloc.c): Likewise.
15549         (CFLAGS-scheck.c): Likewise.
15551         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15552         -Wno-error=undef.
15554 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15556         * i386/i686/multiarch/strcasestr-c.c: Removed.
15557         * x86_64/multiarch/strcasestr.c: Likewise.
15558         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15559         Remove strcasestr.
15561 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15563         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15565         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15566         variables for high and low parts before possibly modifying them.
15568 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15570         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15571         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15572         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15573         of "multiarch/init-arch.h".
15574         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15575         * sysdeps/x86/init-arch.h: This.
15577 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15579         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15580         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15582 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15584         [BZ #17787]
15585         * manual/macros.texi: Add twoexp macro.
15586         * manual/filesys.texi: Fix exponents.
15587         * manual/llio.texi: Likewise.
15588         * manual/stdio.texi: Likewise.
15590 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15592         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15593         incorrect use.
15595 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15597         [BZ #18370]
15598         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15599         whose real or imaginary part has small absolute value.
15600         * math/s_csqrtf.c (__csqrtf): Likewise.
15601         * math/s_csqrtl.c (__csqrtl): Likewise.
15602         * math/auto-libm-test-in: Add more tests of csqrt.
15603         * math/auto-libm-test-out: Regenerated.
15604         * sysdeps/i386/fpu/libm-test-ulps: Update.
15606 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15608         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15609         __ppc_set_ppr_very_low): New functions.
15610         * manual/platform.texi: Add documentation about
15611         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15613 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15615         * string/stpncpy.c (stpncpy): Improve performance using
15616         __strnlen/memcpy/memset.
15618 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15620         [BZ #18796]
15621         * scripts/test-installation.pl: Don't add -lmvec to build options if
15622         libmvec wasn't built.
15624 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15626         [BZ #14341]
15627         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15628         case when there is a gap between DT_REL and DT_JMPREL sections.
15629         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15630         (LDFLAGS-tst-split-dynreloc): New.
15631         (tst-split-dynreloc-ENV): Likewise.
15632         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15633         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15635 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15637         [BZ #18822]
15638         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15639         attribute_hidden.
15640         (__xstat64_conv): Likewise.
15641         (__xstat32_conv): Likewise.
15643 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15645         [BZ #18822]
15646         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15647         Don't load %ebx when calling __setcontext.  Call __setcontext
15648         with HIDDEN_JUMPTARGET.
15649         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15650         libc_hidden_def.
15652 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15654         * sysdeps/i386/i686/Makefile
15655         [$(subdir) == string] (sysdep_routines): Moved to ...
15656         * sysdeps/i386/Makefile: Here.
15657         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15658         * sysdeps/i386/cacheinfo.c: Here.
15659         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15660         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15661         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15662         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15664 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15666         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15667         __i586__ is defined.
15668         (HAS_I686): Defined to 1 if __i686__ is defined.
15670 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15672         * elf/Makefile [$(have-z-execstack) = yes]
15673         (CPPFLAGS-tst-execstack.c): New variable.
15675         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15676         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15677         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15678         UTMPX || _HAVE_UT_TV].
15679         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15680         UTMPX || _HAVE_UT_TV - 0].
15682 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15684         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15685         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15686         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15688 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15690         * sysdeps/powerpc/dl-procinfo.c:
15691         (_dl_powerpc_cap_flags): Added missing strings for some
15692         hwcap features.
15693         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15695 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15697         Port the 0x7efe...feff pattern to GCC 6.
15698         See Steve Ellcey's bug report in:
15699         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15700         * string/memrchr.c (MEMRCHR):
15701         * string/rawmemchr.c (RAWMEMCHR):
15702         * string/strchr.c (strchr):
15703         * string/strchrnul.c (STRCHRNUL):
15704         Rewrite code to avoid issues with signed shift overflow.
15706 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15708         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15709         whether cpuid is available only if HAS_CPUID is 0.
15710         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15711         (HAS_I586): Likewise.
15712         (HAS_I686): Likewise.
15714 2015-08-18  Zack Weinberg  <zackw@panix.com>
15716         * misc/Versions (libc): Add GLIBC_2.23.
15718 2015-08-18  Alan Modra  <amodra@gmail.com>
15720         [BZ #18421]
15721         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15722         .Lp__global.
15723         (_start): Load %dp via .Lp__global.
15724         [!SHARED]: Use .section .rodata.
15726 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15728         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15729         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15731 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15733         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15734         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15736 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15738         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15739         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15741 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15743         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15744         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15746 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15748         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15749         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15751 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15753         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15754         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15756 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15758         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15760 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15762         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15763         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15764         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15765         (__ASSUME_LWS_CAS): Delete.
15767 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15769         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15770         * sysdeps/hppa/configure: Regenerated.
15771         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15772         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15773         * sysdeps/hppa/nptl/tls.h: Likewise.
15775 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15777         [BZ #18823]
15778         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15779         for scaling up small arguments.
15780         * math/s_csqrtf.c (__csqrtf): Likewise.
15781         * math/s_csqrtl.c (__csqrtl): Likewise.
15782         * math/auto-libm-test-in: Add more tests of csqrt.
15783         * math/auto-libm-test-out: Regenerated.
15785 2015-08-17  Andreas Schwab  <schwab@suse.de>
15787         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15788         version set GLIBC_2.19.
15790 2015-08-16  Zack Weinberg  <zackw@panix.com>
15792         [BZ #18681]
15793         * misc/regexp.h: This interface is no longer supported.
15794         Remove all contents, leaving only an #error directive.
15795         * misc/regexp.c (loc1, loc2, locs, step, advance):
15796         Demote to compatibility symbols.
15798 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15800         [BZ #18084]
15801         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15802         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15803         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15804         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15805         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15806         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15807         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15808         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15809         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15811 2015-08-15  Zack Weinberg  <zackw@panix.com>
15813         [BZ #18795]
15814         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15815         buffer length is known to be too large, not if it's known to be
15816         small enough.
15817         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15818         overflow at runtime, involving a length parameter, twice: once
15819         with a compile-time constant length parameter, once without.
15821 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15823         [BZ #18824]
15824         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15825         scaling x * y up instead of down.
15826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15827         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15828         * math/auto-libm-test-in: Add more tests of fma.
15829         * math/auto-libm-test-out: Regenerated.
15831 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15833         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15835 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15837         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15838         unnecessary movq.
15839         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15840         Likewise.
15842 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15844         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15845         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15846         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15847         and tgamma.
15848         * math/auto-libm-test-out: Regenerated.
15849         * sysdeps/i386/fpu/libm-test-ulps: Update.
15850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15852         [BZ #16520]
15853         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15854         (__tanh): Force underflow exception for arguments with small
15855         absolute value.
15856         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15857         (__tanhf): Force underflow exception for arguments with small
15858         absolute value.
15859         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15860         (__tanhl): Force underflow exception for arguments with small
15861         absolute value.
15862         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15863         (__tanhl): Force underflow exception for arguments with small
15864         absolute value.
15865         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15866         (__tanhl): Force underflow exception for arguments with small
15867         absolute value.
15868         * math/auto-libm-test-in: Add more tests of tanh.
15869         * math/auto-libm-test-out: Regenerated.
15870         * sysdeps/i386/fpu/libm-test-ulps: Update.
15872 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15874         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15875         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15877 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15879         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15880         <cpuid.h>.
15882 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15884         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15885         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15887 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15889         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15890         Remove $(objpfx)init-arch.o.
15891         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15892         init-arch.
15893         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15894         (INIT_ARCH_EXT): Defined as empty.
15895         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15897         __init_cpu_features call.  Replace HAS_XXX with
15898         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15899         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15900         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15901         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15903         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15904         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15905         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15906         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15907         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15908         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15909         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15910         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15912         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15915         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15916         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15917         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15918         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15919         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15920         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15922         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15923         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15924         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15925         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15926         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15927         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15928         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15929         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15930         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15931         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15932         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15933         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15935 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15937         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15938         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15939         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15940         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15941         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15942         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15943         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15944         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15945         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15946         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15947         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15948         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15949         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15950         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15951         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15952         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15953         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15954         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15955         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15956         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15957         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15958         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15959         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15960         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15961         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15962         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15963         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15964         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15965         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15966         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15967         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15968         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15969         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15970         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15971         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15972         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15973         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15974         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15975         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15976         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15977         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15978         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15979         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15981 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15983         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15984         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15985         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15986         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15987         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15988         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15989         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15990         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15991         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15992         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15993         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15994         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15995         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15996         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15997         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15998         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15999         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16000         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16001         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16002         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16004         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16005         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16006         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16007         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16008         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16009         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16010         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16011         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16012         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16013         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16014         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16016         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16017         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16018         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16019         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16020         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16021         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16022         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16023         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16024         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16025         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16027 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16029         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16030         (dl_platform_init): Call init_cpu_features.
16031         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16032         * sysdeps/i386/i686/cacheinfo.c
16033         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16034         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16035         * sysdeps/i386/i686/multiarch/Versions: Removed.
16036         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16037         Removed.
16038         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16039         * sysdeps/unix/sysv/linux/x86/Makefile
16040         (libpthread-sysdep_routines): Remove init-arch.
16041         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16042         <sysdeps/x86_64/dl-procinfo.c> instead of
16043         sysdeps/generic/dl-procinfo.c>.
16044         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16045         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16046         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16047         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16048         [$(subdir) == elf] (tests-static): Add
16049         tst-get-cpu-features-static.
16050         * sysdeps/x86/Versions: New file.
16051         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16052         * sysdeps/x86/cpu-features.c: Likewise.
16053         * sysdeps/x86/cpu-features.h: Likewise.
16054         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16055         * sysdeps/x86/libc-start.c: Likewise.
16056         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16057         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16058         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16059         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16060         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16061         Assume USE_MULTIARCH is defined and don't check it.
16062         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16063         (is_amd): Likewise.
16064         (max_cpuid): Likewise.
16065         (intel_check_word): Likewise.
16066         (__cache_sysconf): Don't call __init_cpu_features.
16067         (__x86_preferred_memory_instruction): Removed.
16068         (init_cacheinfo): Don't call __init_cpu_features. Replace
16069         __cpu_features with GLRO(dl_x86_cpu_features).
16070         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16071         (dl_platform_init): Call init_cpu_features.
16072         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16073         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16074         * sysdeps/x86_64/multiarch/Versions: Removed.
16075         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16076         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16077         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16078         Removed.
16079         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16081 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16083         [BZ #18820]
16084         * libio/Makefile (test-fmemopen-mem): New test.
16085         * libio/test-fmemopen.c (do_bz18820): New test.
16086         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16087         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16089 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16091         [BZ #16734]
16092         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16093         (FREE_BUF): Delete.
16094         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16095         * libio/genops.c (_IO_setb): Use malloc and free directly.
16096         (_IO_default_doallocate, _IO_default_finish): Likewise.
16097         ( _IO_unbuffer_all): Likewise.
16098         ( libc_freeres_fn): Likewise.
16099         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16100         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16101         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16102         (_IO_wdefault_doallocate): Likewise.
16104 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16106         [BZ #18086]
16107         * sysdeps/posix/nice.c (nice): Restore old errno.
16108         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16110 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16112         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16114 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16116         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16117         __bcopy and add a weak_alias to bcopy.
16118         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16119         for static build.
16121         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16122         cleanup macro usage.
16123         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16124         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16125         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16126         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16127         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16128         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16129         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16130         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16131         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16132         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16133         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16134         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16135         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16136         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16139         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16140         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16141         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16143         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16144         libc_hidden_def.
16145         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16147         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16148         (sysdep_routines): Add strstr-ppc64.
16149         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16151 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16153         [BZ #18778]
16154         * elf/Makefile (tests): Add Add tst-nodelete2.
16155         (modules-names): Add tst-nodelete2mod.
16156         (tst-nodelete2mod.so-no-z-defs): New.
16157         ($(objpfx)tst-nodelete2): Likewise.
16158         ($(objpfx)tst-nodelete2.out): Likewise.
16159         (LDFLAGS-tst-nodelete2): Likewise.
16160         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16161         out of loop through all loaded libraries.
16162         * elf/tst-nodelete2.c: New file.
16163         * elf/tst-nodelete2mod.c: Likewise.
16164         * elf/tst-znodelete-zlib.cc: Delete.
16166 2015-08-11  Andreas Schwab  <schwab@suse.de>
16168         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16169         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16170         (__openat64_nocancel): Likewise.
16172 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16174         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16175         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16176         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16177         * math/auto-libm-test-out: Regenerated.
16178         * sysdeps/i386/fpu/libm-test-ulps: Update.
16179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16181 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16183         [BZ #18790]
16184         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16185         threshold for returning +/- 1.
16186         * math/auto-libm-test-in: Add more tests of tanh.
16187         * math/auto-libm-test-out: Regenerated.
16188         * sysdeps/i386/fpu/libm-test-ulps: Update.
16190 2015-08-10  Andreas Schwab  <schwab@suse.de>
16192         [BZ #18781]
16193         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16194         MORE_OFLAGS to oflag.
16195         * io/test-lfs.c (do_test): Test openat64.
16197 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16199         [BZ #18789]
16200         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16201         smaller threshold for returning the argument.
16202         * math/auto-libm-test-in: Add more tests of sinh.
16203         * math/auto-libm-test-out: Regenerated.
16204         * sysdeps/i386/fpu/libm-test-ulps: Update.
16206 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16208         [BZ #18674]
16209         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16210         break.
16212 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16214         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16215         (generated): Don't add $(addprefix z.,$(tzfiles)).
16217 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16219         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16220         * scripts/sysd-rules.awk: Likewise.
16222 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16224         * iconvdata/tst-tables.sh: Change echo -n to printf.
16225         * nss/db-Makefile: Likewise.
16226         * posix/tst-getconf.sh: Likewise.
16227         * stdio-common/tst-unbputc.sh: Likewise.
16229 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16231         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16232         MADV_*_PAGES defines behind this feature check.
16234 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16236         [BZ #18480]
16237         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16238         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16239         Define.
16240         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16241         LOAD_REGS_5, LOAD_REGS_6): Update.
16242         (INTERNAL_SYSCALL): Update using new LOAD defines.
16243         (INTERNAL_SYSCALL_NCS): Likewise.
16244         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16246 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16248         [BZ #16734]
16249         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16251 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16253         [BZ #17905]
16254         * catgets/Makefile (tst-catgets-mem): New test.
16255         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16256         * catgets/open_catalog.c (__open_catalog): Likewise.
16257         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16259 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16261         [BZ #18787]
16262         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16263         clobber registers.
16264         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16265         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16266         Cast return to __typeof (oldval).
16268 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16270         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16271         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16272         and delete sys/syscall.h include.
16274 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16276         [BZ #16517]
16277         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16278         (tan): Force underflow exception for arguments with small absolute
16279         value.
16280         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16281         (__kernel_tanf): Force underflow exception for arguments with
16282         small absolute value.
16283         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16284         (__kernel_tanl): Force underflow exception for arguments with
16285         small absolute value.
16286         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16287         (__kernel_tanl): Force underflow exception for arguments with
16288         small absolute value.
16289         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16290         (__kernel_tanl): Force underflow exception for arguments with
16291         small absolute value.
16292         * math/auto-libm-test-in: Add more tests of tan.
16293         * math/auto-libm-test-out: Regenerated.
16295 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16297         Fix sysdeps/i386/fpu/s_scalbn.S build
16299         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16301 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16303         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16305 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16307         Fix gcrt0.o compilation
16309         When static-start-installed-name is different from
16310         start-installed-name, we must not use the shared objects.
16312         * csu/Makefile
16313         (extra-objs): Add gmon-start.o when building shared library and
16314         $(static-start-installed-name) is different from
16315         $(start-installed-name).
16316         $(objpfx)g$(static-start-installed-name): When building shared
16317         library and $(static-start-installed-name) is different from
16318         $(static-start-installed-name), revert to non-shared rule,
16319         i.e. using $(objpfx)% and gmon-start.o.
16321 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16323         [BZ #16519]
16324         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16325         (__ieee754_sinh): Force underflow exception for arguments with
16326         small absolute value.
16327         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16328         (__ieee754_sinhf): Force underflow exception for arguments with
16329         small absolute value.
16330         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16331         (__ieee754_sinhl): Force underflow exception for arguments with
16332         small absolute value.
16333         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16334         (__ieee754_sinhl): Force underflow exception for arguments with
16335         small absolute value.
16336         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16337         (__ieee754_sinhl): Force underflow exception for arguments with
16338         small absolute value.
16339         * math/auto-libm-test-in: Add more tests of sinh.
16340         * math/auto-libm-test-out: Regenerated.
16341         * sysdeps/i386/fpu/libm-test-ulps: Update.
16343 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16345         * libio/oldfileops.c: Include unistd.h.
16347 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16349         * stdlib/isomac.c: Include ctype.h.
16351 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16353         * dirent/tst-seekdir.c (main): Converted to ...
16354         (do_test): ... this.
16355         (TEST_FUNCTION): New macro.
16356         Include test-skeleton.c.
16357         * elf/tst-dlmodcount.c (main): Converted to ...
16358         (do_test): ... this.
16359         (TEST_FUNCTION): New macro.
16360         Include test-skeleton.c.
16361         * elf/tst-order-main.c (main): Converted to ...
16362         (do_test): ... this.
16363         (TEST_FUNCTION): New macro.
16364         Include test-skeleton.c.
16365         * elf/tst-pie2.c (main): Converted to ...
16366         (do_test): ... this.
16367         (TEST_FUNCTION): New macro.
16368         Include test-skeleton.c.
16369         * inet/tst-ether_aton.c (main): Converted to ...
16370         (do_test): ... this.
16371         (TEST_FUNCTION): New macro.
16372         Include test-skeleton.c.
16373         * misc/tst-mntent.c (main): Converted to ...
16374         (do_test): ... this.
16375         (TEST_FUNCTION): New macro.
16376         Include test-skeleton.c.
16377         * misc/tst-tsearch.c (main): Converted to ...
16378         (do_test): ... this.
16379         (TEST_FUNCTION): New macro.
16380         Include test-skeleton.c.
16381         * posix/tst-regexloc.c (main): Converted to ...
16382         (do_test): ... this.
16383         (TEST_FUNCTION): New macro.
16384         Include test-skeleton.c.
16385         * resolv/tst-aton.c (main): Converted to ...
16386         (do_test): ... this.
16387         (TEST_FUNCTION): New macro.
16388         Include test-skeleton.c.
16389         * stdio-common/test-fwrite.c (main): Converted to ...
16390         (do_test): ... this.
16391         (TEST_FUNCTION): New macro.
16392         Include test-skeleton.c.
16393         * stdio-common/tst-ferror.c (main): Converted to ...
16394         (do_test): ... this.
16395         (TEST_FUNCTION): New macro.
16396         Include test-skeleton.c.
16397         * stdio-common/tst-printf.c (main): Converted to ...
16398         (do_test): ... this.
16399         (TEST_FUNCTION): New macro.
16400         Include test-skeleton.c.
16401         * stdio-common/tst-printfsz.c (main): Converted to ...
16402         (do_test): ... this.
16403         (TEST_FUNCTION): New macro.
16404         Include test-skeleton.c.
16405         * stdlib/tst-strtod.c (main): Converted to ...
16406         (do_test): ... this.
16407         (TEST_FUNCTION): New macro.
16408         Include test-skeleton.c.
16409         * string/tst-strlen.c (main): Converted to ...
16410         (do_test): ... this.
16411         (TEST_FUNCTION): New macro.
16412         Include test-skeleton.c.
16413         * string/tst-svc.c (main): Converted to ...
16414         (do_test): ... this.
16415         (TEST_FUNCTION): New macro.
16416         Include test-skeleton.c.
16417         * time/tst-strptime.c (main): Converted to ...
16418         (do_test): ... this.
16419         (TEST_FUNCTION): New macro.
16420         Include test-skeleton.c.
16421         * timezone/tst-timezone.c (main): Converted to ...
16422         (do_test): ... this.
16423         (TEST_FUNCTION): New macro.
16424         Include test-skeleton.c.
16426 2015-08-05  Zack Weinberg  <zackw@panix.com>
16428         * misc/regexp.h: Update comments.
16430 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16432         [BZ #18635]
16433         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16434         before return label.
16436 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16438         [BZ #18661]
16439         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16440         when calling __errno_location.
16441         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16442         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16444 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16446         [BZ #18661]
16447         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16448         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16449         __gettimeofday.
16451 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16453         [BZ #18661]
16454         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16455         (__start_context): Don't use pop to restore %rdi so that stack
16456         is aligned to 16 bytes when calling __setcontext.
16458 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16460         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16461         only for libc.
16462         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16464 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16466         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16467         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16468         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16470 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16472         * string/memccpy.c (memccpy):
16473         Improve performance by using memchr/memcpy/__mempcpy.
16475 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16477         * string/strncpy.c (strncpy):
16478         Improve performance by using __strnlen/memcpy.
16480 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16482         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16483         Optimize to avoid an unnecessary FPCR read.
16485 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16487         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16488         Optimize to reduce FPCR/FPSR accesses.
16490 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16492         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16493         dead->data[category] != NULL.
16495 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16497         [BZ #18647]
16498         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16499         and |x| close to 1, use absolute value of x when computing log.
16500         * math/auto-libm-test-in: Add more tests of pow.
16501         * math/auto-libm-test-out: Regenerated.
16503 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16505         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16506         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16507         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16509 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16511         [BZ #18525]
16512         * locales/km_KH: Remove timezone definition.
16513         * locales/lo_LA: Likewise.
16514         * locales/my_MM: Likewise.
16515         * locales/nan_TW@latin: Likewise.
16516         * locales/th_TH: Likewise.
16517         * locales/uk_UA: Likewise.
16519 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16521         [BZ #18265]
16522         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16523         (wcsncat): Likewise.
16524         (wcscmp): Likewise.
16525         (wcsncmp): Likewise.
16527 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16529         * test-skeleton.c (usage): New function.
16530         (main): Call usage when opt is '?'.
16532 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16534         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16535         before first use.
16537 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16539         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16540         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16541         in there too.
16543 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16545         * version.h (RELEASE): Set to "development".
16546         (VERSION): Set to "2.22.90"
16548         * version.h (RELEASE): Set to "stable".
16549         (VERSION): Set to "2.22"
16550         * include/features.h (__GLIBC_MINOR__): Set to 22.
16552 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16554         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16555         Restructure macro to avoid "value computed is not used" warning.
16556         (atomic_compare_and_exchange_val_acq): Likewise.
16558 2015-08-04  Andreas Schwab  <schwab@suse.de>
16560         [BZ #18635]
16561         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16562         ret.
16563         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16565 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16567         * po/pl.po: Updated translation.
16568         * po/uk.po: Likewise.
16569         * po/fi.po: Likewise.
16570         * po/ko.po: Likewise.
16571         * po/ru.po: Likewise.
16572         * po/vi.po: Likewise.
16574 2015-07-31  Zack Weinberg  <zackw@panix.com>
16576         [BZ #18681]
16577         * regexp.h: Add unconditional #warning stating that this header
16578         will be removed soon.  Revise banner comment to match.
16579         (compile): Consistently use ERROR instead of RETURN to report
16580         errors (partial fix for bz#18681).
16581         * regexp.c: Don't include regexp.h. Remove some unnecessary
16582         declarations.
16584 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16586         * po/libc.pot: Regenerated.
16588 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16590         [BZ #18740]
16591         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16592         float-vlen4-arch-ext-cflags): Removed.
16593         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16594         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16596 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16598         [BZ #14113]
16599         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16600         aligned to __aligned__.
16601         (pthread_cond_t, pthread_rwlock_t): Likewise.
16603 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16605         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16607 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16609         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16610         (struct sigaction): Change sa_flags from a long to an int, and add
16611         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16613 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16615         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16616         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16617         sysdeps/generic/sysdep.h include.
16618         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16619         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16620         sysdeps/hppa/sysdep.h.
16621         (ENTRY, PSEUDO): Undefine before defining.
16623 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16625         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16626         from scratch to use INTERNAL_SYSCALL.
16628 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16630         [BZ #18078]
16631         * scripts/check-localplt.awk: Support alternate relocations.
16632         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16633         sections.
16634         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16635         malloc entries with + REL R_386_GLOB_DAT.
16636         * sysdeps/x86_64/localplt.data: New file.
16638 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16640         [BZ #18731]
16641         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16642         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16643         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16645 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16647         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16649 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16651         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16652         directly in terms of __sync_fetch_and_add and delete (int) cast.
16654 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16656         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16657         the -D_ASM_IA64_CURRENT_H flag.
16659 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16661         [BZ #18641]
16662         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16664 2015-07-27  Andreas Schwab  <schwab@suse.de>
16666         * conform/conformtest.pl (checknamespace): Filter out string
16667         literals while tokenizing.
16669 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16671         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16672         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16673         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16675 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16677         * nptl/tst-join7mod.c: Add #include <string.h>.
16679 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16681         * sysdeps/nios2/libm-test-ulps: Update.
16683 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16685         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16686         Fix order of arguments to the rt_sigprocmask syscall.
16687         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16688         Likewise.
16690 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16692         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16694 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16696         [BZ #18457]
16697         * nptl/Makefile (tests): New test case tst-join7.
16698         (modules-names): New test case module tst-join7mod.
16699         * nptl/tst-join7.c: New file.
16700         * nptl/tst-join7mod.c: New file.
16701         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16702         all translation units in libc.so, libpthread.so and rtld.
16704 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16708 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16711         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16712         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16713         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16714         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16715         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16716         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16718         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16719         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16720         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16721         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16722         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16723         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16724         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16725         implementation.
16727 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16729         [BZ #17711]
16730         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16731         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16732         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16733         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16734         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16735         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16737 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16739         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16740         instead of just saying load lock in the comments.
16742 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16744         * sysdeps/unix/Subdirs: Moved ...
16745         * sysdeps/posix/Subdirs: ... here.
16746         * login/pty.h (struct termios, struct winsize): Add forward decls.
16747         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16748         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16749         * sysdeps/arm/nacl/libc.abilist: Updated.
16750         * sysdeps/nacl/libutil.abilist: New file.
16752         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16753         (SIGWINCH): New macro.
16755         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16756         * sysdeps/arm/nacl/libc.abilist: Add it.
16758 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16760         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16762 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16764         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16765         Swap __glibc_reserved0 and sa_flags order.
16767 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16769         [BZ #18657]
16770         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16771         are pending TLS destructor calls.
16772         * include/link.h (struct link_map): Add concurrency note for
16773         L_TLS_DTOR_COUNT.
16774         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16775         Don't touch the link map flag.  Atomically increment
16776         l_tls_dtor_count.
16777         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16778         Avoid taking the load lock and don't touch the link map flag.
16779         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16780         * stdlib/Makefile (tests): Use it.
16781         * stdlib/tst-tls-atexit.c (do_test): dlopen
16782         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16783         to allow tst-tls-atexit-nodelete test case to use it.
16785 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16787         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16788         to bits/types.h.
16789         (msgqnum_t): New typedef.
16790         (msglen_t): Likewise.
16791         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16792         and msg_qbytes type to msglen_t.
16794 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16796         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16797         pad0 to __glibc_reserved0.
16798         (struct stat64): Likewise.
16800 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16802         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16803         Change sa_flags from a long to an int and add __glibc_reserved0 before
16804         it for padding.
16806 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16808         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16809         anonymous by deleting "siginfo" name.
16811 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16813         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16814         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16815         rather than __nacl_irt_filename.
16816         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16818         * NEWS: New item for arm-nacl port.
16819         * sysdeps/arm/nacl/libc.abilist: New file.
16820         * sysdeps/nacl/ld.abilist: New file.
16821         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16822         * sysdeps/nacl/libanl.abilist: New file.
16823         * sysdeps/nacl/libcrypt.abilist: New file.
16824         * sysdeps/nacl/libdl.abilist: New file.
16825         * sysdeps/nacl/libm.abilist: New file.
16826         * sysdeps/nacl/libpthread.abilist: New file.
16827         * sysdeps/nacl/libresolv.abilist: New file.
16828         * sysdeps/nacl/librt.abilist: New file.
16830 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16832         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16833         __startcontext to initialize the new context.
16834         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16835         up CFI directive to forbid further backtracing.
16837 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16839         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16840         reference.
16841         * charmaps/ANSI_X3.4-1968: Likewise.
16842         * charmaps/BS_4730: Likewise.
16843         * charmaps/BS_VIEWDATA: Likewise.
16844         * charmaps/CP1250: Likewise.
16845         * charmaps/CP1251: Likewise.
16846         * charmaps/CP1252: Likewise.
16847         * charmaps/CP1253: Likewise.
16848         * charmaps/CP1254: Likewise.
16849         * charmaps/CP1255: Likewise.
16850         * charmaps/CP1256: Likewise.
16851         * charmaps/CSN_369103: Likewise.
16852         * charmaps/EBCDIC-DK-NO: Likewise.
16853         * charmaps/GB_1988-80: Likewise.
16854         * charmaps/GREEK-CCITT: Likewise.
16855         * charmaps/GREEK7: Likewise.
16856         * charmaps/INIS-8: Likewise.
16857         * charmaps/ISIRI-3342: Likewise.
16858         * charmaps/ISO_2033-1983: Likewise.
16859         * charmaps/ISO_5427-EXT: Likewise.
16860         * locales/POSIX: Likewise.
16861         * locales/ar_SA: Likewise.
16862         * locales/be_BY: Likewise.
16863         * locales/be_BY@latin: Likewise.
16864         * locales/ca_ES: Likewise.
16865         * locales/cs_CZ: Likewise.
16866         * locales/da_DK: Likewise.
16867         * locales/de_BE: Likewise.
16868         * locales/de_CH: Likewise.
16869         * locales/de_LU: Likewise.
16870         * locales/en_AU: Likewise.
16871         * locales/en_BW: Likewise.
16872         * locales/en_CA: Likewise.
16873         * locales/en_DK: Likewise.
16874         * locales/en_GB: Likewise.
16875         * locales/en_IE: Likewise.
16876         * locales/en_NZ: Likewise.
16877         * locales/en_ZA: Likewise.
16878         * locales/en_ZW: Likewise.
16879         * locales/es_AR: Likewise.
16880         * locales/es_BO: Likewise.
16881         * locales/es_CL: Likewise.
16882         * locales/es_CO: Likewise.
16883         * locales/es_DO: Likewise.
16884         * locales/es_EC: Likewise.
16885         * locales/es_ES: Likewise.
16886         * locales/es_HN: Likewise.
16887         * locales/es_MX: Likewise.
16888         * locales/es_PA: Likewise.
16889         * locales/es_PE: Likewise.
16890         * locales/es_PY: Likewise.
16891         * locales/es_SV: Likewise.
16892         * locales/es_US: Likewise.
16893         * locales/es_UY: Likewise.
16894         * locales/es_VE: Likewise.
16895         * locales/et_EE: Likewise.
16896         * locales/fa_IR: Likewise.
16897         * locales/fo_FO: Likewise.
16898         * locales/fr_CA: Likewise.
16899         * locales/fr_CH: Likewise.
16900         * locales/gv_GB: Likewise.
16901         * locales/he_IL: Likewise.
16902         * locales/hr_HR: Likewise.
16903         * locales/id_ID: Likewise.
16904         * locales/is_IS: Likewise.
16905         * locales/it_CH: Likewise.
16906         * locales/iw_IL: Likewise.
16907         * locales/kl_GL: Likewise.
16908         * locales/ko_KR: Likewise.
16909         * locales/kw_GB: Likewise.
16910         * locales/lg_UG: Likewise.
16911         * locales/lt_LT: Likewise.
16912         * locales/lv_LV: Likewise.
16913         * locales/mi_NZ: Likewise.
16914         * locales/nhn_MX: Likewise.
16915         * locales/nl_BE: Likewise.
16916         * locales/pl_PL: Likewise.
16917         * locales/sk_SK: Likewise.
16918         * locales/sl_SI: Likewise.
16919         * locales/sv_FI: Likewise.
16920         * locales/tl_PH: Likewise.
16921         * locales/tr_TR: Likewise.
16922         * locales/vi_VN: Likewise.
16924 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16926         [BZ #17475]
16927         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16928         of tu_IN and bh_IN.
16930 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16932         [BZ #18694]
16933         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16934         bits/wordsize.h.
16935         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16937 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16939         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16940         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16941         (spawn_thread): New function.
16942         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16943         (do_test): ... here.  Use IS_LOADED to test for its
16944         availability.
16946 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16948         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16950 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16952         [BZ #18696]
16953         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16954         si_addr_bnd.
16955         (si_lower): New.
16956         (si_upper): Likewise.
16958 2015-07-16  David S. Miller  <davem@davemloft.net>
16960         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16962 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16964         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16965         buffer.
16966         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16967         fail output information.
16969 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16972         and strstr-ppc64..
16973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16974         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16975         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16976         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16977         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16979 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16981         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16982         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16983         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16984         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16986 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16988         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16989         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16990         rtld_hidden_proto.
16991         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16993 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16995         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16996         the test can fail.
16998         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17000         [BZ #18676]
17001         * elf/tst-nodelete-opened.c: New test case.
17002         * elf/tst-nodelete-opened-lib.c: New test case module.
17003         * elf/Makefile (tests, modules-names): Use them.
17004         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17005         early.
17007 2015-07-15  David S. Miller  <davem@davemloft.net>
17009         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17010         futex-intenal.h
17011         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17012         * sysdeps/sparc/sparc64/Makefile: Likewise.
17013         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17014         Remove space from macro define.
17015         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17017 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17019         [BZ #17475]
17020         * locale/iso-639.def: Update Bhili and Tulu language codes as
17021         per iso639-3.
17023 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17025         * elf/tst-leaks1.c (main): Converted to ...
17026         (do_test): ... this.
17027         (TEST_FUNCTION): New macro.
17028         Include test-skeleton.c.
17029         * localedata/tst-langinfo.c (main): Converted to ...
17030         (do_test): ... this.
17031         (TEST_FUNCTION): New macro.
17032         Include test-skeleton.c.
17033         * math/test-fpucw.c (main): Converted to ...
17034         (do_test): ... this.
17035         (TEST_FUNCTION): New macro.
17036         Include test-skeleton.c.
17037         * math/test-tgmath.c (main): Converted to ...
17038         (do_test): ... this.
17039         (TEST_FUNCTION): New macro.
17040         Include test-skeleton.c.
17041         * math/test-tgmath2.c (main): Converted to ...
17042         (do_test): ... this.
17043         (TEST_FUNCTION): New macro.
17044         Include test-skeleton.c.
17045         * setjmp/tst-setjmp.c (main): Converted to ...
17046         (do_test): ... this.
17047         (TEST_FUNCTION): New macro.
17048         Include test-skeleton.c.
17049         * stdio-common/tst-sscanf.c (main): Converted to ...
17050         (do_test): ... this.
17051         (TEST_FUNCTION): New macro.
17052         Include test-skeleton.c.
17053         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17054         (do_test): ... this.
17055         (TEST_FUNCTION): New macro.
17056         Include test-skeleton.c.
17058         * elf/tst-audit9.c (main): Converted to ...
17059         (do_test): ... this.
17060         (TEST_FUNCTION): New macro.
17061         Include test-skeleton.c.
17063 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17065         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17067 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17069         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17070         New variable.
17072 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17074         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17076 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17078         * sysdeps/generic/dl-fileid.h: New file.
17079         * sysdeps/posix/dl-fileid.h: New file.
17080         * sysdeps/nacl/dl-fileid.h: New file.
17081         * include/link.h: Include <dl-fileid.h>.
17082         (struct link_map): Replace l_dev and l_ino with l_file_id.
17083         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17084         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17085         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17087 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17089         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17091 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17093         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17094         Add iff $CXX is set.
17095         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17096         Likewise.
17097         (tst-nodelete-zmodiff): Likewise.
17098         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17100 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17102         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17104 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17106         * sysdeps/aarch64/fpu/math_private.h
17107         (define math_opt_barrier): Add AArch64 version.
17108         (math_force_eval): Likewise.
17110 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17112         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17114 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17116         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17117         %ld with %jd and cast to intmax_t.
17118         (do_test_length_zero): Likewise.
17120 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17122         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17124 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17126         * sysdeps/tile/libm-test-ulps: Regenerated.
17128         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17129         Comment out the whole function, not just its body.
17131 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17133         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17134         locks.
17136         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17138 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17140         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17141         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17143 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17145         * sysdeps/nptl/futex-internal.h: New file.
17146         * sysdeps/nacl/futex-internal.h: New file.
17147         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17148         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17149         error checking.
17150         (setxid_unmark_thread): Likewise.
17151         (__nptl_setxid): Likewise.
17152         (__wait_lookup_done): Likewise.
17153         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17154         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17155         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17156         * nptl/pthread_once.c (clear_once_control): Likewise.
17157         (__pthread_once_slow): Likewise.
17158         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17159         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17160         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17161         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17162         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17163         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17164         Likewise.
17165         (__pthread_rwlock_rdlock): Likewise.
17166         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17167         Likewise.
17168         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17169         Likewise.
17170         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17171         Likewise.
17172         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17173         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17174         Likewise.
17175         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17176         __ASSUME_PRIVATE_FUTEX check.
17177         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17178         Check that shared futexes are supported.
17179         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17180         wrappers with error checking.
17181         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17182         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17183         * nptl/pthread_barrierattr_setpshared.c
17184         (pthread_barrierattr_setpshared): Check that shared futexes are
17185         supported.
17186         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17187         Likewise.
17188         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17189         Likewise.
17190         * nptl/sem_init.c (futex_private_if_supported): Remove.
17191         (__new_sem_init): Adapt and check that shared futexes are supported.
17192         * nptl/sem_open.c (sem_open): Likewise.
17193         * nptl/sem_post.c (futex_wake): Remove.
17194         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17195         (do_futex_wait): Use futex wrappers with error checking.
17196         * nptl/sem_wait.c: Include lowlevellock.h.
17197         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17198         Use futex_supports_pshared.
17199         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17200         Use futex wrappers with error checking.
17201         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17202         Likewise.
17203         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17204         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17205         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17206         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17207         (futex_wake): Likewise.
17208         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17209         (do_futex_wait): Use futex wrappers with error checking.
17210         (__new_sem_wait_slow): Update EINTR handling.
17211         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17213 2015-07-09  Martin Sebor  <msebor@redhat.com>
17215         [BZ #18435]
17216         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17217         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17218         * nptl/Makefile (test-xfail-tst-once5): Define.
17220 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17222         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17223         * elf/dl-minimal.c: For readability, reorder some definitions and
17224         introduce more page breaks.  Include <stdio.h>.
17225         (__libc_fatal): New function.
17227         * include/unistd.h: Add rtld_hidden_proto for _exit.
17228         * posix/_exit.c: Add rtld_hidden_def.
17229         * sysdeps/mach/hurd/_exit.c: Likewise.
17230         * sysdeps/nacl/_exit.c: Likewise.
17231         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17232         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17234 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17237         bndmov encoding with zero displacement.
17239 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17240             H.J. Lu  <hongjiu.lu@intel.com>
17242         [BZ #18134]
17243         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17244         * sysdeps/i386/configure: Regenerated.
17245         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17246         (_dl_runtime_profile): Save and restore Intel MPX return bound
17247         registers when calling _dl_call_pltexit.  Add
17248         PRESERVE_BND_REGS_PREFIX before return.
17249         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17250         (LRV_BND1_OFFSET): Likewise.
17251         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17252         lrv_bnd1.
17253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17254         typo in bndmov encoding.
17255         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17256         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17257         branch instructions to preserve bounds.
17259 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17262         [GLIBC_2.22]: Add fmemopen.
17264 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17266         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17267         returns an error, also try to use host port from __mach_host_self for
17268         the __vm_wire call.
17269         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17271 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17273         [BZ #18400]
17274         [BZ #18648]
17275         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17276         Fix pr_uid and pr_gid members.
17277         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17278         definition to elf_greg_t.
17280 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17282         [BZ #18383]
17283         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17284         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17285         * sysdeps/arm/configure: Regenerated.
17286         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17287         (test-xfail-tst-tlsalign-static): Variable removed.
17289         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17290         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17291         rather than explicit 'ln -s'.
17293         * resolv/rpc/netdb.h: New file.
17294         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17296 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17298         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17299         length buffers.
17300         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17301         test-skeleton.c.
17303         [BZ #6544]
17304         [BZ #11216]
17305         [BZ #12836]
17306         [BZ #13151]
17307         [BZ #13152]
17308         [BZ #14292]
17309         * include/stdio.h (fmemopen): Remove hidden prototype.
17310         (__fmemopen): Add new hidden prototype.
17311         * libio/Makefile: Add oldfmemopen object.
17312         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17313         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17314         compliance.
17315         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17316         symbol compatibility.
17317         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17318         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17319         fmemopen.
17320         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17321         on append and read mode.
17322         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17323         fmemopen.
17324         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17325         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17326         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17327         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17328         Likewise.
17329         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17330         [GLIBC_2.22]: Likewise.
17331         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17332         Likewise.
17333         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17334         Likewise.
17335         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17336         [GLIBC_2.22]: Likewise.
17337         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17338         [GLIBC_2.22]: Likewise.
17339         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17340         [GLIBC_2.22]: Likewise.
17341         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17342         [GLIBC_2.22]: Likewise.
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17344         [GLIBC_2.22]: Likewise.
17345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17346         [GLIBC_2.22]: Likewise.
17347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17348         [GLIBC_2.22]: Likewise.
17349         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17350         Likewise.
17351         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17352         Likewise.
17353         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17354         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17355         [GLIBC_2.22]: Likewise.
17356         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17357         [GLIBC_2.22]: Likewise.
17358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17359         [GLIBC_2.22]: Likewise.
17360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17361         [GLIBC_2.22]: Likewise.
17362         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17363         Likewise.
17364         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17365         Likewise.
17366         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17367         Likewise.
17368         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17369         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17371 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17373         [BZ #18643]
17374         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17375         IPV6_PATHMTU, and IPV6_DONTFRAG.
17377 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17379         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17380         and _IO_UNBUFFERED.
17381         * libio/oldfileops.c: Likewise.
17382         * libio/wfileops.c: Likewise.
17384 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17386         * nscd/selinux.c: Delete selinux/flask.h include.
17388 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17390         [BZ #18641]
17391         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17392         (putpwent): Likewise.
17393         (getpwnam): Likewise.
17394         (getpwent_r): Likewise.
17395         (getpwuid_r): Likewise.
17396         (getpwnam_r): Likewise.
17397         (fgetpwent_r): Likewise.
17399 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17401         [BZ #18557]
17402         * inet/rcmd.c (__validuser2_sa): Check user first to
17403         short-circuit host check.
17405 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17406             Mikhail Ilin  <m.ilin@samsung.com>
17408         [BZ #17833]
17409         * elf/Makefile (tests): Add tst-nodelete.
17410         (modules-names): Add tst-nodelete-uniquemod.
17411         (tst-nodelete-uniquemod.so-no-z-defs): New.
17412         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17413         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17414         ($(objpfx)tst-nodelete): Likewise.
17415         ($(objpfx)tst-nodelete.out): Likewise.
17416         (LDFLAGS-tst-nodelete): Likewise.
17417         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17418         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17419         implement forced object deletion.
17420         (_dl_close): Pass false to _dl_close_worker.
17421         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17422         * elf/tst-nodelete.cc: New file.
17423         * elf/tst-nodeletelib.cc: Likewise.
17424         * elf/tst-znodeletelib.cc: Likewise.
17425         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17427 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17429         [BZ #18508]
17430         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17431         Depend on $(libdl).
17432         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17433         is not called infinitely times.
17434         (backtrace_helper): New function.
17435         (trace_arg): New struct.
17436         (st1): Enlarge stack size.
17437         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17438         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17439         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17440         Likewise.
17442 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17444         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17446 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17448         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17449         Include sys/types.h instead of bits/types.h.
17450         Remove inclusion of bits/wordsize.h.
17452 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17454         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17455         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17456         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17457         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17458         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17459         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17461 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17463         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17464         link-defines.sym.
17465         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17466         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17467         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17468         and LR_SIZE.
17469         * sysdeps/i386/link-defines.sym: New file.
17471 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17473         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17474         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17475         ($(objpfx)tst-audit3): New rule.
17476         ($(objpfx)tst-audit3.out): Likewise.
17477         * sysdeps/i386/tst-audit3.c: New file.
17478         * sysdeps/i386/tst-audit3.h: Likewise.
17479         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17480         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17482 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17484         [BZ #18633]
17485         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17486         pointer in C code.
17487         (__strcat_c): Likewise.
17488         (__strcat_g): Likewise.
17490 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17492         [BZ #18592]
17493         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17495 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17497         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17498         New function.  (__ieee754_sqrtf): New function.
17499         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17500         New function.
17501         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17502         New function.
17504 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17506         * sysdeps/ieee754/support.c: Remove unused file.
17508 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17510         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17511         registers instead of d ones so the layout is kernel abi compatible.
17512         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17513         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17514         Likewise.
17516 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17518         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17520 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17522         [BZ #18619]
17523         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17524         and return argument in case of subnormal argument.
17526 2015-07-01  Martin Sebor  <msebor@redhat.com>
17528         [BZ #18435]
17529         * nptl/Makefile: Add tst-once5.cc.
17530         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17531         Remove macro redefinitions.
17532         * nptl/tst-once5.cc: New test.
17534 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17536         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17538         * sysdeps/arm/libm-test-ulps: Regenerated.
17540         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17541         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17543 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17545         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17546         lll_lock_wait_private and lll_futex_wake probes.
17548         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17549         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17550         Likewise.
17551         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17552         atomic_spin_nop.
17553         * sysdeps/x86_64/bits/atomic.h: Likewise.
17554         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17555         to atomic_spin_nop and move ...
17556         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17557         ... here and ...
17558         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17559         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17560         atomic_spin_nop instead of BUSY_WAIT_NOP.
17561         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17562         Likewise.
17563         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17564         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17565         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17566         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17567         instead of atomic_delay.
17569 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17571         [BZ #18613]
17572         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17573         X_ADJ not X when adjusting exponent.
17574         (__ieee754_gamma_r): Do intermediate computations in
17575         round-to-nearest then adjust overflowing and underflowing results
17576         as needed.
17577         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17578         of X_ADJ not X when adjusting exponent.
17579         (__ieee754_gammaf_r): Do intermediate computations in
17580         round-to-nearest then adjust overflowing and underflowing results
17581         as needed.
17582         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17583         log of X_ADJ not X when adjusting exponent.
17584         (__ieee754_gammal_r): Do intermediate computations in
17585         round-to-nearest then adjust overflowing and underflowing results
17586         as needed.  Use 1.0L not 1.0f as numerator of division.
17587         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17588         log of X_ADJ not X when adjusting exponent.
17589         (__ieee754_gammal_r): Do intermediate computations in
17590         round-to-nearest then adjust overflowing and underflowing results
17591         as needed.  Use 1.0L not 1.0f as numerator of division.
17592         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17593         of X_ADJ not X when adjusting exponent.
17594         (__ieee754_gammal_r): Do intermediate computations in
17595         round-to-nearest then adjust overflowing and underflowing results
17596         as needed.  Use 1.0L not 1.0f as numerator of division.
17597         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17598         to auto-libm-test-in.
17599         (tgamma_test): Use ALL_RM_TEST.
17600         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17601         tests of tgamma with spurious-overflow.
17602         * math/auto-libm-test-out: Regenerated.
17603         * math/gen-libm-have-vector-test.sh: Do not check for START.
17604         * sysdeps/i386/fpu/libm-test-ulps: Update.
17605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17607         [BZ #18612]
17608         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17609         arguments, just return 0.5 times the argument, with underflow
17610         forced as needed.
17611         * math/auto-libm-test-in: Add more tests of j1.
17612         * math/auto-libm-test-out: Regenerated.
17614         [BZ #16559]
17615         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17616         (__ieee754_j1): Force underflow exception for small results.
17617         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17618         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17619         (__ieee754_j1f): Force underflow exception for small results.
17620         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17621         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17623         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17624         (__ieee754_j1l): Force underflow exception for small results.
17625         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17626         * math/auto-libm-test-in: Add more tests of j1 and jn.
17627         * math/auto-libm-test-out: Regenerated.
17629         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17630         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17631         (PF_MPLS): Likewise.
17632         (AF_IB): Likewise.
17633         (AF_MPLS): Likewise.
17634         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17635         value and macro.
17636         (MS_RMT_MASK): Include MS_LAZYTIME.
17638 2015-06-26  Mel Gorman  <mgorman@suse.de>
17640         [BZ #18502]
17641         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17642         already minimal.
17644 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17646         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17647         (DT_MIPS_NUM): Update.
17648         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17649         DT_MIPS_RLD_MAP_REL.
17651 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17653         [BZ #16559]
17654         [BZ #18602]
17655         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17656         round-to-nearest internally then recompute results that
17657         underflowed to zero in the original rounding mode.
17658         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17659         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17660         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17661         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17662         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17663         * sysdeps/i386/fpu/libm-test-ulps: Update.
17664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17666 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17668         * NEWS: Fixed description of link with vector math library.
17670 2015-06-25  Andreas Schwab  <schwab@suse.de>
17672         [BZ #18549]
17673         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17674         * libio/test-fmemopen.c (do_test): Add test for it.
17676 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17678         [BZ #17841]
17679         * Makeconfig (no-pie-ldflag): New.
17680         (+link): Set to $(+link-pie) if default to PIE.
17681         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17682         * config.make.in (build-pie-default): New.
17683         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17684         is default.  AC_SUBST.
17685         * configure: Regenerated.
17686         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17688 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17690         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17691         to 'unsigned int'.
17693         * resolv/gai_misc.h (struct waitlist): Change type of field
17694         counterp to 'volatile unsigned int *'.
17695         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17696         FUTEXADDR and OLDVAL.
17697         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17698         Give local variable TOTAL type 'volatile unsigned int'.
17699         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17700         * resolv/gai_suspend.c (gai_suspend):
17701         Give local variable CNTR type 'unsigned int'.
17703         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17704         counterp to 'volatile unsigned int *'.
17705         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17706         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17707         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17708         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17709         Give local variable TOTAL type 'volatile unsigned int'.
17710         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17712 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17714         [BZ #18383]
17715         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17716         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17717         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17718         comment for i386/x86-64.
17719         (test-xfail-tst-tlsalign-extern-static): Removed.
17721 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17723         * math/test-double.h: New file.
17724         * math/test-float.h: Likewise.
17725         * math/test-ldouble.h: Likewise.
17726         * math/test-math-inline.h: Likewise.
17727         * math/test-math-no-inline.h: Likewise.
17728         * math/test-math-scalar.h: Likewise.
17729         * math/test-math-vector.h: Likewise.
17730         * math/test-vec-loop.h: Remove file.  Contents moved into
17731         test-math-vector.h.
17732         * math/libm-test.inc (MATHCONST): Do not document macro.
17733         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17734         and test-math-scalar.h.
17735         (FUNC): Remove macro.
17736         (FUNC_TEST): Likewise.
17737         (FLOAT): Likewise.
17738         (MATHCONST): Likewise.
17739         (PRINTF_EXPR): Likewise.
17740         (PRINTF_XEXPR): Likewise.
17741         (PRINTF_NEXPR): Likewise.
17742         (TEST_DOUBLE): Likewise.
17743         (TEST_MATHVEC): Likewise.
17744         (__NO_MATH_INLINES): Likewise.
17745         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17746         and test-math-scalar.h.
17747         (FUNC): Remove macro.
17748         (FUNC_TEST): Likewise.
17749         (FLOAT): Likewise.
17750         (MATHCONST): Likewise.
17751         (PRINTF_EXPR): Likewise.
17752         (PRINTF_XEXPR): Likewise.
17753         (PRINTF_NEXPR): Likewise.
17754         (TEST_FLOAT): Likewise.
17755         (TEST_MATHVEC): Likewise.
17756         (__NO_MATH_INLINES): Likewise.
17757         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17758         and test-math-scalar.h.
17759         (FUNC): Remove macro.
17760         (FUNC_TEST): Likewise.
17761         (FLOAT): Likewise.
17762         (MATHCONST): Likewise.
17763         (PRINTF_EXPR): Likewise.
17764         (PRINTF_XEXPR): Likewise.
17765         (PRINTF_NEXPR): Likewise.
17766         (TEST_DOUBLE): Likewise.
17767         (TEST_MATHVEC): Likewise.
17768         (TEST_INLINE): Likewise.
17769         (__NO_MATH_INLINES): Likewise.
17770         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17771         test-math-scalar.h.
17772         (FUNC): Remove macro.
17773         (FUNC_TEST): Likewise.
17774         (FLOAT): Likewise.
17775         (MATHCONST): Likewise.
17776         (PRINTF_EXPR): Likewise.
17777         (PRINTF_XEXPR): Likewise.
17778         (PRINTF_NEXPR): Likewise.
17779         (TEST_FLOAT): Likewise.
17780         (TEST_MATHVEC): Likewise.
17781         (TEST_INLINE): Likewise.
17782         (__NO_MATH_INLINES): Likewise.
17783         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17784         and test-math-scalar.h.
17785         (FUNC): Remove macro.
17786         (FUNC_TEST): Likewise.
17787         (FLOAT): Likewise.
17788         (MATHCONST): Likewise.
17789         (PRINTF_EXPR): Likewise.
17790         (PRINTF_XEXPR): Likewise.
17791         (PRINTF_NEXPR): Likewise.
17792         (TEST_LDOUBLE): Likewise.
17793         (TEST_MATHVEC): Likewise.
17794         (TEST_INLINE): Likewise.
17795         (__NO_MATH_INLINES): Likewise.
17796         * math/test-ldouble.c: Include test-ldouble.h,
17797         test-math-no-inline.h and test-math-scalar.h.
17798         (FUNC): Remove macro.
17799         (FUNC_TEST): Likewise.
17800         (FLOAT): Likewise.
17801         (MATHCONST): Likewise.
17802         (PRINTF_EXPR): Likewise.
17803         (PRINTF_XEXPR): Likewise.
17804         (PRINTF_NEXPR): Likewise.
17805         (TEST_LDOUBLE): Likewise.
17806         (TEST_MATHVEC): Likewise.
17807         (__NO_MATH_INLINES): Likewise.
17808         * math/test-double-vlen2.h: Include test-double.h,
17809         test-math-no-inline.h and test-math-vector.h.
17810         (FLOAT): Remove macro.
17811         (FUNC): Likewise.
17812         (MATHCONST): Likewise.
17813         (PRINTF_EXPR): Likewise.
17814         (PRINTF_XEXPR): Likewise.
17815         (PRINTF_NEXPR): Likewise.
17816         (TEST_DOUBLE): Likewise.
17817         (TEST_MATHVEC): Likewise.
17818         (__NO_MATH_INLINES): Likewise.
17819         (CNCT): Likewise.
17820         (CONCAT): Likewise.
17821         (WRAPPER_NAME): Likewise.
17822         (WRAPPER_DECL): Likewise.
17823         (WRAPPER_DECL_ff): Likewise.
17824         (WRAPPER_DECL_fFF): Likewise.
17825         (VECTOR_WRAPPER): Likewise.
17826         (VECTOR_WRAPPER_ff): Likewise.
17827         (VECTOR_WRAPPER_fFF): Likewise.
17828         (VEC_LEN): New macro.
17829         * math/test-double-vlen4.h: Include test-double.h,
17830         test-math-no-inline.h and test-math-vector.h.
17831         (FLOAT): Remove macro.
17832         (FUNC): Likewise.
17833         (MATHCONST): Likewise.
17834         (PRINTF_EXPR): Likewise.
17835         (PRINTF_XEXPR): Likewise.
17836         (PRINTF_NEXPR): Likewise.
17837         (TEST_DOUBLE): Likewise.
17838         (TEST_MATHVEC): Likewise.
17839         (__NO_MATH_INLINES): Likewise.
17840         (CNCT): Likewise.
17841         (CONCAT): Likewise.
17842         (WRAPPER_NAME): Likewise.
17843         (WRAPPER_DECL): Likewise.
17844         (WRAPPER_DECL_ff): Likewise.
17845         (WRAPPER_DECL_fFF): Likewise.
17846         (VECTOR_WRAPPER): Likewise.
17847         (VECTOR_WRAPPER_ff): Likewise.
17848         (VECTOR_WRAPPER_fFF): Likewise.
17849         (VEC_LEN): New macro.
17850         * math/test-double-vlen8.h: Include test-double.h,
17851         test-math-no-inline.h and test-math-vector.h.
17852         (FLOAT): Remove macro.
17853         (FUNC): Likewise.
17854         (MATHCONST): Likewise.
17855         (PRINTF_EXPR): Likewise.
17856         (PRINTF_XEXPR): Likewise.
17857         (PRINTF_NEXPR): Likewise.
17858         (TEST_DOUBLE): Likewise.
17859         (TEST_MATHVEC): Likewise.
17860         (__NO_MATH_INLINES): Likewise.
17861         (CNCT): Likewise.
17862         (CONCAT): Likewise.
17863         (WRAPPER_NAME): Likewise.
17864         (WRAPPER_DECL): Likewise.
17865         (WRAPPER_DECL_ff): Likewise.
17866         (WRAPPER_DECL_fFF): Likewise.
17867         (VECTOR_WRAPPER): Likewise.
17868         (VECTOR_WRAPPER_ff): Likewise.
17869         (VECTOR_WRAPPER_fFF): Likewise.
17870         (VEC_LEN): New macro.
17871         * math/test-float-vlen4.h: Include test-float.h,
17872         test-math-no-inline.h and test-math-vector.h.
17873         (FLOAT): Remove macro.
17874         (FUNC): Likewise.
17875         (MATHCONST): Likewise.
17876         (PRINTF_EXPR): Likewise.
17877         (PRINTF_XEXPR): Likewise.
17878         (PRINTF_NEXPR): Likewise.
17879         (TEST_FLOAT): Likewise.
17880         (TEST_MATHVEC): Likewise.
17881         (__NO_MATH_INLINES): Likewise.
17882         (CNCT): Likewise.
17883         (CONCAT): Likewise.
17884         (WRAPPER_NAME): Likewise.
17885         (WRAPPER_DECL): Likewise.
17886         (WRAPPER_DECL_ff): Likewise.
17887         (WRAPPER_DECL_fFF): Likewise.
17888         (VECTOR_WRAPPER): Likewise.
17889         (VECTOR_WRAPPER_ff): Likewise.
17890         (VECTOR_WRAPPER_fFF): Likewise.
17891         (VEC_LEN): New macro.
17892         * math/test-float-vlen8.h: Include test-float.h,
17893         test-math-no-inline.h and test-math-vector.h.
17894         (FLOAT): Remove macro.
17895         (FUNC): Likewise.
17896         (MATHCONST): Likewise.
17897         (PRINTF_EXPR): Likewise.
17898         (PRINTF_XEXPR): Likewise.
17899         (PRINTF_NEXPR): Likewise.
17900         (TEST_FLOAT): Likewise.
17901         (TEST_MATHVEC): Likewise.
17902         (__NO_MATH_INLINES): Likewise.
17903         (CNCT): Likewise.
17904         (CONCAT): Likewise.
17905         (WRAPPER_NAME): Likewise.
17906         (WRAPPER_DECL): Likewise.
17907         (WRAPPER_DECL_ff): Likewise.
17908         (WRAPPER_DECL_fFF): Likewise.
17909         (VECTOR_WRAPPER): Likewise.
17910         (VECTOR_WRAPPER_ff): Likewise.
17911         (VECTOR_WRAPPER_fFF): Likewise.
17912         (VEC_LEN): New macro.
17913         * math/test-float-vlen16.h: Include test-float.h,
17914         test-math-no-inline.h and test-math-vector.h.
17915         (FLOAT): Remove macro.
17916         (FUNC): Likewise.
17917         (MATHCONST): Likewise.
17918         (PRINTF_EXPR): Likewise.
17919         (PRINTF_XEXPR): Likewise.
17920         (PRINTF_NEXPR): Likewise.
17921         (TEST_FLOAT): Likewise.
17922         (TEST_MATHVEC): Likewise.
17923         (__NO_MATH_INLINES): Likewise.
17924         (CNCT): Likewise.
17925         (CONCAT): Likewise.
17926         (WRAPPER_NAME): Likewise.
17927         (WRAPPER_DECL): Likewise.
17928         (WRAPPER_DECL_ff): Likewise.
17929         (WRAPPER_DECL_fFF): Likewise.
17930         (VECTOR_WRAPPER): Likewise.
17931         (VECTOR_WRAPPER_ff): Likewise.
17932         (VECTOR_WRAPPER_fFF): Likewise.
17933         (VEC_LEN): New macro.
17934         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17935         test-vec-loop.h.
17936         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17937         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17938         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17939         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17940         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17941         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17942         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17944 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17946         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17947         (__getlogin_r): ... this.
17949 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17951         [BZ #18594]
17952         * math/s_ccosh.c (__ccosh): Compare with least normal value
17953         instead of comparing class with FP_SUBNORMAL.
17954         * math/s_ccoshf.c (__ccoshf): Likewise.
17955         * math/s_ccoshl.c (__ccoshl): Likewise.
17956         * math/s_cexp.c (__cexp): Likewise.
17957         * math/s_cexpf.c (__cexpf): Likewise.
17958         * math/s_cexpl.c (__cexpl): Likewise.
17959         * math/s_csin.c (__csin): Likewise.
17960         * math/s_csinf.c (__csinf): Likewise.
17961         * math/s_csinh.c (__csinh): Likewise.
17962         * math/s_csinhf.c (__csinhf): Likewise.
17963         * math/s_csinhl.c (__csinhl): Likewise.
17964         * math/s_csinl.c (__csinl): Likewise.
17965         * math/s_ctan.c (__ctan): Likewise.
17966         * math/s_ctanf.c (__ctanf): Likewise.
17967         * math/s_ctanh.c (__ctanh): Likewise.
17968         * math/s_ctanhf.c (__ctanhf): Likewise.
17969         * math/s_ctanhl.c (__ctanhl): Likewise.
17970         * math/s_ctanl.c (__ctanl): Likewise.
17971         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17972         csin, csinh, ctan and ctanh.
17973         * math/auto-libm-test-out: Regenerated.
17974         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17975         * sysdeps/i386/fpu/libm-test-ulps: Update.
17976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17978 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17980         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17981         return value is wrong, print the expected value too.
17983 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17985         [BZ #18585]
17986         * elf/readlib.c (is_gdb_python_file): New.
17987         (process_file): Don't issue errors on filenames with -gdb.py
17988         suffix.
17990 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17992         * math/auto-libm-test-in: Add more tests of csin and csinh.
17993         * math/auto-libm-test-out: Regenerated.
17994         * math/libm-test.inc (csin_test_data): Remove tests moved to
17995         auto-libm-test-in.
17996         (csinh_test_data): Likewise.
17998         [BZ #18593]
17999         * math/s_csin.c (__csin): Negate before rather than after possibly
18000         overflowing multiplication.
18001         * math/s_csinf.c (__csinf): Likewise.
18002         * math/s_csinh.c (__csinh): Likewise.
18003         * math/s_csinhf.c (__csinhf): Likewise.
18004         * math/s_csinhl.c (__csinhl): Likewise.
18005         * math/s_csinl.c (__csinl): Likewise.
18006         * math/auto-libm-test-in: Add some tests of csin and csinh.
18007         * math/auto-libm-test-out: Regenerated.
18008         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18009         (csinh_test_data): Likewise.
18010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18012         [BZ #18586]
18013         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18014         underflow exception for small results.
18016 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18018         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18020         variable and included header.
18021         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18022         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18026         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18027         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18028         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18029         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18030         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18031         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18032         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18033         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18034         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18035         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18036         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18038 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18040         [BZ #16526]
18041         [BZ #16538]
18042         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18043         (__sin): Force underflow exception for arguments with small
18044         absolute value.
18045         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18046         (__kernel_sinf): Force underflow exception for arguments with
18047         small absolute value.
18048         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18049         (__kernel_sincosl): Force underflow exception for arguments with
18050         small absolute value.
18051         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18052         (__kernel_sinl): Force underflow exception for arguments with
18053         small absolute value.
18054         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18055         (__kernel_sincosl): Force underflow exception for arguments with
18056         small absolute value.
18057         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18058         (__kernel_sinl): Force underflow exception for arguments with
18059         small absolute value.
18060         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18061         (__kernel_sinl): Force underflow exception for arguments with
18062         small absolute value.
18063         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18064         (__kernel_sinf): Force underflow exception for arguments with
18065         small absolute value.
18066         * math/auto-libm-test-in: Add more tests of sin and sincos.
18067         * math/auto-libm-test-out: Regenerated.
18069         [BZ #18245]
18070         [BZ #18583]
18071         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18072         (__kernel_standard_l): Use feholdexcept and fesetenv around
18073         conversion to double instead of special-casing overflow and
18074         underflow.
18075         * math/libm-test.inc (fmod_test_data): Add more tests.
18076         (remainder_test_data): Likewise.
18077         (sqrt_test_data): Likewise.
18079 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18081         [BZ #17403]
18082         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18083         atomic_read_barrier, atomic_write_barrier): Define.
18084         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18085         atomic_read_barrier, atomic_write_barrier): Define.
18087 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18089         * math/Makefile [$(PERL) != no]
18090         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18091         dependency on libm-test.stmp below the inclusion of Rules.
18093 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18096         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18097         and included header.
18098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18099         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18100         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18102         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18104         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18106         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18107         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18108         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18109         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18110         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18111         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18112         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18113         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18114         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18115         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18116         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18118 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18120         [BZ #18371]
18121         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18122         intermediate but not final result might underflow.
18123         * math/s_csqrtf.c (__csqrtf): Likewise.
18124         * math/s_csqrtl.c (__csqrtl): Likewise.
18125         * math/auto-libm-test-in: Add more tests of csqrt.
18126         * math/auto-libm-test-out: Regenerated.
18127         * sysdeps/i386/fpu/libm-test-ulps: Update.
18129         [BZ #18219]
18130         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18131         threshold on absolute value of exponent for which scaling is used.
18132         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18133         * math/auto-libm-test-in: Add more tests of exp2.
18134         * math/auto-libm-test-out: Regenerated.
18136 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18138         [BZ #17977]
18139         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18140         when initializing interface list, based on the bug analysis
18141         and the patch proposed by Eric Newton.
18142         * resolv/tst-res_hconf_reorder.c: New test.
18143         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18144         tst-res_hconf_reorder.
18145         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18146         and $(shared-thread-library).
18147         (tst-res_hconf_reorder-ENV): New variable.
18149         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18150         in comment.
18152 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18154         [BZ #16353]
18155         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18156         (__expm1): Force underflow exception for arguments with small
18157         absolute value.
18158         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18159         (__expm1f): Force underflow exception for arguments with small
18160         absolute value.
18161         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18162         (__expm1): Force underflow exception for arguments with small
18163         absolute value.
18164         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18165         (__expm1f): Force underflow exception for arguments with small
18166         absolute value.
18167         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18168         Check for small arguments before calling __expm1.
18169         * math/auto-libm-test-in: Do not mark underflow exceptions as
18170         possibly missing for bug 16353.
18171         * math/auto-libm-test-out: Regenerated.
18173 2015-06-22  Andreas Schwab  <schwab@suse.de>
18175         [BZ #18513]
18176         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18177         PTR queries.
18179 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18181         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18183         * string/strcoll_l.c: Remove unused struct element idxnow.
18185 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18187         [BZ #18569]
18188         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18189         underflow and return argument in case of subnormal argument.
18190         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18191         Likewise.
18192         * math/auto-libm-test-in: Add more tests of expm1.
18193         * math/auto-libm-test-out: Regenerated.
18195         [BZ #16361]
18196         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18197         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18198         tiny results.
18199         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18200         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18201         tiny results.
18202         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18203         mark underflow exceptions as possibly missing for bug 16361.
18204         * math/auto-libm-test-out: Regenerated.
18206 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18208         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18209         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18210         Remove variable.
18211         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18212         (test-xfail-XOPEN2K8/utmpx.h/conform).
18214         * conform/conformtest.pl ($xerrors): New variable.
18215         (note_error): New function.
18216         (compiletest): New argument $xfail.  Use not_error.
18217         (runtest): Likewise.
18218         (top level): Handle xfail- lines.  Update calls to compiletest and
18219         runtest.  Handle xfail- and optional- in headers listed with
18220         allow-header.
18221         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18222         (O_EXEC): Likewise.
18223         (O_SEARCH): Likewise.
18224         * conform/data/stropts.h-data (ioctl): Likewise.
18225         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18226         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18227         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18228         (msghdr.msg_controllen): Likewise.
18229         (cmsghdr.cmsg_len): Likewise.
18230         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18231         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18232         variable.
18233         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18234         (test-xfail-XPG4/stropts.h/conform): Likewise.
18235         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18236         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18237         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18238         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18239         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18240         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18241         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18242         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18243         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18244         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18245         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18246         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18247         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18248         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18249         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18250         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18251         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18252         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18253         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18255 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18257         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18258         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18259         definitions for proper unfolding of __MATHDECL_VEC.
18261 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18263         * benchtests/bench-strcoll.c:
18264         Include string.h.
18265         (main): Remove unused variable res.
18267 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18269         * timezone/Makefile (%/UTC %/Universal):
18270         Generate test-result files for UTC and Universal.
18272 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18274         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18276 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18278         [BZ #16350]
18279         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18280         for arguments with small absolute value.
18281         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18282         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18283         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18284         (__asinh): Force underflow exception for arguments with small
18285         absolute value.
18286         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18287         (__asinhf): Force underflow exception for arguments with small
18288         absolute value.
18289         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18290         (__asinhl): Force underflow exception for arguments with small
18291         absolute value.
18292         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18293         (__asinhl): Force underflow exception for arguments with small
18294         absolute value.
18295         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18296         (__asinhl): Force underflow exception for arguments with small
18297         absolute value.
18298         * math/auto-libm-test-in: Do not mark underflow exceptions as
18299         possibly missing for bug 16350.
18300         * math/auto-libm-test-out: Regenerated.
18302         * include/bits/ipc.h: Remove file.
18303         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18304         variable.
18305         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18306         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18307         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18308         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18309         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18310         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18311         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18312         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18313         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18315         * math/auto-libm-test-in: Remove spurious underflow allowance for
18316         tests of cexp.
18317         * math/auto-libm-test-out: Regenerated.
18319         [BZ #18558]
18320         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18321         unconditional definition.
18322         (MCAST_BLOCK_SOURCE): Likewise.
18323         (MCAST_UNBLOCK_SOURCE): Likewise.
18324         (MCAST_LEAVE_GROUP): Likewise.
18325         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18326         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18327         (MCAST_MSFILTER): Likewise.
18328         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18329         Remove variable.
18330         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18331         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18332         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18333         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18334         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18336 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18338         * NEWS: Mention addition of x86_64 vector sincosf.
18339         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18340         * math/test-float-vlen4.h: Likewise.
18341         * math/test-float-vlen8.h: Likewise.
18342         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18343         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18344         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18345         * sysdeps/x86_64/fpu/Versions: New versions added.
18346         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18347         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18348         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18350         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18352         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18353         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18354         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18355         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18356         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18357         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18358         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18359         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18360         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18361         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18362         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18363         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18364         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18365         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18366         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18367         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18368         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18369         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18371         * NEWS: Mention addition of x86_64 vector sincos.
18372         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18373         * math/math.h (__MATHDECL_VEC): New macro.
18374         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18375         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18376         declaration under condition.
18377         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18378         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18379         TEST_VEC_LOOP change.
18380         * math/test-double-vlen4.h: Likewise.
18381         * math/test-double-vlen8.h: Likewise.
18382         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18383         * math/test-float-vlen4.h: Likewise.
18384         * math/test-float-vlen8.h: Likewise.
18385         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18386         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18387         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18388         * sysdeps/x86_64/fpu/Versions: New versions added.
18389         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18390         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18391         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18392         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18393         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18394         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18395         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18396         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18397         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18398         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18399         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18400         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18401         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18402         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18403         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18404         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18405         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18406         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18409         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18410         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18411         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18412         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18414         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18415         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18416         redirections for powf.
18417         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18418         * sysdeps/x86_64/fpu/Versions: New versions added.
18419         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18420         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18421         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18422         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18423         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18424         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18425         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18426         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18427         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18428         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18429         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18430         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18431         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18432         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18433         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18434         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18435         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18436         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18437         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18438         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18439         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18440         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18441         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18442         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18443         * math/test-float-vlen16.h: Fixed 2 argument macro.
18444         * math/test-float-vlen4.h: Likewise.
18445         * math/test-float-vlen8.h: Likewise.
18446         * NEWS: Mention addition of x86_64 vector powf.
18448 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18450         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18451         and redefine.
18452         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18453         and redefine.
18454         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18455         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18456         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18458         [BZ #18553]
18459         * resource/getpriority.c (getpriority): Rename to __getpriority
18460         and define as weak alias of __getpriority.
18461         * resource/setpriority.c (setpriority): Rename to __setpriority
18462         and define as weak alias of __setpriority.
18463         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18464         __getpriority and define as weak alias of __getpriority.
18465         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18466         __setpriority and define as weak alias of __setpriority.
18467         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18468         strong name.
18469         (setpriority): Use __setpriority as strong name.
18470         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18471         __getpriority and define as weak alias of __getpriority.
18472         * include/sys/resource.h (__getpriority): Declare.  Use
18473         libc_hidden_proto.
18474         (__setpriority): Likewise.
18475         (getpriority): Don't use libc_hidden_proto.
18476         (setpriority): Likewise.
18477         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18478         getpriority.  Call __setpriority instead of setpriority.
18479         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18480         Remove variable.
18482         [BZ #18547]
18483         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18484         as weak alias of __getttynam.  Use prototype function definition.
18485         Call __setttyent, __getttyent and __endttyent instead of
18486         setttyent, getttyent and endttyent.
18487         (getttyent): Rename to __getttyent and define as weak alias of
18488         __getttyent.  Call __setttyent instead of setttyent.  Call
18489         __fgets_unlocked instead of fgets_unlocked.
18490         (setttyent): Rename to __setttyent and define as weak alias of
18491         __setttyent.
18492         (endttyent): Rename to __endttyent and define as weak alias of
18493         __endttyent.
18494         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18495         (__setttyent): Likewise.
18496         (__endttyent): Likewise.
18497         (getttyent): Don't use libc_hidden_proto.
18498         (setttyent): Likewise.
18499         (endttyent): Likewise.
18500         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18501         __endttyent instead of setttyent, getttyent and endttyent.
18502         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18503         Remove variable.
18505         [BZ #18546]
18506         * socket/recv.c (__recv): Use libc_hidden_def.
18507         * socket/socket.c (__socket): Likewise.
18508         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18509         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18510         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18511         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18512         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18513         libc_hidden_def.
18514         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18515         libc_hidden_weak.
18516         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18517         Use libc_hidden_proto.
18518         (__recv): Likewise.
18519         * socket/Versions (libc): Export __recv and __socket at version
18520         GLIBC_PRIVATE.
18521         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18522         instead of recv.
18523         (init_mq_netlink): Call __socket instead of socket.
18524         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18525         Remove variable.
18527         [BZ #18545]
18528         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18529         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18530         hidden_weak.
18531         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18532         define as alias of __mq_timedsend.  Use hidden_weak.
18533         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18534         __mq_timedsend as strong name.
18535         (mq_timedreceive): Use __mq_timedreceive as strong name.
18536         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18537         (__mq_timedreceive): Likewise.
18538         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18539         __mq_timedreceive instead of mq_timedreceive.
18540         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18541         instead of mq_timedsend.
18542         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18543         Remove variable.
18545         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18546         hidden_def and hidden_weak instead of libc_hidden_def and
18547         libc_hidden_weak.
18548         (top level): Refer to hidden_def in comment.
18549         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18550         macro.  Use it instead of libc_hidden_def.
18551         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18552         specify __GI_* name explicitly.
18553         (mq_timedreceive): Likewise.
18554         (mq_setattr): Likewise.
18556         [BZ #18544]
18557         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18558         __pthread_barrier_init and define as weak alias of
18559         __pthread_barrier_init.
18560         * sysdeps/sparc/nptl/pthread_barrier_init.c
18561         (pthread_barrier_init): Likewise.
18562         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18563         __pthread_barrier_wait and define as weak alias of
18564         __pthread_barrier_wait.
18565         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18566         (pthread_barrier_wait): Likewise.
18567         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18568         (pthread_barrier_wait): Likewise.
18569         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18570         (pthread_barrier_wait): Likewise.
18571         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18572         (pthread_barrier_wait): Likewise.
18573         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18574         __pthread_barrier_wait at version GLIBC_PRIVATE.
18575         * include/pthread.h (__pthread_barrier_init): Declare.
18576         (__pthread_barrier_wait): Likewise.
18577         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18578         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18579         (helper_thread): Likewise.
18580         (init_mq_netlink): Call __pthread_barrier_init instead of
18581         pthread_barrier_init.
18583         [BZ #18542]
18584         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18585         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18586         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18587         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18588         vswscanf.
18589         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18590         Remove variable.
18592         [BZ #18540]
18593         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18594         strong alias of _IO_fflush.  Use libc_hidden_def.
18595         * libio/iofflush_u.c (fflush_unlocked): Rename to
18596         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18597         Use libc_hidden_weak.
18598         * include/stdio.h (__fflush_unlocked): Declare.  Use
18599         libc_hidden_proto.
18600         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18601         fflush_unlocked.
18602         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18603         Remove variable.
18605         [BZ #18539]
18606         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18607         define as weak alias of __addseverity.
18608         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18609         Remove variable.
18610         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18611         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18612         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18614         [BZ #18536]
18615         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18616         (__tfind): Likewise.
18617         (__tdelete): Likewise.
18618         (__twalk): Likewise.
18619         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18620         __twalk to GLIBC_PRIVATE.
18621         * include/search.h (__tsearch): Use libc_hidden_proto.
18622         (__tfind): Likewise.
18623         (__tdelete): Likewise.
18624         (__twalk): Likewise.
18625         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18626         Call __tdelete instead of tdelete.
18627         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18628         tfind.  Call __tsearch instead of tsearch.
18629         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18630         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18631         Remove variable.
18632         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18634         [BZ #18534]
18635         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18636         (dprintf): Define as a weak alias of __dprintf, not a strong
18637         alias.
18638         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18639         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18640         dprintf.
18641         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18642         Remove variable.
18643         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18644         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18646         [BZ #18533]
18647         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18648         not a strong alias.
18649         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18650         Remove variable.
18652         [BZ #18532]
18653         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18654         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18655         (in6addr_loopback): Rename to __in6addr_loopback and define as
18656         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18657         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18658         libc_hidden_proto.
18659         (__in6addr_any): Likewise.
18660         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18661         in6addr_any.
18662         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18663         variable.
18664         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18666 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18668         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18669         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18670         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18671         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18672         redirections for pow.
18673         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18674         * sysdeps/x86_64/fpu/Versions: New versions added.
18675         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18676         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18677         build of SSE, AVX2 and AVX512 IFUNC versions.
18678         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18679         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18680         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18681         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18682         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18683         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18684         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18685         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18686         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18687         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18688         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18689         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18690         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18691         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18692         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18693         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18694         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18695         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18696         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18697         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18698         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18699         * NEWS: Mention addition of x86_64 vector pow.
18701         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18702         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18703         redirections for expf.
18704         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18705         * sysdeps/x86_64/fpu/Versions: New versions added.
18706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18707         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18708         build of SSE, AVX2 and AVX512 IFUNC versions.
18709         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18710         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18711         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18713         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18714         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18715         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18716         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18717         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18718         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18719         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18720         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18721         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18722         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18723         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18724         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18725         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18726         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18727         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18728         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18729         * NEWS: Mention addition of x86_64 vector expf.
18731         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18732         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18733         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18734         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18735         redirections for exp.
18736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18737         * sysdeps/x86_64/fpu/Versions: New versions added.
18738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18740         build of SSE, AVX2 and AVX512 IFUNC versions.
18741         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18742         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18743         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18744         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18745         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18746         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18747         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18748         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18749         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18750         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18751         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18752         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18753         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18754         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18755         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18757         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18758         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18759         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18760         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18761         * NEWS: Mention addition of x86_64 vector exp.
18763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18765         redirections for logf.
18766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18767         * sysdeps/x86_64/fpu/Versions: New versions added.
18768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18770         build of SSE, AVX2 and AVX512 IFUNC versions.
18771         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18772         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18773         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18774         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18775         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18776         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18777         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18778         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18779         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18780         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18781         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18782         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18783         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18784         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18785         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18786         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18789         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18790         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18791         * NEWS: Mention addition of x86_64 vector logf.
18793         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18794         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18795         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18796         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18797         redirections for log.
18798         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18799         * sysdeps/x86_64/fpu/Versions: New versions added.
18800         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18801         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18802         build of SSE, AVX2 and AVX512 IFUNC versions.
18803         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18804         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18805         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18806         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18807         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18808         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18809         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18810         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18811         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18812         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18813         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18814         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18815         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18816         test.
18817         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18819         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18820         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18821         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18822         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18823         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18824         * NEWS: Mention addition of x86_64 vector log.
18826 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18828         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18829         cfi_adjust_cfa_offset argument.
18830         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18831         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18833         [BZ #18034]
18834         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18835         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18836         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18837         ordering using ldar.
18838         (_dl_tlsdesc_dynamic): Likewise.
18839         (_dl_tlsdesc_return_lazy): Likewise.
18840         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18841         relaxed atomics instead of volatile and synchronize with release store.
18842         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18843         volatile.
18844         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18846 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18848         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18849         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18850         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18851         * sysdeps/x86_64/fpu/Versions: New versions added.
18852         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18853         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18854         build of SSE, AVX2 and AVX512 IFUNC versions.
18855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18857         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18858         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18859         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18860         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18861         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18862         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18863         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18864         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18865         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18866         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18867         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18868         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18869         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18870         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18872         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18873         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18874         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18875         * NEWS: Mention addition of x86_64 vector sinf.
18877 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18879         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18880         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18881         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18882         Remove variable.
18883         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18884         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18886 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18888         [BZ #18530]
18889         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18890         strong alias of _IO_fputs.  Use libc_hidden_def.
18891         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18892         and define as weak alias of __fputs_unlocked.  Use
18893         libc_hidden_weak.
18894         * include/stdio.h (__fputs_unlocked): Declare.  Use
18895         libc_hidden_proto.
18896         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18897         fputs_unlocked.
18899         [BZ #18529]
18900         * resolv/netdb.h [__USE_POSIX]: Change condition to
18901         [__USE_XOPEN2K].
18902         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18903         not expect.
18904         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18905         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18906         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18907         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18908         [XPG4 || UNIX98] (AI_ALL): Likewise.
18909         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18910         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18911         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18912         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18913         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18914         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18915         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18916         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18917         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18918         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18919         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18920         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18921         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18922         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18923         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18924         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18925         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18926         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18927         [XPG4 || UNIX98] (gai_strerror): Likewise.
18928         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18929         [XPG4 || UNIX98] (getnameinfo): Likewise.
18931         [BZ #18528]
18932         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18933         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18934         __USE_XOPEN2K8].
18935         (getgrent): Likewise.
18936         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18937         expect.
18938         [XPG3 || POSIX2008] (endgrent): Likewise.
18939         [XPG3] (setgrent): Likewise.
18940         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18941         variable.
18942         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18944         [BZ #18527]
18945         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18946         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18947         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18948         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18949         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18950         * include/unistd.h (__getlogin_r): Declare.  Use
18951         libc_hidden_proto.
18952         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18953         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18954         variable.
18955         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18956         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18957         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18959 2015-06-12  Martin Sebor  <msebor@redhat.com>
18961         [BZ #18512]
18962         * Makerules (check-install-supported): New target.
18963         (install): Add check-install-supported as a dependency.
18964         * manual/install.texi (Installing the C Library): Document
18965         that overriding prefix and exec_prefix is not supported.
18966         Mention DESTDIR.
18967         * INSTALL: Regenerate from the above.
18969 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18971         [BZ #18519]
18972         * posix/Versions (libc): Export __libc_pread at version
18973         GLIBC_PRIVATE.
18974         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18975         instead of pread.
18976         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18977         variable.
18979         [BZ #18522]
18980         * misc/efgcvt_r.c
18981         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18982         (cvt_symbol): Use weak_alias instead of strong_alias.
18983         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18984         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18985         Remove variable.
18986         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18987         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18989         [BZ #18520]
18990         * inet/herrno.c (h_errno): Rename to __h_errno.
18991         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18992         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18993         to __h_errno instead of h_errno.
18994         * nptl/herrno.c (h_errno): Rename to __h_errno.
18995         (__h_errno_location): Refer to __h_errno not h_errno.
18996         * resolv/Versions (h_errno): Rename to __h_errno.
18997         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18998         Remove variable.
18999         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19001 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19003         * configure.ac: More strict check for AVX512 assembler support.
19004         * configure: Regenerated.
19006         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19007         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19008         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19009         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19010         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19011         * sysdeps/x86_64/fpu/Versions: New versions added.
19012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19013         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19014         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19015         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19020         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19021         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19022         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19023         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19024         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19025         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19026         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19027         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19028         test.
19029         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19030         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19031         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19032         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19033         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19034         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19035         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19036         * NEWS: Mention addition of x86_64 vector sin.
19038 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19040         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19041         comment.
19043 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19045         [BZ #18479]
19046         * nptl/pt-interp.c: New file.
19047         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19048         Add pt-interp.
19049         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19050         $(common-objpfx)runtime-linker.h.
19052 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19054         * Makeconfig (+interp): Remove unused variable.
19055         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19056         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19057         $(elf-objpfx)runtime-linker.h.
19058         ($(elf-objpfx)runtime-linker.h): Rename to
19059         $(common-objpfx)runtime-linker.h and move ...
19060         * Makerules [$(build-shared) = yes]: ... here.
19061         * elf/interp.c: Include <runtime-linker.h> instead of
19062         <elf/runtime-linker.h>.
19064 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19066         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19067         (__gettimeofday_syscall): Remove vsyscall fallback.
19068         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19069         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19070         Add syscall fallback function.
19071         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19072         if vDSO is not present.
19073         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19074         fallback function.
19075         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19076         present.
19077         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19078         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19080 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19082         [BZ #18497]
19083         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19084         of wcscmp.
19085         (wcscmp): Define as weak alias of WCSCMP.
19086         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19087         wcscoll.
19088         (USE_HIDDEN_DEF): Define.
19089         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19090         __wcscoll.  Don't use libc_hidden_weak.
19091         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19092         wcscmp.
19093         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19094         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19095         __GI_wcscmp.
19096         (weak_alias): Undefine and redefine.
19097         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19098         __wcscmp and define as weak alias of __wcscmp.
19099         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19100         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19101         (__wcscoll): Likewise.
19102         (wcscmp): Don't use libc_hidden_proto.
19103         (wcscoll): Likewise.
19104         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19105         wcscoll.
19106         * posix/regexec.c (check_node_accept_bytes): Likewise.
19107         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19108         variable.
19109         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19110         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19112         [BZ #18507]
19113         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19114         __fstatvfs and define as weak alias of __fstatvfs.  Use
19115         libc_hidden_weak.
19116         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19117         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19118         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19119         Define as alias of __fstatvfs, not fstatvfs.
19120         (fstatvfs64): Likewise.
19121         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19122         Define as alias of __statvfs, not statvfs.
19123         (statvfs64): Likewise.
19124         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19125         Remove variable.
19127 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19130         (HAVE_GETCPU_VSYSCALL): Define.
19131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19132         (HAVE_GETCPU_VSYSCALL): Likewise.
19133         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19134         * sysdeps/unix/sysv/linux/sched_getcpu.c
19135         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19136         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19137         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19138         prototype.
19139         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19140         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19141         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19143         Define.
19144         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19145         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19146         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19147         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19149 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19151         * sysdeps/x86_64/fpu/Makefile: New file.
19152         * sysdeps/x86_64/fpu/Versions: New file.
19153         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19154         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19155         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19156         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19157         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19158         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19159         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19160         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19161         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19163         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19164         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19165         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19166         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19167         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19168         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19169         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19170         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19171         * sysdeps/x86_64/configure: Regenerated.
19172         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19174         * manual/install.texi (Configuring and compiling): Document
19175         --disable-mathvec.
19176         * INSTALL: Regenerated.
19177         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19179         * math/Makefile: Added rules for vector tests.
19180         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19181         declaration under condition.
19182         * math/test-double-vlen2.h: New file.
19183         * math/test-double-vlen4.h: New file.
19184         * math/test-double-vlen8.h: New file.
19185         * math/test-vec-loop.h: Added initialization macro.
19186         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19188         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19190         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19193         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19194         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19195         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19196         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19198         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19199         * sysdeps/x86_64/fpu/Versions: New versions added.
19200         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19201         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19202         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19203         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19204         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19206         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19207         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19208         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19209         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19210         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19211         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19212         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19213         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19214         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19217         * NEWS: Mention addition of x86_64 vector cosf.
19219         * math/Makefile: Added CFLAGS for new tests.
19220         * math/test-float-vlen16.h: New file.
19221         * math/test-float-vlen4.h: New file.
19222         * math/test-float-vlen8.h: New file.
19223         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19224         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19225         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19226         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19227         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19228         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19229         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19230         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19231         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19232         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19233         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19235 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19237         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19238         * locale/programs/ld-ctype.c: Likewise.
19240 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19242         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19243         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19244         bit_ZMM16_31_state): New macro.
19245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19246         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19248 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19250         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19252 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19254         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19256 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19258         [BZ #18498]
19259         * libio/memstream.c (open_memstream): Rename to __open_memstream
19260         and define as weak alias of __open_memstream.
19261         * include/stdio.h (__open_memstream): Declare.  Use
19262         libc_hidden_proto.
19263         (open_memstream): Don't use libc_hidden_proto.
19264         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19265         open_memstream.
19266         * posix/getopt.c (_getopt_internal_r): Likewise.
19267         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19268         variable.
19269         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19270         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19271         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19273         [BZ #18496]
19274         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19275         instead of wcrtomb.
19277         [BZ #18483]
19278         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19279         [__USE_XOPEN2K8].  Remove redundant #endif.
19280         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19281         Remove redundant #if.
19282         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19283         Remove variable.
19284         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19285         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19287         [BZ #18495]
19288         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19289         (__iswlower): Likewise.
19290         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19291         (__iswlower): Likewise.
19292         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19293         instead of towlower.
19294         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19295         instead of iswlower.  Call __towupper instead of towupper.
19296         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19297         instead of iswalnum.
19299 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19301         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19302         errors to stderr.
19304 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19306         [BZ #15661]
19307         [BZ #17322]
19308         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19309         Check for overflow properly.  Check for O_APPEND.  Ignore large
19310         file system block sizes.  Add comments about problems.
19311         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19312         * manual/filesys.texi (Storage Allocation): New node.
19314 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19316         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19317         cancellable syscalls.
19318         (SYS_ify): Add guard to no redefine it.
19319         (INLINE_SYSCALL): Likewise.
19320         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19321         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19322         SYSCALL_CANCEL instead.
19323         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19324         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19325         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19326         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19327         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19328         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19329         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19330         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19331         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19332         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19333         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19334         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19335         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19336         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19337         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19339         Likewise.
19340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19341         (__libc_pread64): Likewise.
19342         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19343         (__libc_preadv): Likewise.
19344         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19345         (__libc_readv64): Likewise.
19346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19347         (__libc_pwrite): Likewise.
19348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19349         (__libc_pwrite64): Likewise.
19350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19351         (__libc_pwritev): Likewise.
19352         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19353         (__libc_pwritev64): Likewise.
19354         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19355         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19356         (sync_file_range): Likewise.
19357         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19358         Likewise.
19359         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19360         Likewise.
19361         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19362         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19363         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19364         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19365         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19366         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19367         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19368         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19370         Likewise.
19371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19372         (__libc_read64): Likewise.
19373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19374         Likewise.
19375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19376         Likewise.
19377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19378         Likewise.
19379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19380         Likewise.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19382         (__libc_pread64): Likewise.
19383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19384         Likewise.
19385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19386         (__libc_pwrite64): Likewise.
19387         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19388         (sync_file_range): Likewise.
19389         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19390         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19391         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19392         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19393         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19394         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19395         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19396         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19397         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19398         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19399         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19400         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19401         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19402         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19403         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19404         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19405         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19406         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19407         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19408         Likewise.
19409         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19410         Likewise.
19411         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19412         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19413         Likewise.
19414         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19415         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19416         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19417         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19418         Likewise.
19419         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19420         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19421         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19422         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19423         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19425 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19427         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19428         Include dl-vdso.
19429         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19430         Use VDSO routines for gettimeofday, clock_gettime if
19431         available.
19432         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19433         Declare VDSO symbols.
19434         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19435         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19436         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19437         * sysdeps/unix/sysv/linux/arm/Versions: Add
19438         __vdso_clock_gettime.
19440 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19442         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19443         be an inline implementation regardless of library is built within.
19444         (open_not_cancel_2): Likewise.
19445         (__read_nocancel): Likewise.
19446         (__write_nocancel): Likewise.
19447         (openat_not_cancel): Likewise.
19448         (openat_not_cancel_3): Likewise.
19449         (openat64_not_cancel): Likewise.
19450         (openat64_not_cancel_3): Likewise.
19451         (__close_nocancel): Likewise.
19452         (pause_not_cancel): Likewise.
19453         (nanosleep_not_cancel): Likewise.
19454         (sigsuspend_not_cancel): Likewise.
19456 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19458         [BZ #14958]
19459         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19460         wake-up.
19461         (__pthread_rwlock_rdlock_slow): Likewise.
19462         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19463         Likewise.
19464         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19465         Likewise.
19466         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19467         * nptl/tst-rwlock16.c: New file.
19468         * nptl/Makefile (tests): Add new test.
19470 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19472         [BZ #18324]
19473         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19474         missing wake-up of readers.
19475         * nptl/tst-rwlock15.c: New file.
19476         * nptl/Makefile (tests): Add new test.
19478 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19480         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19481         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19482         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19483         and __nacl_supply_interface_rtld.
19484         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19485         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19486         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19487         Add __nacl_supply_interface_rtld.
19488         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19490 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19492         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19493         isfinite.
19494         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19495         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19497 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19499         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19500         __signbit* with standard C99 macros.
19501         * math/e_exp10l.c: Likewise.
19502         * math/e_exp2l.c: Likewise.
19503         * math/e_scalb.c: Likewise.
19504         * math/e_scalbf.c: Likewise.
19505         * math/e_scalbl.c: Likewise.
19506         * math/s_ldexp.c: Likewise.
19507         * math/s_ldexpf.c: Likewise.
19508         * math/s_ldexpl.c: Likewise.
19509         * math/w_atan2.c: Likewise.
19510         * math/w_atan2f.c: Likewise.
19511         * math/w_atan2l.c: Likewise.
19512         * math/w_cosh.c: Likewise.
19513         * math/w_coshf.c: Likewise.
19514         * math/w_coshl.c: Likewise.
19515         * math/w_exp10.c: Likewise.
19516         * math/w_exp10f.c: Likewise.
19517         * math/w_exp10l.c: Likewise.
19518         * math/w_exp2.c: Likewise.
19519         * math/w_exp2f.c: Likewise.
19520         * math/w_exp2l.c: Likewise.
19521         * math/w_fmod.c: Likewise.
19522         * math/w_fmodf.c: Likewise.
19523         * math/w_fmodl.c: Likewise.
19524         * math/w_hypot.c: Likewise.
19525         * math/w_hypotf.c: Likewise.
19526         * math/w_hypotl.c: Likewise.
19527         * math/w_jnl.c: Likewise.
19528         * math/w_lgamma.c: Likewise.
19529         * math/w_lgamma_r.c: Likewise.
19530         * math/w_lgammaf.c: Likewise.
19531         * math/w_lgammaf_r.c: Likewise.
19532         * math/w_lgammal.c: Likewise.
19533         * math/w_lgammal_r.c: Likewise.
19534         * math/w_pow.c: Likewise.
19535         * math/w_powf.c: Likewise.
19536         * math/w_powl.c: Likewise.
19537         * math/w_remainder.c: Likewise.
19538         * math/w_remainderf.c: Likewise.
19539         * math/w_remainderl.c: Likewise.
19540         * math/w_scalb.c: Likewise.
19541         * math/w_scalbf.c: Likewise.
19542         * math/w_scalbl.c: Likewise.
19543         * math/w_scalbln.c: Likewise.
19544         * math/w_scalblnf.c: Likewise.
19545         * math/w_scalblnl.c: Likewise.
19546         * math/w_sinh.c: Likewise.
19547         * math/w_sinhf.c: Likewise.
19548         * math/w_sinhl.c: Likewise.
19549         * math/w_tgamma.c: Likewise.
19550         * math/w_tgammaf.c: Likewise.
19551         * math/w_tgammal.c: Likewise.
19552         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19553         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19554         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19555         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19556         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19557         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19558         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19559         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19560         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19561         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19562         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19563         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19564         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19565         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19566         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19567         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19568         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19569         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19570         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19571         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19572         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19573         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19574         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19575         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19576         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19577         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19578         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19579         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19580         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19581         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19582         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19583         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19584         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19585         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19586         * stdio-common/printf_fp.c: Likewise.
19587         * stdio-common/printf_fphex.c: Likewise.
19588         * stdio-common/printf_size.c: Likewise.
19590 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19592         [BZ #18470]
19593         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19594         strnlen.
19595         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19596         Remove variable.
19597         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19598         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19599         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19600         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19601         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19602         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19603         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19604         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19605         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19606         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19608         [BZ #18468]
19609         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19610         weak alias of __wmemchr.  Use libc_hidden_weak.
19611         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19612         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19613         instead of wmemchr.
19615 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19617         [BZ #18383]
19618         * elf/tst-tlsalign-extern.c: New file.
19619         * elf/tst-tlsalign-extern-static.c: New file.
19620         * elf/tst-tlsalign-vars.c: New file.
19621         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19622         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19623         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19624         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19625         (test-xfail-tst-tlsalign-extern-static): New variable.
19627 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19629         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19630         Use variable name _sc_err instead of err.
19631         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19632         instead of ret.
19633         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19634         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19635         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19636         (INLINE_SYSCALL): Likewise.
19638         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19639         * include/string.h (__strnlen): Use libc_hidden_proto.
19640         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19641         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19642         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19643         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19644         (libc_hidden_def): Undefine and redefine.
19645         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19646         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19647         __GI_strnlen.
19648         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19649         libc_hidden_def.
19650         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19652         [BZ #18469]
19653         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19654         weak alias of __towlower.  Use libc_hidden_weak.
19655         (towupper): Rename to __towupper and define as weak alias of
19656         __towupper.  Use libc_hidden_weak.
19657         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19658         (__towupper): Likewise.
19659         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19660         __towlower instead of towlower.
19662 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19664         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19665         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19667 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19669         * sysdeps/aarch64/libm-test-ulps: Update.
19671 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19673         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19674         Define.
19675         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19677         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19678         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19679         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19680         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19681         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19683 2015-06-01  Martin Sebor  <msebor@redhat.com>
19685         [BZ #18116]
19686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19687         (__setcontext): Use extended four-operand version of mtsf whenever
19688         possible.
19689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19690         (__novec_swapcontext): Likewise.
19692 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19694         * benchtests/scripts/compare_bench.py: New file.
19695         * benchtests/scripts/import_bench.py (mean): New function.
19696         (split_list): Likewise.
19697         (do_for_all_timings): Likewise.
19698         (compress_timings): Likewise.
19700         * benchtests/scripts/import_bench.py: New file.
19701         * benchtests/scripts/validate_benchout.py: Import import_bench
19702         instead of jsonschema.
19703         (validate_bench): Remove function.
19704         (main): Use import_bench.
19706 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19708         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19709         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19711 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19715 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19717         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19718         set THREAD_SELF->tid to a magic value and futex-wake it.
19719         Pass its address to the thread_exit system call.
19720         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19721         bit is clear.
19722         * sysdeps/nacl/lowlevellock.h: New file.
19723         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19725         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19726         Add TIMEOUT to current time, don't subtract it.
19728 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19730         [BZ #2981]
19731         [BZ #18422]
19732         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19733         ($(objpfx)tst-audit2.out): Also depend on
19734         $(objpfx)tst-auditmod9b.so.
19735         * elf/tst-audit2.c: Include <dlfcn.h>.
19736         (calloc_called): New.
19737         (calloc): Allow to be called more than once.
19738         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19740 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19742         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19743         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19745 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19747         * stdlib/monetary.h: Fix comment.
19749 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19751         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19752         Avoid using variables in #defines that might cause shadowing.
19753         (INTERNAL_VSYSCALL_CALL): Likewise.
19755 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19757         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19759         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19760         * nptl/lll_timedlock_wait.c: ... to this new file.
19761         * nptl/Makefile (libpthread-routines): Add it.
19762         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19763         * nptl/lll_timedwait_tid.c: ... to this new file.
19764         * nptl/Makefile (libpthread-routines): Add it.
19765         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19766         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19767         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19768         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19769         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19770         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19771         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19772         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19773         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19774         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19776 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19778         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19779         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19780         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19782         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19784         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19786         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19787         * sysdeps/unix/sysv/linux/tile/sysdep.h
19788         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19789         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19790         using vDSO syscall macro.
19792 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19794         [BZ #17293]
19795         * uk_UA: Fix sorting order for Ukrainian locale
19797 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19799         * stdlib/monetary.h: Fix comment.
19801 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19803         [BZ #18234]
19804         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19805         st_mtim and st_ctim members.
19806         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19807         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19808         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19809         (struct stat64): Likewise.
19810         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19811         (struct stat64): Likewise.
19812         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19813         (struct stat64): Likewise.
19815 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19817         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19818         Define and include sysdep-vdso.h.
19819         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19820         Likewise.
19821         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19822         Likewise.
19823         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19824         Define with VDSO_SYMBOL and use PTR_MANGLE.
19825         (__vdso_clock_gettime): Likewise.
19826         (__vdso_clock_getres): Likewise.
19827         (_libc_vdso_platform_setup): Likewise.
19828         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19829         Likewise.
19830         (_libc_vdso_platform_setup): Likewise.
19831         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19832         Likewise.
19833         (__vdso_clock_gettime): Likewise.
19834         (__vdso_clock_getres): Likewise.
19835         (__vdso_get_tbfreq): Likewise.
19836         (__vdso_getcpu): Likewise.
19837         (__vdso_time): Likewise.
19838         (__vdso_sigtramp_rt64): Likewise.
19839         (__vdso_signtramp32): Likewise.
19840         (__vdso_sigtramp_rt32): Likewise.
19841         (_libc_vdso_platform_setup): Likewise.
19842         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19843         Likewise.
19844         (__vdso_clock_gettime): Likewise.
19845         (__vdso_clock_getres): Likewise.
19846         (_libc_vdso_platform_setup): Likewise.
19847         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19848         Likewise.
19849         (__vdso_clock_gettime): Likewise.
19850         (_libc_vdso_platform_setup): Likewise.
19851         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19852         Likewise.
19853         (__vdso_getcpu): Likewise.
19854         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19855         Use VDSO_SYMBOL macro to define.
19856         (__vdso_clock_gettime): Likewise.
19857         (__vdso_clock_getres): Likewise.
19858         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19859         Likewise.
19860         (__vdso_clock_gettime): Likewise.
19861         (__vdso_clock_getres): Likewise.
19862         (__vdso_get_tbfreq): Likewise.
19863         (__vdso_getcpu): Likewise.
19864         (__vdso_time): Likewise.
19865         (__vdso_sigtramp_rt64): Likewise.
19866         (__vdso_signtramp32): Likewise.
19867         (__vdso_sigtramp_rt32): Likewise.
19868         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19869         Likewise.
19870         (__vdso_clock_gettime): Likewise.
19871         (__vdso_clock_getres): Likewise.
19872         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19873         Likewise.
19874         (__vdso_clock_gettime): Likewise.
19875         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19876         Likewise.
19877         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19878         macro.
19879         (INTERNAL_VSYSCALL): Likewise.
19880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19881         Remove macro.
19882         (INTERNAL_VSYSCALL): Likewise.
19883         (INTERNAL_VSYSCALL_NCS): Likewise.
19884         (INTERNAL_VSYSCALL_CALL): New macro.
19885         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19887         Likewise.
19888         (INTERNAL_VSYSCALL): Likewise.
19889         (INTERNAL_VSYSCALL_NCS): Likewise.
19890         (INTERNAL_VSYSCALL_CALL): New macro.
19891         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19893         (INLINE_VSYSCALL): Remove macro.
19894         (INTERNAL_VSYSCALL): Remove macro.
19895         (INTERNAL_VSYSCALL_NCS): Remove macro.
19896         (INTERNAL_VSYSCALL_CALL): New macro.
19897         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19898         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19899         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19900         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19901         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19903         (INLINE_VSYSCALL): Remove macro.
19904         (INTERNAL_VSYSCALL): Likewise.
19905         (INTERNAL_VSYSCALL_NCS): Likewise.
19906         (INTERNAL_VSYSCALL_CALL): New macro.
19907         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19908         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19909         PTR_DEMANGLE on vDSO pointer.
19910         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19911         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19912         macro.
19913         (INTERNAL_SYSCALL): Likewise.
19914         (INTERNAL_VSYSCALL_NCS): Remove macro.
19915         (INTERNAL_VSYSCALL_CALL): New macro.
19916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19917         Remove macro.
19918         (INTERNAL_VSYSCALL): Likewise.
19919         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19920         sysdep-vdso.h instead of libc-vdso.h.
19921         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19922         definition.
19923         (INLINE_VSYSCALL): Likewise.
19924         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19925         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19926         definition.
19927         (INLINE_VSYSCALL): Likewise.
19928         (INTERNAL_VSYSCALL): Likewise.
19929         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19930         * sysdeps/unix/sysv/linux/timespec_get.c
19931         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19932         (timespec_get): Use ANSI prototype.
19933         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19934         and definition for Linux.
19936 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19938         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19939         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19941 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19943         [BZ #2981]
19944         [BZ #18410]
19945         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19946         for missing DT_PLTRELSZ.
19948 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19950         Remove obsolete aliases that broke 'locale -a'
19951         [BZ #18412]
19952         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19953         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19954         breaking some applications that use 'locale -a' output.
19955         Change the encoding of this file from Latin-1 to ASCII to avoid
19956         other potential problems with people grepping this file.
19958 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19960         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19961         -fasynchronous-unwind-tables.
19962         (CFLAGS-sendto.c): Likewise.
19963         (CFLAGS-sendmsg.c): Likewise.
19964         (CFLAGS-connect.c): Likewise.
19965         (CFLAGS-recvmsg.c): Likewise.
19966         (CFLAGS-recvfrom.c): Likewise.
19967         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19968         (SOCKETCALL): New macro: non-cancellable socketcall.
19969         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19970         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19971         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19972         * sysdeps/unix/sysv/linux/accept.c: New file.
19973         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19974         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19975         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19976         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19977         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19978         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19979         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19980         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19981         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19982         * sysdeps/unix/sysv/linux/send.c: Likewise.
19983         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19984         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19985         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19986         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19987         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19988         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19989         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19990         prototype.
19991         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19992         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19993         instead of __internal_xxx function.
19994         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19995         prototype.
19996         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19997         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19998         instead of __internal_xxx function.
19999         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20000         prototype.
20001         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20002         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20003         instead of __internal_xxx function.
20004         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20005         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20006         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20007         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20008         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20009         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20010         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20011         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20012         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20013         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20014         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20015         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20016         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20017         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20018         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20019         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20020         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20021         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20022         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20023         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20026         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20027         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20028         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20029         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20030         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20031         * sysdeps/unix/sysv/linux/send.S: Likewise.
20032         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20033         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20034         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20035         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20036         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20037         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20038         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20039         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20040         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20041         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20042         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20043         socketcall is implemented in GLIBC.
20045 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20047         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20048         (__fma): Ignore uninitialized warnings around packing.
20049         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20050         (__fmaf): Ignore uninitialized warnings around packing.
20051         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20052         (__fmal): Ignore uninitialized warnings around packing.
20054         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20055         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20056         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20057         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20059         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20060         switch statement into default case.
20061         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20063         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20064         a conditional in forcing "inexact".
20065         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20066         Likewise.
20068 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20070         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20071         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20072         for each INTERNAL_SYSCALL use.
20074 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20076         [BZ #438]
20077         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20078         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20079         variable.
20081         [BZ #18444]
20082         * string/basename.c (basename): Rename to __basename and define as
20083         weak alias of __basename.  Use libc_hidden_weak.
20084         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20085         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20086         __basename instead of basename.
20087         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20088         Remove variable.
20089         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20091 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20093         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20094         (_IO_JUMPS_FILE_plus): New.
20095         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20096         _IO_CAST_FIELD_ACCESS.
20097         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20098         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20099         * libio/freopen.c (freopen): Likewise.
20100         * libio/freopen64.c (freopen64): Likewise.
20101         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20102         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20103         * libio/iofwide.c (_IO_fwide): Likewise.
20104         * libio/memstream.c (open_memstream): Likewise.
20105         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20106         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20107         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20109 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20111         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20112         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20113         NADJ.
20114         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20115         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20116         NADJ.
20117         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20118         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20119         NADJ.
20121         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20122         (p == 4) case.
20124         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20125         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20126         Remove variable.
20127         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20128         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20129         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20131 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20133         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20134         Adjust jump table label generation macros.
20136 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20138         * stdio-common/vfprintf.c (vfprintf): Move local variables
20139         args_malloced, specs, specs_malloced, and the code after
20140         do_positional to the printf_positional function.
20141         (printf_positional): New function.
20143 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20145         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20146         function.
20147         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20148         STEP4_TABLE, process_arg): Move macro definitions
20149         out of the vfprintf function.  (Cosmetic change only.)
20151 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20153         * benchtests/Makefile (stdio-common-bench): Define.
20154         (benchset): Add stdio-common-bench.
20155         * sprintf-inputs: New file.
20156         * sprintf-source.c: New file.
20158 2015-05-21  Andreas Schwab  <schwab@suse.de>
20160         [BZ #13028]
20161         [BZ #17053]
20162         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20163         of struct __res_state.
20164         * resolv/res_send.c (__libc_res_nsend): Likewise.
20165         (get_nsaddr): New function.
20166         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20167         statp directly.
20169 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20171         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20172         -D_POSIX_C_SOURCE=199506L.
20174         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20176         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20177         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20178         Do not mention otherwise.
20179         [POSIX] (_XOPEN_VERSION): Do not expect.
20180         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20181         [POSIX] (_POSIX2_C_BIND): Likewise.
20182         [POSIX] (_POSIX2_VERSION): Likewise.
20183         [POSIX] (_XOPEN_XPG2): Likewise.
20184         [POSIX] (_XOPEN_XPG3): Likewise.
20185         [POSIX] (_XOPEN_XPG4): Likewise.
20186         [POSIX] (_XOPEN_UNIX): Likewise.
20187         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20188         [POSIX] (_POSIX_BARRIERS): Likewise.
20189         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20190         [POSIX] (_POSIX_CPUTIME): Likewise.
20191         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20192         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20193         [POSIX] (_POSIX_SHELL): Likewise.
20194         [POSIX] (_POSIX_SPAWN): Likewise.
20195         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20196         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20197         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20198         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20199         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20200         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20201         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20202         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20203         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20204         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20205         [POSIX] (_POSIX2_PBS): Likewise.
20206         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20207         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20208         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20209         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20210         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20211         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20212         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20213         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20214         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20215         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20216         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20217         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20218         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20219         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20220         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20221         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20222         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20223         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20224         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20225         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20226         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20227         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20228         [POSIX] (_SC_2_C_BIND): Likewise.
20229         [POSIX] (_SC_2_C_VERSION): Likewise.
20230         [POSIX] (_SC_2_PBS): Likewise.
20231         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20232         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20233         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20234         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20235         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20236         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20237         [POSIX] (_SC_BARRIERS): Likewise.
20238         [POSIX] (_SC_BASE): Likewise.
20239         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20240         [POSIX] (_SC_DEVICE_IO): Likewise.
20241         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20242         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20243         [POSIX] (_SC_FD_MGMT): Likewise.
20244         [POSIX] (_SC_FIFO): Likewise.
20245         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20246         [POSIX] (_SC_FILE_LOCKING): Likewise.
20247         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20248         [POSIX] (_SC_IOV_MAX): Likewise.
20249         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20250         [POSIX] (_SC_NETWORKING): Likewise.
20251         [POSIX] (_SC_PAGE_SIZE): Likewise.
20252         [POSIX] (_SC_PASS_MAX): Likewise.
20253         [POSIX] (_SC_PIPE): Likewise.
20254         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20255         [POSIX] (_SC_REGEXP): Likewise.
20256         [POSIX] (_SC_SHELL): Likewise.
20257         [POSIX] (_SC_SIGNALS): Likewise.
20258         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20259         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20260         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20261         [POSIX] (_SC_USER_GROUPS): Likewise.
20262         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20263         [POSIX] (_SC_STREAMS): Likewise.
20264         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20265         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20266         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20267         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20268         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20269         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20270         [POSIX] (_PC_FILESIZEBITS): Likewise.
20271         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20272         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20273         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20274         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20275         [POSIX] (uid_t): Likewise.
20276         [POSIX] (gid_t): Likewise.
20277         [POSIX] (off_t): Likewise.
20278         [POSIX] (pid_t): Likewise.
20279         [POSIX] (cuserid): Allow.
20280         (_SC_2_CHAR_TERM): Require constant.
20281         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20282         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20283         variable.
20285 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20287         * sysdeps/nacl/pthread-pids.h: New file.
20288         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20289         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20291         * nptl/pthread-pids.h: New file.
20292         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20293         * nptl/nptl-init.c: Include <pthread-pids.h>.
20294         (__pthread_initialize_minimal_internal):
20295         Call __pthread_initialize_pids instead of set_tid_address syscall.
20297         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20298         * sysdeps/posix/usleep.c: ... here.
20300 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20302         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20303         call_pselect6 object.
20304         [$(subdir) = io]: Remove call_sync_file_range object.
20305         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20306         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20307         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20308         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20310 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20312         * math/s_cproj.c: Add include "math_private.h".
20313         * math/s_cprojf.c: Likewise.
20314         * math/s_cprojl.c: Likewise.
20316 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20318         [BZ #18244]
20319         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20320         high mantissa bit when testing whether P is a NaN.
20321         * math/libm-test.inc (remainder_test_data): Add more tests.
20322         (remquo_test_data): Likewise.
20324         [BZ #18049]
20325         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20326         below -32, return the argument, with underflow if subnormal.
20327         * math/auto-libm-test-in: Add more tests of atanh.
20328         * math/auto-libm-test-out: Regenerated.
20330 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20332         [BZ #18434]
20333         * nptl/tst-sem15.c: New file.
20334         * nptl/Makefile (tests): Add it.
20335         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20336         s/<</>>/ to fix typo in EOVERFLOW check.
20337         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20339 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20341         * manual/strings.texi (envz_remove): Fix typo in safety
20342         annotations.
20344 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20345             Steve Ellcey  <sellcey@imgtec.com>
20347         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20348         in order to avoid strict alias warnings.
20349         (iruserok_af): Ditto for ra.
20351 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20353         [BZ #17581]
20354         * malloc/hooks.c
20355         (magicbyte): Convert to a function and avoid returning 0x01.
20356         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20357         (mem2chunk_check): Fix unsigned comparisons to zero.
20358         Hoist defs of sz and magic.
20360 2015-05-19  Richard Henderson  <rth@redhat.com>
20362         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20364         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20366 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20368         [BZ #16159]
20369         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20370         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20371         (reused_arena): Find a non-corrupt arena.
20372         (heap_trim): Pass arena to unlink.
20373         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20374         malloc_printerr.
20375         (top_check): Likewise.
20376         (free_check): Likewise.
20377         (realloc_check): Likewise.
20378         * malloc/malloc.c (malloc_printerr): Add arena argument.
20379         (unlink): Likewise.
20380         (munmap_chunk): Adjust.
20381         (ARENA_CORRUPTION_BIT): New macro.
20382         (arena_is_corrupt): Likewise.
20383         (set_arena_corrupt): Likewise.
20384         (sysmalloc): Use mmap if there are no usable arenas.
20385         (_int_malloc): Likewise.
20386         (__libc_malloc): Don't fail if arena_get returns NULL.
20387         (_mid_memalign): Likewise.
20388         (__libc_calloc): Likewise.
20389         (__libc_realloc): Adjust for additional argument to
20390         malloc_printerr.
20391         (_int_free): Likewise.
20392         (malloc_consolidate): Likewise.
20393         (_int_realloc): Likewise.
20394         (_int_memalign): Don't touch corrupt arenas.
20395         * malloc/tst-malloc-backtrace.c: New test case.
20397         * Makefile (summarize-tests): Fix return value on success.
20399         * manual/string.texi (Envz Functions): Add envz_remove.
20401 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20403         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20404         (invalid_name): New function, broken out of ...
20405         (__opendirat): ... here.  Call it.
20406         (need_isdir_precheck): New function, broken out of ...
20407         (__opendirat): ... here.  Call it.
20408         Use __fxstatat64, not __xstatat64.
20409         (opendir_oflags): New function, broken out of ...
20410         (__opendirat): ... here.  Call it.
20411         (opendir_tail): New function, broken out of ...
20412         (__opendirat): ... here.  Call it.
20413         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20414         opendir_tail, rather than punting to __opendirat.
20415         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20417 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20419         * .gitignore: Ignore generated *.pyc.
20421 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20423         * include/stdio.h: Define __need_wint_t.
20424         * test-skeleton.c: Avoid `for' loop initial declaration.
20425         * nptl/tst-initializers1.c: Use test-skeleton.c.
20427 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20429         [BZ #18418]
20430         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20432 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20434         [BZ #16352]
20435         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20436         (__ieee754_atanh): Force underflow exception for results with
20437         small absolute value.
20438         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20439         (__ieee754_atanhf): Force underflow exception for results with
20440         small absolute value.
20441         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20442         (__ieee754_atanh): Force underflow exception for results with
20443         small absolute value.
20444         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20445         (__ieee754_atanhf): Force underflow exception for results with
20446         small absolute value.
20447         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20448         (__ieee754_atanhl): Force underflow exception for results with
20449         small absolute value.
20450         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20451         (__ieee754_atanhl): Force underflow exception for results with
20452         small absolute value.
20453         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20454         (__ieee754_atanhl): Force underflow exception for results with
20455         small absolute value.
20456         * math/auto-libm-test-in: Do not allow missing underflow
20457         exceptions from atanh.
20458         * math/auto-libm-test-out: Regenerated.
20460         [BZ #18221]
20461         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20462         2**-28 as threshold for returning x or +/- 1/x.
20463         * math/auto-libm-test-in: Add more tests of tan.
20464         * math/auto-libm-test-out: Regenerated.
20466         [BZ #18220]
20467         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20468         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20469         * math/auto-libm-test-in: Add another test of lgamma.
20470         * math/auto-libm-test-out: Regenerated.
20472 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20474         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20475         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20476         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20477         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20478         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20479         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20480         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20481         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20483         (log1): Use fabs.  (my_log2): Use fabs.
20484         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20485         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20486         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20487         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20489         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20490         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20491         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20492         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20493         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20494         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20496 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20498         [BZ #18217]
20499         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20500         as threshold for returning 1 - x.
20501         * math/auto-libm-test-in: Add more tests of erfc.
20502         * math/auto-libm-test-out: Regenerated.
20504 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20506         [BZ #18196]
20507         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20508         threshold for large arguments.
20509         * math/auto-libm-test-in: Add another test of atan.
20510         * math/auto-libm-test-out: Regenerated.
20512         [BZ #16339]
20513         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20514         (__log1p): Force underflow exception for results with small
20515         absolute value.
20516         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20517         (__log1pf): Force underflow exception for results with small
20518         absolute value.
20519         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20520         (__log1p): Force underflow exception for results with small
20521         absolute value.
20522         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20523         (__log1pf): Force underflow exception for results with small
20524         absolute value.
20525         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20526         (__log1pl): Force underflow exception for results with small
20527         absolute value.
20528         * math/auto-libm-test-in: Do not allow missing underflow
20529         exceptions from log1p.
20530         * math/auto-libm-test-out: Regenerated.
20532 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20533             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20535         [BZ #16704]
20536         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20538 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20540         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20541         (libmvec): New variable.
20542         * configure.ac: Added option for mathvec build.
20543         * configure: Regenerated.
20544         * mathvec/Depend: New file.
20545         * mathvec/Makefile: New file.
20546         * shlib-versions: Added libmvec.
20547         * math/Makefile: Added rule for libm.so installation.
20549         * bits/math-vector.h: New file.
20550         * bits/libm-simd-decl-stubs.h: New header.
20551         * math/Makefile (headers): Added new header
20552         libm-simd-decl-stubs.h.
20553         * math/math.h (__MATHCALL_VEC): New macro.
20555         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20556         for conditions in testing functions.
20557         * math/Makefile: Added call of libm-have-vector-test.sh.
20558         * math/libm-test.inc (HAVE_VECTOR): New macros.
20560         * math/libm-test.inc: START refactored.
20561         * math/test-double.c (TEST_MATHVEC): Add define.
20562         * math/test-float.c: Likewise.
20563         * math/test-idouble.c: Likewise.
20564         * math/test-ifloat.c: Likewise.
20565         * math/test-ildoubl.c: Likewise.
20566         * math/test-ldouble.c: Likewise.
20567         * sysdeps/generic/math-tests-arch.h
20568         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20569         architecture check.
20571         * math/test-double.c (FUNC_TEST): New macro.
20572         * math/test-float.c: Likewise.
20573         * math/test-idouble.c: Likewise.
20574         * math/test-ifloat.c: Likewise.
20575         * math/test-ildoubl.c: Likewise.
20576         * math/test-ldouble.c: Likewise.
20577         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20579 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20581         * sysdeps/nacl/fdopendir.c: New file.
20583         * dirent/scandir-tail.c: New file.
20584         * dirent/scandir64-tail.c: New file.
20585         * dirent/Makefile (routines): Add them.
20586         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20587         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20588         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20589         [!SCANDIR] (SCANDIR_TAIL): New macro.
20590         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20591         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20592         (SCANDIRAT): Macro removed.
20593         (SCANDIR_TAIL): New macro.
20594         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20595         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20596         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20597         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20598         (READDIR): Macro removed.
20599         (SCANDIR_TAIL): New macro.
20600         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20601         (SCANDIR_TAIL): New macro.
20603         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20604         * dirent/scandir-cancel.c: ... to this new file.
20605         * dirent/Makefile (routines): Add it.
20606         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20607         * sysdeps/unix/sysv/linux/i386/scandir64.c
20608         (SKIP_SCANDIR_CANCEL): Macro removed.
20609         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20611         * dirent/tst-scandir.c: New file.
20612         * dirent/tst-scandir64.c: New file.
20613         * dirent/Makefile (tests): Add them.
20615 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20617         [BZ #18409]
20618         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20620 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20622         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20623         list.
20625 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20627         * benchtests/bench-strcoll.c: New benchmark.
20628         * benchtests/Makefile: Generate locales and run benchmark.
20629         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20630         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20631         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20632         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20633         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20634         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20635         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20636         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20637         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20638         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20639         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20640         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20641         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20642         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20643         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20644         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20645         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20646         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20647         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20648         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20649         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20650         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20651         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20652         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20654 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20656         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20657         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20659 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20661         * posix/uname-values.h: New file.
20662         * posix/uname.c: Include that instead of <config-name.h>.
20663         * sysdeps/nacl/uname-values.h: New file.
20664         * sysdeps/arm/nacl/uname-values.h: New file.
20666 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20668         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20669         splitting into fields.
20671 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20673         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20674         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20675         * locale/localeinfo.h: Add enum collation_encoding_type.
20676         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20677         * programs/ld-collate.c (collate_output): Add encoding type info.
20678         * string/strcoll_l.c (STRDIFF): New function.
20679         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20680         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20682 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20684         [BZ #18397]
20685         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20686         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20687         <fpu_control.h> instead of <math/fpu_control.c>.
20688         * sysdeps/mips/mips32/fpu/Makefile: New file.
20690 2015-05-11  Andreas Schwab  <schwab@suse.de>
20692         [BZ #18007]
20693         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20694         nss_endgrent.
20695         (_nss_compat_endgrent): Call nss_endgrent.
20696         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20697         nss_endpwent.
20698         (_nss_compat_endpwent): Call nss_endpwent.
20699         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20700         needent, call nss_setspent only if non-zero.
20701         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20702         (internal_endspent): Don't call nss_endspent.
20703         (_nss_compat_endspent): Call nss_endspent.
20704         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20705         Remove.  All uses removed.
20706         (internal_setent): Remove parameter stayopen, add parameter
20707         stream.  Use it instead of global variable.
20708         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20709         (internal_endent, internal_getent): Add parameter stream.  Use it
20710         instead of global variable.
20711         (CONCAT(_nss_files_end,ENTNAME))
20712         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20713         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20714         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20715         uses removed.
20716         (internal_setent, internal_endent): Add parameter stream.  Use it
20717         instead of global variable.
20718         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20719         stream.
20720         (get_next_alias): Add parameter stream.
20721         (_nss_files_getaliasent_r): Pass global stream.
20722         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20723         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20724         (_nss_files_gethostbyname4_r): Pass local stream to
20725         internal_setent, internal_getent and internal_endent.  Remove
20726         locking.
20728 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20730         * tst-strfmon1.c (tests): Update expected currency symbol.
20732 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20734         * sysdeps/nacl/gethostname.c: New file.
20736 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20738         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20739         and sinh.
20740         * math/auto-libm-test-out: Regenerated.
20741         * sysdeps/i386/fpu/libm-test-ulps: Update.
20742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20744 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20746         [BZ #18125]
20747         * stdlib/tst-setcontext3.c: New file.
20748         * stdlib/tst-setcontext3.sh: New file.
20749         * stdlib/Makefile (tests): Add tst-setcontext3.
20750         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20751         to verify test program created output file.
20752         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20753         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20754         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20755         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20757 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20759         [BZ #18383]
20760         * elf/tst-tlsalign.c: New file.
20761         * elf/tst-tlsalign-static.c: New file.
20762         * elf/tst-tlsalign-lib.c: New file.
20763         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20764         (tests-static): Add tst-tlsalign-static.
20765         (modules-names): Add tst-tlsalign-lib.
20766         (test-xfail-tst-tlsalign): New variable.
20767         (test-xfail-tst-tlsalign-static): New variable.
20769         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20770         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20772 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20774         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20775         csqrt, erfc, sin and sincos.
20776         * math/auto-libm-test-out: Regenerated.
20777         * sysdeps/i386/fpu/libm-test-ulps: Update.
20778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20780 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20782         * sysdeps/aarch64/libm-test-ulps: Update.
20784 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20786         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20787         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20788         * math/auto-libm-test-out: Regenerated.
20789         * sysdeps/i386/fpu/libm-test-ulps: Update.
20790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20792 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20794         [BZ #18265]
20795         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20796         (wcsncpy): Likewise.
20798 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20800         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20801         Assume __ASSUME_FALLOCATE is always true.
20802         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20803         (__posix_fallocate64_l64): Likweise.
20804         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20805         (posix_fallocate): Likewise.
20806         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20807         (__posix_fallocate64_l64): Likewise.
20808         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20809         [!__ASSUME_FALLOCATE]: Add comment.
20811 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20813         * sysdeps/unix/sysv/linux/i386/Makefile
20814         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20815         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20816         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20817         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20818         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20819         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20820         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20822 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20824         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20825         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20826         tgamma.
20827         * math/auto-libm-test-out: Regenerated.
20828         * sysdeps/i386/fpu/libm-test-ulps: Update.
20829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20831 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20833         * math/auto-libm-test-in: Add more tests of tgamma.
20834         * math/auto-libm-test-out: Regenerated.
20835         * sysdeps/i386/fpu/libm-test-ulps: Update.
20836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20838         * math/auto-libm-test-in: Add more tests of tanh.
20839         * math/auto-libm-test-out: Regenerated.
20840         * sysdeps/i386/fpu/libm-test-ulps: Update.
20841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20843         * math/auto-libm-test-in: Add more tests of tan.
20844         * math/auto-libm-test-out: Regenerated.
20845         * sysdeps/i386/fpu/libm-test-ulps: Update.
20846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20848         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20849         * math/auto-libm-test-out: Regenerated.
20850         * sysdeps/i386/fpu/libm-test-ulps: Update.
20851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20853         * math/auto-libm-test-in: Add another test of pow.
20854         * math/auto-libm-test-out: Regenerated.
20855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20857         * math/auto-libm-test-in: Add more tests of lgamma.
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 more tests of log, log10, log2 and
20863         log1p.
20864         * math/auto-libm-test-out: Regenerated.
20865         * sysdeps/i386/fpu/libm-test-ulps: Update.
20866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20868 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20870         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20871         Elf64_Chdr structs and ELFCOMPRESS constants.
20873 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20875         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20876         expm1.
20877         * math/auto-libm-test-out: Regenerated.
20878         * sysdeps/i386/fpu/libm-test-ulps: Update.
20879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20881         * math/auto-libm-test-in: Add more tests of erf and erfc.
20882         * math/auto-libm-test-out: Regenerated.
20883         * sysdeps/i386/fpu/libm-test-ulps: Update.
20884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20886 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20888         * config.h.in (HAVE_AARCH64_BE): Add.
20890 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20892         * math/auto-libm-test-in: Add more tests of csqrt.
20893         * math/auto-libm-test-out: Regenerated.
20894         * sysdeps/i386/fpu/libm-test-ulps: Update.
20895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20897         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20898         * math/auto-libm-test-out: Regenerated.
20899         * sysdeps/i386/fpu/libm-test-ulps: Update.
20900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20902         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20904 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20906         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20907         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20909         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20910         (euidaccess, eaccess): Define as weak aliases.
20912         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20913         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20914         but __suseconds_t is often 'long int' so some sources assume that
20915         type is being used (e.g. they use %ld to print tv_usec).
20917 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20919         [BZ #18007]
20920         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20921         (CVE-2014-8121)
20922         * nss/tst-nss-getpwent.c: New file.
20923         * nss/Makefile (tests): Add new test.
20925 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20927         [BZ #18346]
20928         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20929         exponents less than 48 as cases where high part of mantissa needs
20930         examining to determine whether argument is integral.
20931         * math/libm-test.inc (round_test_data): Add more tests.
20933 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20935         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20937 2015-04-27  David S. Miller  <davem@davemloft.net>
20939         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20940         __tls_get_addr.
20941         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20943 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20945         [BZ#18333]
20946         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20948 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20950         [BZ#18333]
20951         * time/tzset.c (parse_tzname): Return error on memory allocation
20952         failure.
20953         * test-skeleton.c (struct temp_name_list): Change type of name
20954         member to non-const.
20955         (add_temp_file): Create a copy of the file name.
20956         (delete_temp_files): Deallocate memory.
20957         (create_temp_file): Add comment.
20959 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20961         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20962         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20964 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20966         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20967         * sysdeps/arm/configure: Regenerated.
20969 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20971         [BZ #17715]
20972         * time/tzfile.c (__tzfile_read): Check for large values of
20973         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20974         * time/tzset.c (__tzstring_len): New function, based on the old
20975         __tzstring function.
20976         (__tzstring): Call __tzstring_len.
20977         (parse_tzname): New helper function extracted from
20978         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20979         the input string.
20980         (parse_offset): New helper function extracted from
20981         __tzset_parse_tz.  Replace switch with fallthrough with
20982         initialization before sscanf.
20983         (parse_rule): Likewise.
20984         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20985         new-style function definition.
20986         * timezone/Makefile (tests): Add tst-tzset.
20987         (tst-tzset.out): Dependencies on time zone files.
20988         (tst-tzset-ENV): Set TZDIR.
20989         (testdata/XT%): Copy crafted time zone files.
20990         * timezone/README: Mention crafted time zone files.
20991         * timezone/testdata/XT1, timezone/testdata/XT2,
20992         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20993         files.
20994         * timezone/tst-tzset.c: New test.
20996 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20998         * Makeconfig (+gccwarn): Remove -Winline.
21000 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21002         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21004 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21006         * NEWS: Mention sysconf() cache information support for s390.
21007         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21009 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21011         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21012         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21013         (__nearbyint): Likewise.
21014         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21015         (copysignl): Likewise.
21017 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21019         [BZ #18287]
21020         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21021         based on padding.  (CVE-2015-1781)
21023 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21025         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21026         libc-vdso.h.
21027         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21028         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21029         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21030         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21031         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21032         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21033         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21034         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21035         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21036         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21037         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21038         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21039         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21040         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21041         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21042         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21043         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21044         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21045         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21046         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21047         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21048         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21049         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21051 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21053         * stdlib/setenv.c (__add_to_environ):
21054         Dump core quickly if setenv (..., NULL, ...) is called.
21055         This time, do it the right way, and pacify GCC with a pragma.
21057 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21059         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21060         IMAP->l_prev cannot be null, and #if out the code for the contrary
21061         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21062         believe that NS (&_dl_ns[NSID]) could point outside the array.
21064         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21065         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21066         before using NSID as an index.
21068 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21070         [BZ #17825]
21071         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21072         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21073         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21075 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21077         Add preliminary port to Google Native Client on ARM.
21078         * abi-tags (.*-.*-nacl.*): New entry.
21079         * sysdeps/arm/nacl: New directory.
21080         * sysdeps/nacl: New directory.
21082 2015-04-16  David S. Miller  <davem@davemloft.net>
21084         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21085         lowlevellock-futex.h
21087 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21089         * sysdeps/tile/configure.ac: New file.
21090         * sysdeps/tile/configure: Regenerated.
21092 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21094         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21095         conditionals for weak_alias and libc_hidden_weak.
21096         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21097         libc_hidden_weak and weak_alias.
21098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21099         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21100         and weak_alias for static one.
21102 2015-04-15  David S. Miller  <davem@davemloft.net>
21104         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21106 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21108         [BZ #18206]
21109         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21110           Use signed comparision instead of substraction to avoid
21111           overflow bug.
21112         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21113           Take the sign of ret.
21114         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21115           Do not expect precise return values. Only the sign matters.
21116         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21117         * wcsmbs/test-wcsncmp.c: New File.
21118         * string/test-strncmp.c: Add wcsncmp support.
21120 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21122         [BZ #6792]
21123         * math/w_log1p.c: New file.
21124         * math/w_log1pf.c: Likewise.
21125         * math/w_log1pl.c: Likewise.
21126         * math/Makefile (libm-calls): Add w_log1p.
21127         * math/s_log1pl.c (log1pl): Remove weak_alias.
21128         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21129         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21130         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21131         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21132         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21133         [NO_LONG_DOUBLE] (log1pl): Likewise.
21134         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21135         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21136         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21137         (log1p): Remove long_double_symbol.
21138         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21139         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21140         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21141         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21142         remove weak_alias for corresponding log1p function.
21143         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21144         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21145         * sysdeps/ia64/fpu/w_log1p.c: New file.
21146         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21147         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21148         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21150 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21152         [BZ #18247]
21153         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21154         decimal exponent by 1.
21155         * stdlib/tst-strtod-round-data: Add more tests.
21156         * stdlib/tst-strtod-round.c (tests): Regenerated.
21158 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21160         * math/auto-libm-test-in: Add more tests of clog and clog10.
21161         * math/auto-libm-test-out: Regenerated.
21162         * sysdeps/i386/fpu/libm-test-ulps: Update.
21163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21165 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21167         * Makeconfig (module-cppflags): Exclude all .v.i files.
21168         (skip-module-cppflags): Variable removed.
21170         * configure.ac (libc_config_ok): Initialize before reading
21171         preconfigure scripts, not after.
21172         * configure: Regenerated.
21174         * test-skeleton.c (TIMEOUT): Move #define to top level.
21175         (main): Grok environment variable TEST_DIRECT.  If set, print
21176         test expectation details into that file and then behave as if
21177         given --direct.
21179 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21181         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21182         warning on 32-bit.
21184 2015-04-08  David S. Miller  <davem@davemloft.net>
21186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21188 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21190         * math/auto-libm-test-in: Add more tests of atanh.
21191         * math/auto-libm-test-out: Regenerated.
21192         * sysdeps/i386/fpu/libm-test-ulps: Update.
21193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21195         * math/auto-libm-test-in: Add more tests of atan.
21196         * math/auto-libm-test-out: Regenerated.
21197         * sysdeps/i386/fpu/libm-test-ulps: Update.
21198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21200 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21202         * elf/pldd.c (main): Rewrite to use struct
21203         scratch_buffer instead of extend_alloca.
21204         * elf/pldd-xx.c (find_maps): Likewise.
21205         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21206         <alloca.h>.
21207         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21208         scratch_buffer instead of extend_alloca.
21209         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21210         grp/compat-initgroups.c.
21211         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21212         Rewrite to use struct scratch_buffer instead of extend_alloca.
21213         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21214         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21216 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21218         * math/auto-libm-test-in: Add more tests of cbrt.
21219         * math/auto-libm-test-out: Regenerated.
21220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21222         * math/auto-libm-test-in: Add more tests of cabs.
21223         * math/auto-libm-test-out: Regenerated.
21224         * sysdeps/i386/fpu/libm-test-ulps: Update.
21225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21227         [BZ #18210]
21228         [BZ #18211]
21229         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21230         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21231         computations.
21232         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21233         clog10.
21234         * math/auto-libm-test-out: Regenerated.
21235         * sysdeps/i386/fpu/libm-test-ulps: Update.
21236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21238         [BZ #18197]
21239         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21240         (atan): Set FE_TONEAREST mode for internal computations.
21241         * math/auto-libm-test-in: Add more tests of atan.
21242         * math/auto-libm-test-out: Regenerated.
21244 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21246         [BZ #17930]
21247         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21249 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21251         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21253 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21255         * include/scratch_buffer.h: New file.
21256         * malloc/scratch_buffer_grow.c: Likewise.
21257         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21258         * malloc/scratch_buffer_set_array_size.c: Likewise.
21259         * malloc/tst-scratch_buffer.c: Likewise.
21260         * malloc/Makefile (routines): Add scratch_buffer_grow.
21261         (tests): Add test case.
21262         * malloc/Versions (GLIBC_PRIVATE): Export
21263         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21264         __libc_scratch_buffer_set_array_size.
21266 2015-04-06  Richard Henderson  <rth@redhat.com>
21268         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21269         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21271         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21272         unsigned int before printing.
21274 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21276         [BZ #17596]
21277         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21278         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21280 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21282         * include/libc-internal.h (libc_max_align_t): Define.
21284 2015-04-02  Andreas Schwab  <schwab@suse.de>
21286         [BZ #16850]
21287         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21289 2015-04-02  Mel Gorman  <mgorman@suse.de>
21291         [BZ #17195]
21292         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21293         as well as the main arena.
21295 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21297         [BZ #18185]
21298         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21299         sharing L2 cache to 2 for Silvermont/Knights Landing.
21301 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21303         [BZ #17711]
21304         * config.make.in (have-protected-data): New.
21305         * configure.ac: Check linker support for protected data symbol.
21306         * configure: Regenerated.
21307         * elf/Makefile (modules-names): Add tst-protected1moda and
21308         tst-protected1modb if $(have-protected-data) is yes.
21309         (tests): Add tst-protected1a and tst-protected1b if
21310         $(have-protected-data) is yes.
21311         ($(objpfx)tst-protected1a): New.
21312         ($(objpfx)tst-protected1b): Likewise.
21313         (tst-protected1modb.so-no-z-defs): Likewise.
21314         * elf/tst-protected1a.c: New file.
21315         * elf/tst-protected1b.c: Likewise.
21316         * elf/tst-protected1mod.h: Likewise.
21317         * elf/tst-protected1moda.c: Likewise.
21318         * elf/tst-protected1modb.c: Likewise.
21320 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21322         [BZ #17711]
21323         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21324         indicates it is called from do_lookup_x on relocation against
21325         protected data, skip the data definion in the executable from
21326         copy reloc.
21327         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21328         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21329         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21330         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21331         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21332         otherwise to 0.
21333         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21334         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21335         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21336         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21337         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21338         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21340 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21342         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21343         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21345 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21347         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21348         THREAD_SETMEM_NC.
21349         * sysdeps/x86_64/nptl/tls.h: Ditto.
21351 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21353         * dlfcn/tststatic.c (main): Converted to ...
21354         (do_test): ... this.
21355         (TEST_FUNCTION): New macro.
21356         Include test-skeleton.c.
21358 2015-03-26  Alan Modra  <amodra@gmail.com>
21360         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21361         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21362         zero for undefined weak.
21363         (elf_machine_plt_conflict): Similarly.
21365 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21367         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21368         atanh.
21369         * math/auto-libm-test-out: Regenerated.
21370         * sysdeps/i386/fpu/libm-test-ulps: Update.
21371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21373         * math/auto-libm-test-in: Add another test of asin.
21374         * math/auto-libm-test-out: Regenerated.
21375         * sysdeps/i386/fpu/libm-test-ulps: Update.
21376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21378         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21379         Remove macro.
21380         (LLL_EBX_REG): Likewise.
21381         (LLL_ENTER_KERNEL): Likewise.
21383         * math/auto-libm-test-in: Add more tests of asin.
21384         * math/auto-libm-test-out: Regenerated.
21385         * sysdeps/i386/fpu/libm-test-ulps: Update.
21386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21388         [BZ #18138]
21389         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21390         libc_do_syscall_args): New structure.
21391         (INTERNAL_SYSCALL_MAIN_0): New macro.
21392         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21393         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21394         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21395         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21396         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21397         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21398         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21399         Replace conditional definitions by conditional definitions of ....
21400         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21401         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21402         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21403         (libpthread-sysdep_routines): Add libc-do-syscall.
21404         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21405         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21406         to __NR_futex not 240.
21408 2015-03-25  Alan Modra  <amodra@gmail.com>
21410         * NEWS: Advertise TLS optimization.
21411         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21412         (DT_PPC_NUM): Increment.
21413         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21414         (CHECK_STATIC_TLS): Use here.
21415         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21416         TLS descriptors.
21417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21418         * sysdeps/powerpc/dl-tls.c: New file.
21419         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21420         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21421         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21422         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21427 2015-03-25  Alan Modra  <amodra@gmail.com>
21429         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21430         for overlapping .opd entries" to "support...".
21431         * sysdeps/powerpc/powerpc64/configure: Regenerate
21433 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21435         * math/auto-libm-test-in: Add more tests of acos.
21436         * math/auto-libm-test-out: Regenerated.
21437         * sysdeps/i386/fpu/libm-test-ulps: Update.
21438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21440         * math/auto-libm-test-in: Add more tests of expm1.
21441         * math/auto-libm-test-out: Regenerated.
21442         * sysdeps/i386/fpu/libm-test-ulps: Update.
21443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21445 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21447         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21448         * math/auto-libm-test-out: Regenerated.
21449         * sysdeps/i386/fpu/libm-test-ulps: Update.
21450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21452         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21455         * math/auto-libm-test-in: Add more tests of log2.
21456         * math/auto-libm-test-out: Regenerated.
21457         * sysdeps/i386/fpu/libm-test-ulps: Update.
21458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21460 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21462         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21463         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21464         _IO_IS_APPENDING bit in READ_WRITE instead.
21466 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21468         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21469         (__determine_cpumask_size): Replace extend_alloca with a
21470         variable-length array.  Do not treat res == 0 as an error.
21472 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21474         [BZ #18100]
21475         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21476         and integer overflow.
21477         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21478         (main): Add integer overflow tests.
21479         * manual/pattern.texi (Calling Wordexp): Document additional use
21480         for WRDE_SYNTAX.
21482 2015-03-23  Alan Modra  <amodra@gmail.com>
21484         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21485         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21486         and false branch of conditional.
21487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21488         Likewise.
21490 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21492         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21493         libc-modules.h
21494         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21495         unused declaration of _hurd_intr_rpc_msg_in_trap.
21496         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21497         defined instead of whether it is non-zero.
21498         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21499         input constraint instead of both input and output constraint.  Use ecx
21500         clobber instead of %ecx.
21501         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21502         mutex_unlock): Use a statement expression instead of an expression list.
21503         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21504         type to vm_size_t instead of vm_address_t.
21505         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21506         defined instead of whether it is non-zero.
21507         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21508         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21509         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21510         comparisons with mapaddr.
21511         * nscd/nscd-client.h: Include <time.h>.
21512         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21513         9th parameter to __vm_region instead of int.
21514         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21515         * scripts/check-local-headers.sh (exclude): Add device/,
21516         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21517         cthreads.h.
21519 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21521         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21522         to account for alignment padding.
21523         * sysdeps/arm/memmove.S: Likewise.
21525 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21527         * sysdeps/unix/sysv/linux/generic/README: New file.
21529 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21531         [BZ #18138]
21532         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21533         (futex_abstimed_wait)
21534         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21535         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21536         of lll_futex_timed_wait.
21538 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21540         [BZ #17542]
21541         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21543 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21545         [BZ #17090]
21546         [BZ #17620]
21547         [BZ #17621]
21548         [BZ #17628]
21549         * NEWS: Update.
21550         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21551         entries with Static TLS too.  Skip entries past the end of the
21552         allocated DTV, from Alan Modra.
21553         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21554         Static TLS DTV entry set up from...
21555         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21556         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21557         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21558         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21559         for Static TLS.
21560         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21561         that the slot we find is associated with the given map before
21562         using its generation count.
21563         * nptl_db/db_info.c: Include ldsodefs.h.
21564         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21565         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21566         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21567         (link_map::l_tls_offset): New struct field.
21568         (dtv_t::counter): Likewise.
21569         (rtld_global): New struct.
21570         (_rtld_global): New rtld variable.
21571         (dl_tls_dtv_slotinfo_list): New rtld global field.
21572         (dtv_slotinfo_list): New struct.
21573         (dtv_slotinfo): Likewise.
21574         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21575         (td_lookup): Rename to...
21576         (td_mod_lookup): ... this.  Use new mod parameter instead of
21577         LIBPTHREAD_SO.
21578         * nptl_db/td_thr_tlsbase.c: Include link.h.
21579         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21580         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21581         addresses even if the DTV is out of date or missing them.
21582         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21583         index zero-length arrays.
21584         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21585         (td_lookup): Make it a macro implemented in terms of...
21586         (td_mod_lookup): ... this declaration.
21587         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21588         (DB_MAIN_VARIABLE): Likewise.
21590 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21592         [BZ #18134]
21593         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21595 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21597         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21599 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21601         [BZ #18128]
21602         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21603         (atomic_add, atomic_increment_and_test)
21604         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21606 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21608         * stdlib/setenv.c (__add_to_environ):
21609         Dump core quickly if setenv (..., NULL, ...) is called.
21611 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21613         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21614         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21615         all the necessary asm magic in one place.
21616         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21617         using those.
21619 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21621         [BZ #14906]
21622         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21623         traced file mtime. Use consistent log message.
21624         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21625         (register_traced_file): Call install_watches. Always set mtime.
21626         (invalidate_cache): Iterate over all trace files. Call install_watches.
21627         (inotify_check_files): Don't inline. Handle watching parent
21628         directories and configuration file movement in and out.
21629         (handle_inotify_events): New function.
21630         (main_loop_poll): Call handle_inotify_events.
21631         (main_loop_epoll): Likewise.
21632         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21633         (struct traced_file): Use array of inotify fds. Add parent directory,
21634         and basename.
21635         (struct database_dyn): Remove unused file_mtime.
21636         (init_traced_file): New inline function.
21637         (define_traced_file): New macro.
21638         * nss/nss_db/db-init.c: Use define_traced_file.
21639         (_nss_db_init): Use init_traced_file.
21640         * nss/nss_files/files-init.c: Use define_traced_file.
21641         (_nss_files_init): Use init_traced_file.
21643 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21645         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21646         [_LIBC]: Do not include <stdlib.h>.
21647         [!_LIBC] (abort): Remove declaration.
21648         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21649         _FP_STATIC_ASSERT instead of conditionally calling abort.
21650         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21651         (_FP_EXTEND_CNAN): Likewise.
21652         (FP_TRUNC): Likewise.
21653         (__FP_CLZ): Likewise.
21654         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21656 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21658         * manual/string.texi (XPG basename): Fix prototype.
21660 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21662         [BZ #18080]
21663         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21664         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21665         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21666         (__setcontext): Likewise.
21667         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21668         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21669         Call rt_sigprocmask syscall one time to set new signal mask
21670         and retrieve the current signal mask instead of two calls.
21671         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21672         (__swapcontext): Likewise.
21673         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21674         * stdlib/tst-setcontext2.c: New file.
21676 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21678         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21680 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21682         [BZ #18093]
21683         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21684         the wrong size.
21686 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21688         [BZ #18043]
21689         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21691 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21693         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21694         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21695         Remove define.
21696         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21697         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21698         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21699         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21700         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21701         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21702         define.
21703         * nptl_db/td_symbol_list.c (td_lookup): Remove
21704         HAVE_ASM_GLOBAL_DOT_NAME code.
21705         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21706         HAVE_ASM_GLOBAL_DOT_NAME check.
21707         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21708         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21709         (DOT_LABEL): Remove define.
21710         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21711         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21712         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21713         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21714         (__TLS_GET_ADDR): Likewise.
21715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21716         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21718 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21720         [BZ #18111]
21721         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21722         (_FPU_SETCW): Initialize cw from fpsr before storing.
21723         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21724         (fesetexceptflag): Rewrite using fpu_control.h.
21725         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21727 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21729         [BZ #18110]
21730         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21731         asms.
21732         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21734 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21736         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21737         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21738         abort.
21739         (_FP_FMA): Likewise.
21740         (_FP_DIV): Likewise.
21742 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21744         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21745         with 0 in that case.
21746         * Makefile (summarize-tests): New canned sequence, factored out of
21747         commands for targets tests and xtests.  Display summary lines that
21748         don't start with PASS: or XFAIL: rather than ones that do start with
21749         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21750         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21751         do start with ERROR: or FAIL:.
21752         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21753         (except for [$(build-shared) = yes]).
21754         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21755         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21756         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21757         * nptl/Makefile: Revert 2015-03-04 changes.
21758         [$(CXX) empty] (tests-unsupported): New variable.
21759         * debug/Makefile: Likewise.
21761         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21762         gnulib file.  Replace __attribute with __attribute__ throughout.
21764 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21766         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21768 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21770         [BZ #18104]
21771         * math/auto-libm-test-in: Add another test of pow.
21772         * math/auto-libm-test-out: Regenerated.
21774 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21776         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21777         $(config-cflags-nofma).
21779 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21781         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21782         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21783         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21784         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21785         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21786         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21787         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21788         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21789         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21790         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21791         Add comment on closing #endif.
21793 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21795         * posix/wordexp.c (CHAR_IN_SET): New macro.
21796         (parse_param): Use it.
21798 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21800         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21802 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21804         [BZ #18043]
21805         * posix/wordexp.c (parse_param): Fix buffer overflow.
21806         * posix/wordexp-test.c (test_case): Add test case.
21808 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21810         [BZ #18042]
21811         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21812         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21814 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21816         [BZ #18043]
21817         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21818         (do_bz18043): Delete.
21819         (at_page_end): New.
21820         (testit): Refactor to have words at the edge of unreadable page.
21822 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21824         [BZ #16734]
21825         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21826         Cleanup read-only streams as well.
21827         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21829 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21831         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21832         <bits/libc-lockP.h>
21834 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21836         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21837         on [__KERNEL__].
21838         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21839         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21840         * soft-fp/op-common.h (_FP_DECL): Likewise.
21842 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21844         * elf/ifuncdep2.c (global): Replace
21845         __attribute__((visibility("protected"))) with
21846         asm (".protected global").
21847         * elf/ifuncmod1.c (global): Likewise.
21848         * elf/ifuncmod5.c (global): Likewise.
21850 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21852         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21853         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21855 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21857         * manual/install.texi (Configuring and compiling):
21858         Document test-wrapper-env-only.
21859         * INSTALL: Regenerated.
21861 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21863         [BZ #18043]
21864         * posix/wordexp.c (parse_param): Fix buffer overflow.
21865         * posix/wordexp-test.c (do_bz18043): Add test case.
21867 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21869         * time/tst-strptime2.c (do_test): Ensure failing tests are
21870         reported correctly.
21871         * time/tst-strptime3.c (do_test): Likewise.
21873 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21875         Fix aio_error thread-safety.
21876         * sysdeps/pthread/aio_error.c: New file
21877         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21878         synchronization.
21880 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21882         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21883         (group_number, vfprintf): Use it.
21884         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21885         (JUMP, REF): Use it.
21886         (WORK_BUFFER_SIZE): New enum constant.
21887         (process_arg, vfprintf): Use it.
21889 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21891         * manual/errno.texi (Error Messages): Complete example function
21892         by adding missing #define.
21893         (program_invocation_name): Add statement indicating GNU
21894         extension and reference which header file declares the variable.
21895         (program_invocation_short_name): Likewise.
21897 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21899         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21900         compatibility note.
21902 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21904         * Makeconfig (test-wrapper-env-only): New variable.
21905         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21906         then use that with $(test-wrapper-env-only) rather than using
21907         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21909 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21911         [BZ #18082]
21912         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21913         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21914         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21915         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21916         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21917         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21918         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21919         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21920         Likewise.
21921         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21922         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21923         Likewise.
21924         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21925         Likewise.
21926         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21927         Likewise.
21928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21929         Likewise.
21930         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21931         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21932         Likewise.
21933         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21934         Likewise.
21935         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21936         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21938 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21940         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21941         (ETH_ALEN): New macro.
21942         (struct ether_addr): Use it for length of ether_addr_octet.
21944         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21945         (setdb): Don't call __nss_configure_lookup for "rpc".
21946         (do_test): Don't call test_rpc.
21947         (output_rpcent, test_rpc): Functions moved ...
21948         * sunrpc/test-rpcent.c: ... to this new file.
21949         * sunrpc/Makefile (tests): Add it.
21951         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21952         __xpg_sigpause.
21953         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21954         * nptl/tst-signal6.c: Likewise.
21955         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21956         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21958         * configure.ac (libc_cv_cxx_link_ok): New check.
21959         Reset CXX to empty if it fails to link.
21960         * configure: Regenerated.
21961         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21962         bug-atexit3-lib only if $(CXX) is nonempty.
21963         * nptl/Makefile (tests): Likewise for tst-cancel24.
21964         (tests, tests-static): Likewise for tst-cancel24-static.
21965         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21966         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21967         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21968         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21970 2015-03-04  Andreas Schwab  <schwab@suse.de>
21972         [BZ #17631]
21973         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21974         for non-GCC compilers.
21975         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21976         Likewise.
21978 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21980         [BZ #17776]
21981         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21982         integer before bitwise and assembly operations.
21983         (feclearexcept): Likewise.
21984         * math/test-fenvinline.c: New file.
21985         * math/Makefile: Add test-fenvinline test.
21987 2015-03-03  Alan Modra  <amodra@gmail.com>
21989         [BZ #16512]
21990         * scripts/localplt.awk: Strip off symbol version.
21991         * NEWS: Mention bug fix.
21993 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21995         * sysdeps/pthread/timer_routines.c
21996         (timer_free_list, thread_free_list, thread_active_list): Make static.
21998 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22000         [BZ #17779]
22001         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22002         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22003         Undefine.
22004         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22005         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22006         Likewise.
22007         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22008         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22009         Likewise.
22011 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22013         [BZ #18036]
22014         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22015         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22017 2015-03-02  Andreas Schwab  <schwab@suse.de>
22019         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22020         variable name.
22022 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22024         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22025         Return error status.
22027 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22029         [BZ #15969]
22030         * locale/findlocale.c (_nl_find_locale): Introduce const
22031         version of loc_name and drop unsafe type casts.
22033 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22035         * dlfcn/tststatic2.c (main): Converted to ...
22036         (do_test): ... this.
22037         (TEST_FUNCTION): New macro.
22038         Include test-skeleton.c.
22040 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22042         [BZ #17711]
22043         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22044         (tests-pie): Add vismain.
22045         (CFLAGS-vismain.c): New.
22046         * elf/vismain.c: Add comments for PIE requirement.
22048 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22050         [BZ #18046]
22051         [BZ #18047]
22052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22053         0x1p-56L as threshold for just returning the argument.
22054         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22055         0x1p-32L as threshold for just returning the argument.
22056         * math/auto-libm-test-in: Add more tests of atanh.
22057         * math/auto-libm-test-out: Regenerated.
22058         * sysdeps/i386/fpu/libm-test-ulps: Update.
22059         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22061 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22063         * string/bcopy.c (bcopy): Call memmove for performance.
22065 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22067         * string/bzero.c (__bzero): Call memset for performance.
22069 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22071         [BZ #18068]
22072         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22073         to 00100000.
22075 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22077         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22079 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22081         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22082         (__kernel_standard): Use CSTR macro when setting exc.name.
22083         * sysdeps/ieee754/Makefile [$(subdir) = math]
22084         (CFLAGS-k_standard.c): Remove variable.
22086         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22087         setting p and q from "else if" to "else".
22088         (qzero): Likewise.
22089         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22090         (qone): Likewise.
22091         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22092         (qzerof): Likewise.
22093         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22094         (qonef): Likewise.
22095         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22096         (qzero): Likewise.
22097         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22098         (qone): Likewise.
22100         [BZ #18038]
22101         [BZ #18039]
22102         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22103         return pi/2 for arguments below 0x1p-113L.
22104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22105         return pi/2 for arguments below 0x1p-106L.
22106         * math/auto-libm-test-in: Add more tests of acos.
22107         * math/auto-libm-test-out: Regenerated.
22109         [BZ #16351]
22110         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22111         (MO): New macro.
22112         (__ieee754_asin): Force underflow exception for results with small
22113         absolute value.
22114         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22115         (MO): New macro.
22116         (__ieee754_asinf): Force underflow exception for results with
22117         small absolute value.
22118         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22119         (__ieee754_asin): Force underflow exception for results with small
22120         absolute value.
22121         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22122         (__ieee754_asinf): Force underflow exception for results with
22123         small absolute value.
22124         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22125         (__ieee754_asinl): Force underflow exception for results with
22126         small absolute value.
22127         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22128         (__ieee754_asinl): Force underflow exception for results with
22129         small absolute value.
22130         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22131         (__ieee754_asinl): Force underflow exception for results with
22132         small absolute value.
22133         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22134         Include <math.h>.
22135         * math/auto-libm-test-in: Do not mark underflow exceptions as
22136         possibly missing for bug 16351.
22137         * math/auto-libm-test-out: Regenerated.
22139         [BZ #18030]
22140         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22141         of power of 2 down when low part has opposite sign.
22142         * math/libm-test.inc (logb_test_data): Add more tests.
22144 2015-02-26  Andreas Schwab  <schwab@suse.de>
22146         [BZ #18032]
22147         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22148         over collating symbol inside a bracket expression.  Minor cleanup.
22149         * posix/tst-fnmatch3.c (do_test): Add test case.
22151 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22153         [BZ #18029]
22154         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22155         Adjust exponent of power of 2 down when low part has opposite
22156         sign.
22157         * math/libm-test.inc (ilogb_test_data): Add more tests.
22159 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22161         [BZ #15969]
22162         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22163         the previous change.
22165         [BZ #15969]
22166         * locale/findlocale.c (_nl_find_locale): Retry archive search
22167         after alias expansion.
22169 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22171         * iconv/tst-iconv3.c (main): Converted to ...
22172         (do_test): ... this.
22173         (TEST_FUNCTION): New macro.
22174         Include test-skeleton.c.
22176         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22177         (convert): Make function static.
22178         (test_unalign): Likewise.  Add const to argument pointee types.
22179         (main): Replace with static function do_test.
22180         Print "Succeeded." only if RET is zero.
22181         (TEST_FUNCTION): New macro.
22182         Include test-skeleton.c.
22184         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22185         returns a null pointer.
22187 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22189         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22190         to __memcpy_ppc only for static builds.
22192 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22194         [BZ #18020]
22195         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22196         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22197         * math/auto-libm-test-in: Add more tests of asinh.
22198         * math/auto-libm-test-out: Regenerated.
22199         * sysdeps/i386/fpu/libm-test-ulps: Update.
22200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22202 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22204         [BZ #15850]
22205         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22206         and ip6_mtuinfo definitions here.
22207         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22208         in this define too.  Update comment.
22210 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22212         * elf/sprof.c (load_shobj): Tweak error message to match others.
22214 2015-02-24  Kevin Easton  <kevin@guarana.org>
22216         [BZ #16145] (partial fix)
22217         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22218         to reduce lock contention.
22220 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22222         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22223         (struct timex): Update time comment.
22224         (ADJ_SETOFFSET): Define.
22226 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22228         [BZ #18019]
22229         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22230         2**56 not 2**28 as threshold for log (2x) formula.
22231         * math/auto-libm-test-in: Add more tests of acosh.
22232         * math/auto-libm-test-out: Regenerated.
22233         * sysdeps/i386/fpu/libm-test-ulps: Update.
22234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22236 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22238         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22239         parenthesis around the buf assignment.
22240         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22242 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22244         [BZ #16783]
22245         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22246         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22247         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22248         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22249         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22250         * math/libm-test.inc (scalb_test_data): Add more tests.
22252 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22254         [BZ #17916]
22255         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22256         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22258 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22260         [BZ #17523]
22261         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22262         * io/bits/fcntl2.h (open): Use it.
22263         (openat): Likewise.
22264         * io/open.c (__libc_open): Likewise.
22265         * io/open64.c (__libc_open64): Likewise.
22266         * io/open64_2.c (__open64_2): Likewise.
22267         * io/open_2.c (__open_2): Likewise.
22268         * io/openat.c (__openat): Likewise.
22269         * io/openat64.c (__openat64): Likewise.
22270         * io/openat64_2.c (__openat64_2): Likewise.
22271         * io/openat_2.c (__openat_2): Likewise.
22272         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22273         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22274         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22275         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22276         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22277         (__open_nocancel): Likewise.
22278         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22279         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22280         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22282 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22284         [BZ #14841]
22285         * resolv/gethnamaddr.c (getanswer): Skip logging if
22286         RES_USE_DNSSEC is set.
22287         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22289 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22291         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22293 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22295         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22296         201304L, for Unicode 7.
22298 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22300         [BZ #17836]
22301         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22302         shared library.  Add gmon-start.os otherwise.
22303         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22304         $(objpfx)gmon-start.os if builing shared library.
22305         ($(objpfx)g$(static-start-installed-name)): Likewise.
22307 2015-02-23  Andreas Schwab  <schwab@suse.de>
22309         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22311 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22313         [BZ #17269]
22314         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22315         (enlarge_userbuf): Likewise.
22317 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22319         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22320         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22321         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22322         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22324 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22326         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22327         expression inside statement expression.
22329 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22331         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22332         <sysdeps/nptl/lowlevellock.h> and remove macros and
22333         functions that are now defined there.
22334         (SYS_futex): Remove.
22335         (lll_compare_and_swap): Remove.
22336         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22338 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22340         [BZ #17999]
22341         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22342         instead of scandirat.
22343         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22344         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22345         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22346         __scandirat.
22347         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22348         (__scandirat): Declare.  Use libc_hidden_proto.
22349         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22350         Remove variable.
22351         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22353 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22355         [BZ #15319]
22356         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22357         (MO): New macro.
22358         (__ieee754_atan2): For results with small absolute value, force
22359         underflow exception and remove excess range and precision from
22360         return value.
22361         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22362         (MO): New macro.
22363         (__ieee754_atan2f): For results with small absolute value, force
22364         underflow exception and remove excess range and precision from
22365         return value.
22366         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22367         (MO): New macro.
22368         (__atan): For results with small absolute value, force underflow
22369         exception and remove excess range and precision from return value.
22370         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22371         (MO): New macro.
22372         (__atanf): For results with small absolute value, force underflow
22373         exception and remove excess range and precision from return value.
22374         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22375         <math.h>.
22376         (__ieee754_atan2): Force underflow exception for results with
22377         small absolute value.
22378         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22379         <math_private.h>.
22380         (atan): Force underflow exception for results with small absolute
22381         value.
22382         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22383         (__atanf): Force underflow exception for results with small
22384         absolute value.
22385         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22386         <math.h>.
22387         (__atanl): Force underflow exception for results with small
22388         absolute value.
22389         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22390         (__atanl): Force underflow exception for results with small
22391         absolute value.
22392         * sysdeps/x86/fpu/bits/mathinline.h
22393         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22394         (__ieee754_atan2): Only define inline for long double.
22395         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22396         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22397         * math/auto-libm-test-in: Do not mark underflow exceptions as
22398         possibly missing for bug 15319.  Add more tests of atan2.
22399         * math/auto-libm-test-out: Regenerated.
22400         * math/libm-test.inc (casin_test_data): Do not mark underflow
22401         exceptions as possibly missing for bug 15319.
22402         (casinh_test_data): Likewise.
22403         * sysdeps/i386/fpu/libm-test-ulps: Update.
22405 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22407         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22408         * sysdeps/mips/bits/endian.h: Fix comments.
22410 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22412         [BZ #17996]
22413         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22414         (hdestroy_r): Likewise.
22415         (hsearch_r): Likewise.
22416         (__hcreate_r): Declare and use libc_hidden_proto.
22417         (__hdestroy_r): Likewise.
22418         (__hsearch_r): Likewise.
22419         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22420         (hcreate): Call __hcreate_r instead of hcreate_r.
22421         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22422         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22423         as weak alias of __hcreate_r.
22424         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22425         __hdestroy_r.
22426         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22427         __hsearch_r.
22428         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22429         Remove variable.
22430         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22431         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22432         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22433         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22435 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22437         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22438         arena_lock into a single arena_get.
22440 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22442         * dl-reloc.c: Inlucde libc-internal.h.
22443         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22444         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22445         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22446         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22447         (grow_heap): Likewise.
22448         * malloc/malloc.c: Include libc-internal.h.
22449         (do_check_malloc): Call powerof2.
22450         (sysmalloc): Use pagesize. Call ALIGN_UP.
22451         (systrim): Use pagesize.
22452         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22453         (__libc_valloc): Use pagesize.
22454         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22456 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22458         [BZ #17991]
22459         * include/sys/resource.h (__getrlimit64): Declare.  Use
22460         libc_hidden_proto.
22461         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22462         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22463         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22464         getrlimit64.
22465         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22466         __getrlimit64.
22467         [!getrlimit64] (getrlimit64): Define as weak alias of
22468         __getrlimit64.  Use libc_hidden_weak.
22469         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22470         using __getrlimit64 not __new_getrlimit64.
22471         (__GI_getrlimit64): Likewise.
22472         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22473         Likewise.
22474         (__GI_getrlimit64): Likewise.
22475         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22477         (getrlimit): Add __getrlimit64 alias.
22478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22479         Likewise.
22480         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22481         Remove variable.
22482         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22483         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22485 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22487         * libio/fileops.c: Add missing sys/mman.h
22488         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22490 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22492         * manual/math.texi (Errors in Math Functions): Clarify goals
22493         regarding inexact and underflow exceptions.
22495 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22497         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22498         * sysdeps/mips/memset.S: Ditto.
22500 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22502         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22504 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22506         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22507         (__v1longjmp): Remove versioned symbol.
22508         (__v1siglongjmp): Remove alias and versioned symbol.
22509         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22510         (__v2siglongjmp): Likewise.
22512 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22514         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22516 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22518         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22520 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22522         [BZ #17987]
22523         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22524         zero result does not depend on the sign resulting from
22525         subtraction.
22526         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22527         Likewise.
22528         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22529         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22530         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22531         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22532         * math/libm-test.inc (remquo_test_data): Add more tests.
22534 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22536         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22537         Problem reported by J William Piggott.
22539 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22541         [BZ #17978]
22542         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22543         products 4 * y and 2 * y where those would overflow.
22544         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22545         Likewise.
22546         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22547         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22548         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22549         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22550         * math/libm-test.inc (remquo_test_data): Add more tests.
22552         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22554         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22555         [defined _COMPILING_NEWLIB].
22556         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22557         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22559         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22560         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22562 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22564         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22565         acquired.
22567 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22569         [BZ #17792]
22570         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22571         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22572         HOST_STACK_END_ADDR): Likewise.
22574 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22576         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22577         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22578         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22580 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22582         * sysdeps/generic/c++-types.data: New file.
22583         * sysdeps/generic/ld.abilist: New file.
22584         * sysdeps/generic/libBrokenLocale.abilist: New file.
22585         * sysdeps/generic/libanl.abilist: New file.
22586         * sysdeps/generic/libc.abilist: New file.
22587         * sysdeps/generic/libcrypt.abilist: New file.
22588         * sysdeps/generic/libdl.abilist: New file.
22589         * sysdeps/generic/libm.abilist: New file.
22590         * sysdeps/generic/libpthread.abilist: New file.
22591         * sysdeps/generic/libresolv.abilist: New file.
22592         * sysdeps/generic/librt.abilist: New file.
22594 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22596         [BZ #17569]
22597         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22598         Compute absolute value of x as modified by fmod, not original
22599         value of x.
22600         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22601         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22602         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22603         RUN_TEST_ffI_f1_mod8.
22604         (remquo_test_data): Add more tests.
22606 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22608         * sysdeps/init_array/pt-crti.S: New file.
22610 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22612         [BZ #17967]
22613         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22614         __builtin_fmaf instead of relying on contraction of a * b + c.
22616 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22618         [BZ #17969]
22619         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22620         node.
22622 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22624         [BZ #17964]
22625         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22626         __builtin_fma instead of relying on contraction of a * b + c.
22628 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22630         * Makeconfig (ASFLAGS): Add -Werror=undef.
22631         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22632         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22633         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22635         * Makeconfig (after-link): New variable.
22636         (+link-pie, +link-pie-tests): Use it.
22637         (+link-static, +link-static-tests): Likewise.
22638         (+link, +link-tests): Likewise.
22639         * Makerules (build-module, build-module-asneeded): Likewise.
22640         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22641         Likewise.
22642         * elf/Makefile ($(objpfx)ld.so): Likewise.
22644 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22646         [BZ #17965]
22647         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22648         both struct timeval and struct timespec.
22650 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22652         [BZ #16560]
22653         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22654         and redefine.
22655         (__ieee754_exp2l): Do not multiply small fractional parts by
22656         M_LN2l.
22657         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22658         small argument.
22659         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22660         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22661         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22662         * math/auto-libm-test-in: Add more tests of exp2.
22663         * math/auto-libm-test-out: Regenerated.
22665 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22667         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22668         unaligned path.
22670 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22672         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22673         little endian.
22675 2015-02-12  Andreas Schwab  <schwab@suse.de>
22677         [BZ #15790]
22678         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22679         Filter out elision flags from value returned in kind.
22680         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22681         * nptl/tst-pthread-mutexattr.c: New file.
22683 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22685         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22686         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22687         into gnu-gnu, and update comment to refer to abi-tags.
22689 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22691         [BZ #15467]
22692         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22693         (__sincos): Set errno to EDOM for infinite argument.
22694         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22695         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22696         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22697         (__sincosl): Set errno to EDOM for infinite argument.
22698         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22699         (__sincosl): Set errno to EDOM for infinite argument.
22700         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22701         (__sincosl): Set errno to EDOM for infinite argument.
22702         * math/libm-test.inc (sincos_test_data): Test errno setting.
22704 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22706         * string/strxfrm_l.c: Remove #define STRCMP.
22707         * string/strcoll_l.c: Remove #define STRLEN.
22708         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22709         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22711 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22713         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22714         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22715         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22716         * sysdeps/mips/mips64/Makefile: ... here.
22717         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22718         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22719         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22720         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22721         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22722         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22723         * sysdeps/mips/mips64/n64/Implies: Likewise.
22725 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22727         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22728         <sys/time.h>, <string.h>, and <errno.h>.
22729         (dest_offset, dest_address, value, zero): Remove unused variables.
22730         (ldouble): Remove typedef.
22731         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22732         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22733         1).  Fix code style.
22734         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22735         (check): Function removed.
22736         (CHECK): New macro.
22737         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22738         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22739         Don't call set_sigaction_FP and remove_sigaction_FP here.
22740         (ldouble_test): Just use 'long double' as macro argument, no need for
22741         the 'ldouble' typedef.
22742         (do_test): Set up SIGFPE handler at start, using plain signal rather
22743         than sigaction.  Fix code style.
22745 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22747         [BZ #17949]
22748         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22749         jump label.
22751 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22753         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22754         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22756         * sysdeps/powerpc/configure.ac: Remove file.
22757         * sysdeps/powerpc/configure: Likewise.
22759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22760         [sysdep_routines]: Remove wordcopy-power6 object.
22761         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22762         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22763         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22764         (__memmove_ppc32): Likewise.
22765         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22766         file.
22767         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22769         Remove preprocessor.
22771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22772         [sysdep_routines]: Remove wide chars objects.
22773         [wcsmbs]: New rule for wide char objects.
22775         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22776         Remove wordcopy-power6 obejct.
22777         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22778         Use local call for wordcopy and memcpy symbols.
22779         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22780         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22781         implementation for loader.
22782         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22784         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22785         Remove wordcopy-power7 object.
22786         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22787         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22788         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22789         (_wordcopy_fwd_dest_aligned): Likewise.
22790         (_wordcopy_bwd_aligned): Likewise.
22791         (_wordcopy_bwd_dest_aligned): Likewise.
22793         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22794         Rewrite to call __memmove_ppc instead of include default
22795         implementation.
22797         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22798         Remove wide chars objects.
22799         [wcsmbs]: New rule for wide char objects.
22801 2015-02-09  Andreas Schwab  <schwab@suse.de>
22803         [BZ #17912]
22804         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22805         in terms of __O_DIRECTORY.
22807 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22809         * time/getdate.c: Include <stdbool.h>.
22810         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22811         call PTR_MANGLE.
22812         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22813         PTR_DEMANGLE.
22815 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22817         Add ersatz _Static_assert on older C hosts
22818         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22819         pre-C11 C platform that is not known to support _Static_assert.
22821 2015-02-07  Richard Braun  <rbraun@sceen.net>
22823         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22824         sigstate.
22825         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22827 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22829         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22830         priority against unexistent AIO_PRIO_DELTA_MAX.
22831         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22832         instead of int.
22833         * misc/fchflags.c (fchflags): Likewise.
22834         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22835         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22836         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22837         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22838         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22839         Declare macros.
22840         [__USE_MISC] (chflags, fchflags): Declare functions.
22841         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22842         EINVAL when nfds is greater than FD_SETSIZE.
22843         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22844         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22845         45.
22846         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22847         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22848         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22849         MACH_RCV_TIMED_OUT.
22850         * hurd/hurd/signal.h (_hurd_self_sigstate,
22851         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22852         Explicit casts from void *.
22853         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22854         * abi-tags: Rename gnu-gnu os into gnu.
22856         [BZ #4719]
22857         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22858         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22859         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22860         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22861         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22862         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22864         [BZ #17944]
22865         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22866         duplicates ADDR->sun_path with sockaddr LEN limitation.
22867         * sysdeps/mach/hurd/connect.c: Include <string.h>
22868         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22869         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22870         * sysdeps/mach/hurd/sendto.c: Likewise.
22871         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22872         implementing it by hand.
22874 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22876         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22877         Use sfi_breg on ldr.
22878         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22879         Likewise.
22881         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22882         it's defined.
22883         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22884         Test SIGSETXID only if it's defined.
22886         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22888         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22889         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22891         * nptl/tst-align2.c: Moved ...
22892         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22893         * nptl/Makefile (tests): Remove tst-align2.
22894         * sysdeps/unix/sysv/linux/Makefile
22895         [$(subdir) = nptl] (tests): Add tst-align-clone.
22896         * nptl/tst-getpid1.c: Moved ...
22897         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22898         * nptl/tst-getpid2.c: Moved ...
22899         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22900         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22901         * sysdeps/unix/sysv/linux/Makefile
22902         [$(subdir) = nptl] (tests): ... here.
22903         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22904         * sysdeps/unix/sysv/linux/Makefile
22905         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22907         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22908         Drop trailing \n from perror argument.  Use return rather than exit.
22910         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22911         on [SA_SIGINFO].
22912         * nptl/tst-cancel21.c (do_test): Likewise.
22913         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22914         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22915         [!SA_SIGINFO]: Make it a stub test.
22917         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22918         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22920         * posix/tst-getlogin.c: Move to ...
22921         * login/tst-getlogin.c: ... here.
22922         * posix/Makefile (tests): Move tst-getlogin to ...
22923         * login/Makefile (tests): ... here.
22925         * libio/tst-atime.c (do_test): Move local variables SV and E
22926         inside [ST_NOATIME] conditional.
22928         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22930         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22932         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22933         (wait_code): New function replaces macro.
22934         Call nanosleep rather than syscall.
22936         * nptl/pt-system.c: Rewritten.  Put everything under
22937         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22938         Use IFUNC to redirect when possible.
22940         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22941         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22942         Use IFUNC to redirect when possible.
22944         * nptl/pt-fork.c: Rewritten.  Put everything under
22945         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22946         Use IFUNC to redirect when possible.
22947         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22949         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22950         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22951         unconditionally nowadays.  This included the only reference to
22952         __vdso_clock_gettime that appears outside libc proper.
22953         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22954         Remove version set (containing only __vdso_clock_gettime).
22955         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22956         Add attribute_hidden.
22957         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22958         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22959         libc_hidden_data_def.
22960         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22961         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22963         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22964         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22965         setrpcent, and getrpcport to ...
22966         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22967         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22968         getrpcbynumber_r, and getrpcent_r to ...
22969         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22970         * inet/getrpcbyname.c: Moved ...
22971         * sunrpc/getrpcbyname.c: ... here.
22972         * inet/getrpcbyname_r.c: Moved ...
22973         * sunrpc/getrpcbyname_r.c: ... here.
22974         * inet/getrpcbynumber.c: Moved ...
22975         * sunrpc/getrpcbynumber.c: ... here.
22976         * inet/getrpcbynumber_r.c: Moved ...
22977         * sunrpc/getrpcbynumber_r.c: ... here.
22978         * inet/getrpcent.c: Moved ...
22979         * sunrpc/getrpcent.c: ... here.
22980         * inet/getrpcent_r.c: Moved ...
22981         * sunrpc/getrpcent_r.c: ... here.
22982         * inet/Makefile (routines): Move those to ...
22983         * sunrpc/Makefile (routines): ... here.
22984         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22985         the $(subdirs) list.
22986         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22987         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22988         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22989         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22991         * elf/Makefile (routines): Include $(all-dl-routines), not just
22992         $(dl-routines).
22993         (rtld-routines): Likewise.  Use = rather than :=.
22994         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22995         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22996         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22997         * sysdeps/arm/Makefile: Likewise.
22998         * sysdeps/i386/Makefile: Likewise.
22999         * sysdeps/x86_64/Makefile: Likewise.
23000         * sysdeps/hppa/Makefile [$(subdir) = elf]
23001         (sysdep_routines, sysdep-rtld-routines): Don't add
23002         $(sysdep-dl-routines) to these.
23003         * sysdeps/ia64/Makefile: Likewise.
23004         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23005         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23006         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23007         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23008         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23009         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23010         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23011         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23012         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23013         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23014         these; sysdep-dl-routines alone is enough.
23016 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23018         [BZ #17932]
23019         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23020         where multiplication results in zero and third argument is finite
23021         and nonzero.
23022         * math/auto-libm-test-in: Add more tests of fma.
23023         * math/auto-libm-test-out: Regenerated.
23025         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23026         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23027         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23028         (_FP_CMP_EQ): Likewise.
23029         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23031         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23032         extra argument CHECK_NAN.  Redefine as wrapper around
23033         _FP_EXTEND_CNAN.
23035 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23037         * version.h (RELEASE): Set to "stable".
23038         (VERSION): Set to "2.21"
23039         * include/features.h (__GLIBC_MINOR__): Set to 21.
23041         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23043 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23044             Paul Eggert  <eggert@cs.ucla.edu>
23046         [BZ #16618]
23047         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23048         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23049         size in bytes. Store needed elements in wpmax. Use needed size
23050         in bytes for extend_alloca.
23052 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23054         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23055         binutls 2.25, and texinfo 5.2.
23056         * INSTALL: Regenerate.
23057         * sysdeps/nios2/configure: Regenerate.
23058         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23059         * manual/contrib.texi: Update.
23060         * po/be.po: Update.
23061         * po/bg.po: Update.
23062         * po/ca.po: Update.
23063         * po/cs.po: Update.
23064         * po/da.po: Update.
23065         * po/de.po: Update.
23066         * po/el.po: Update.
23067         * po/eo.po: Update.
23068         * po/es.po: Update.
23069         * po/fi.po: Update.
23070         * po/fr.po: Update.
23071         * po/gl.po: Update.
23072         * po/hr.po: Update.
23073         * po/hu.po: Update.
23074         * po/ia.po: Update.
23075         * po/id.po: Update.
23076         * po/it.po: Update.
23077         * po/ja.po: Update.
23078         * po/ko.po: Update.
23079         * po/lt.po: Update.
23080         * po/nb.po: Update.
23081         * po/nl.po: Update.
23082         * po/pl.po: Update.
23083         * po/pt_BR.po: Update.
23084         * po/ru.po: Update.
23085         * po/rw.po: Update.
23086         * po/sk.po: Update.
23087         * po/sl.po: Update.
23088         * po/sv.po: Update.
23089         * po/tr.po: Update.
23090         * po/uk.po: Update.
23091         * po/vi.po: Update.
23092         * po/zh_CN.po: Update.
23093         * po/zh_TW.po: Update.
23095         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23096         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23097         * sysdeps/hppa/dl-irel.h: Remove #warning.
23098         * sysdeps/hppa/entry.h: Provide prototype for
23099         __canonicalize_funcptr_for_compare and cast argument.
23100         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23101         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23102         * sysdeps/hppa/sotruss-lib.c: New file.
23103         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23104         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23105         (atomic_compare_and_exchange_bool_acq): Likewise.
23106         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23107         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23109         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23110         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23111         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23113 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23115         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23116         called function in non-PIC case.
23118 2015-01-31  David S. Miller  <davem@davemloft.net>
23120         * sysdeps/sparc/sparc32/bits/atomic.h
23121         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23122         unlock not after it.
23123         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23124         volatile register usage warnings from the compiler.
23126         * sysdeps/sparc/nptl/sem_init.c: Delete.
23127         * sysdeps/sparc/nptl/sem_post.c: Delete.
23128         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23129         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23130         * sysdeps/sparc/sparc32/sem_init.c: New file.
23131         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23132         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23133         padding explicitly initialized.
23134         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23135         padding for in-semaphore spinlock.
23136         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23137         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23138         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23139         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23140         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23141         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23142         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23143         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23144         version.
23145         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23146         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23148 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23150         [BZ #17801]
23151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23152         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23153         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23154         New.
23155         (index_AVX_Fast_Unaligned_Load): Likewise.
23156         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23157         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23158         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23159         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23160         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23161         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23162         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23163         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23164         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23166 2015-01-29  Andreas Schwab  <schwab@suse.de>
23168         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23170 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23172         [BZ #17892]
23173         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23175 2015-01-28  Martin Sebor  <msebor@redhat.com>
23177         * math/README.libm-test: Clarify. Add "How to read the test output."
23179 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23181         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23182         Define to 0.
23184 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23186         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23187         (__HAVE_64B_ATOMICS): Define to 0.
23189 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23191         [BZ #17885]
23192         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23193         value to set as new flag.
23195         [BZ #16576]
23196         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23197         and use _ARCH_PPCSQ instead.
23198         (__ieee754_sqrt): Likewise.
23199         (__ieee754_sqrtf): Likewise.
23200         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23201         _ARCH_PPCSQ is defined.
23202         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23203         fsqrt instruction.
23204         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23205         _ARCH_PPCSQ is defined.
23206         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23207         fsqrts instruction.
23208         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23210 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23212         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23213         bug (GCC BZ #64739).
23215 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23217         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23218         Mark _retval as used.
23219         (lll_futex_wake_unlock): Likewise.
23220         (lll_futex_timed_wait_requeue_pi): Likewise.
23222         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23223         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23224         register variables.
23226         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23227         libm_hidden_def.
23229         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23230         (__bswap_64): Mark as __always_inline.
23232 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23234         [BZ #15378]
23235         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23236         when none of the search directories exist.
23238 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23240         [BZ #17869]
23241         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23242         power8 in .machine directive.
23244         [BZ #17868]
23245         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23246         set dependency from opd value.
23248 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23251         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23252         architecture.
23254 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23256         [BZ #17870]
23257         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23258         with uint64_t.
23259         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23260         (uint64_t) 1.
23261         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23262         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23263         Replace 1UL with (uint64_t) 1.
23264         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23265         int with uint64_t.
23267 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23269         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23270         (if_freenameindex): Likewise.
23272         * resource/getrlimit64.c: Add missing libc_hidden_def.
23274 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23276         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23277         __label__.
23278         (_FP_FMA): Likewise.
23279         (_FP_TO_INT_ROUND): Likewise.
23280         (_FP_FROM_INT): Likewise.
23282 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23284         [BZ #16418]
23285         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23286         Make code racy and cancel safe.
23288 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23290         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23291         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23292         attribution.
23294         * pwd/tst-getpw.c: Rewrite.
23296         [BZ #17702]
23297         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23298         (modules-names): Add moddummy1 and moddummy2.
23299         ($(objpfx)tst-rec-dlopen): Define.
23300         * dlfcn/moddummy1.c: New file.
23301         * dlfcn/moddummy2.c: New file.
23302         * dlfcn/tst-rec-dlopen.c: New file.
23303         * elf/dl-cache.c (_dl_load_cache_lookup):
23304         Return char*. Copy result with alloca/strcpy/strdup.
23305         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23306         returns char*. Free cached. If not saving realname
23307         free cached.
23308         * elf/dl-open.c (dl_open_worker): Do not assert that
23309         _r_debug->r_state is RT_CONSISTENT.
23310         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23311         returns char*.
23313 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23314             Carlos O'Donell  <carlos@redhat.com>
23316         [BZ #12674]
23317         * nptl/sem_waitcommon.c: New file.
23318         * nptl/sem_wait.c: Include sem_waitcommon.c.
23319         (__sem_wait_cleanup, do_futex_wait): Remove.
23320         (__new_sem_wait): Adapt.
23321         (__new_sem_trywait): New function.
23322         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23323         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23324         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23325         (sem_timedwait): Adapt.
23326         * nptl/sem_post.c (__new_sem_post): Adapt.
23327         (futex_wake): New function.
23328         (__old_sem_post): Add release MO fence.
23329         * nptl/sem_open.c (sem_open): Adapt.
23330         * nptl/sem_init.c (__new_sem_init): Adapt.
23331         (futex_private_if_supported): New function.
23332         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23333         (__old_sem_getvalue): Add using previous code.
23334         * sysdeps/nptl/internaltypes.h: Adapt.
23335         * nptl/tst-sem13.c (do_test): Adapt.
23336         * nptl/tst-sem11.c (main): Adapt.
23337         * nptl/sem_trywait.c: Remove.
23338         * nptl/DESIGN-sem.txt: Remove.
23339         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23340         (gen-as-const-headers): Remove structsem.sym.
23341         * nptl/structsem.sym: Remove.
23342         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23343         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23344         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23345         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23346         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23347         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23348         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23349         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23350         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23351         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23352         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23353         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23354         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23355         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23356         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23357         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23358         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23359         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23360         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23361         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23362         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23363         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23365 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23367         * INSTALL: Regenerated.
23369         * po/libc.pot: Regenerated.
23371 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23372             Sandra Loosemore  <sandra@codesourcery.com>
23373             Andrew Jenner  <andrew@codesourcery.com>
23374             Joseph Myers  <joseph@codesourcery.com>
23375             Nathan Sidwell  <nathan@codesourcery.com>
23377         * NEWS: Mention new Nios II port.
23378         * sysdeps/nios2/Implies: New file.
23379         * sysdeps/nios2/Makefile: New file.
23380         * sysdeps/nios2/Subdirs: New file.
23381         * sysdeps/nios2/Versions: New file.
23382         * sysdeps/nios2/__longjmp.S: New file.
23383         * sysdeps/nios2/abort-instr.h: New file.
23384         * sysdeps/nios2/backtrace.c: New file.
23385         * sysdeps/nios2/bits/endian.h: New file.
23386         * sysdeps/nios2/bits/fenv.h: New file.
23387         * sysdeps/nios2/bits/link.h: New file.
23388         * sysdeps/nios2/bits/setjmp.h: New file.
23389         * sysdeps/nios2/bsd-_setjmp.S: New file.
23390         * sysdeps/nios2/bsd-setjmp.S: New file.
23391         * sysdeps/nios2/configure: New generated file.
23392         * sysdeps/nios2/configure.ac: New file.
23393         * sysdeps/nios2/crti.S: New file.
23394         * sysdeps/nios2/crtn.S: New file.
23395         * sysdeps/nios2/dl-init.c: New file.
23396         * sysdeps/nios2/dl-machine.h: New file.
23397         * sysdeps/nios2/dl-sysdep.h: New file.
23398         * sysdeps/nios2/dl-tls.h: New file.
23399         * sysdeps/nios2/dl-trampoline.S: New file.
23400         * sysdeps/nios2/gccframe.h: New file.
23401         * sysdeps/nios2/gmp-mparam.h: New file.
23402         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23403         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23404         * sysdeps/nios2/ldsodefs.h: New file.
23405         * sysdeps/nios2/libc-tls.c: New file.
23406         * sysdeps/nios2/libm-test-ulps: New file.
23407         * sysdeps/nios2/machine-gmon.h: New file.
23408         * sysdeps/nios2/math-tests.h: New file.
23409         * sysdeps/nios2/math_private.h: New file.
23410         * sysdeps/nios2/memusage.h: New file.
23411         * sysdeps/nios2/nptl/Makefile: New file.
23412         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23413         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23414         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23415         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23416         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23417         * sysdeps/nios2/nptl/tls.h: New file.
23418         * sysdeps/nios2/preconfigure: New file.
23419         * sysdeps/nios2/s_fma.c: New file.
23420         * sysdeps/nios2/s_fmaf.c: New file.
23421         * sysdeps/nios2/setjmp.S: New file.
23422         * sysdeps/nios2/sfp-machine.h: New file.
23423         * sysdeps/nios2/sotruss-lib.c: New file.
23424         * sysdeps/nios2/stackguard-macros.h: New file.
23425         * sysdeps/nios2/stackinfo.h: New file.
23426         * sysdeps/nios2/start.S: New file.
23427         * sysdeps/nios2/sysdep.h: New file.
23428         * sysdeps/nios2/tls-macros.h: New file.
23429         * sysdeps/nios2/tst-audit.h: New file.
23430         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23431         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23432         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23433         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23434         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23435         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23436         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23437         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23438         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23439         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23440         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23441         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23442         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23443         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23444         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23445         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23446         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23447         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23448         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23449         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23450         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23451         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23452         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23453         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23454         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23455         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23456         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23457         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23458         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23459         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23460         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23461         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23462         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23463         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23464         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23465         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23466         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23467         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23468         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23469         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23470         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23471         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23472         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23473         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23475 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23477         [BZ #17844]
23478         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23479         (getutent): Use weak_alias in non SHARED case
23480         and default_symbol_version in SHARED case.
23481         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23482         (getutent_r, pututline): Likewise.
23483         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23484         (getutid): Likewise.
23485         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23486         (getutid_r): Likewise.
23487         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23488         (getutline): Likewise.
23489         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23490         (getutline_r): Likewise.
23491         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23492         (updwtmp): Likewise.
23494 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23496         [BZ #17848]
23497         * sysdeps/s390/s390-32/memcmp.S
23498         (memcmp_g5): Rename to __memcmp_g5.
23499         * sysdeps/s390/s390-32/memcpy.S
23500         (memcpy_g5): Rename to __memcpy_g5.
23501         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23502         (memcpy_mvcle) Rename to __memcpy_mvcle.
23503         * sysdeps/s390/s390-32/memset.S
23504         (memset_g5): Rename to __memset_g5.
23505         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23506         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23507         and use prefixed functions.
23508         * sysdeps/s390/s390-32/multiarch/memcmp.S
23509         (memcmp_z196): Rename to __memcmp_z196.
23510         (memcmp_z10): Rename to __memcmp_z10.
23511         (memcmp): Set alias to __memcmp_g5.
23512         (bcmp): Set alias to __memcmp_g5.
23513         * sysdeps/s390/s390-32/multiarch/memcpy.S
23514         (memcpy_z196): Rename to __memcpy_z196.
23515         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23516         (memcpy_z10): Rename to __memcpy_z10.
23517         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23518         (memcpy): Set alias to __memcpy_g5.
23519         * sysdeps/s390/s390-32/multiarch/memset.S
23520         (memset_z196): Rename to __memset_z196.
23521         Jump to __memset_mvcle instead of memset_mvcle.
23522         (memset_z10): Rename to __memset_z10.
23523         Jump to __memset_mvcle instead of memset_mvcle.
23524         (memset_mvcle) Rename to __memset_mvcle.
23525         (memset): Set alias to __memset_g5.
23526         * sysdeps/s390/s390-64/memcmp.S
23527         (memcmp_z900): Rename to __memcmp_z900.
23528         * sysdeps/s390/s390-64/memcpy.S
23529         (memcpy_z900): Rename to __memcpy_z900.
23530         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23531         (memcpy_mvcle) Rename to __memcpy_mvcle.
23532         * sysdeps/s390/s390-64/memset.S
23533         (memset_z900): Rename to __memset_z900.
23534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23535         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23536         and use prefixed functions.
23537         * sysdeps/s390/s390-64/multiarch/memcmp.S
23538         (memcmp_z196): Rename to __memcmp_z196.
23539         (memcmp_z10): Rename to __memcmp_z10.
23540         (memcmp): Set alias to __memcmp_z900.
23541         (bcmp): Set alias to __memcmp_z900.
23542         * sysdeps/s390/s390-64/multiarch/memcpy.S
23543         (memcpy_z196): Rename to __memcpy_z196.
23544         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23545         (memcpy_z10): Rename to __memcpy_z10.
23546         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23547         (memcpy): Set alias to __memcpy_z900.
23548         * sysdeps/s390/s390-64/multiarch/memset.S
23549         (memset_z196): Rename to __memset_z196.
23550         Jump to __memset_mvcle instead of memset_mvcle.
23551         (memset_z10): Rename to __memset_z10.
23552         Jump to __memset_mvcle instead of memset_mvcle.
23553         (memset_mvcle) Rename to __memset_mvcle.
23554         (memset): Set alias to __memset_z900.
23556 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23558         [BZ #17748]
23559         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23560         __fesetenv instead of fesetenv.
23562 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23564         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23565         macro.
23567 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23569         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23570         regression on LE.
23572         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23573         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23574         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23575         strncmp-power8 object.
23576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23577         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23578         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23579         * NEWS: Update.
23581 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23582             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23584         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23585         trailing byte check.
23587 2015-01-13  David S. Miller  <davem@davemloft.net>
23589         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23591 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23593         * login/logout.c (logout): Use memset rather than bzero.
23594         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23595         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23596         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23597         (_gethtbyaddr): Likewise.
23598         * locale/programs/simple-hash.c (bcopy): Macro removed.
23600 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23602         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23603         Add strcmp-power8 object.
23604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23605         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23606         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23607         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23608         __strcmp_power8 implementation.
23609         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23610         * NEWS: Update.
23612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23613         Add strncpy-power8 and stpncpy-power8 objects.
23614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23615         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23616         implementations.
23617         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23618         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23619         __stpncpy_power8 implementation.
23620         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23621         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23622         __strncpy_power8 implementation.
23623         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23624         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23625         * NEWS: Update.
23627         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23628         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23629         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23631         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23632         strncat-power8 object.
23633         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23634         __strcat_power8 implementation.
23635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23636         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23637         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23638         optimized strcat for power8.
23640         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23641         strcpy-power8 and stpcpy-power8 objects.
23642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23643         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23644         implementations.
23645         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23646         multiarch stpcpy implementation for POWER8.
23647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23648         multiarch strcpy implementation for POWER8.
23649         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23650         __strcpy_power8 function.
23651         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23652         stpcpy for POWER8.
23653         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23654         strcpy for POWER8.
23655         * NEWS: Update.
23657 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23659         [BZ #16009]
23660         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23661         weights and rules. Use do_xfrm_cached if data fits in cache,
23662         do_xfrm otherwise.  Moved former main loop to...
23663         * (do_xfrm_cached): New function.
23664         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23665         find_idx, find_position and stack_push.
23666         * (find_idx): New function.
23667         * (find_position): Likewise.
23668         * localedata/sort-test.sh: Added test run for do_xfrm.
23669         * localedata/xfrm-test.c (main): Added command line option
23670         -nocache to run the test with strings that are too large for
23671         the STRXFRM cache.
23673 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23675         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23676         variable to lll_futex_wake call, not the value itself.
23678 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23680         [BZ #17803]
23681         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23682         twom64.  Adjust value to 0x1p-64L.
23683         (__scalblnl): Only return standard underflowing result for K <=
23684         -64 not K <= -63; adjust exponent for underflowing result by 64
23685         not 63.
23686         * math/libm-test.inc (scalbn_test_data): Add more tests.
23687         (scalbln_test_data): Likewise.
23689         [BZ #17834]
23690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23691         0x1p63L.
23692         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23693         not HX.
23694         * math/libm-test.inc (scalbn_test_data): Add more tests.
23695         (scalbln_test_data): Likewise.
23697 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23698             Stefani Seibold  <stefani@seibold.net>
23700         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23701         (sysdep_routines): Add dl-vdso here, ...
23702         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23703         (sysdep_routines): ... not here.
23704         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23705         fallback when vDSO is not presented.
23706         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23707         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23708         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23709         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23710         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23711         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23712         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23713         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23714         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23715         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23716         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23717         fallback configurable symbol when vDSO is not available.
23718         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23719         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23720         be able to redefine fallback symbol when vDSO is not available.
23721         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23722         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23724 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23726         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23727         (TLS_INIT_TP): Add tm_capable initialization.
23728         (TLS_DEFINE_INIT_TP): Likewise.
23729         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23730         TCB.
23731         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23732         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23733         calculation.
23734         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23735         transactoion is lock elision is built and TCB tm_capable is set.
23736         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23738         (INTERNAL_SYSCALL_NCS): Likewise.
23739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23740         (INTERNAL_SYSCALL_NCS): Likewise.
23741         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23743         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23744         for powerpc.
23745         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23746         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23747         and remove it for 32 bits case.
23748         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23749         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23750         initialization.
23751         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23752         Disable lock elision with rdlocks if elision is not available.
23754         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23755         (sysdep_routines): Add lock elision objects.
23756         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23757         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23758         [pthread_mutex_t] (__elision): Add field.
23759         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23760         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23761         elision definitions for powerpc.
23762         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23763         implementation of lock elision for powerpc.
23764         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23765         implementation of timed lock elision for powerpc.
23766         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23767         implementation of trylock with lock elision for powerpc.
23768         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23769         implementaion of unlock for lock elision for powerpc.
23770         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23771         automatic enable lock elision for mutexes.
23772         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23773         transaction execution definitions for powerpc.
23774         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23775         definitions.
23776         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23777         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23778         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23779         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23780         * NEWS: Update.
23782 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23784         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23785         for #include of <shm-directory.h>.
23787 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23789         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23790         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23792 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23794         [BZ #17791]
23795         * NEWS: Mention bug fix.
23796         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23797         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23798         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23800 2015-01-09  Torvald Riegel <triegel@redhat.com>
23802         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23804 2015-01-09  Torvald Riegel <triegel@redhat.com>
23806         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23808 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23810         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23811         pointer and cast to uintptr_t.
23813 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23815         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23816         removed.
23817         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23819 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23821         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23822         of 0.
23824 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23826         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23827         <nptl/pthreadP.h> instead.
23828         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23830         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23831         already defined.
23832         [__SIGRTMIN] (init): Function removed.
23833         [__SIGRTMIN] (initialized): Variable removed.
23834         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23835         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23836         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23837         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23838         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23839         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23840         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23841         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23842         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23843         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23844         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23845         * sysdeps/nptl/allocrtsig.c: New file.
23846         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23847         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23848         * sysdeps/generic/testrtsig.h: File removed.
23850         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23851         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23853         * nptl/nptl-init.c (pthread_functions): Conditionalize
23854         .ptr__nptl_setxid initialization on [SIGSETXID].
23856         * sysdeps/nptl/sys/procfs.h: New file.
23857         * nptl_db/Makefile (headers): Add it.
23858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23860         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23861         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23862         * nptl/pthread_attr_setaffinity.c: Include it.
23863         * nptl/pthread_setattr_default_np.c: Likewise.
23864         * nptl/check-cpuset.h: New file.
23866 2015-01-08  Richard Henderson  <rth@redhat.com>
23868         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23869         (CFLAGS-tst-execstack-prog.c): Likewise.
23870         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23872 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23873             Sandra Loosemore  <sandra@codesourcery.com>
23874             Andrew Jenner  <andrew@codesourcery.com>
23875             Joseph Myers  <joseph@codesourcery.com>
23876             Nathan Sidwell  <nathan@codesourcery.com>
23878         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23879         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23880         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23881         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23882         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23883         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23884         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23885         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23886         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23887         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23888         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23889         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23890         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23891         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23892         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23893         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23894         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23896 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23898         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23899         timespec struct member in syscall macro.
23900         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23901         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23902         first timeval struct member in syscall macro.
23903         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23905 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23907         [BZ #17748]
23908         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23909         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23910         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23911         __feupdateenv and define as weak alias of __feupdateenv.  Use
23912         libm_hidden_weak.
23913         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23914         libm_hidden_def.
23915         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23916         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23917         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23918         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23919         libm_hidden_def.
23920         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23921         __feupdateenv and define as weak alias of __feupdateenv.  Use
23922         libm_hidden_weak.
23923         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23924         libm_hidden_def.
23925         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23926         __feupdateenv and define as weak alias of __feupdateenv.  Use
23927         libm_hidden_weak.
23928         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23929         libm_hidden_def.
23930         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23931         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23932         (__feupdateenv): Likewise.
23933         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23934         __feupdateenv and define as weak alias of __feupdateenv.  Use
23935         libm_hidden_weak.
23936         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23937         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23938         libm_hidden_def.
23939         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23940         function.
23941         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23942         libm_hidden_def.
23943         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23944         __feupdateenv instead of feupdateenv.
23945         (default_libc_feupdateenv_test): Likewise.
23946         (libc_feresetround_ctx): Likewise.
23948 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23950         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23951         prototype.
23953 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23955         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23956         COLL_SYM in a couple of places to avoid uninitialized variable
23957         wanings on tilegx gcc 4.8.2.
23959 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23961         * sysdeps/aarch64/strcpy.S: New file.
23962         * sysdeps/aarch64/stpcpy.S: New file.
23963         * NEWS: Updated.
23965 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23967         * sysdeps/aarch64/strrchr.S: New file.
23968         * NEWS: Updated.
23970 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23972         [BZ #17658]
23973         * stdlib/setenv.c: Fix memory leak when setting large,
23974         duplicate string.
23976 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23978         [BZ #17273]
23979         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23980         and tabs from buffer before parsing fstab entry.
23981         * misc/tst-mntent.c (main): Add test for mount entry with
23982         trailing spaces and tabs.
23984 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23986         [BZ #17748]
23987         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23988         * math/fesetround.c (fesetround): Rename to __fesetround and
23989         define as weak alias of __fesetround.  Use libm_hidden_weak.
23990         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23991         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23992         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23993         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23994         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23995         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23996         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23997         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23998         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23999         __fesetround_inline.
24000         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24001         __fesetround_inline instead of __fesetround.
24002         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24003         __fesetround and define as weak alias of __fesetround.  Use
24004         libm_hidden_weak.  Call __fesetround_inline instead of
24005         __fesetround.
24006         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24007         __fesetround and define as weak alias of __fesetround.  Use
24008         libm_hidden_weak.
24009         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24010         Likewise.
24011         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24012         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24013         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24014         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24015         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24016         __fesetround and define as weak alias of __fesetround.  Use
24017         libm_hidden_weak.
24018         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24019         __fesetround instead of fesetround.
24020         (default_libc_feholdexcept_setround): Likewise.
24021         (libc_feholdsetround_ctx): Likewise.
24022         (libc_feholdsetround_noex_ctx): Likewise.
24024         [BZ #17748]
24025         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24026         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24027         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24028         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24029         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24030         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24031         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24032         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24033         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24034         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24035         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24036         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24037         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24038         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24039         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24040         libm_hidden_def.
24041         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24042         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24043         Likewise.
24044         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24045         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24046         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24047         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24048         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24049         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24050         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24051         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24052         __fesetenv instead of fesetenv.
24053         (libc_feresetround_noex_ctx): Likewise.
24054         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24055         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24056         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24057         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24058         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24059         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24060         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24061         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24062         (__feupdateenv): Likewise.
24063         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24064         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24065         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24066         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24068 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24070         [BZ #17806]
24071         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24072         addresses have been freed.
24074 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24076         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24077         and nservall.
24079 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24081         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24082         Clean up check_pf allocation pattern. addresses
24084 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24086         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24087         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24088         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24089         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24090         * nptl/pthread_join.c (pthread_join): Likewise.
24091         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24092         * sysdeps/posix/waitid.c (__waitid): Likewise.
24093         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24094         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24095         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24096         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24097         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24098         Likewise.
24099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24100         (__libc_pread64): Likewise.
24101         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24102         (__libc_pwrite): Likewise.
24103         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24104         (__libc_pwrite64): Likewsie.
24105         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24106         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24107         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24108         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24109         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24110         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24111         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24113         Likewise.
24114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24115         (__libc_pread64): Likewise.
24116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24117         Likewise.
24118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24119         (__libc_pwrite64): Likewise.
24120         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24121         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24122         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24123         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24124         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24125         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24126         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24127         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24128         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24129         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24130         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24131         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24132         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24133         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24134         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24135         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24136         Likewise.
24138 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24140         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24141         (CFLAGS-test-double.c): Likewise.
24142         (CFLAGS-test-ldouble.c): Likewise.
24143         (CPPFLAGS-test-ifloat.c): Likewise.
24144         (CPPFLAGS-test-idouble.c): Likewise.
24145         (CPPFLAGS-test-ildoubl.c): Likewise.
24146         (CFLAGS-test-test-fenv.c): Remove variable.
24147         (CFLAGS-test-misc.c): Likewise.
24149 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24151         [BZ #17797]
24152         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24153         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24154         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24155         CLOCKS_PER_SEC == 1000000.
24156         * time/clocktest.c (main): Replace %ld with %jd and cast to
24157         intmax_t.
24159 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24161         * sysdeps/generic/unwind-resume.h: New file.
24162         * sysdeps/gnu/unwind-resume.c: Include it.
24163         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24164         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24165         argument list.
24166         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24167         global rather than static.
24168         (_Unwind_Resume): Update user.
24169         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24170         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24171         rather than static.  Add __attribute__ ((cold)).
24172         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24173         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24174         * sysdeps/arm/arm-unwind-resume.S: New file.
24175         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24176         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24177         * sysdeps/arm/Makefile [$(subdir) = csu]
24178         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24179         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24180         Add rt-arm-unwind-resume.
24181         [$(subdir) = nptl]
24182         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24183         Add pt-arm-unwind-resume.
24184         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24185         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24187 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24189         [BZ #17748]
24190         * include/fenv.h (__feholdexcept): Declare.  Use
24191         libm_hidden_proto.
24192         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24193         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24194         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24195         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24196         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24197         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24198         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24199         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24200         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24201         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24202         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24203         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24204         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24205         (feholdexcept): Likewise.
24206         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24207         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24208         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24209         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24210         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24211         __feholdexcept instead of feholdexcept.
24212         (default_libc_feholdexcept_setround): Likewise.
24214 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24216         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24217         to avoid using stl/str to align destination.
24219 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24221         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24223 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24225         [BZ #17796]
24226         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24227         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24228         Define as weak alias not strong alias.
24230 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24232         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24233         bltzal with addiupc.
24234         (RTLD_START): Ditto.
24236 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24238         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24239         for __vdso_* functions in declarations.
24240         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24241         definitions.
24242         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24243         INTERNAL_VSYSCALL): Use struct return types to check for error.
24245         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24246         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24247         function with cast from llround().
24248         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24249         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24250         Define.
24252 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24254         [BZ #17793]
24255         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24256         Define as weak alias not strong alias.
24258         [BZ #17635]
24259         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24260         ...
24261         * ctype/ctype-extn.c: ... here.
24262         (__isblank_l): Move to ...
24263         * ctype/ctype-c99_l.c: ... here.  New file.
24264         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24265         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24266         Remove variable.
24267         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24268         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24269         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24270         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24271         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24273         [BZ #17777]
24274         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24275         (posix_fadvise64): Define as weak alias not strong alias.
24276         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24277         (posix_fallocate64): Likewise.
24278         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24279         Remove variable.
24280         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24281         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24282         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24283         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24284         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24286 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24288         [BZ #16191]
24289         * NEWS: Mention bug fix.
24290         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24291         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24292         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24293         (HOST_STACK_END_ADDR): Likewise.
24295 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24297         [BZ #17748]
24298         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24299         * math/fegetround.c (fegetround): Rename to __fegetround and
24300         define as weak alias of __fegetround.  Use libm_hidden_weak.
24301         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24302         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24303         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24304         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24305         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24306         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24307         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24308         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24309         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24310         Undefine after rather than before function definition; use
24311         parentheses around function name in definition.
24312         (__fegetround): Also undefine macro after function definition.
24313         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24314         __fegetround and define as weak alias of __fegetround.  Use
24315         libm_hidden_weak.  Do not undefine as macro.
24316         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24317         Likewise.
24318         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24319         __fegetround and define as weak alias of __fegetround.  Use
24320         libm_hidden_weak.
24321         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24322         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24323         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24324         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24325         __fegetround and define as weak alias of __fegetround.  Use
24326         libm_hidden_weak.
24327         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24328         __fegetround instead of fegetround.
24330         [BZ #17782]
24331         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24332         Condition macro definition on [__USE_MISC].
24334         [BZ #17781]
24335         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24336         (struct sigaction): Change type of sa_flags field to int.
24338         [BZ #17780]
24339         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24340         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24341         __glibc_reserved0.
24343         * nptl/version.c (banner): Use single year in copyright notice.
24345         * NEWS: Update copyright dates.
24346         * catgets/gencat.c (print_version): Likewise.
24347         * csu/version.c (banner): Likewise.
24348         * debug/catchsegv.sh: Likewise.
24349         * debug/pcprofiledump.c (print_version): Likewise.
24350         * debug/xtrace.sh (do_version): Likewise.
24351         * elf/ldconfig.c (print_version): Likewise.
24352         * elf/ldd.bash.in: Likewise.
24353         * elf/pldd.c (print_version): Likewise.
24354         * elf/sotruss.sh: Likewise.
24355         * elf/sprof.c (print_version): Likewise.
24356         * iconv/iconv_prog.c (print_version): Likewise.
24357         * iconv/iconvconfig.c (print_version): Likewise.
24358         * locale/programs/locale.c (print_version): Likewise.
24359         * locale/programs/localedef.c (print_version): Likewise.
24360         * login/programs/pt_chown.c (print_version): Likewise.
24361         * malloc/memusage.sh (do_version): Likewise.
24362         * malloc/memusagestat.c (print_version): Likewise.
24363         * malloc/mtrace.pl: Likewise.
24364         * manual/libc.texinfo: Likewise.
24365         * nptl/version.c (banner): Likewise.
24366         * nscd/nscd.c (print_version): Likewise.
24367         * nss/getent.c (print_version): Likewise.
24368         * nss/makedb.c (print_version): Likewise.
24369         * posix/getconf.c (main): Likewise.
24370         * scripts/test-installation.pl: Likewise.
24371         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24373 2015-01-02  Will Newton  <will.newton@linaro.org>
24375         * sysdeps/arm/armv7/configure: Removed.
24376         * sysdeps/arm/armv7/configure.ac: Likewise.
24378 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24380         * All files with FSF copyright notices: Update copyright dates
24381         using scripts/update-copyrights.
24382         * intl/plural.c: Regenerated.
24383         * locale/programs/charmap-kw.h: Likewise.
24384         * locale/programs/locfile-kw.h: Likewise.
24386 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24388         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24390 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24392         [BZ #17748]
24393         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24394         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24395         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24396         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24397         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24398         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24399         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24400         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24401         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24402         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24403         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24404         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24405         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24406         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24407         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24408         libm_hidden_def.
24409         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24410         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24411         Likewise.
24412         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24413         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24414         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24415         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24416         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24417         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24418         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24419         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24420         __fegetenv instead of fegetenv.
24421         (libc_feholdsetround_noex_ctx): Likewise.
24423 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24425         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24426         (Elf_MIPS_ABIFlags_v0): New structure.
24427         (EF_MIPS_FP64): Define.
24428         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24429         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24430         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24431         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24432         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24433         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24434         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24435         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24436         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24437         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24438         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24439         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24440         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24441         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24442         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24443         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24444         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24445         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24446         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24447         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24448         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24449         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24450         field.
24451         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24452         EF_MIPS_FP64.
24453         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24454         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24455         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24456         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24457         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24458         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24459         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24460         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24461         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24462         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24463         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24464         record the current FP ABI extension.
24465         (mips-mode-switch): Define to show if kernel headers support mode
24466         switching.
24467         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24468         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24469         supported SYSV ABI version to 3.
24470         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24471         feature.
24473 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24474             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24476         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24477         path.
24478         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24480 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24482         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24483         __fegetround and redefine to call __fegetround.  Remove condition
24484         on [!__NO_MATH_INLINES].
24485         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24486         function.
24487         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24488         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24489         Remove macro.
24490         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24491         instead of <fenv_libc.h>.
24492         (__llrintl): Call fegetround instead of __fegetround.
24493         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24494         instead of <fenv_libc.h>.
24495         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24496         (__lrintl): Call fegetround instead of __fegetround.
24497         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24498         instead of <fenv_libc.h>.
24499         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24500         (__rintl): Call fegetround instead of __fegetround.
24502 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24504         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24505         arrays.
24507 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24509         [BZ #17775]
24510         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24511         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24512         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24514 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24516         * sysdeps/i386/tls-macros.h: Include <features.h>.
24517         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24518         (TLS_IE): Likewise.
24519         (TLS_LD): Likewise.
24520         (TLS_GD): Likewise.
24521         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24522         define for GCC >= 5.0.
24524 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24526         * math/test-fenv.c (test_single_exception, set_single_exc,
24527         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24528         feexcp_mask_test, feenable_test, fe_single_test): Add
24529         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24530         case where they are not used.
24531         * math/libm-test.inc: Likewise.
24532         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24533         unused in the absence of FP rounding/exception support.
24534         * stdio-common/tst-printf-round.c: Likewise.
24535         * stdlib/tst-strtod-round.c: Likewise.
24536         * stdlib/tst-strtod-underflow.c: Likewise.
24538 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24540         [BZ #17723]
24541         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24542         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24543         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24544         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24545         libm_hidden_weak.
24546         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24547         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24548         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24549         libm_hidden_def.
24550         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24551         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24552         libm_hidden_weak.
24553         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24554         Likewise.
24555         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24556         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24557         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24558         libm_hidden_weak.
24559         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24560         libm_hidden_def.
24561         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24562         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24563         (__feraiseexcept): Likewise.
24564         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24565         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24566         libm_hidden_weak.
24567         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24568         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24569         libm_hidden_def.
24570         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24571         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24572         Use libm_hidden_def.
24573         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24574         libm_hidden_def.
24575         (feraiseexcept): Define as weak not strong alias.  Use
24576         libm_hidden_weak.
24577         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24578         New inline function.  Factored out of ...
24579         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24580         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24581         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24582         feraiseexcept.
24583         * math/w_acos.c (__acos): Likewise.
24584         * math/w_asin.c (__asin): Likewise.
24585         * math/w_ilogb.c (__ilogb): Likewise.
24586         * math/w_j0.c (y0): Likewise.
24587         * math/w_j1.c (y1): Likewise.
24588         * math/w_jn.c (yn): Likewise.
24589         * math/w_log.c (__log): Likewise.
24590         * math/w_log10.c (__log10): Likewise.
24591         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24592         * sysdeps/aarch64/fpu/math_private.h
24593         (libc_feupdateenv_test_aarch64): Likewise.
24594         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24595         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24596         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24597         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24598         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24599         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24600         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24601         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24602         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24603         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24605 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24607         [BZ #17732]
24608         * io/test-utime.c (main): Replace %ld with %jd and cast to
24609         intmax_t.
24610         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24611         * nptl/tst-mutex5.c: Include <stdint.h>.
24612         (do_test): Replace %ld with %jd and cast to intmax_t.
24613         * posix/tst-regex.c (run_test): Likewise.
24614         (run_test_backwards): Likewise.
24615         * rt/tst-clock.c: Include <stdint.h>.
24616         (clock_test): Replace %ld with %jd and cast to intmax_t.
24617         * rt/tst-cpuclock1.c: Include <stdint.h>.
24618         (do_test): Replace %lu with %ju and cast to uintmax_t.
24619         * rt/tst-cpuclock2.c: Include <stdint.h>.
24620         (do_test): Replace %lu with %ju and cast to uintmax_t.
24621         * rt/tst-mqueue1.c: Include <stdint.h>.
24622         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24623         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24624         intmax_t.
24625         * rt/tst-mqueue4.c (do_test): Likewise.
24626         * rt/tst-timer4.c: Include <stdint.h>.
24627         (check_ts): Replace %ld with %jd and cast to intmax_t.
24628         (do_test): Likewise.
24629         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24630         and cast to intmax_t.
24631         * sysdeps/pthread/tst-timer.c (main): Likewise.
24632         * time/clocktest.c (main): Likewise.
24633         * time/tst-posixtz.c (do_test): Likewise.
24634         * timezone/tst-timezone.c (main): Likewise.
24636 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24637             H.J. Lu  <hongjiu.lu@intel.com>
24639         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24640         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24641         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24642         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24643         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24644         version if bit_Fast_Unaligned_Load is set.
24645         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24646         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24647         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24648         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24649         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24650         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24652         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24653         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24654         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24655         to 4.
24656         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24657         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24658         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24659         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24661 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24663         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24664         instead of #if to avoid a Wundef warning.
24665         * stdlib/tst-limits.c (do_test): Likewise.
24667         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24668         parallel other exception macros.
24669         (fegetenv): Convert from macro to extern inline so that it applies
24670         retroactively to inline functions already seen by the compiler.
24671         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24673         * posix/Makefile (before-compile): Use $(objpfx) for
24674         posix-conf-vars-def.h.
24676 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24678         * posix/getconf.c (main): Use size_t for type of I.
24679         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24680         NSPEC.
24682         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24683         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24684         * posix/posix-envs.def: Likewise.
24685         * sysdeps/posix/sysconf.c: Likewise.
24686         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24687         (specs): Remove array.
24688         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24689         array.
24691         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24692         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24693         (__sysconf): Use CONF_IS_* macros.
24695         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24696         ($(objpfx)posix-conf-vars-def.h): New target.
24697         * posix/posix-conf-vars.list: New file.
24698         * posix/posix-conf-vars.h: New file.
24699         * posix/confstr.c: Include posix-conf-vars.h.
24700         (confstr): Use CONF_IS_* macros.
24701         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24702         CONF_IS_* macros.
24703         * scripts/gen-posix-conf-vars.awk: New file.
24705 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24707         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24708         fegetround): Add no-op macros to avoid linknamespace issues.
24710         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24711         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24713         * sysdeps/unix/sysv/linux/tile/sysdep.h
24714         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24715         assembly-specific section to avoid a redefinition warning.
24717         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24718         long before casting to pointer to avoid a cast warning.
24720 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24722         * sysdeps/tile/tilegx/Implies: New file.
24724 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24726         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24728 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24730         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24732 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24734         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24735         not define.
24736         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24737         <kernel-features.h>.
24738         (__utimes) [__NR_utimes]: Make code unconditional.
24739         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24740         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24741         (__ASSUME_UTIMES): Do not undefine.
24742         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24743         (__ASSUME_UTIMES): Likewise.
24744         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24745         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24746         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24747         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24749 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24751         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24753 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24755         [BZ #17747]
24756         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24757         alias to weak alias for j0l, y0l.
24758         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24759         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24761         [BZ #17746]
24762         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24763         conversion.
24765 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24767         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24768         to zero if not already defined.
24770 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24772         [BZ #17724]
24773         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24774         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24775         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24776         (char *) casts added.
24777         * sysdeps/ieee754/k_standardf.c: New file.
24778         * sysdeps/ieee754/k_standardl.c: Likewise.
24779         * math/Makefile (libm-support): Remove k_standard.
24780         (libm-calls): Add k_standard.
24782 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24784         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24785         Optimize to avoid an unnecessary FPCR read.
24787 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24789         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24790         Optimize to reduce FPCR/FPSR accesses.
24792 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24794         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24795         Call libc_fetestexcept_aarch64.
24797 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24799         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24800         Call libc_fesetround_aarch64.
24802 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24804         [BZ #17733]
24805         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24806         (__bind): Do not define as weak alias.
24807         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24808         define.
24809         (__getsockname): Do not define as weak alias.
24811 2014-12-22  Will Newton  <will.newton@linaro.org>
24813         * manual/install.texi: Document that we require bison 2.7
24814         or above.
24815         * INSTALL: Regenerate.
24816         * configure.ac: Use AC_CHECK_PROG_VER instead of
24817         AC_PATH_PROG when checking for bison and check for
24818         version 2.7 or above.
24819         * configure: Regenerate.
24821 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24823         [BZ #17745]
24824         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24825         * sysdeps/tile/ffsll.c (ffsll): To here.
24827         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24829 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24831         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24832         if not defined.
24833         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24834         definition.
24835         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24836         hidden ___tls_get_addr.
24837         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24838         hidden __tls_get_addr.
24839         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24840         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24841         Likewise.
24843 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24845         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24846         _dl_init call.
24848 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24850         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24851         from "call _dl_init@PLT".
24852         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24854 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24856         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24857         guarantees.
24859 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24861         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24863 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24865         [BZ #17744]
24866         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24867         strnlen.
24869 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24871         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24872         of multu on MIPSr6.
24873         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24874         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24875         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24876         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24877         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24879 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24881         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24882         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24883         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24884         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24885         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24886         mips32r6/mips64r6.
24887         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24889 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24891         * string/strncat.c (STRNCAT): Simplify implementation.
24893 2014-12-19  David S. Miller  <davem@davemloft.net>
24895         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24896         access the quad as both a long double and as a series of 4 words.
24898         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24899         link_map->l_info array access.
24901 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24903         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24905         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24906         * math/atest-exp2.c (TIMEOUT): Likewise.
24907         * math/atest-sincos.c (TIMEOUT): Likewise.
24909 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24911         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24912         -Wno-error with -fno-builtin-lround.
24914 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24916         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24917         Contains futex constants and functions moved over from ...
24918         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24919         <lowlevellock-futex.h>.
24920         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24921         (lll_timedwait_tid): Add comments and parentheses around macro
24922         arguments.
24924 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24926         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24927         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24928         (__lll_private_flag): Remove.
24929         (lll_futex_wait): Likewise.
24930         (lll_futex_timed_wait): Likewise.
24931         (lll_futex_wake): Likewise.
24932         (lll_futex_requeue): Likewise.
24933         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24934         (__lll_timedwait_tid): Spell out argument names.
24935         (lll_timedwait_tid): Add comments and parentheses around macro
24936         arguments.
24937         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24938         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24940 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24942         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24943         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24944         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24945         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24946         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24947         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24948         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24949         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24950         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24951         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24952         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24954         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24955         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24956         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24957         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24958         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24959         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24960         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24962 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24964         * sysdeps/x86_64/x32/Makefile: New file.
24966 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24968         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24969         1L with (mp_limb_t) 1.
24971 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24973         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24974         * nptl/libc_pthread_init.c: ... here.
24975         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24976         * nptl/register-atfork.c: ... here.
24978         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24979         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24980         Use assert_perror to check its return value.
24981         (__gai_create_helper_thread): Likewise.
24983         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24985         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24987 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24989         [BZ #17725]
24990         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24991         __profil_counter.
24992         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24993         Likewise.
24994         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24995         Likewise.
24996         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24997         Likewise.
24998         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24999         (profil_counter): Likewise.
25000         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25001         (profil_counter): Likewise.
25002         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25003         Likewise.
25004         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25005         Likewise.
25006         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25007         (profil_counter): Likewise.
25008         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25009         Likewise.
25010         [!__profil_counter] (profil_counter): Define as weak alias of
25011         __profil_counter.
25012         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25013         (profil_counter): Rename to __profil_counter.
25014         [!__profil_counter] (profil_counter): Define as weak alias of
25015         __profil_counter.
25016         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25017         (profil_counter): Rename to __profil_counter.
25018         [!__profil_counter] (profil_counter): Define as weak alias of
25019         __profil_counter.
25020         * sysdeps/posix/profil.c: Update comment referring to
25021         profil_counter.
25022         (__profil): Use __profil_counter instead of profil_counter.
25023         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25024         __profil_counter.  Use __profil_counter_ushort and
25025         __profil_counter_uint in definitions.
25026         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25027         instead of profil_counter_uint and profil_counter_ushort.
25029         [BZ #17722]
25030         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25031         define as weak alias of __inet_makeaddr.
25032         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25033         as weak alias of __inet_addr.
25034         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25035         as weak alias of __inet_pton.  Use libc_hidden_weak.
25036         * include/arpa/inet.h (__inet_pton): Declare.  Use
25037         libc_hidden_proto.
25038         (inet_makeaddr): Don't use libc_hidden_proto.
25039         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25040         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25041         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25042         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25043         Remove variable.
25044         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25045         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25047 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25049         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25051 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25053         * stdio-common/bug-vfprintf-nargs.c (do_test):
25054         Cast value to intptr_t to avoid format warning
25055         for usage with PRIdPTR printing macro.
25057 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25059         * libio/tst-widetext.c (do_test):
25060         Use format type %td instead of %Zd for ptrdiff_t
25061         in order to avoid format warning.
25063 2014-12-17  Andreas Schwab  <schwab@suse.de>
25065         * nscd/mem.c (gc): Add size_t cast to match printf format.
25067 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25069         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25070         (init): Apply PTR_MANGLE to pointers before storing them.
25071         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25072         before using them.
25074 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25076         [BZ #17719]
25077         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25078         define as weak alias of __memrchr.
25079         (__memrchr): Do not define as strong alias of memrchr.
25080         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25081         Remove variable.
25082         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25083         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25084         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25086         [BZ #17717]
25087         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25088         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25089         (if_indextoname): Rename to __if_indextoname and define as weak
25090         alias of __if_indextoname.  Use libc_hidden_weak.
25091         (if_freenameindex): Rename to __if_freenameindex and define as
25092         weak alias of __if_freenameindex.
25093         (if_nameindex): Rename to __if_nameindex and define as weak alias
25094         of __if_nameindex.
25095         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25096         __if_nametoindex and define as weak alias of __if_nametoindex.
25097         Use libc_hidden_weak.
25098         (if_freenameindex): Rename to __if_freenameindex and define as
25099         weak alias of __if_freenameindex.
25100         (if_nameindex): Rename to __if_nameindex and define as weak alias
25101         of __if_nameindex.
25102         (if_indextoname): Rename to __if_indextoname and define as weak
25103         alias of __if_indextoname.  Use libc_hidden_weak.
25104         * sysdeps/unix/sysv/linux/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.  Use libc_hidden_weak.
25109         (if_nameindex_netlink): Use __if_freenameindex instead of
25110         if_freenameindex.
25111         (if_nameindex): Rename to __if_nameindex and define as weak alias
25112         of __if_nameindex.  Use libc_hidden_weak.
25113         (if_indextoname): Rename to __if_indextoname and define as weak
25114         alias of __if_indextoname.  Use libc_hidden_weak.
25115         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25116         libc_hidden_proto.
25117         [!_ISOMAC] (__if_freenameindex): Likewise.
25118         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25119         if_nametoindex.
25120         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25121         variable.
25122         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25123         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25124         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25125         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25126         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25127         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25128         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25130         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25131         Remove variable.
25132         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25133         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25135 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25137         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25138         subscript above bounds'
25140         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25141         bounds.
25143 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25145         * libio/tst-fopenloc.c: Use test-skeleton.c.
25147         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25148         (entry): Rename to ITEM.
25149         (do_test, comp): Adjust.
25151         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25153 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25155         * string/tester.c: Include <libc-internal.h>.
25156         (test_memset): Ignore -Wmemset-transposed-args.
25158 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25160         * misc/tst-mntent2.c (do_test): Fix warning.
25162 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25164         * elf/tst-unique4lib.cc(a): Mark as used.
25166 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25168         [BZ #17630]
25169         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25170         names.
25172 2014-12-16  Allan McRae  <allan@archlinux.org>
25174         * stdio-common/Makefile (tests): Re-add bug26.
25176 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25178         [BZ #17657]
25179         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25180         static array.
25182 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25184         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25185         (__lll_lock_wait): Likewise.
25186         (__lll_timedlock_wait): Likewise.
25187         (__lll_timedwait_tid): Likewise.
25188         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25189         (__lll_robust_timedlock_wait): Likewise.
25190         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25191         (lll_cond_trylock): Likewise.
25192         (__lll_lock): Likewise.
25193         (__lll_robust_lock): Likewise.
25194         (__lll_cond_lock): Likewise.
25195         (lll_robust_cond_lock): Likewise.
25196         (__lll_timedlock): Likewise.
25197         (__lll_robust_timedlock): Likewise.
25198         (__lll_unlock): Likewise.
25199         (__lll_robust_unlock): Likewise.
25200         (lll_wait_tid): Likewise.
25201         (lll_timedwait_tid): Likewise.
25203 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25205         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25207 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25209         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25211 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25213         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25214         * stdio-common/tst-sprintf.c: Likewise.
25216 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25218         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25220 2014-12-15  Jeff Law  <law@redhat.com>
25222         [BZ #16617]
25223         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25224         on the heap.  (CVE-2012-3406)
25225         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25226         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25227         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25229 2014-12-15  Will Newton  <will.newton@linaro.org>
25231         * manual/install.texi: Bump required version of texinfo
25232         to 4.7 from 4.5.
25233         * INSTALL: Regenerated.
25234         * configure.ac: Check for makeinfo version 4.7 and above.
25235         * configure: Regenerated.
25237 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25239         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25240         PREFIX, string constant to insert between directory and name.
25241         * sysdeps/posix/shm_open.c: Update caller.
25242         * sysdeps/posix/shm_unlink.c: Likewise.
25243         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25244         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25245         (SEM_SHM_PREFIX): New macro.
25246         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25247         [$(have-thread-library) = no].
25248         * nptl/Makefile (libpthread-routines): Add shm-directory.
25249         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25250         * sysdeps/nptl/shm-directory.h: New file.
25251         * sysdeps/posix/shm-directory.c
25252         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25253         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25254         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25255         INTERNAL_SYSCALL.
25256         (__where_is_shmfs): Function removed.
25257         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25258         Variables removed.
25259         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25260         Use SHM_GET_NAME.
25261         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25263         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25264         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25265         unconditional for use inside libpthread.
25266         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25268 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25270         * nptl/pthread_getaffinity.c: New file.
25271         * nptl/pthread_setaffinity.c: New file.
25272         * nptl/pthread_getname.c: New file.
25273         * nptl/pthread_setname.c: New file.
25275         * nptl/pthread_create.c (START_THREAD_DEFN)
25276         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25278 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25279             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25281         * resolv/res_send.c (send_vc): Disable warning resplen may
25282         be used uninitialized.
25284 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25286         * nptl/tst-mutex6.c
25287         (ATTR_NULL): New define checks ATTR against NULL.
25288         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25289         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25291 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25293         [BZ #17581]
25294         * malloc/hooks.c
25295         (mem2mem_check): Revert my previous change.
25296         (malloc_check_get_size): Revert my previous change.
25297         (mem2chunk_check): Revert my previous change.
25299 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25301         * sysdeps/posix/shm-directory.c: New file.
25302         * sysdeps/posix/shm-directory.h: New file.
25303         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25304         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25305         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25306         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25307         Transmute EPERM to EACCES.
25308         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25309         from ...
25310         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25311         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25313 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25315         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25316         pointer and cast to uintptr_t.
25317         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25319         Add cast to avoid warning.
25320         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25322 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25324         * nptl/semaphore.h: Move to ...
25325         * sysdeps/pthread/semaphore.h: ... here.
25326         * Makefile (installed-headers): Change nptl/semaphore.h to
25327         sysdeps/pthread/semaphore.h.
25329 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25331         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25332         generated error format strings.
25334         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25335         -Wformat-extra-args warnings for scanf formats.
25336         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25337         test of zero-length format (duh).
25338         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25339         corner-case scanf format test.
25340         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25341         generated fprintf format string.
25342         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25343         corner-case sprintf format tests.
25344         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25345         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25346         -Wformat-extra-args warnings throughout.
25347         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25348         (CFLAGS-scanf4.c): Likewise.
25349         (CFLAGS-scanf7.c): Likewise.
25350         (CFLAGS-tst-sprintf.c): Likewise.
25351         (CFLAGS-tst-printf.c): Likewise.
25352         (CFLAGS-tst-printfsz.c): Likewise.
25354 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25356         * include/cpio.h: New file.
25357         * include/fmtmsg.h: Likewise.
25359         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25360         corresponding format argument to size_t.
25361         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25362         arguments.
25363         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25364         corresponding format argument to size_t.
25365         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25366         arguments.
25367         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25368         corresponding format argument to size_t.
25369         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25370         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25371         (CFLAGS-tst-mbswcs2.c): Likewise.
25372         (CFLAGS-tst-mbswcs3.c): Likewise.
25373         (CFLAGS-tst-mbswcs4.c): Likewise.
25374         (CFLAGS-tst-mbswcs5.c): Likewise.
25375         (CFLAGS-tst-trans.c): Likewise.
25377 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25379         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25380         rather than assuming they won't contain any '%'s.
25382 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25384         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25385         inhibit_loop_to_libcall to avoid recursive calls.
25386         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25387         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25389 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25391         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25392         prototype.
25394 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25396         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25397         integer value instead of boolean.
25399 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25401         * malloc/malloc.c: Fix powerof2 check.
25403 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25405         * locale/programs/locfile.h (maybe_swap_uint32):
25406         Remove inline and add unused attribute.
25408 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25411         Truncating assembler expression to a .long expression.
25413 2014-12-11  Andreas Schwab  <schwab@suse.de>
25415         * elf/rtld.c (struct map_args): Constify str member.
25416         (do_preload): Constify fname argument.
25418 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25420         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25421         constants definition.
25423 2014-12-11  Andreas Schwab  <schwab@suse.de>
25425         [BZ #16657]
25426         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25427         FORCE_ELISION instead of DO_ELISION.
25428         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25429         Remove.
25430         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25431         Likewise.
25433         * iconvdata/gconv-modules: Remove duplicate entry.
25435 2014-12-11  Will Newton  <will.newton@linaro.org>
25437         Merge gettext 0.19.3 into intl/.
25439         This involves a number of cosmetic changes to comments
25440         and ANSI function definitions and prototypes throughout
25441         all the files. The gettext copyright header is used but
25442         with the date ranges taken from the glibc copy.
25444         * NEWS: Add gettext merge to 2.21.
25445         * intl/bindtextdom.c: Switch to gettext copyright.
25446         Use ANSI definitions and prototypes.
25447         Use gl_* locking primitives rather than __libc_* ones.
25448         Use __builtin_expect rather than __glibc_likely/unlikely.
25449         * intl/dcgettext.c: Switch to gettext copyright.
25450         Use ANSI definitions and prototypes.
25451         * intl/dcigettext.c: Switch to gettext copyright.
25452         Use ANSI definitions and prototypes.
25453         (INTDIV0_RAISES_SIGFPE): New define.
25454         Use gl_* locking primitives rather than __libc_* ones.
25455         Include eval-plural.h instead of plural-eval.c.
25456         Use __builtin_expect rather than __glibc_likely/unlikely.
25457         * intl/dcngettext.c: Switch to gettext copyright.
25458         Use ANSI definitions and prototypes.
25459         * intl/dgettext.c: Likewise.
25460         * intl/dngettext.c: Likewise.
25461         * intl/plural-eval.c: Renamed to...
25462         * intl/eval-plural.h: ...this.
25463         * intl/explodename.c: Switch to gettext copyright.
25464         Use ANSI definitions and prototypes.
25465         (_nl_explode_name): Use strchr instead of __rawmemchr.
25466         * intl/finddomain.c: Switch to gettext copyright.
25467         Use ANSI definitions and prototypes.
25468         Use gl_* locking primitives rather than __libc_* ones.
25469         (_nl_find_domain): Use malloc rather than alloca for
25470         allocation of temporary locale name.
25471         * intl/gettext.c: Switch to gettext copyright.
25472         Use ANSI definitions and prototypes.
25473         * intl/gettextP.h: Switch to gettext copyright.
25474         Use ANSI definitions and prototypes.
25475         Use gl_* locking primitives rather than __libc_* ones.
25476         * intl/gmo.h: Switch to gettext copyright.
25477         (struct sysdep_string): Move struct segment_pair outside of
25478         struct definition.
25479         * intl/hash-string.c: Use ANSI definitions and prototypes.
25480         * intl/hash-string.h: Switch to gettext copyright.
25481         Use ANSI definitions and prototypes.
25482         * intl/l10nflist.c: Switch to gettext copyright.
25483         Use ANSI definitions and prototypes.
25484         (_nl_normalize_codeset): Avoid integer overflow.
25485         * intl/loadinfo.h: Switch to gettext copyright.
25486         Use ANSI definitions and prototypes.
25487         (LIBINTL_DLL_EXPORTED): New define.
25488         (PATH_SEPARATOR): New define.
25489         * intl/loadmsgcat.c: Switch to gettext copyright.
25490         * intl/localealias.c: Switch to gettext copyright.
25491         Use ANSI definitions and prototypes.
25492         (_nl_expand_alias): Use PATH_SEPARATOR.
25493         * intl/ngettext.c: Switch to gettext copyright.
25494         Use ANSI definitions and prototypes.
25495         * intl/plural-exp.c: Likewise.
25496         * intl/plural-exp.h: Switch to gettext copyright.
25497         Use ANSI definitions and prototypes.
25498         (struct expression): Move definition of enum operator outside
25499         of struct definition.
25500         * intl/plural.c: Regenerate.
25501         * intl/plural.y: Switch to gettext copyright.
25502         Use ANSI definitions and prototypes.
25503         Port to bison 3.0.
25504         * intl/textdomain.c: Switch to gettext copyright.
25505         Use ANSI definitions and prototypes.
25506         Use gl_* locking primitives rather than __libc_* ones.
25508 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25510         * debug/warning-nop.c: Add used atrribute.
25512 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25514         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25516         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25517         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25518         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25520 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25521             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25523         [BZ #17634]
25524         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25525         Undefine after defining function.  Define as weak alias of
25526         __wcschr.  Use libc_hidden_weak.
25527         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25528         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25529         (libc_hidden_def): Also define __GI___wcschr alias.
25530         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25531         __wcschr and define as weak alias of __wcschr.
25532         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25533         __wcschr.
25534         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25535         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25536         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25537         libc_hidden_weak.  Do not use libc_hidden_def.
25538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25539         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25540         __GI___wcschr alias.
25541         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25542         [IS_IN (libc)] (wcschr): Define as macro expanding to
25543         __redirect_wcschr.
25544         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25545         [IS_IN (libc)] (__wcschr_power6): Likewise.
25546         [IS_IN (libc)] (__wcschr_power7): Likewise.
25547         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25548         instead of wcschr.
25549         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25550         __libc_wcschr.
25551         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25552         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25553         __wcschr and define as weak alias of __wcschr.  Use
25554         libc_hidden_builtin_def.
25555         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25556         as weak alias of __wcschr.  Use libc_hidden_weak.
25557         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25558         wcschr.
25559         * time/era.c (_nl_init_era_entries): Likewise.
25560         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25561         variable.
25562         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25563         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25565 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25567         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25568         format for long int variable.
25570 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25572         [BZ #10672]
25573         * manual/search.texi: (Array Sort Function): Remove claim how to make
25574         qsort stable.
25576 2014-12-10  Andreas Schwab  <schwab@suse.de>
25578         [BZ #12847]
25579         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25580         user-controlled locks.
25582 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25584         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25585         register.
25587 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25589         * configure.ac (--disable-werror): New configure option.
25590         (enable_werror): New AC_SUBST.
25591         * configure: Regenerated.
25592         * config.make.in (enable-werror): New variable.
25593         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25594         -Wno-error=undef.
25595         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25596         * manual/install.texi (Configuring and compiling): Document
25597         --disable-werror.
25598         * INSTALL: Regenerated.
25599         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25600         (CFLAGS-tst-chk2.c): Likewise.
25601         (CFLAGS-tst-chk3.c): Likewise.
25602         (CFLAGS-tst-chk4.cc): Likewise.
25603         (CFLAGS-tst-chk5.cc): Likewise.
25604         (CFLAGS-tst-chk6.cc): Likewise.
25605         (CFLAGS-tst-lfschk1.c): Likewise.
25606         (CFLAGS-tst-lfschk2.c): Likewise.
25607         (CFLAGS-tst-lfschk3.c): Likewise.
25608         (CFLAGS-tst-lfschk4.cc): Likewise.
25609         (CFLAGS-tst-lfschk5.cc): Likewise.
25610         (CFLAGS-tst-lfschk6.cc): Likewise.
25612         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25613         (main): Disable -Wdeprecated-declarations around calls to
25614         register_printf_function.
25616         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25617         (do_test): Disable -Wdiv-by-zero around some calls to
25618         fwrite_unlocked and fread_unlocked.
25620         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25621         (DIAG_POP_NEEDS_COMMENT): Likewise.
25622         (_DIAG_STR1): Likewise.
25623         (_DIAG_STR): Likewise.
25624         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25625         * stdio-common/bug21.c: Include <libc-internal.h>.
25626         (do_test): Disable -Wformat around call to sscanf.
25627         * stdio-common/scanf14.c: Include <libc-internal.h>.
25628         (main): Disable -Wformat around some calls to scanf functions.
25630 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25632         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25634 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25636         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25637         stack variable alignment.
25639 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25641         [BZ #17682]
25642         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25643         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25644         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25645         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25646         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25647         __getrlimit instead of getrlimit.
25648         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25649         __gettimeofday instead of gettimeofday.
25650         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25651         Likewise.
25652         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25653         Likewise.
25654         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25655         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25656         Remove variable.
25657         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25658         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25660 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25662         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25663         for wide-character tests.
25665 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25667         * io/openat64.c: #include <libc-internal.h>
25668         (__openat64): Prototypify.  Use ignore_value on MODE.
25669         * io/openat.c: Likewise.
25670         * misc/reboot.c: #include <libc-internal.h>
25671         (reboot): Prototypify.  Use ignore_value on HOWTO.
25672         * misc/ptrace.c: #include <libc-internal.h>
25673         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25675 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25677         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25678         XPG4, UNIX98 and XOPEN2K.
25679         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25680         Remove variable.
25681         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25683 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25685         * libio/fileops.c: Use ISO C style for function definitions.
25686         * libio/iofopen.c: Likewise.
25687         * libio/wfileops.c: Likewise.
25689         [BZ #17653]
25690         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25691         offset on EOF.
25692         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25693         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25694         (fgets_func): Function pointer to fgets and fgetws.
25695         (do_ftell_test): Add test to verify ftell value after read
25696         EOF.
25697         (do_test): Set fgets_func.
25699         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25700         O_TRUNC flag for w and w+ modes.
25701         (do_rewind_test): Likewise.
25702         (do_ftell_test): Likewise.
25703         (do_write_test): Likewise.
25705         [BZ #17647]
25706         * libio/fileops.c (do_ftell): Seek only when there are
25707         unflushed writes.
25708         * libio/wfileops.c (do_ftell_wide): Likewise.
25709         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25710         test case.
25711         (do_one_test): Call it.
25713 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25715         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25716         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25717         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25718         Remove variable.
25719         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25720         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25721         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25723 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25725         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25726         Remove variable.
25727         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25729         [BZ #17668]
25730         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25731         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25732         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25733         __freeifaddrs.  Use libc_hidden_weak.
25734         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25735         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25736         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25737         __freeifaddrs.  Use libc_hidden_weak.
25738         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25739         __getifaddrs and define as weak alias of __getifaddrs.  Use
25740         libc_hidden_weak.
25741         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25742         __freeifaddrs.  Use libc_hidden_weak.
25743         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25744         Remove variable.
25745         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25746         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25748 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25750         [BZ #17601]
25751         * sysdeps/mips/start.S (__start): Use indirect jump to call
25752         __libc_start_main.
25754 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25756         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25758         * nptl/tst-mutex1.c: Include <stdbool.h>.
25759         [!ATTR] (ATTR_NULL): New macro.
25760         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25761         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25762         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25764         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25765         to char *.
25767         [BZ #17665]
25768         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25769         Change conditional to [__USE_MISC].
25771         [BZ #17664]
25772         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25773         fgets_unlocked.
25774         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25775         __fgets_unlocked.
25776         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25777         fgets_unlocked.
25778         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25779         Remove variable.
25780         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25781         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25782         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25783         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25784         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25785         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25786         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25787         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25788         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25790         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25792 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25794         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25795         Remove strpbrk objects.
25796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25797         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25798         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25799         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25800         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25801         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25803         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25804         Remove strcspn objects.
25805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25806         (__libc_ifunc_impl_list): Remove strcspn implementation.
25807         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25808         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25809         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25810         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25812         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25813         Remove strspn objetcs.
25814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25815         (__libc_ifunc_impl_list): Remove strspn implementation.
25816         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25817         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25818         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25819         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25821 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25823         [BZ #17581]
25824         * malloc/hooks.c
25825         (mem2mem_check): Add a terminator to the chain of checking blocks.
25826         (malloc_check_get_size): Use it here.
25827         (mem2chunk_check): Ditto.
25829 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25831         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25832         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25834 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25836         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25838         * nptl/nptl-init.c: Include libc-internal.h.
25839         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25841         * elf/ldconfig.c (search_dir): Expand comment.
25843 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25845         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25846         variable.
25847         (linknamespace-symlist-stdlibs-tests): Likewise.
25848         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25849         instead of $(objpfx)symlist-stdlibs.
25850         (linknamespace-libs-isoc): New variable.
25851         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25852         (linknamespace-libs-ISO): New variable.
25853         (linknamespace-libs-ISO99): Likewise.
25854         (linknamespace-libs-ISO11): Likewise.
25855         (linknamespace-libs-XPG3): Likewise.
25856         (linknamespace-libs-XPG4): Likewise.
25857         (linknamespace-libs-POSIX): Likewise.
25858         (linknamespace-libs-UNIX98): Likewise.
25859         (linknamespace-libs-XOPEN2K): Likewise.
25860         (linknamespace-libs-POSIX2008): Likewise.
25861         (linknamespace-libs-XOPEN2K8): Likewise.
25862         ($(objpfx)symlist-stdlibs): Replace by
25863         $(linknamespace-symlist-stdlibs-tests).  Use
25864         $(linknamespace-libs-$*) as set of libraries.
25865         ($(linknamespace-header-tests)): Update dependencies.  Use
25866         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25867         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25868         * conform/linknamespace.pl: Remove comment about considering
25869         definitions of symbols from irrelevant libraries.
25871 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25873         [BZ #13862]
25874         * elf/dl-tls.c: Include <atomic.h>.
25875         (oom): Remove #ifdef SHARED/#endif.
25876         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25877         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25878         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25879         big enough.
25880         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25881         * nptl/Makefile (tests): Add tst-stack4.
25882         (modules-names): Add tst-stack4mod.
25883         ($(objpfx)tst-stack4): New.
25884         (tst-stack4mod.sos): Likewise.
25885         ($(objpfx)tst-stack4.out): Likewise.
25886         ($(tst-stack4mod.sos)): Likewise.
25887         (clean): Likewise.
25888         * nptl/tst-stack4.c: New file.
25889         * nptl/tst-stack4mod.c: Likewise.
25891 2014-11-27  J. Brown  <jb999@gmx.de>
25893         * sysdeps/x86/bits/string.h: Add recent CPUs.
25895 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25897         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25898         sigblock.
25900         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25901         feof.
25903         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25904         variable.
25906 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25908         * nscd/connections.c: Include libc-internal.h because of macro
25909         usage ignore_value.
25911 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25913         * string/bits/string3.h (__warn_memset_zero_len): Don't
25914         declare for gcc newer than 5.0.
25915         (memset): Don't test for zero-length __LEN for gcc newer than
25916         5.0.
25918 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25920         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25921         size_t for %zu format.
25923         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25924         difference, not %ju.
25926 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25928         * include/libc-internal.h (ignore_value): New macro.
25929         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25930         with ignore_value.
25932         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25933         definition.
25935         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25936         pthread_cleanup_push to void *.
25938         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25939         Undefine.
25941         [BZ #16619]
25942         [BZ #16740]
25943         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25944         instead of 1L << 52.
25946         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25947         * libio/bug-rewind2.c (do_test): Likewise.
25949         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25950         * debug/test-strcpy_chk-ifunc.c: Likewise.
25951         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25952         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25953         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25954         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25955         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25956         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25957         * Rules [$(multi-arch) = no] (tests): Do not filter out
25958         $(tests-ifunc).
25959         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25960         * debug/Makefile (tests-ifunc): Remove variable.
25961         (tests): Do not add $(tests-ifunc).
25962         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25963         (tests): Do not add $(tests-ifunc).
25964         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25965         [TEST_IFUNC]: Remove conditionals.
25966         * string/test-string.h (TEST_IFUNC): Remove macro.
25967         [TEST_IFUNC]: Remove conditionals.
25969         * string/test-strchr.c [!WIDE] (L): New macro.
25970         [WIDE] (L): Likewise.
25971         (check1): Use CHAR instead of char.  Use L on string and character
25972         constants.
25974 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25976         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25977         tests.
25978         * sysdeps/powerpc/bits/atomic.h
25979         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25980         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25981         (atomic_exchange_and_add_acq): Likewise.
25982         (atomic_exchange_and_add_rel): Likewise.
25983         * sysdeps/powerpc/powerpc32/bits/atomic.h
25984         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25985         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25986         * sysdeps/powerpc/powerpc64/bits/atomic.h
25987         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25988         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25990 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25992         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25993         Change synchronization of __sched_fifo_min_prio and
25994         __sched_fifo_max_prio.
25995         * nptl/pthread_mutexattr_getprioceiling.c
25996         (pthread_mutexattr_getprioceiling): Likewise.
25997         * nptl/pthread_mutexattr_setprioceiling.c
25998         (pthread_mutexattr_setprioceiling): Likewise.
25999         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26000         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26001         Likewise.
26003 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26005         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26006         void.
26008 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26010         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26011         third argument const.
26013 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26015         fnmatch: work around GCC compiler warning bug with uninit var
26016         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26017         This works around a bug with x86-64 GCC 4.9.2 and earlier
26018         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26019         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26020         used uninitialized in this function [-Wmaybe-uninitialized]".
26022 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26024         * posix/bug-regex31.c (main): Return RES not 0.
26026 2014-11-25  Anton Blanchard <anton@samba.org>
26028         * sysdeps/powerpc/bits/atomic.h
26029         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26031 2014-11-24  Sterling Augustine  <saugustine@google.com>
26033         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26035 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26037         [BZ #17608]
26038         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26040 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26042         [BZ #17633]
26043         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26044         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26045         variable.
26046         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26047         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26049 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26051         * string/strncpy.c (strncpy): Improve performance by using memset.
26053 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26055         * string/strcpy.c (strcpy):
26056         Improve performance by using strlen and memcpy.
26058 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26060         * string/strcoll_l.c (get_next_seq): __always_inline.
26061         * string/strcoll_l.c (do_compare): __always_inline.
26063 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26065         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26066         defined.
26067         * include/mqueue.h: Likewise.
26068         * include/stdlib.h: Likewise.
26070         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26071         (get_null_defines): Adjust.
26072         * sunrpc/Makefile: Adjust comment.
26073         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26074         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26075         (CFLAGS-interp.c): Likewise.
26076         (CFLAGS-ldconfig.c): Likewise.
26077         (CPPFLAGS-.os): Likewise.
26078         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26079         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26080         * extra-modules.mk (extra-modules.mk): Likewise.
26081         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26082         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26083         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26084         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26085         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26086         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26087         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26088         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26089         * iconvdata/Makefile (CPPFLAGS): Likewise.
26090         (cpp-srcs-left): Add libof for all iconvdata routines.
26091         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26092         * include/assert.h: Likewise.
26093         * include/ctype.h: Likewise.
26094         * include/errno.h: Likewise.
26095         * include/libc-symbols.h: Likewise.
26096         * include/math.h: Likewise.
26097         * include/netdb.h: Likewise.
26098         * include/resolv.h: Likewise.
26099         * include/stdio.h: Likewise.
26100         * include/stdlib.h: Likewise.
26101         * include/string.h: Likewise.
26102         * include/sys/stat.h: Likewise.
26103         * include/wctype.h: Likewise.
26104         * intl/l10nflist.c: Likewise.
26105         * libidn/idn-stub.c: Likewise.
26106         * libio/libioP.h: Likewise.
26107         * nptl/libc_multiple_threads.c: Likewise.
26108         * nptl/pthreadP.h: Likewise.
26109         * posix/regex_internal.h: Likewise.
26110         * resolv/res_hconf.c: Likewise.
26111         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26112         * sysdeps/arm/memmove.S: Likewise.
26113         * sysdeps/arm/sysdep.h: Likewise.
26114         * sysdeps/generic/_itoa.h: Likewise.
26115         * sysdeps/generic/symbol-hacks.h: Likewise.
26116         * sysdeps/gnu/errlist.awk: Likewise.
26117         * sysdeps/gnu/errlist.c: Likewise.
26118         * sysdeps/i386/i586/memcpy.S: Likewise.
26119         * sysdeps/i386/i586/memset.S: Likewise.
26120         * sysdeps/i386/i686/memcpy.S: Likewise.
26121         * sysdeps/i386/i686/memmove.S: Likewise.
26122         * sysdeps/i386/i686/mempcpy.S: Likewise.
26123         * sysdeps/i386/i686/memset.S: Likewise.
26124         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26125         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26126         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26127         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26128         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26129         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26130         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26131         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26132         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26133         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26134         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26135         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26136         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26137         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26138         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26139         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26140         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26141         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26142         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26143         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26144         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26145         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26146         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26147         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26148         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26149         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26150         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26151         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26152         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26153         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26154         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26155         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26157         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26158         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26159         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26160         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26161         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26162         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26163         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26164         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26165         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26166         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26167         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26168         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26169         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26170         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26171         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26172         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26173         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26176         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26177         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26178         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26179         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26180         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26182         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26185         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26186         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26187         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26188         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26189         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26190         * sysdeps/posix/closedir.c: Likewise.
26191         * sysdeps/posix/opendir.c: Likewise.
26192         * sysdeps/posix/readdir.c: Likewise.
26193         * sysdeps/posix/rewinddir.c: Likewise.
26194         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26195         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26196         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26197         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26198         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26199         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26200         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26205         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26206         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26207         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26208         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26209         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26210         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26211         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26212         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26214         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26215         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26216         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26217         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26222         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26223         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26229         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26230         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26231         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26232         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26233         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26234         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26235         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26236         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26237         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26238         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26239         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26240         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26241         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26242         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26243         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26244         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26245         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26246         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26247         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26248         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26250         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26251         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26252         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26253         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26254         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26255         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26256         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26257         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26258         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26259         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26260         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26261         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26262         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26263         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26264         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26265         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26266         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26267         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26268         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26269         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26270         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26271         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26272         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26273         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26274         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26275         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26276         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26277         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26278         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26279         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26280         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26281         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26282         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26284         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26285         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26286         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26287         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26290         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26292         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26293         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26294         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26295         * sysdeps/unix/alpha/sysdep.S: Likewise.
26296         * sysdeps/unix/alpha/sysdep.h: Likewise.
26297         * sysdeps/unix/make-syscalls.sh: Likewise.
26298         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26300         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26301         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26302         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26303         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26304         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26305         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26306         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26307         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26308         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26309         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26311         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26312         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26313         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26314         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26315         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26316         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26317         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26318         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26319         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26320         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26321         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26322         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26323         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26324         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26327         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26328         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26330         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26332         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26334         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26336         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26337         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26338         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26339         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26340         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26341         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26342         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26343         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26345         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26348         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26349         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26350         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26351         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26352         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26353         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26354         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26356         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26357         * sysdeps/x86_64/memcpy.S: Likewise.
26358         * sysdeps/x86_64/memmove.c: Likewise.
26359         * sysdeps/x86_64/memset.S: Likewise.
26360         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26361         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26362         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26363         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26364         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26365         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26366         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26367         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26368         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26369         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26370         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26371         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26372         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26373         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26374         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26375         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26376         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26377         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26378         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26379         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26380         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26381         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26382         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26383         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26384         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26385         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26386         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26387         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26388         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26389         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26390         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26391         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26392         * sysdeps/x86_64/strcmp.S: Likewise.
26394         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26396         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26397         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26398         * elf/rtld-Rules: Likewise.
26399         * elf/setup-vdso.h: Likewise.
26400         * include/assert.h: Likewise.
26401         * include/bits/stdlib-float.h: Likewise.
26402         * include/errno.h: Likewise.
26403         * include/sys/stat.h: Likewise.
26404         * include/unistd.h: Likewise.
26405         * sysdeps/aarch64/setjmp.S: Likewise.
26406         * sysdeps/alpha/setjmp.S: Likewise.
26407         * sysdeps/arm/__longjmp.S: Likewise.
26408         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26409         * sysdeps/arm/setjmp.S: Likewise.
26410         * sysdeps/arm/sysdep.h: Likewise.
26411         * sysdeps/generic/_itoa.h: Likewise.
26412         * sysdeps/generic/dl-sysdep.h: Likewise.
26413         * sysdeps/generic/ldsodefs.h: Likewise.
26414         * sysdeps/i386/dl-tls.h: Likewise.
26415         * sysdeps/i386/setjmp.S: Likewise.
26416         * sysdeps/m68k/setjmp.c: Likewise.
26417         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26418         * sysdeps/mach/hurd/opendir.c: Likewise.
26419         * sysdeps/posix/getcwd.c: Likewise.
26420         * sysdeps/posix/opendir.c: Likewise.
26421         * sysdeps/posix/profil.c: Likewise.
26422         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26423         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26424         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26425         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26426         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26427         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26428         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26429         * sysdeps/s390/dl-tls.h: Likewise.
26430         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26431         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26432         * sysdeps/sh/sh3/setjmp.S: Likewise.
26433         * sysdeps/sh/sh4/setjmp.S: Likewise.
26434         * sysdeps/unix/alpha/sysdep.h: Likewise.
26435         * sysdeps/unix/arm/sysdep.S: Likewise.
26436         * sysdeps/unix/i386/sysdep.S: Likewise.
26437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26438         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26439         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26440         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26441         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26442         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26443         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26444         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26445         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26446         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26447         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26448         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26449         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26452         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26453         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26455         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26456         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26457         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26460         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26461         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26462         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26464         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26465         * sysdeps/x86_64/setjmp.S: Likewise.
26467         * include/math.h: Use IS_IN instead of IS_IN_libm.
26468         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26469         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26470         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26471         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26472         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26473         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26474         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26475         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26476         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26477         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26478         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26479         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26480         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26481         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26482         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26483         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26484         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26485         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26486         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26487         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26488         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26489         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26490         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26491         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26492         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26493         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26494         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26495         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26496         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26497         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26498         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26499         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26500         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26502         Likewise.
26503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26504         Likewise.
26505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26506         Likewise.
26507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26508         Likewise.
26509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26510         Likewise.
26511         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26512         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26513         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26514         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26515         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26516         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26522         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26523         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26524         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26525         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26526         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26527         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26528         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26529         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26530         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26531         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26532         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26533         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26534         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26535         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26537         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26539         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26540         * nptl/pthreadP.h: Likewise.
26541         * nptl_db/structs.def: Likewise.
26542         * sysdeps/arm/sysdep.h: Likewise.
26543         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26544         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26545         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26546         * sysdeps/unix/alpha/sysdep.h: Likewise.
26547         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26549         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26550         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26551         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26552         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26553         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26554         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26555         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26556         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26557         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26558         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26559         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26560         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26564         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26565         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26566         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26567         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26568         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26569         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26570         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26571         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26572         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26574         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26575         * nptl/pthreadP.h: Likewise.
26576         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26577         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26578         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26579         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26580         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26581         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26582         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26583         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26584         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26585         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26586         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26587         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26589         Likewise.
26590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26591         Likewise.
26592         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26594         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26597         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26598         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26599         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26601         * dlfcn/dladdr.c: Use IS_IN.
26602         * dlfcn/dladdr1.c: Likewise.
26603         * dlfcn/dlclose.c: Likewise.
26604         * dlfcn/dlerror.c: Likewise.
26605         * dlfcn/dlinfo.c: Likewise.
26606         * dlfcn/dlmopen.c: Likewise.
26607         * dlfcn/dlopen.c: Likewise.
26608         * dlfcn/dlsym.c: Likewise.
26609         * dlfcn/dlvsym.c: Likewise.
26611         * include/ifaddrs.h: Use IS_IN.
26612         * inet/check_pf.c: Likewise.
26613         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26614         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26616         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26617         IS_IN_ldconfig.
26618         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26619         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26621         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26622         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26623         IS_IN (libc).
26625         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26627         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26628         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26629         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26630         * include/libc-symbols.h (IS_IN_LIB): New macro.
26631         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26632         * include/netdb.h: Likewise.
26633         * include/stap-probe.h: Remove all uses of IN_LIB.
26635         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26636         instead of IN_MODULE.
26637         * include/libc-symbols.h (IN_MODULE): Define using
26638         MODULE_NAME.
26639         (PASTE_NAME, PASTE_NAME1): New macros.
26640         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26641         of IN_LIB.
26642         (STAP_PROBE_ASM): Likewise.
26644 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26646         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26647         __mach_init in dlopened libc.
26649 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26651         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26652         * sysdeps/arm/preconfigure: Regenerate.
26654 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26656         * nptl/pthread_create.c (__pthread_create_2_1): Set
26657         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26658         when copying values from IATTR into PD.
26660 2014-11-21  Will Newton  <will.newton@linaro.org>
26661             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26663         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26664         Refactor inline-asm.  Also add comment.
26666         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26667         ElfW macro instead of hardcoded Elf64 types.
26668         (la_aarch64_gnu_pltenter): Likewise.
26669         * sysdeps/aarch64/dl-machine.h
26670         (elf_machine_runtime_setup): Use ElfW(Addr).
26672         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26673         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26674         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26675         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26676         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26677         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26678         (R_AARCH64_TLS_DTPMOD): This.
26679         (R_AARCH64_TLS_DTPREL64): Rename to ...
26680         (R_AARCH64_TLS_DTPREL): This.
26681         (R_AARCH64_TLS_TPREL64): Rename to ...
26682         (R_AARCH64_TLS_TPREL): This.
26683         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26684         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26685         R_AARCH64_TLS_TPREL64.
26686         (elf_machine_rela): Likewise.
26688 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26690         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26691         by setting it to 0.  64b atomics are not supported currently.
26693 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26695         [BZ #16469]
26696         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26697         search domain names.
26699 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26701         [BZ #16469]
26702         * NEWS: Update.
26703         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26704         trailing dot.
26705         * posix/tst-getaddrinfo5.c: New.
26706         * posix/Makefile (tests): Add it.
26708 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26710         [BZ #14498]
26711         * NEWS: Fixed.
26712         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26713         after parsing line but before break_if_match.
26714         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26715         if there is a protocol mismatch.
26717 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26719         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26720         because the potential race is on the user-supplied stream.
26722 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26724         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26725         string literal if not passed a buffer.
26726         * manual/job.texi (ctermid): Update reasoning, note deviation
26727         from posix, suggest mtasurace when not passed a buffer, for
26728         future non-preliminary safety notes.
26730 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26732         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26733         of not passing it a buffer.
26734         Reported by Peng Haitao.
26736 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26738         * manual/Makefile ($(objpfx)stamp-summary): Require
26739         check-safety.sh to pass.
26740         * manual/check-safety.sh: Wish for verification that every
26741         @deftypefn and @deftypefun is followed by a @safety remark.
26743 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26745         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26747         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26748         PTHREAD_CANCEL_ASYNCHRONOUS.
26749         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26750         send SIGCANCEL.
26752         * nptl/default-sched.h: New file.
26753         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26754         * nptl/pthread_create.c: Include it.
26755         (__pthread_create_2_1): Use collect_default_sched instead of making
26756         Linux syscalls here directly.
26758 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26760         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26761         __pthread_once): Use C11 atomics.
26763 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26765         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26767 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26769         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26770         atomic_thread_fence_acquire, atomic_thread_fence_release,
26771         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26772         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26773         atomic_compare_exchange_weak_relaxed,
26774         atomic_compare_exchange_weak_acquire,
26775         atomic_compare_exchange_weak_release,
26776         atomic_exchange_acquire, atomic_exchange_release,
26777         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26778         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26779         atomic_fetch_and_acquire,
26780         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26782 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26784         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26785         USE_ATOMIC_COMPILER_BUILTINS): Define.
26786         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26787         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26788         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26790         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26792         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26794         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26796         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26798         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26799         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26800         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26801         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26802         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26803         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26804         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26806         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26808         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26809         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26811         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26812         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26813         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26814         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26815         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26816         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26817         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26818         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26819         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26820         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26821         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26822         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26823         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26824         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26825         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26827 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26829         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26830         the sched_priority value here.  It was already checked when the user
26831         called pthread_attr_setschedparam.
26833         * nptl/tst-bad-schedattr.c: New file.
26834         * nptl/Makefile (tests): Add it.
26836 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26837             Florian Weimer  <fweimer@redhat.com>
26838             Joseph Myers  <joseph@codesourcery.com>
26839             Adam Conrad  <adconrad@0c3.net>
26840             Andreas Schwab  <schwab@suse.de>
26841             Brooks  <bmoses@google.com>
26843         [BZ #17625]
26844         * wordexp-test.c (__dso_handle): Add prototype.
26845         (__register_atfork): Likewise.
26846         (__app_register_atfork): New function.
26847         (registered_forks): New global.
26848         (register_fork): New function.
26849         (test_case): Add 3 new tests for WRDE_CMDSUB.
26850         (main): Call __app_register_atfork.
26851         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26852         fork count is non-zero fail the test.
26853         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26854         is set.
26855         (parse_dollars): Remove check for WRDE_NOCMD.
26856         (parse_dquote): Likewise.
26858 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26860         * Makeconfig (built-modules): List non-library modules to be
26861         built.
26862         (module-cppflags): Include libc-modules.h for
26863         everything except shlib-versions.v.i.
26864         (CPPFLAGS): Use it.
26865         (before-compile): Add libc-modules.h.
26866         ($(common-objpfx)libc-modules.h,
26867         $(common-objpfx)libc-modules.stmp): New targets.
26868         (common-generated): Add libc-modules.h and libc-modules.stmp.
26869         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26870         * include/libc-symbols.h: Don't include libc-modules.h.
26871         * include/libc-modules.h: Remove file.
26872         * scripts/gen-libc-modules.awk: New script to generate
26873         libc-modules.h.
26874         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26875         Depend on libc-modules.stmp.
26877         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26879         * Makeconfig (in-module): Get value of libof set for the
26880         translation unit.
26881         (CPPFLAGS): Use $(in-module).
26882         * Makerules: Don't suffix routine names for nonlib.
26883         * include/libc-modules.h: New file.
26884         * include/libc-symbols.h: Include libc-modules.h
26885         (IS_IN): New macro to replace IS_IN_* macros.
26886         * elf/Makefile: Set libof-* for each routine.
26887         * elf/rtld-Rules: Likewise.
26888         * extra-modules.mk: Likewise.
26889         * iconv/Makefile: Likewise.
26890         * iconvdata/Makefile: Likewise.
26891         * locale/Makefile: Likewise.
26892         * malloc/Makefile: Likewise.
26893         * nss/Makefile: Likewise.
26894         * sysdeps/gnu/Makefile: Likewise.
26895         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26896         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26897         * sysdeps/s390/s390-64/Makefile: Likewise.
26898         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26899         CPPFLAGS for nscd instead of nonlib.
26901 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26903         * nptl/createthread.c: New file.
26905         * nptl/createthread.c: Moved ...
26906         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26908         * nptl/createthread.c: Add proper top-line comment.
26909         (do_clone): Folded into ...
26910         (create_thread): ... here.  Take new arguments STOPPED_START and
26911         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26912         increment __nptl_threads, do event-reporting logic, do
26913         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26914         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26915         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26916         just send SIGCANCEL.
26917         * nptl/pthread_create.c: Forward-declare create_thread before
26918         including createthread.c.
26919         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26920         declaration, and new macro START_THREAD_SELF to replace argument.
26921         Remove return statement.
26922         (report_thread_creation): New function.
26923         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26924         synchronization logic, and __nptl_nthreads increment here, around
26925         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26926         PD->parent_cancelhandling here, before create_thread.  When
26927         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26928         __deallocate_stack, and ENOMEM translation here.
26930 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26932         [BZ #17616]
26933         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26934         (mptwo): Rename to __mptwo.
26935         (__inv): Use __mptwo instead of mptwo.
26936         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26937         (mptwo): Rename to __mptwo.
26938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26939         of mpone and __mptwo instead of mptwo.
26940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26941         instead of mpone.
26942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26943         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26944         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26945         of mpone and __mptwo instead of mptwo.
26946         (__mpranred): Use __mpone instead of mpone.
26947         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26948         variable.
26949         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26950         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26951         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26952         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26953         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26954         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26955         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26956         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26957         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26958         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26959         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26960         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26961         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26962         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26963         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26964         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26965         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26966         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26967         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26969 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26971         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26972         replace BSD Handler xref with BSD Signal Handling.
26974 2014-11-17  Richard Henderson  <rth@redhat.com>
26976         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26977         (_FP_PACK_RAW_2): Remove.
26978         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26979         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26980         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26981         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26982         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26983         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26984         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26985         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26986         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26987         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26988         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26989         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26990         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26991         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26992         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26993         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26995 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26997         * signal/signal.h [__USE_MISC]
26998         (struct sigvec): Remove type.
26999         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27000         (sigvec): Remove declaration.
27001         * sysdeps/posix/sigvec.c: Moved ...
27002         * signal/sigvec.c: ... here, replacing old file.
27003         (struct sigvec): New type, copied from old signal.h definition.
27004         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27005         (__sigvec): Convert definition to prototype.
27006         (sigvec): Replace weak_alias with compat_symbol.
27007         * signal/Versions (libc: GLIBC_2.21): New version set.
27008         * include/signal.h: Remove __sigvec declaration.
27009         * sysdeps/unix/bsd/sigvec.c: Remove file.
27010         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27011         * manual/signal.texi (BSD Handler): Remove subsection.
27012         Move siginterrupt up to ...
27013         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27014         (Blocking in BSD): Fold subsection into its parent.
27015         * NEWS: Mention sigvec removal.
27017 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27019         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27020         (DLA_FMS): Make definition conditional only on [__FMA4__].
27021         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27022         definition.
27024         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27025         Make definition conditional only on [PROF].
27026         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27027         definition.
27028         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27029         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27031         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27032         !__GNUC__].
27033         * include/signal.h (__sigpause): Move declaration above call to
27034         libc_hidden_proto.
27035         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27036         variable.
27037         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27038         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27040 2014-11-14  David S. Miller  <davem@davemloft.net>
27042         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27043         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27045 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27047         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27048         * configure: Regenerated.
27049         * manual/install.texi (Tools for Compilation): Document a
27050         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27051         compiler verified to work.
27052         * INSTALL: Regenerated.
27054         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27055         redeclare with asm name.
27056         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27057         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27058         including <string.h>.
27059         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27060         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27061         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27062         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27063         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27064         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27065         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27067 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27069         * stdlib/strtol.c (__strtol): Use prototype definition.
27071         [BZ #17594]
27072         * stdlib/strtol.c (SYM__): New macro.
27073         (SYM__1): Likewise.
27074         (__strtol): Likewise.
27075         (strtol): Rename to __strtol and define as weak alias of
27076         __strtol.  Use libc_hidden_weak.
27078 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27080         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27081         Use numbered labels in inline assembly.
27083 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27085         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27086         Add setjmp LIBC_PROBE.
27087         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27088         Likewise.
27089         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27090         Add longjmp, longjmp_target LIBC_PROBE.
27091         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27092         Likewise.
27094 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27096         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27097         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27098         to get rid of unused variable warning.
27100 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27102         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27103         Check for unwind_backtrace ==  NULL only in SHARED case.
27104         (__backchain_backtrace): Compile only in SHARED case.
27105         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27106         Likewise.
27107         (__backchain_backtrace): Declare as static.
27109 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27111         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27112         (__libc_multiple_threads_ptr): Variable moved ...
27113         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27115 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27117         * conform/GlibcConform.pm: New file.
27118         * conform/conformtest.pl: Use GlibcConform module.
27119         * conform/linknamespace.pl: New file.
27120         * conform/list-header-symbols.pl: Likewise.
27121         * conform/Makefile (linknamespace-symlists-base): New variable.
27122         (linknamespace-symlists-tests): Likewise.
27123         (linknamespace-header-base): Likewise.
27124         (linknamespace-header-tests): Likewise.
27125         (tests-special): Add new tests.
27126         ($(linknamespace-symlists-tests)): New rule.
27127         (linknamespace-libs): New variable.
27128         ($(objpfx)symlist-stdlibs): New rule.
27129         ($(linknamespace-header-tests)): Likewise.
27130         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27131         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27132         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27133         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27134         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27135         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27136         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27137         (test-xfail-ISO/math.h/linknamespace): Likewise.
27138         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27139         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27140         (test-xfail-ISO/time.h/linknamespace): Likewise.
27141         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27142         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27143         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27144         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27145         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27146         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27147         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27148         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27149         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27150         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27151         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27152         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27153         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27154         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27155         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27156         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27157         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27158         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27159         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27160         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27161         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27162         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27163         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27164         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27165         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27166         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27167         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27168         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27169         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27170         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27171         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27172         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27173         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27174         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27175         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27176         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27177         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27178         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27179         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27180         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27181         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27182         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27183         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27184         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27185         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27186         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27187         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27188         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27189         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27190         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27191         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27192         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27193         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27194         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27195         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27196         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27197         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27198         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27199         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27200         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27201         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27202         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27203         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27204         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27205         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27206         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27207         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27208         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27209         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27210         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27211         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27212         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27213         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27214         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27215         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27216         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27217         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27218         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27219         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27220         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27221         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27222         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27223         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27224         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27225         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27226         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27227         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27228         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27229         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27230         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27231         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27232         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27233         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27234         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27235         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27236         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27237         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27238         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27239         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27240         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27241         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27242         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27243         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27244         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27245         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27246         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27247         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27248         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27249         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27250         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27251         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27252         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27253         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27254         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27255         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27256         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27257         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27258         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27259         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27260         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27261         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27262         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27263         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27264         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27265         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27266         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27267         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27268         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27269         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27270         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27271         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27272         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27273         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27274         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27275         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27276         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27277         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27278         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27279         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27280         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27281         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27282         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27283         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27284         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27285         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27286         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27287         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27288         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27289         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27290         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27292         [BZ #17589]
27293         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27294         of fgets_unlocked.
27296         [BZ #17585]
27297         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27298         (memmem): Rename to __memmem and define as weak alias of
27299         __memmem.  Use libc_hidden_weak.
27300         (__memmem): Use libc_hidden_def.
27301         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27302         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27303         memmem.
27305         [BZ #17582]
27306         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27307         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27308         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27309         and define as weak alias of __fgets_unlocked.  Use
27310         libc_hidden_weak.
27311         (__fgets_unlocked): Use libc_hidden_def.
27312         * include/stdio.h (__fgets_unlocked): Declare.  Use
27313         libc_hidden_proto.
27314         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27315         __fgets_unlocked instead of fgets_unlocked.
27316         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27317         (GET_NPROCS_CONF_PARSER): Likewise.
27318         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27319         (GET_NPROCS_CONF_PARSER): Likewise.
27321         [BZ #17574]
27322         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27323         weak alias of __wmemset.  Use libc_hidden_weak.
27324         (__wmemset): Use libc_hidden_def.
27325         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27326         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27327         of wmemset.
27329         [BZ #17573]
27330         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27331         with asm name __mempcpy.
27332         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27334         [BZ #17572]
27335         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27336         and define as weak alias of __rawmemchr.
27337         (__rawmemchr): Do not define as strong alias of rawmemchr.
27339         [BZ #17571]
27340         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27341         alias of __qsort_r.
27342         (qsort): Call __qsort_r instead of qsort_r.
27343         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27344         (__qsort_r): Declare.  Call libc_hidden_proto.
27345         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27346         instead of qsort_r.
27347         * nscd/gai.c (__qsort_r): Define to qsort_r.
27348         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27349         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27350         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27352         [BZ #17570]
27353         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27354         define as weak alias of __malloc_info.
27356         [BZ #17584]
27357         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27358         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27359         (__rewinddir): Use libc_hidden_def.
27360         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27361         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27362         (__rewinddir): Use libc_hidden_def.
27363         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27364         weak alias of __rewinddir.  Don't use libc_hidden_def.
27365         (__rewinddir): Use libc_hidden_def.
27366         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27367         (__rewinddir): Use libc_hidden_proto.
27368         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27369         rewinddir.
27370         (__getcwd): Use __rewinddir instead of rewinddir.
27372         [BZ #17583]
27373         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27374         alias of __fileno.  Use libc_hidden_weak.
27375         (__fileno): Use libc_hidden_def.
27376         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27377         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27378         alias of __ftello.
27379         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27380         __ftello.
27381         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27382         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27383         libc_hidden_def.
27384         (fread_unlocked): Don't use libc_hidden_ver.
27385         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27386         and define as weak alias of __fread_unlocked.  Don't use
27387         libc_hidden_def.
27388         (__fread_unlocked): Use libc_hidden_def.
27389         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27390         (ftello): Don't use libc_hidden_proto.
27391         (__ftello): Declare.  Use libc_hidden_proto.
27392         (fread_unlocked): Don't use libc_hidden_proto.
27393         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27394         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27395         and __ftello instead of fileno, fread_unlocked and ftello.
27397 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27399         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27400         GOT12.
27401         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27402         Likewise.
27403         (_dl_start_user): Likewise.
27404         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27406 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27407             Siddhesh Poyarekar  <siddhesh@redhat.com>
27409         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27410         Move argv and envp down instead of moving argc up.
27411         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27413 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27415         [BZ #17506]
27416         * test-skeleton.c (main): Return successful if one of
27417         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27418         * string/tst-strcoll-overflow.c: Define expected status.
27420 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27422         [BZ #17475]
27423         * locale/iso-639.def: Define Bhili and Tulu language codes.
27425 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27427         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27429 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27431         [BZ #17555]
27432         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27434 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27436         * configure.ac: Updated check of minimal required version to
27437         2.22.
27438         * manual/install.texi (Tools for Compilation): Updated version
27439         number.
27440         * configure: Regenerated.
27441         * INSTALL: Likewise.
27443 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27445         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27446         __tls_get_addr.
27448 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27450         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27451         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27452         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27453         libc_hidden_weak.
27454         (waitpid): Define as alias of __waitpid.
27455         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27456         __waitpid.
27457         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27458         libc_hidden_weak.
27459         (waitpid): Define as alias of __waitpid.
27460         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27461         __libc_waitpid alias.
27462         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27463         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27464         Likewise.
27465         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27466         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27467         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27468         alias.
27469         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27470         __waitpid.
27471         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27472         libc_hidden_weak.
27473         (waitpid): Define as alias of __waitpid.
27475 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27477         * manual/llio.texi: Add comment that write safety has been
27478         fixed in Linux.
27480         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27481         (localplt-build-dso): Add elf/ld.so.
27482         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27483         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27484         and free for ld.so.
27485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27486         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27488         Likewise.
27489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27490         Likewise.
27491         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27492         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27493         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27494         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27495         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27496         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27497         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27498         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27499         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27500         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27501         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27503 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27505         [BZ #14132]
27506         * include/libc-symbols.h (INTUSE): Remove macro.
27507         (INTDEF): Likewise.
27508         (INTVARDEF): Likewise.
27509         (_INTVARDEF): Likewise.
27510         (INTDEF2): Likewise.
27511         (INTVARDEF2): Likewise.
27512         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27513         rtld_hidden_def instead of INTVARDEF.
27514         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27515         (_dl_starting_up_internal): Remove declaration.
27516         (_dl_starting_up): Use rtld_hidden_proto.
27517         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27518         declaration.
27519         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27520         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27521         _dl_starting_up.
27522         * elf/dl-writev.h (_dl_writev): Likewise.
27523         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27524         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27525         _dl_starting_up_internal.
27527 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27529         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27530         test-skeleton.c.
27532 2014-11-05  Will Newton  <will.newton@linaro.org>
27534         * benchtests/Makefile: (bench-malloc): Add malloc thread
27535         scalability benchmark.
27536         * benchtests/bench-malloc-threads.c: New file.
27538 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27540         * sysdeps/aarch64/strchrnul.S: New file.
27542 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27544         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27545         definition.
27546         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27547         Likwise.
27548         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27549         Likewise.
27550         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27551         Likewise.
27552         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27553         Likewise.
27554         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27555         Likewise.
27557 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27559         * catgets/test-gencat.c: Use test-skeleton.c.
27560         * catgets/tst-catgets.c: Likewise.
27561         * csu/tst-empty.c: Likewise.
27562         * elf/tst-audit2.c: Likewise.
27563         * elf/tst-global1.c: Likewise.
27564         * elf/tst-pathopt.c: Likewise.
27565         * elf/tst-piemod1.c: Likewise.
27566         * elf/tst-tls10.c: Likewise.
27567         * elf/tst-tls11.c: Likewise.
27568         * elf/tst-tls12.c: Likewise.
27569         * gnulib/tst-gcc.c: Likewise.
27570         * iconvdata/tst-e2big.c: Likewise.
27571         * iconvdata/tst-loading.c: Likewise.
27572         * iconv/tst-iconv1.c: Likewise.
27573         * iconv/tst-iconv2.c: Likewise.
27574         * inet/test-inet6_opt.c: Likewise.
27575         * inet/tst-gethnm.c: Likewise.
27576         * inet/tst-network.c: Likewise.
27577         * inet/tst-ntoa.c: Likewise.
27578         * intl/tst-codeset.c: Likewise.
27579         * intl/tst-gettext2.c: Likewise.
27580         * intl/tst-gettext3.c: Likewise.
27581         * intl/tst-ngettext.c: Likewise.
27582         * intl/tst-translit.c: Likewise.
27583         * io/test-stat.c: Likewise.
27584         * libio/test-fmemopen.c: Likewise.
27585         * libio/tst-freopen.c: Likewise.
27586         * libio/tst-sscanf.c: Likewise.
27587         * libio/tst-ungetwc1.c: Likewise.
27588         * libio/tst-ungetwc2.c: Likewise.
27589         * libio/tst-widetext.c: Likewise.
27590         * localedata/tst-ctype.c: Likewise.
27591         * localedata/tst-digits.c: Likewise.
27592         * localedata/tst-leaks.c: Likewise.
27593         * localedata/tst-mbswcs1.c: Likewise.
27594         * localedata/tst-mbswcs2.c: Likewise.
27595         * localedata/tst-mbswcs3.c: Likewise.
27596         * localedata/tst-mbswcs4.c: Likewise.
27597         * localedata/tst-mbswcs5.c: Likewise.
27598         * localedata/tst-setlocale.c: Likewise.
27599         * localedata/tst-trans.c: Likewise.
27600         * localedata/tst-wctype.c: Likewise.
27601         * localedata/tst-xlocale1.c: Likewise.
27602         * login/tst-grantpt.c: Likewise.
27603         * malloc/tst-calloc.c: Likewise.
27604         * malloc/tst-malloc.c: Likewise.
27605         * malloc/tst-mallocstate.c: Likewise.
27606         * malloc/tst-mcheck.c: Likewise.
27607         * malloc/tst-mtrace.c: Likewise.
27608         * malloc/tst-obstack.c: Likewise.
27609         * math/atest-exp2.c: Likewise.
27610         * math/atest-exp.c: Likewise.
27611         * math/atest-sincos.c: Likewise.
27612         * math/test-matherr.c: Likewise.
27613         * math/test-misc.c: Likewise.
27614         * math/test-powl.c: Likewise.
27615         * math/tst-definitions.c: Likewise.
27616         * misc/tst-dirname.c: Likewise.
27617         * misc/tst-efgcvt.c: Likewise.
27618         * misc/tst-fdset.c: Likewise.
27619         * misc/tst-hsearch.c: Likewise.
27620         * misc/tst-mntent2.c: Likewise.
27621         * nptl/tst-sem7.c: Likewise.
27622         * nptl/tst-sem8.c: Likewise.
27623         * nptl/tst-sem9.c: Likewise.
27624         * nss/test-netdb.c: Likewise.
27625         * posix/tst-fnmatch.c: Likewise.
27626         * posix/tst-getlogin.c: Likewise.
27627         * posix/tst-gnuglob.c: Likewise.
27628         * posix/tst-mmap.c: Likewise.
27629         * pwd/tst-getpw.c: Likewise.
27630         * resolv/tst-inet_ntop.c: Likewise.
27631         * rt/tst-timer.c: Likewise.
27632         * stdio-common/test-fseek.c: Likewise.
27633         * stdio-common/test-popen.c: Likewise.
27634         * stdio-common/test-vfprintf.c: Likewise.
27635         * stdio-common/tst-cookie.c: Likewise.
27636         * stdio-common/tst-fileno.c: Likewise.
27637         * stdio-common/tst-gets.c: Likewise.
27638         * stdio-common/tst-obprintf.c: Likewise.
27639         * stdio-common/tst-perror.c: Likewise.
27640         * stdio-common/tst-sprintf2.c: Likewise.
27641         * stdio-common/tst-sprintf3.c: Likewise.
27642         * stdio-common/tst-sprintf.c: Likewise.
27643         * stdio-common/tst-swprintf.c: Likewise.
27644         * stdio-common/tst-tmpnam.c: Likewise.
27645         * stdio-common/tst-unbputc.c: Likewise.
27646         * stdio-common/tst-wc-printf.c: Likewise.
27647         * stdlib/tst-environ.c: Likewise.
27648         * stdlib/tst-fmtmsg.c: Likewise.
27649         * stdlib/tst-limits.c: Likewise.
27650         * stdlib/tst-rand48-2.c: Likewise.
27651         * stdlib/tst-rand48.c: Likewise.
27652         * stdlib/tst-random2.c: Likewise.
27653         * stdlib/tst-random.c: Likewise.
27654         * stdlib/tst-strtol.c: Likewise.
27655         * stdlib/tst-strtoll.c: Likewise.
27656         * stdlib/tst-tls-atexit.c: Likewise.
27657         * stdlib/tst-xpg-basename.c: Likewise.
27658         * string/test-ffs.c: Likewise.
27659         * string/tst-bswap.c: Likewise.
27660         * string/tst-inlcall.c: Likewise.
27661         * string/tst-strtok.c: Likewise.
27662         * string/tst-strxfrm.c: Likewise.
27663         * sysdeps/x86_64/tst-audit10.c: Likewise.
27664         * sysdeps/x86_64/tst-audit3.c: Likewise.
27665         * sysdeps/x86_64/tst-audit4.c: Likewise.
27666         * sysdeps/x86_64/tst-audit5.c: Likewise.
27667         * time/tst-ftime_l.c: Likewise.
27668         * time/tst-getdate.c: Likewise.
27669         * time/tst-mktime3.c: Likewise.
27670         * time/tst-mktime.c: Likewise.
27671         * time/tst-posixtz.c: Likewise.
27672         * time/tst-strptime2.c: Likewise.
27673         * time/tst-strptime3.c: Likewise.
27674         * wcsmbs/tst-btowc.c: Likewise.
27675         * wcsmbs/tst-mbrtowc.c: Likewise.
27676         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27677         * wcsmbs/tst-wchar-h.c: Likewise.
27678         * wcsmbs/tst-wcpncpy.c: Likewise.
27679         * wcsmbs/tst-wcrtomb.c: Likewise.
27680         * wcsmbs/tst-wcsnlen.c: Likewise.
27681         * wcsmbs/tst-wcstof.c: Likewise.
27683 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27685         [BZ #14132]
27686         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27687         INTDEF.
27688         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27689         declaration.
27690         (_dl_mcount): Use rtld_hidden_proto.
27691         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27692         _dl_mcount.
27693         * elf/rtld.c (_rtld_global_ro): Likewise.
27695         [BZ #14132]
27696         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27697         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27698         of _dl_init_internal.
27699         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27700         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27701         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27702         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27703         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27704         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27705         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27706         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27707         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27708         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27709         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27710         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27711         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27712         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27713         * sysdeps/tile/dl-start.S (_start): Likewise.
27714         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27715         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27717         [BZ #14132]
27718         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27719         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27720         (rtld_progname): Make macro definition unconditional.
27721         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27722         INTDEF.
27723         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27724         (dl_main): Likewise.
27725         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27726         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27727         instead of _dl_argv_internal.
27728         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27729         __GI__dl_argv instead of INTUSE(_dl_argv).
27730         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27731         __GI__dl_argv instead of _dl_argv_internal.
27733         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27734         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27735         macro.
27736         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27737         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27738         New macro.
27739         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27740         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27741         macro.
27742         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27743         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27745 2014-11-04  Andreas Schwab  <schwab@suse.de>
27747         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27749 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27751         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27752         mtvsrd instruction in binary form.
27754 2014-11-03  Andreas Schwab  <schwab@suse.de>
27756         [BZ #17522]
27757         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27758         for less than MB_LEN_MAX use a local buffer of that size.
27759         * libio/tst-fputws.c: New file.
27760         * libio/Makefile (tests): Add tst-fputws.
27762 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27764         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27765         the size of the fpu_fr.fpu_dregs[] array.
27767 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27769         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27770         (__nanosleep): Do not define as alias.
27771         (nanosleep): Define as alias of __nanosleep.
27772         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27773         __libc_nanosleep name.
27775 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27777         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27778         install.texi in comment.
27780 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27782         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27783         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27784         ... add here and use lwsync or sync ...
27785         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27786         ... and add here using lwsync.
27788 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27790         * elf/dl-machine-reject-phdr.h: New file.
27791         * elf/dl-load.c: #include that.
27792         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27793         if that returned true.
27795 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27797         [BZ #17496]
27798         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27799         gen-as-const-headers chunk.  Add a big scare comment after the last
27800         safe place to touch before-compile.
27802 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27804         * manual/install.texi (Tools for Compilation): Update autoconf
27805         version requirements.
27806         * INSTALL: Regenerated.
27808         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27809         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27810         (__libc_pselect): Likewise.
27812         [BZ #14138]
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27818 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27820         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27821         correct barrier instruction.
27822         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27823         Likewise.
27824         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27825         Likewise.
27827 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27829         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27830         after defining inlines.  Instead, just use parens to defeat macro
27831         expansion of __isctype in its declaration.
27833 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27835         * include/sys/uio.h (__libc_readv): Remove declaration.
27836         (__libc_writev): Likewise.
27837         * misc/readv.c (__libc_readv): Rename to __readv.
27838         (__readv): Do not define as alias.
27839         (readv): Define as alias of __readv.
27840         * misc/writev.c (__libc_writev): Rename to __writev.
27841         (__writev): Do not define as alias.
27842         (writev): Define as alias of __writev.
27843         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27844         (__readv): Do not define as alias.
27845         (readv): Define unconditionally as alias of __readv.
27846         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27847         (__writev): Do not define as alias.
27848         (writev): Define unconditionally as alias of __writev.
27849         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27850         name.
27851         (writev): Do not define __libc_writev name.
27853 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27855         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27856         (convert_charseq): New function, broken out of ...
27857         (use_from_charmap): ... here.  Call it.
27858         (use_to_charmap): Use convert_charseq and free instead of duplicating
27859         its code with a variable-length stack struct.
27861 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27863         * include/fcntl.h (__libc_creat): Remove declaration.
27864         * io/creat.c (__libc_creat): Rename to creat.
27865         (creat): Do not define as alias.
27866         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27867         of creat instead of __libc_creat.
27868         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27869         to creat.
27870         (creat): Do not define as alias.
27871         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27872         __libc_creat.
27873         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27874         __libc_creat name.
27875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27876         Likewise.
27878 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27880         * manual/llio.texi: Add comments discussing why write() may be
27881         considered MT-unsafe on Linux.
27883 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27885         * dl-load.c (local_strdup): Remove.
27886         (expand_dynamic_string_token): Use __strdup.
27887         (decompose_rpath): Likewise.
27888         (_dl_map_object): Likewise.
27890 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27892         [BZ #14132]
27893         * sysdeps/generic/unwind-dw2-fde.c
27894         (__register_frame_info_bases_internal): Do not declare.
27895         (__register_frame_info_table_bases_internal): Likewise.
27896         (__deregister_frame_info_bases_internal): Likewise.
27897         (__register_frame_info_bases): Declare and use hidden_proto before
27898         definition.  Use hidden_def instead of INTDEF.
27899         (__register_frame_info_table_bases): Likewise.
27900         (__deregister_frame_info_bases): Likewise.
27901         (__register_frame_info): Do not use INTUSE.
27902         (__register_frame): Likewise.
27903         (__register_frame_info_table): Likewise.
27904         (__register_frame_table): Likewise.
27905         (__deregister_frame_info): Likewise.
27906         (__deregister_frame): Likewise.
27908 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27910         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27911         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27912         not undefine.
27913         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27914         Likewise.
27915         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27916         Likewise.
27918 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27920         [BZ #14138]
27921         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27922         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27923         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27924         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27925         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27926         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27927         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27928         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27929         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27930         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27931         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27932         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27933         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27934         syscall.
27935         (setfsuid): Likewise.
27936         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27937         (setfsuid): Likewise.
27938         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27939         (setfsuid): Likewise.
27940         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27941         Likewise.
27942         (setfsuid): Likewise.
27943         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27944         (setfsuid): Likewise.
27945         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27946         Likewise.
27947         (setfsuid): Likewise.
27949 2014-10-27  Andreas Schwab  <schwab@suse.de>
27951         [BZ #17501]
27952         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27953         check for Slow_SSE4_2 feature bit.
27954         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27955         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27956         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27957         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27959 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27961         * configure.ac: Validate compiler version with a empirical test of
27962         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27963         $CC -v output.
27964         * configure: Regenerated.
27966         * inet/htons.c (htons): Prototypify.
27967         * inet/htonl.c (htonl): Likewise.
27969 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27971         * string/strncat.c (strncat): Improve performance by using strlen.
27973 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27975         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27977 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27979         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27980         Call libc_fetestexcept_aarch64.
27982 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27984         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27985         Call libc_feholdexcept_aarch64.
27987 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27989         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27990         Call get_rounding_mode.
27992 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27994         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27995         Simplify logic.
27997 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27999         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28000         Simplify logic.
28002 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28004         [BZ #14138]
28005         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28006         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28007         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28008         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28009         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28010         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28011         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28012         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28013         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28014         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28015         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28016         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28017         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28018         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28019         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28020         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28021         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28022         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28023         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28024         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28025         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28026         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28027         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28028         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28029         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28030         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28031         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28032         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28033         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28034         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28035         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28036         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28037         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28038         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28039         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28040         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28041         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28042         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28043         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28044         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28045         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28046         syscall.
28047         (geteuid): Likewise.
28048         (getgid): Likewise.
28049         (getuid): Likewise.
28050         (getresgid): Likewise.
28051         (getresuid): Likewise.
28052         (getgroups): Likewise.
28053         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28054         (geteuid): Likewise.
28055         (getgid): Likewise.
28056         (getuid): Likewise.
28057         (getresgid): Likewise.
28058         (getresuid): Likewise.
28059         (getgroups): Likewise.
28060         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28061         (geteuid): Likewise.
28062         (getgid): Likewise.
28063         (getuid): Likewise.
28064         (getresgid): Likewise.
28065         (getresuid): Likewise.
28066         (getgroups): Likewise.
28067         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28068         Likewise.
28069         (geteuid): Likewise.
28070         (getgid): Likewise.
28071         (getuid): Likewise.
28072         (getresgid): Likewise.
28073         (getresuid): Likewise.
28074         (getgroups): Likewise.
28075         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28076         (geteuid): Likewise.
28077         (getgid): Likewise.
28078         (getuid): Likewise.
28079         (getresgid): Likewise.
28080         (getresuid): Likewise.
28081         (getgroups): Likewise.
28082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28083         Likewise.
28084         (geteuid): Likewise.
28085         (getgid): Likewise.
28086         (getuid): Likewise.
28087         (getgroups): Likewise.
28089         [BZ #14138]
28090         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28091         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28092         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28093         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28094         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28095         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28096         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28097         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28098         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28099         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28100         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28101         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28102         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28103         __chown.
28104         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28105         (lchown): Likewise.
28106         (fchown): Likewise.
28107         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28108         Likewise.
28109         (lchown): Likewise.
28110         (fchown): Likewise.
28111         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28112         (lchown): Likewise.
28113         (fchown): Likewise.
28114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28115         Likewise.
28116         (lchown): Likewise.
28117         (fchown): Likewise.
28119 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28121         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28122         Simplify logic.
28124 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28126         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28127         Cleanup logic.
28129 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28131         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28132         Remove unused include.
28134 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28136         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28137         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28138         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28139         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28141 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28142             Helge Deller <deller@gmx.de>
28144         [BZ #17508]
28145         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28146         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28147         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28149 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28151         [BZ #14132]
28152         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28153         Remove macro definition.
28154         (__ashrdi3_v_glibc20): Likewise.
28155         (__lshrdi3_v_glibc20): Likewise.
28156         (__cmpdi2_v_glibc20): Likewise.
28157         (__ucmpdi2_v_glibc20): Likewise.
28158         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28159         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28160         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28161         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28162         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28163         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28165 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28167         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28168         old GNU extension [0] syntax.
28169         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28170         alloca rather than an array member with variable length.
28171         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28172         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28173         (parse_opt): ... here.  Likewise use alloca there.
28174         Validate the -i argument before checking for rootness.
28175         (send_shutdown): New function, broken out of ...
28176         (parse_opt): ... here.
28178 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28180         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28181         macro to get at the _rt_local_ro field.
28182         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28183         ([PIC] case) or _dl_hwcap ([!PIC] case).
28184         * sysdeps/arm/setjmp.S: Likewise.
28186         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28187         * sysdeps/arm/configure.ac: New check to define it.
28188         * sysdeps/arm/configure: Regenerated.
28189         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28190         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28191         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28192         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28193         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28194         Use move/movt pair instead of a load.
28195         (LDST_GLOBAL): Macro removed.
28196         (LDR_GLOBAL): New macro replaces it.
28197         (LDR_HIDDEN): New macro.
28198         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28199         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28201         * setjmp/tst-setjmp-static.c: New file.
28202         * setjmp/Makefile (tests): Add it.
28203         (tests-static): New variable.
28205 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28207         [BZ #17485]
28208         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28210 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28212         [BZ #14132]
28213         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28215 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28217         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28219 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28221         * io/fts.c (dirent_not_directory): New function.
28222         (fts_build): Call it.
28224 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28226         * nptl/version.c (__nptl_main): Use normal __write rather than
28227         INTERNAL_SYSCALL.
28228         (banner): Update copyright years.
28230         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28231         gettimeofday.
28232         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28233         * nptl/pthread_cond_timedwait.c: Likewise.
28234         * nptl/pthread_mutex_timedlock.c: Likewise.
28235         * nptl/sem_timedwait.c: Likewise.
28237         * sysdeps/nptl/bits/libc-lock.h
28238         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28239         (__libc_lock_init_recursive): Return void, not 0.
28240         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28241         (__libc_rwlock_init): Likewise.
28242         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28244 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28246         [BZ #15215]
28247         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28248         (__pthread_once_slow): ... here.
28249         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28250         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28252 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28254         [BZ #15215]
28255         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28256         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28257         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28258         * nptl/pthread_once.c (__pthread_once): Likewise.
28259         Update comments.
28261 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28263         [BZ #14138]
28264         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28265         name.
28266         (writev): Use __libc_writev as strong name.
28267         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28268         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28270 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28272         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28274         * sysdeps/i386/nptl/tls.h
28275         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28276         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28277         New macros.
28278         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28279         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28280         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28281         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28282         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28283         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28285         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28286         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28287         on [__NR_futex].
28288         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28289         broken out of ...
28290         (__pthread_mutex_init): ... here.  Call it.
28291         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28292         Conditionalize PI cases on [__NR_futex].
28293         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28294         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28295         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28297         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28298         conditional on [SIGSETXID].
28299         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28300         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28301         is defined.  Likewise for SIGSETXID.
28302         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28303         Conditionalize definitions on [SIGSETXID].
28304         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28305         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28306         unblocking on [SIGCANCEL].
28308         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28309         [__NR_set_robust_list].
28311 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28313         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28314         (do_compare): Likewise.
28316 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28318         [BZ #15884]
28319         * string/strcoll_l.c: Don't include stdio.h.
28320         (coll_seq): Remove members idxarr and rulearr.
28321         (get_next_seq_cached): Remove function.
28322         (get_next_seq): Likewise.
28323         (get_next_seq_nocache): Rename to get_next_seq.
28324         (do_compare): Remove function.
28325         (do_compare_nocache): Rename to do_compare.
28326         (STRCOLL): Remove weight and rules cache.
28328 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28330         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28331         * sysdeps/arm/sfp-machine.h: ... to here.
28332         * sysdeps/arm/Implies: Remove arm/soft-fp.
28334 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28336         * conform/data/sys/utsname.h-data (*_t): Allow.
28337         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28338         [POSIX] (WEXITED): Do not expect constant.
28339         [POSIX] (WSTOPPED): Likewise.
28340         [POSIX] (WNOHANG): Likewise.
28341         [POSIX] (WNOWAIT): Likewise.
28342         [POSIX] (siginfo_t): Do not expect type or elements.
28343         [POSIX] (pid_t): Do not expect type.
28344         [POSIX] (signal.h): Do not allow header.
28345         [POSIX] (sys/resource.h): Likewise.
28346         [POSIX] (si_*): Do not allow pattern.
28347         [POSIX] (W*): Likewise.
28348         [POSIX] (P_*): Likewise.
28349         [POSIX] (BUS_*): Likewise.
28350         [POSIX] (CLD_*): Likewise.
28351         [POSIX] (FPE_*): Likewise.
28352         [POSIX] (ILL_*): Likewise.
28353         [POSIX] (POLL_*): Likewise.
28354         [POSIX] (SEGV_*): Likewise.
28355         [POSIX] (SI_*): Likewise.
28356         [POSIX] (TRAP_*): Likewise.
28357         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28358         variable.
28360 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28362         [BZ #12926]
28363         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28364         infinite loop when __recvmsg returns 0.
28366 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28368         * CANCEL-FCT-WAIVE: Remove file.
28369         * CANCEL-FILE-WAIVE: Likewise.
28371         [BZ #14132]
28372         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28373         instead of INTVARDEF.
28374         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28375         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28376         rtld_hidden_data_def instead of INTVARDEF.
28377         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28378         * elf/dl-deps.c (expand_dst): Likewise.
28379         * elf/dl-load.c (_dl_dst_count): Likewise.
28380         (_dl_dst_substitute): Likewise.
28381         (decompose_rpath): Likewise.
28382         (_dl_init_paths): Likewise.
28383         (open_path): Likewise.
28384         (_dl_map_object): Likewise.
28385         * elf/rtld.c (dl_main): Likewise.
28386         (process_dl_audit): Likewise.
28387         (process_envvars): Likewise.
28388         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28389         Remove declaration.
28390         (__libc_enable_secure): Use rtld_hidden_proto.
28392 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28394         * elf/dl-load.c
28395         (add_path): New function broken out of _dl_rtld_di_serinfo.
28396         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28398 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28400         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28401         parentheses around macro arguments.
28402         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28403         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28404         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28413         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28416         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28417         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28418         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28421         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28431         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28432         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28434         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28435         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28436         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28437         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28438         Likewise.
28439         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28440         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28441         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28442         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28443         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28444         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28446         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28447         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28448         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28449         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28450         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28451         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28452         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28455         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28457         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28458         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28459         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28460         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28461         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28462         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28463         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28464         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28465         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28466         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28467         (_FP_FRAC_SRS_1): Likewise.
28468         (_FP_FRAC_CLZ_1): Likewise.
28469         (_FP_MUL_MEAT_1_imm): Likewise.
28470         (_FP_MUL_MEAT_1_wide): Likewise.
28471         (_FP_MUL_MEAT_1_hard): Likewise.
28472         (_FP_SQRT_MEAT_1): Likewise.
28473         (_FP_FRAC_ASSEMBLE_1): Likewise.
28474         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28475         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28476         (__FP_CLZ_2): Likewise.
28477         (_FP_MUL_MEAT_2_wide): Likewise.
28478         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28479         (_FP_MUL_MEAT_2_gmp): Likewise.
28480         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28481         (_FP_SQRT_MEAT_2): Likewise.
28482         (_FP_FRAC_ASSEMBLE_2): Likewise.
28483         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28484         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28485         (_FP_FRAC_CLZ_4): Likewise.
28486         (_FP_MUL_MEAT_4_wide): Likewise.
28487         (_FP_MUL_MEAT_4_gmp): Likewise.
28488         (_FP_SQRT_MEAT_4): Likewise.
28489         (_FP_FRAC_ASSEMBLE_4): Likewise.
28490         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28491         * soft-fp/op-common.h (_FP_CMP): Likewise.
28492         (_FP_CMP_EQ): Likewise.
28493         (_FP_CMP_UNORD): Likewise.
28494         (_FP_TO_INT): Likewise.
28495         (_FP_FROM_INT): Likewise.
28496         [!__FP_CLZ] (__FP_CLZ): Likewise.
28497         (_FP_DIV_HELP_imm): Likewise.
28498         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28499         Likewise.
28500         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28503         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28504         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28505         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28506         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28507         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28508         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28509         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28511         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28512         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28513         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28514         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28515         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28516         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28522         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28523         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28525         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28526         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28527         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28529         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28530         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28531         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28532         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28533         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28534         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28535         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28536         (FP_UNPACK_RAW_SP): Likewise.
28537         (FP_PACK_RAW_S): Likewise.
28538         (FP_PACK_RAW_SP): Likewise.
28539         (FP_UNPACK_S): Likewise.
28540         (FP_UNPACK_SP): Likewise.
28541         (FP_UNPACK_SEMIRAW_S): Likewise.
28542         (FP_UNPACK_SEMIRAW_SP): Likewise.
28543         (FP_PACK_S): Likewise.
28544         (FP_PACK_SP): Likewise.
28545         (FP_PACK_SEMIRAW_S): Likewise.
28546         (FP_PACK_SEMIRAW_SP): Likewise.
28547         (_FP_SQRT_MEAT_S): Likewise.
28548         (FP_CMP_S): Likewise.
28549         (FP_CMP_EQ_S): Likewise.
28550         (FP_CMP_UNORD_S): Likewise.
28551         (FP_TO_INT_S): Likewise.
28552         (FP_FROM_INT_S): Likewise.
28554         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28556         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28557         (FP_EX_INVALID_IMZ): Likewise.
28558         (FP_EX_INVALID_IMZ_FMA): Likewise.
28559         (FP_EX_INVALID_ISI): Likewise.
28560         (FP_EX_INVALID_ZDZ): Likewise.
28561         (FP_EX_INVALID_IDI): Likewise.
28562         (FP_EX_INVALID_SQRT): Likewise.
28563         (FP_EX_INVALID_CVI): Likewise.
28564         (FP_EX_INVALID_VC): Likewise.
28565         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28566         "invalid" exceptions.
28567         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28568         (_FP_ADD_INTERNAL): Likewise.
28569         (_FP_MUL): Likewise.
28570         (_FP_FMA): Likewise.
28571         (_FP_DIV): Likewise.
28572         (_FP_CMP_CHECK_NAN): Likewise.
28573         (_FP_SQRT): Likewise.
28574         (_FP_TO_INT): Likewise.
28575         (FP_EXTEND): Likewise.
28577 2014-10-09  Allan McRae  <allan@archlinux.org>
28579         * po/fr.po: Update French translation from translation project.
28581 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28583         [BZ #14132]
28584         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28585         of INTDEF.
28586         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28587         (__cxa_atexit): Use libc_hidden_proto.
28588         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28590         [BZ #14132]
28591         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28592         declaration.
28593         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28594         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28595         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28596         [!_ISOMAC] (__iswctype_internal): Likewise.
28597         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28598         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28599         alias.
28600         (fcntl): Remove __fcntl_internal alias.
28601         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28602         __connect_internal alias.
28603         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28604         Likewise.
28606         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28607         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28608         FP_DENORM_ZERO.
28609         (_FP_CHECK_FLUSH_ZERO): New macro.
28610         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28611         (_FP_CMP): Likewise.
28612         (_FP_CMP_EQ): Likewise.
28613         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28614         FP_DENORM_ZERO.
28615         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28616         (FP_TRUNC): Likewise.
28618         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28619         treated as invalid conversion, not as normal exponent.
28621         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28622         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28623         (_FP_CMP_EQ): Likewise.
28624         (_FP_CMP_UNORD): Likewise.
28625         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28626         (FP_CMP_EQ_D): Likewise.
28627         (FP_CMP_UNORD_D): Likewise.
28628         * soft-fp/extended.h (FP_CMP_E): Likewise.
28629         (FP_CMP_EQ_E): Likewise.
28630         (FP_CMP_UNORD_E): Likewise.
28631         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28632         (FP_CMP_EQ_Q): Likewise.
28633         (FP_CMP_UNORD_Q): Likewise.
28634         * soft-fp/single.h (FP_CMP_S): Likewise.
28635         (FP_CMP_EQ_S): Likewise.
28636         (FP_CMP_UNORD_S): Likewise.
28637         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28638         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28639         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28640         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28641         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28642         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28643         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28644         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28645         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28646         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28647         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28648         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28649         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28650         to FP_CMP_Q.
28651         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28652         FP_CMP_Q.
28653         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28654         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28655         FP_CMP_EQ_Q.
28656         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28657         FP_CMP_Q.
28658         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28659         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28660         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28661         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28662         FP_CMP_EQ_Q.
28663         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28664         FP_CMP_Q.
28665         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28666         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28667         FP_CMP_EQ_Q.
28668         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28669         FP_CMP_Q.
28670         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28671         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28672         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28673         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28674         FP_CMP_EQ_Q.
28676         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28677         a subnormal result, set the underflow exception if trapping on
28678         underflow is enabled.
28679         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28680         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28681         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28682         redefine to 0.
28683         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28684         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28685         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28686         * soft-fp/extendxftf2.c (__extendxftf2): Use
28687         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28689         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28690         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28691         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28692         FP_HANDLE_EXCEPTIONS.
28693         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28694         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28695         FP_HANDLE_EXCEPTIONS.
28696         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28697         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28698         FP_HANDLE_EXCEPTIONS.
28699         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28700         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28701         FP_HANDLE_EXCEPTIONS.
28703 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28705         [BZ #14132]
28706         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28707         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28708         use INTUSE.
28709         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28710         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28711         Remove alias.
28712         (__adjtimex): Define using libc_hidden_ver.
28713         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28714         Remove declaration.
28715         (ntp_gettime): Call __adjtimex directly.
28716         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28717         Remove declaration.
28718         (ntp_gettimex): Call __adjtimex directly.
28719         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28720         __adjtimex_internal alias.
28722 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28724         [BZ #17460]
28725         * nscd/nscd.c (more_help): Rewrite list of tables collection
28726         using xstrdup and asprintf.
28728         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28730 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28731             Roland McGrath  <roland@hack.frob.com>
28733         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28734         (do_lookup_unique): ... local function 'enter' here; update callers.
28736 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28738         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28739         compat_symbol calls on [SHARED].
28740         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28741         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28742         Remove.
28743         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28744         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28745         (oldsetrlimit): Remove.
28746         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28748         (lchown): New syscall entry.
28749         (oldsetrlimit): Remove.
28750         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28751         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28752         (oldsetrlimit): Remove.
28753         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28755         [BZ #14138]
28756         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28757         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28758         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28759         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28760         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28761         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28762         (fchown): Likewise.
28763         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28764         (fchown): Likewise.
28765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28766         Likewise.
28768 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28770         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28771         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28772         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28773         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28774         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28775         Likewise.
28776         (__old_sem_post): Likewise.
28778 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28780         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28781         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28782         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28783         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28784         Use INLINE_VSYSCALL macro.
28785         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28786         __vdso_clock_gettime.
28787         * sysdeps/unix/sysv/linux/tile/init-first.c
28788         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28789         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28790         __vdso_clock_gettime.
28792         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28793         to set up frame more cleanly.
28795         * sysdeps/tile/memcmp.c: New file.
28797         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28799         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28800         * sysdeps/tile/tilegx/strcasestr.c: New file.
28801         * sysdeps/tile/tilegx/strnlen.c: New file.
28802         * sysdeps/tile/tilegx/strstr.c: New file.
28804         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28806 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28808         * nptl/tst-setuid3.c: Write errors to stdout.
28810 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28812         * elf/dl-deps.c
28813         (preload): New functions broken out of _dl_map_object_deps.
28814         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28816 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28818         [BZ #14138]
28819         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28820         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28822 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28824         * sysdeps/mips/strcmp.S: New.
28826 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28828         [BZ #14138]
28829         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28830         (linkat): Likewise.
28831         (mkdirat): Likewise.
28832         (readlinkat): Likewise.
28833         (renameat): Likewise.
28834         (symlinkat): Likewise.
28835         (unlinkat): Likewise.
28836         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28837         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28838         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28839         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28840         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28841         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28842         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28844 2014-09-30  Will Newton  <will.newton@linaro.org>
28846         * math/math.h: Define long double math functions if
28847         _LIBC_TEST is defined.
28848         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28850         * localedata/Makefile: Move assignment to tests-special
28851         into an ifdef testing run-built-tests.
28852         * timezone/Makefile: Likewise.
28854 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28856         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28857         with $(BASH) not $(SHELL).
28859 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28860             Matthew LeGendre  <legendre1@llnl.gov>
28862         [BZ #17411]
28863         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28864         l_reloc_result.
28866 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28868         * stdio-common/printf_fp.c
28869         (hack_digit): New function, broken out of ...
28870         (__printf_fp): ... local function here.  Update call sites.
28871         hack_digit now takes an additional parameter that is a pointer
28872         to a struct of the referenced locals.  Those locals moved inside
28873         the struct and references updated.
28875 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28877         * aclocal.m4: Require autoconf 2.69.
28878         * configure: Regenerated.
28879         * sysdeps/aarch64/configure: Likewise.
28880         * sysdeps/alpha/configure: Likewise.
28881         * sysdeps/arm/armv7/configure: Likewise.
28882         * sysdeps/arm/configure: Likewise.
28883         * sysdeps/ia64/configure: Likewise.
28884         * sysdeps/mach/configure: Likewise.
28885         * sysdeps/mips/configure: Likewise.
28886         * sysdeps/s390/configure: Likewise.
28887         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28890         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28891         file.
28892         * sysdeps/ia64/configure.ac: Likewise.
28894 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28897         specify symbol version for ld.so.  Do not include entry for
28898         libpthread.
28899         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28900         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28901         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28903         [BZ #14171]
28904         * Makeconfig [$(build-shared) = yes]
28905         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28906         makefiles.
28907         [$(build-shared) = yes && $(soversions.mk-done) = t]
28908         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28909         [$(build-shared) = yes && $(soversions.mk-done) = t]
28910         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28911         to Makerules.
28912         [$(build-shared) = yes && $(soversions.mk-done) = t]
28913         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28914         here.
28915         [$(build-shared) = yes && $(soversions.mk-done) = t]
28916         (common-generated): Don't append gnu/lib-names.h and
28917         gnu/lib-names.stmp here.
28918         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28919         (lib-names-h-abi): New variable.
28920         [$(build-shared) = yes && $(soversions.mk-done) = t]
28921         (lib-names-stmp-abi): Likewise.
28922         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28923         abi-variants] (before-compile): Append
28924         $(common-objpfx)$(lib-names-h-abi).
28925         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28926         abi-variants] (common-generated): Append gnu/lib-names.h.
28927         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28928         abi-variants] (install-others-nosubdir): Depend on
28929         $(inst_includedir)/$(lib-names-h-abi).
28930         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28931         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28932         [$(build-shared) = yes && $(soversions.mk-done) = t]
28933         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28934         [$(build-shared) = yes && $(soversions.mk-done) = t]
28935         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28936         [$(build-shared) = yes && $(soversions.mk-done) = t]
28937         (common-generated): Append $(lib-names-h-abi) and
28938         $(lib-names-stmp-abi).
28939         * scripts/lib-names.awk: Do not handle multi being set.
28940         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28941         Remove variable.
28942         (abi-lp64_be-ld-soname): Likewise.
28943         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28944         Likewise.
28945         (abi-hard-ld-soname): Likewise.
28946         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28947         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28948         Remove variable.
28949         (abi-o32_hard-ld-soname): Likewise.
28950         (abi-o32_soft_2008-ld-soname): Likewise.
28951         (abi-o32_hard_2008-ld-soname): Likewise.
28952         (abi-n32_soft-ld-soname): Likewise.
28953         (abi-n32_hard-ld-soname): Likewise.
28954         (abi-n32_soft_2008-ld-soname): Likewise.
28955         (abi-n32_hard_2008-ld-soname): Likewise.
28956         (abi-n64_soft-ld-soname): Likewise.
28957         (abi-n64_hard-ld-soname): Likewise.
28958         (abi-n64_soft_2008-ld-soname): Likewise.
28959         (abi-n64_hard_2008-ld-soname): Likewise.
28960         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28961         Likewise.
28962         (abi-64-v2-ld-soname): Likewise.
28963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28964         ld.so entries.
28965         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28966         variable.
28967         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28968         entry.
28969         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28970         variable.
28971         (abi-64-ld-soname): Likewise.
28972         (abi-x32-ld-soname): Likewise.
28973         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28974         entry.
28975         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28977 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28979         [BZ #14138]
28980         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28981         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28982         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28983         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28984         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28985         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28986         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28987         syscall entry for GLIBC_2.2 symbol version.
28988         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28989         Likewise.
28990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28991         (setrlimit): Likewise.
28992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28993         Likewise.
28995 2014-09-23  Will Newton  <will.newton@linaro.org>
28997         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28998         _LINUX_ARM_SYSDEP_H include guard too.
28999         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29000         define.
29002 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29004         * sysdeps/unix/sysv/linux/eventfd.c:
29005         Make first argument unsigned.
29006         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29007         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29009 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29011         [BZ #16852]
29012         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29013         * socket/sys/socket.h: Likewise.
29014         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29016 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29018         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29020 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29022         * time/tst-ftime.c: New test.
29023         * time/Makefile (tests): Add tst-ftime.
29025 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29027         * soft-fp/extended.h: Fix comment formatting.
29028         * soft-fp/op-1.h: Likewise.
29029         * soft-fp/op-2.h: Likewise.
29030         * soft-fp/op-4.h: Likewise.
29031         * soft-fp/op-8.h: Likewise.
29032         * soft-fp/op-common.h: Likewise.
29033         * soft-fp/soft-fp.h: Likewise.
29035         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29037 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29039         [BZ #6652]
29040         * Makeconfig (soversions-default-setname): Remove variable.
29041         ($(common-objpfx)soversions.i): Don't pass default_setname to
29042         soversions.awk.
29043         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29044         oldest_abi to abi-versions.awk.
29045         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29046         * config.make.in (oldest-abi): Remove variable.
29047         * configure.ac (--enable-oldest-abi): Remove configure option.
29048         * configure: Regenerated.
29049         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29050         text.
29051         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29052         * scripts/soversions.awk: Do not handle default_setname variable.
29053         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29054         variable.
29055         * sysdeps/mach/hurd/configure: Regenerated.
29056         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29057         variable.
29058         * sysdeps/unix/sysv/linux/configure: Regenerated.
29060 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29062         * elf/Makefile (CFLAGS-interp.c): Remove.
29063         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29064         path string.
29065         * elf/interp.c: Include generated runtime-linker.h
29067         * Makerules (lib%.so): Don't include $(+interp) in
29068         prerequisites.
29069         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29070         * dlfcn/eval.c: Remove file.
29072         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29073         macros.
29075         [BZ #17266]
29076         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29077         4.2 and newer.
29079         [BZ #17370]
29080         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29082 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29083             Jakub Jelinek  <jakub@redhat.com>
29085         [BZ #17266]
29086         * libio/stdio.h: Check definition of __fortify_function
29087         instead of __extern_always_inline to include bits/stdio2.h.
29088         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29089         check if __extern_always_inline is defined.
29090         [__USE_MISC || __USE_XOPEN]: Likewise.
29091         [__USE_ISOC99] Likewise.
29092         * misc/sys/cdefs.h (__fortify_function): Define only if
29093         __extern_always_inline is defined.
29094         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29095         __extern_always_inline and __extern_inline only for g++-4.3
29096         and newer or a compatible gcc.
29098 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29100         [BZ #17371]
29101         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29102         last change to handle zero prefix length.
29104 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29106         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29107         _SC_REGEX_VERSION.
29109         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29110         _POSIX_RAW_SOCKETS.
29112 2014-09-13  Allan McRae  <allan@archlinux.org>
29114         * po/ru.po: Update Russian translation from translation project.
29116 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29118         * locale/programs/locale.c (show_locale_vars): Inline local function
29119         into its sole call site.  Clean up some style nits.
29120         (print_item): New function, broken out of ...
29121         (show_info): ... local function here.  Clean up style nits.
29123         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29124         out of ...
29125         (set_class_defaults): ... local function set_default here.
29126         Define set_default as a macro locally to pass constant parameters.
29127         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29128         rather than a shared local.
29130         * stdlib/rpmatch.c (try): New function, broken out of ...
29131         (rpmatch): ... local function here.  Also, prototypify definition.
29133 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29135         * scripts/soversions.awk: Do not handle configuration names.
29136         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29137         vendor and os variables to soversions.awk.
29138         * configure.ac: Do not modify gnu-* host_os.
29139         * configure: Regenerated
29140         * shlib-versions: Remove first column with configuration names.
29141         * nptl/shlib-versions: Likewise.
29142         * nptl_db/shlib-versions: Likewise.
29143         * sysdeps/hppa/shlib-versions: Likewise.
29144         * sysdeps/m68k/shlib-versions: Likewise.
29145         * sysdeps/mach/hurd/shlib-versions: Likewise.
29146         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29147         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29148         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29149         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29150         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29151         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29152         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29153         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29155         Likewise.
29156         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29157         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29158         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29159         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29160         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29161         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29162         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29163         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29166         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29168         Regenerated.
29169         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29171         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29173         * shlib-versions: Remove OS-specific entries.  Moved to files in
29174         sysdeps.
29175         * sysdeps/mach/hurd/shlib-versions: New file.
29176         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29178         * nptl/shlib-versions: Remove architecture-specific entries.
29179         Moved to files in sysdeps.
29180         * shlib-versions: Likewise.
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29182         file.
29183         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29184         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29185         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29186         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29188         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29189         (UDP_NO_CHECK6_RX): Likewise.
29191 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29193         * sysdeps/posix/sysconf.c (__sysconf): Spell
29194         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29196 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29198         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29199         loading.
29200         * iconv/Versions (__gconv_transliterate): Export for use from
29201         gconv modules.
29202         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29203         (struct __gconv_trans_data, __gconv_trans_fct,
29204         __gconv_trans_context_fct, __gconv_trans_query_fct,
29205         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29206         definitions.
29207         (struct __gconv_step_data): Remove __trans member.
29208         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29209         longer hidden.  Remove unused trans_data argument.
29210         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29211         (__gconv_translit_find): Remove declaration.
29212         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29213         prototype.
29214         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29215         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29216         trans_data argument.  Add hidden definition.
29217         (__gconv_translit_find): Remove.
29218         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29219         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29220         * iconv/skeleton.c: Remove transliteration initialization.
29221         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29222         __gconv_step_data initialization.
29223         * libio/iofwide.c (__libio_translit_): Remove.
29224         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29225         * wcsmbs/btowc.c (__btowc): Likewise.
29226         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29227         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29228         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29229         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29230         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29231         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29232         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29233         * wcsmbs/wctob.c (wctob): Likewise.
29235 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29237         [BZ #16194]
29238         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29239         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29240         register usage.
29241         * sysdeps/x86/Makefile: Adjust.
29243 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29244             Roland McGrath  <roland@hack.frob.com>
29246         * locale/weight.h: Add include guard.
29247         (findidx): Make static rather than auto; take new parameters
29248         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29249         * locale/weightwc.h: Likewise.
29250         * posix/fnmatch_loop.c
29251         (FCT): Change type of EXTRA from int32_t to wint_t.
29252         Don't include either header inside the function.
29253         Call FINDIDX rather than findidx, and pass new arguments.
29254         #undef FINDIDX at the end of the file.
29255         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29256         FINDIDX before including fnmatch_loop.c for the non-wide version.
29257         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29258         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29259         for the wide version.
29260         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29261         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29262         Pass new arguments to findidx.
29263         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29264         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29265         Don't #include it inside the function.  Pass new arguments to findidx.
29266         * posix/regex_internal.h
29267         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29268         (re_string_elem_size_at): Don't #include it inside the function.
29269         Pass new arguments to findidx.
29270         * string/strcoll_l.c: #include WEIGHT_H at top level.
29271         (get_next_seq): Don't #include it inside the function.
29272         Pass new arguments to findidx.
29273         (get_next_seq_nocache): Likewise.
29274         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29275         (STRXFRM): Don't #include it inside the function.
29276         Pass new arguments to findidx.
29278 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29280         [BZ #17344]
29281         * malloc/malloc.c (unlink): Turn asserts into a call to
29282         malloc_printerr.
29284 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29286         [BZ #17370]
29287         * libio/wfileops (do_ftell_wide): Free OUT.
29289 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29291         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29293 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29295         [BZ #17363]
29296         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29297         group if the current group is empty.
29299 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29301         * benchtests/bench-memset.c (test_main): Add more test from size
29302         from 32 to 512 bytes.
29303         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29304         Add POWER8 memset object.
29305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29306         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29307         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29308         implementation.
29309         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29310         Likewise.
29311         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29312         multiarch POWER8 memset optimization.
29313         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29314         POWER8 memset optimization.
29316         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29317         Remove bzero multiarch objects.
29318         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29319         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29320         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29321         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29322         Remove define.
29323         [__bzero]: Redefine to specific name.
29324         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29325         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29326         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29327         define.
29328         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29329         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29331 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29333         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29334         warnings into errors.
29336         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29337         __cxa_thread_atexit_impl prototype.
29339 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29341         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29342         Fix capitalization of error message.
29344 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29346         * sysdeps/mips/preconfigure: Modify ABI tests.
29348 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29350         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29352 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29353             Carlos O'Donell  <carlos@systemhalted.org>
29355         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29356         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29357         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29358         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29359         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29360         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29361         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29362         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29363         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29364         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29365         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29366         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29367         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29368         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29369         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29370         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29371         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29372         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29373         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29374         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29375         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29376         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29377         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29378         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29379         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29380         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29381         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29382         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29383         Deconditionalize the code that was previously under [RESET_PID].
29384         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29385         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29386         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29387         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29388         include sysdep.h.
29390 2014-09-08  Allan McRae  <allan@archlinux.org>
29392         * version.h (RELEASE): Set to "development".
29393         (VERSION): Set to "2.20.90"
29395 2014-09-07  Allan McRae  <allan@archlinux.org
29397         * version.h (RELEASE): Set to "stable".
29398         (VERSION): Set to "2.20"
29399         * include/features.h (__GLIBC_MINOR__): Set to 20.
29401         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29402         Liebler.
29404         * po/ko.po: Update Korean translation from translation project.
29406 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29408         [BZ #17354]
29409         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29410         macro for handling signed relocations.
29412 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29414         [BZ #17325]
29415         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29416         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29417         assert.
29418         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29419         * iconvdata/ibm935.c (BODY): Likewise.
29420         * iconvdata/ibm937.c (BODY): Likewise.
29421         * iconvdata/ibm939.c (BODY): Likewise.
29422         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29423         assert.
29424         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29425         script.
29426         * iconvdata/run-iconv-test.sh: New test loop for checking for
29427         decoder crashers.
29429 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29431         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29432         libm_hidden_ver.
29434 2014-09-01  Allan McRae  <allan@archlinux.org>
29436         * po/eo.po: Update Esperanto translation from translation project.
29438         * po/ca.po: Update Catalan translation from translation project.
29440 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29442         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29443         __proc_dostop call.
29445 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29447         [BZ #17319]
29448         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29449         to call set_thread_area instead of hand written asm.
29450         (__NR_set_thread_area): Removed define.
29451         (TLS_FLAG_WRITABLE): Likewise.
29452         (__ASSUME_SET_THREAD_AREA): Remove check.
29453         (TLS_EBX_ARG): Remove define.
29454         (TLS_LOAD_EBX): Likewise.
29456 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29458         Simplify atomicity of socket creation in bind.
29460         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29461         looking up the name after linking the file.
29463 2014-08-27  Allan McRae  <allan@archlinux.org>
29465         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29467 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29469         [BZ #17187]
29470         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29471         trans_compare, open_translit, __gconv_translit_find):
29472         Remove module loading code.
29474 2014-08-26  Allan McRae  <allan@archlinux.org>
29476         * po/vi.po: Update Vietnamese translation from translation project.
29478         * po/uk.po: Update Ukrainian translation from translation project.
29480         * po/fr.po: Update French translation from translation project.
29482         * po/ru.po: Update Russian translation from translation project.
29484         * po/pl.po: Update Polish translation from translation project.
29486         * po/cs.po: Update Czech translation from translation project.
29488         * po/de.po: Update German translation from translation project.
29490         * po/bg.po: Update Bulgarian translation from translation project.
29492         * po/sv.po: Update Sweedish translation from translation project.
29494         * po/nl.po: Update Dutch translation from translation project.
29496         * po/es.po: Update Spanish translation from translation project.
29498 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29500         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29502         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29503         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29504         (CPPFLAGS-iconvconfig): Likewise.
29505         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29507         * include/libc-symbols.h: Remove unnecessary check for
29508         NOT_IN_libc.
29509         * nptl/pthreadP.h: Likewise.
29510         * sysdeps/aarch64/setjmp.S: Likewise.
29511         * sysdeps/alpha/setjmp.S: Likewise.
29512         * sysdeps/arm/sysdep.h: Likewise.
29513         * sysdeps/i386/setjmp.S: Likewise.
29514         * sysdeps/m68k/setjmp.c: Likewise.
29515         * sysdeps/posix/getcwd.c: Likewise.
29516         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29517         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29518         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29519         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29520         * sysdeps/sh/sh3/setjmp.S: Likewise.
29521         * sysdeps/sh/sh4/setjmp.S: Likewise.
29522         * sysdeps/unix/alpha/sysdep.h: Likewise.
29523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29525         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29526         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29531         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29534         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29536         * sysdeps/x86_64/setjmp.S: Likewise.
29538 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29540         [BZ #17263]
29541         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29542         <stdint.h>.
29543         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29544         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29546 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29548         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29550         [BZ #17262]
29551         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29552         and __x86_64__ when disabling x87 inline functions.
29554 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29556         [BZ #17259]
29557         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29558         asm statement with __cpuid_count.
29560 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29562         * configure.ac: Change __ehdr_start code to dereference the struct.
29563         Run readelf on the output to look for relocations.
29564         * configure: Regenerated.
29566 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29568         [BZ #17261]
29569         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29570         value to 0.
29571         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29573 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29575         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29577 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29579         [BZ #16892]
29580         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29581         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29583 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29585         * malloc/malloc.c: Fix typo in comment.
29587 2014-08-09  Allan McRae  <allan@archlinux.org>
29589         * Regenerate libc.po.
29591 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29593         * intl/tst-gettext2.sh: Check every lang file for creation.
29595 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29597         * sysdeps/aarch64/fpu/math_private.h
29598         (libc_feholdsetround_noex_aarch64_ctx): New function.
29600 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29602         * sysdeps/arm/armv6/strcpy.S (strcpy):
29603         Fix performance issue in misaligned cases.
29605 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29607         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29608         Move definition from termios.h.
29609         (struct termio): Likewise.
29610         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29611         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29612         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29613         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29614         Likewise.
29615         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29616         Move definition to ioctl-types.h
29617         (struct termio): Likewise.
29618         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29619         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29620         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29621         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29622         Likewise.
29624 2014-08-05  Richard Henderson  <rth@redhat.com>
29626         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29627         exceptions.
29628         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29629         Add fraiseexcpt.
29630         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29631         Use __feraiseexcept.
29632         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29633         Protect libm symbols with IS_IN_libm.
29635         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29637 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29639         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29641 2014-08-04  Will Newton  <will.newton@linaro.org>
29643         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29644         file.
29646 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29648         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29649         variants for each function.
29651 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29653         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29654         appended ...
29655         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29656         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29657         appended ...
29658         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29659         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29660         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29661         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29662         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29663         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29664         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29665         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29666         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29667         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29668         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29669         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29670         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29671         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29672         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29673         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29674         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29675         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29676         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29677         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29678         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29679         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29680         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29681         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29682         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29683         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29684         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29685         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29686         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29687         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29688         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29689         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29690         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29691         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29692         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29693         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29694         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29695         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29697         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29698         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29699         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29700         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29701         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29702         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29703         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29704         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29705         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29706         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29707         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29708         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29709         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29710         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29711         Update #include.
29712         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29713         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29715 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29717         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29718         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29719         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29720         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29721         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29722         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29724 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29726         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29727         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29728         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29729         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29731 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29733         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29734         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29735         (__libc_vfork): Define function under this name.
29736         (__vfork): Define as an alias.
29737         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29738         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29740 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29742         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29743         that was previously under [RESET_PID].
29744         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29746 2014-08-04  Andreas Schwab  <schwab@suse.de>
29748         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29750 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29752         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29753         (main): Likewise.
29755 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29757         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29759 2014-08-01  Richard Henderon  <rth@redhat.com>
29761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29762         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29763         typo in exact zero test.
29764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29765         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29766         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29768 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29770         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29771         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29772         * sysdeps/arm/sysdep.h: ... here.
29773         [!__ASSEMBLER__]: Include <stdint.h>.
29775 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29777         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29778         (HAVE_WCTYPE_H): Likewise.
29779         (HAVE_ISWCTYPE): Likewise.
29780         (ENABLE_NLS): Likewise.
29781         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29782         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29784         * posix/regex_internal.c: Check if DEBUG is defined and is
29785         set.
29787         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29788         (HAVE_MBSRTOWCS): Likewise.
29789         * posix/fnmatch.c: Include string.h unconditionally.
29791 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29793         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29794         reversal.
29796 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29798         * sysdeps/generic/safe-fatal.h: New file.
29799         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29800         * nptl/forward.c: Include it.
29801         (__pthread_unwind): Use __safe_fatal as default action, rather
29802         than a bogus use of INTERNAL_SYSCALL that could never work.
29804         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29805         * configure.ac (libc_cv_builtin_trap): New test.
29806         * configure: Regenerated.
29807         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29808         (ABORT_INSTRUCTION): Define using __builtin_trap.
29810         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29811         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29812         * sysdeps/nptl/nptl-signals.h: New file.
29813         * nptl/pthreadP.h: Include <nptl-signals.h>.
29815 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29817         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29818         (ONE_DIRECTION): Define.
29819         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29820         (ONE_DIRECTION): Define.
29821         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29822         (ONE_DIRECTION): Define.
29824 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29826         * sysdeps/s390/Makefile: Delete file.
29827         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29828         * sysdeps/s390/__longjmp.c: Delete file.
29829         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29830         Remove fields __flags and __reserved.
29831         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29832         and add versioning.
29833         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29834         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29835         * sysdeps/s390/rtld-setjmp.S: Likewise.
29836         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29837         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29838         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29839         * sysdeps/s390/s390-32/setjmp.S: ... here.
29840         Add versioning.
29841         (__sigsetjmp): Remove setting __flags field.
29842         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29843         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29844         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29845         * sysdeps/s390/s390-64/setjmp.S: ... here.
29846         Add versioning.
29847         (__sigsetjmp): Remove setting __flags field.
29848         * sysdeps/s390/setjmp.S: Delete file.
29849         * sysdeps/s390/sigjmp.c: Likewise.
29850         * sysdeps/s390/v1-longjmp.c: Likewise.
29851         * sysdeps/s390/v1-setjmp.h: Likewise.
29852         * sysdeps/s390/v1-sigjmp.c: Likewise.
29853         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29854         Remove v1-longjmp_chk.
29855         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29856         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29857         Include debug/longjmp_chk.c and add versioning.
29858         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29859         Include nptl/pt-longjmp.c and add versioning.
29860         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29861         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29862         Include __longjmp.c.
29863         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29864         Move to ...
29865         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29866         (__getcontext): Remove setting __flags field.
29867         Add versioning.
29868         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29869         Don't restore upper high grps.
29870         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29871         Likewise.
29872         (__swapcontext): Remove setting uc_flags field.
29873         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29874         Delete file.
29875         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29876         Include __longjmp.c.
29877         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29878         Move to ...
29879         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29880         (__getcontext): Remove setting __flags field.
29881         Add versioning.
29882         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29883         (__swapcontext): Remove setting uc_flags field.
29884         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29885         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29886         Remove fields uc_high_gprs and __reserved.
29887         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29888         New file with reverted content.
29889         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29890         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29891         Regenerated.
29892         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29893         Regenerated.
29895 2014-07-31  Andreas Schwab  <schwab@suse.de>
29897         * config.h.in (HAVE_IFUNC): Define to 0.
29898         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29899         definedness.
29901 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29904         memmove-avx-unaligned, memcpy-avx-unaligned and
29905         mempcpy-avx-unaligned.
29906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29907         Add tests for AVX memcpy functions.
29908         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29909         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29910         memcpy_chk.
29911         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29912         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29913         memmove_chk.
29914         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29915         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29916         mempcpy_chk.
29917         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29918         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29919         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29921 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29923         [BZ #17213]
29924         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29925         powerpc64le.
29927 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29929         [BZ #16839]
29930         * manual/llio.texi: Add section about open file description locks.
29931         * manual/examples/ofdlocks.c: Example of open file description
29932         lock usage.
29933         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29934         F_OFD_SETLK, and F_OFD_SETLKW.
29936 2014-07-23  Allan McRae  <allan@archlinux.org>
29938         * po/es.po: Update Spanish translation from translation project.
29940 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29942         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29944 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29946         [BZ #17078]
29947         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29948         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29949         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29951 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29953         [BZ #17088]
29954         * math/fesetenv.c (__fesetenv)
29955         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29956         * math/feupdateenv.c (__feupdateenv)
29957         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29959         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29960         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29961         (__ASSUME_SOCKETCALL): Do not define.
29963         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29964         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29965         (__ASSUME_SOCKETCALL): Do not define.
29966         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29967         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29968         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29969         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29970         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29971         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29972         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29973         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29975         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29976         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29977         (__ASSUME_SOCKETCALL): Do not define.
29978         (__ASSUME_IPC64): Define unconditionally.
29979         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29980         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29981         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29982         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29983         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29984         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29985         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29986         Likewise.
29988         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29989         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29990         (__ASSUME_SOCKETCALL): Do not define.
29991         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29992         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29993         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29994         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29995         (__ASSUME_REQUEUE_PI): Define unconditionally.
29996         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29997         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29998         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29999         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30000         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30001         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30003         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30004         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30005         (__ASSUME_SOCKETCALL): Do not define.
30006         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30007         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30008         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30009         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30010         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30011         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30013         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30014         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30015         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30016         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30017         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30018         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30019         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30020         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30021         (__ASSUME_GETCPU_SYSCALL): Likewise.
30023         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30024         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30025         cases for individual architectures.
30026         * sysdeps/gnu/configure: Regenerated.
30027         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30028         LIBC_SLIBDIR_RTLDDIR.
30029         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30030         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30031         LIBC_SLIBDIR_RTLDDIR.
30032         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30034         LIBC_SLIBDIR_RTLDDIR.
30035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30036         Regenerated.
30037         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30038         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30039         file.
30040         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30041         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30042         file.
30043         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30044         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30045         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30046         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30048         * sysdeps/aarch64/shlib-versions: Move to ...
30049         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30050         * sysdeps/alpha/shlib-versions: Move to ...
30051         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30052         * sysdeps/arm/shlib-versions: Move to ...
30053         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30054         * sysdeps/hppa/shlib-versions: Move all contents except for
30055         libgcc_s entry to ...
30056         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30057         entry from ...
30058         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30059         * sysdeps/ia64/shlib-versions: Move to ...
30060         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30061         entry from ...
30062         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30063         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30064         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30065         * sysdeps/microblaze/shlib-versions: Move to ...
30066         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30067         * sysdeps/mips/shlib-versions: Move to ...
30068         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30069         entry from ...
30070         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30071         * sysdeps/tile/shlib-versions: Move to ...
30072         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30073         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30074         from ...
30075         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30076         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30077         entry from ...
30078         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30080 2014-07-17  Will Newton  <will.newton@linaro.org>
30082         * sysdeps/arm/bits/atomic.h
30083         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30084         (__arch_compare_and_exchange_bool_16_int): Likewise.
30085         (__arch_compare_and_exchange_bool_64_int): Likewise.
30087         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30088         into an #else block.
30090 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30092         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30093         just Linux configurations.  Test empirically that the compiler sets
30094         __ARM_EABI__, rather than using the tuple to decide.
30095         * sysdeps/arm/preconfigure: Regenerated.
30096         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30097         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30098         contents appended ...
30099         * sysdeps/arm/configure.ac: ... here.
30100         * sysdeps/arm/configure: Regenerated.
30102 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30104         * nptl/pthread_kill.c: New file.
30105         * nptl/pthread_sigmask.c: New file.
30106         * nptl/pthread_sigqueue.c: New file.
30108         * sysdeps/nptl/lowlevellock.h: New file.
30109         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30110         * sysdeps/nptl/lowlevellock-futex.h: New file.
30112         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30113         Remove dead declarations.
30115 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30117         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30118         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30119         config-cflags-avx2.
30120         * sysdeps/x86_64/configure.ac: Likewise.
30121         * sysdeps/i386/configure: Regenerated.
30122         * sysdeps/x86_64/configure: Likewise.
30123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30124         memset-avx2 only if config-cflags-avx2 is yes.
30125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30126         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30127         defined.
30128         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30129         only if HAVE_AVX2_SUPPORT is defined.
30130         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30132 2014-07-14  Alan Modra  <amodra@gmail.com>
30134         [BZ #17153]
30135         * elf/elf.h (DT_PPC64_NUM): Correct value.
30136         * NEWS: Add to fixed bug list.
30138 2014-07-13  Jim Meyering  <meyering@fb.com>
30140         [BZ 17150]
30141         regex: don't deref NULL upon heap allocation failure
30142         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30143         failure in one more place.
30144         To trigger the segfault, configure grep -with-included-regex,
30145         build it, and run these commands:
30146         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30148 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30150         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30152 2014-07-11  Richard Henderson  <rth@redhat.com>
30154         * sysdeps/aarch64/libm-test-ulps: Update.
30156 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30158         [BZ #17135]
30159         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30160         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30161         (__nptl_setxid): Initialize error member.  Call
30162         __nptl_setxid_error.
30163         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30164         * nptl/descr.h (struct xid_command): Add error member.
30165         * nptl/tst-setuid3.c: New file.
30166         * nptl/Makefile (tests): Add it.
30168 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30170         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30171         New define.
30172         (__lll_trylock): Use __lll_base_trylock.
30173         (__lll_cond_trylock): Likewise.
30175 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30177         * nptl/pthread_create.c (start_thread): Use atomic_or and
30178         lll_futex_wake directly rather than lll_robust_dead.
30179         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30180         (lll_robust_dead): Macro removed.
30181         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30182         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30183         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30184         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30185         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30186         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30187         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30188         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30189         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30191         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30192         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30193         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30194         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30197         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30198         Use atomic_compare_and_exchange_val_acq directly rather than
30199         lll_robust_trylock.
30200         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30201         (__lll_robust_trylock, lll_robust_trylock): Removed.
30202         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30203         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30204         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30205         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30206         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30207         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30208         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30209         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30210         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30211         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30212         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30213         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30214         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30217 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30219         * manual/locale.texi (Locale Names): New section documenting
30220         locale name syntax.  Adjust menu and node chaining accordingly.
30221         (Choosing Locale): Reference Locale Names, Locale Categories.
30222         Mention setting LC_ALL=C.  Reflect that name syntax is now
30223         documented.
30224         (Locale Categories): New section title.  Reference Locale Names.
30225         LC_ALL is an environment variable, but not a category.
30226         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30227         description, now in Locale Name.  Reference that section.  Locale
30228         name syntax is now documented.
30230 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30232         [BZ #17137]
30233         * locale/findlocale.c (name_present, valid_locale_name): New
30234         functions.
30235         (_nl_find_locale): Use the loc_name variable to store name
30236         candidates.  Call name_present and valid_locale_name to check and
30237         validate locale names.  Return an error if the locale is invalid.
30239 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30241         * locale/setlocale.c (setlocale): Use strdup for allocating
30242         composite name copy.
30244 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30246         Sync up with gnulib.
30247         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30248         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30249         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30250         and _GL_ARG_NONNULL.
30251         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30252         [!_LIBC]: Include code for Windows and Cygwin.
30253         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30254         Include prototype for int strerror_r.
30255         [!_LIBC] (is_open): New function.
30256         (flush_stdout): New function.
30257         (print_errno_message): Use it.
30258         (error): Likewise.
30259         (error_at_line): Likewise.
30260         (error_tail) Add function attribute macros.  Use
30261         __builtin_expect.
30263         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30265         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30267         * io/ftw.c: Include sys/param.h unconditionally.
30269         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30271         [BZ #17125]
30272         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30273         libc_freeres_ptr.
30274         (freecache): New function to free CACHE on exit.
30276         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30277         initialization.
30279 2014-07-09  David S. Miller  <davem@davemloft.net>
30281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30283         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30284         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30285         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30286         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30287         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30288         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30289         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30290         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30291         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30292         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30293         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30294         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30295         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30297 2014-07-09  Andreas Schwab  <schwab@suse.de>
30299         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30300         output.
30301         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30302         (do_test): Likewise.
30304         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30306 2014-07-09  Will Newton  <will.newton@linaro.org>
30308         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30309         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30310         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30311         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30312         * sysdeps/hppa/start.S (_start): Likewise.
30314 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30316         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30318         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30319         defined.
30321 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30323         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30324         after checking that it is non-NULL.
30326         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30328 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30330         * sysdeps/powerpc/memmove.c: Remove file.
30331         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30332         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30333         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30334         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30335         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30336         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30337         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30338         string memmove instead of removed powerpc one.
30340         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30341         [weak_alias]: Fix compiler warning due trailing data.
30342         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30343         [weak_alias]: Likewise.
30344         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30345         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30348         (__libc_ifunc_impl_list): Add memmove functions.
30350 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30352         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30353         Remove code.
30354         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30355         Likewise.
30356         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30357         Likewise.
30358         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30359         Likewise.
30360         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30361         Likewise.
30362         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30363         Likewise.
30364         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30365         Likewise.
30366         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30367         Likewise.
30368         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30369         Likewise.
30370         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30371         Likewise.
30372         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30373         Likewise.
30374         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30375         Likewise.
30376         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30377         Likewise.
30378         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30379         Likewise.
30380         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30381         Likewise.
30382         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30383         Likewise.
30384         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30385         Likewise.
30387 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30389         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30390         to avoid alignment traps in non-cacheable memory.
30391         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30394         multiarch objects.
30395         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30396         file: multiarch power7 memmove.
30397         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30398         multiarch default memmove.
30399         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30400         multiarch memove for powerpc32/power4.
30402         * string/bcopy.c: Use full path to include memmove.c.
30403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30404         multiarch objects.
30405         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30406         bcopy for powerpc64.
30407         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30408         bcopy for powerpc64.
30409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30410         and memmove implementations.
30411         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30412         optimized multiarch memmove for POWER7/powerpc64.
30413         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30414         default multiarch memmove for powerpc64.
30415         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30416         multiarch for powerpc64.
30417         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30418         for POWER7/powerpc64.
30419         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30420         memmove for POWER7/powerpc64.
30422         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30423         glibc default one.
30425         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30426         __ELF_NATIVE_CLASS equal to 64.
30428 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30430         * sysdeps/nptl/lowlevellock.h: File removed.
30432         * NEWS: NPTL is no longer an add-on!
30433         * nptl/internaltypes.h: Moved ...
30434         * sysdeps/nptl/internaltypes.h: ... here.
30435         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30436         * sysdeps/nptl/fork.c: Likewise.
30437         * sysdeps/nptl/gai_misc.h: Likewise.
30438         * sysdeps/nptl/librt-cancellation.c: Likewise.
30439         * sysdeps/nptl/jmp-unwind.c: Likewise.
30440         * sysdeps/nptl/setxid.h: Likewise.
30441         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30442         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30443         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30444         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30445         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30446         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30447         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30448         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30449         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30450         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30451         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30452         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30453         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30454         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30455         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30456         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30457         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30458         * nptl/Makeconfig: Moved ...
30459         * sysdeps/nptl/Makeconfig: ... here.
30460         * nptl/configure: File removed.
30461         * nptl/ANNOUNCE: File removed.
30462         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30463         * sysdeps/unix/sysv/linux/configure: Regenerated.
30465         * nptl/Makefile (routines): Add libc_pthread_init,
30466         libc_multiple_threads, register-atfork and unregister-atfork.
30467         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30468         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30469         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30470         pthread-pi-defines.sym, structsem.sym.
30471         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30472         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30473         [$(subdir) = nptl] (tests): Add tst-setgetname.
30474         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30475         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30476         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30477         [!LIBC_SIGACTION]: Remove aliases.
30478         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30479         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30480         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30481         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30482         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30483         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30484         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30486         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30487         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30488         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30489         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30490         __libc_allocate_rtsig_private.
30491         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30492         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30493         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30494         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30495         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30496         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30497         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30498         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30499         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30500         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30501         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30502         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30503         * nptl/internaltypes.h: ... here.
30504         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30505         * sysdeps/nptl/jmp-unwind.c: ... here.
30506         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30507         * nptl/libc-lowlevellock.c: ... here.
30508         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30509         * nptl/libc_multiple_threads.c: ... here.
30510         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30511         * nptl/libc_pthread_init.c: ... here.
30512         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30513         * nptl/lowlevelbarrier.sym: ... here.
30514         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30515         * nptl/lowlevelcond.sym: ... here.
30516         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30517         * nptl/lowlevellock.c: ... here.
30518         * nptl/lowlevellock.h: Moved ...
30519         * sysdeps/nptl/lowlevellock.h: ... here.
30520         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30521         * nptl/lowlevelrobustlock.c: ... here.
30522         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30523         * nptl/lowlevelrobustlock.sym: ... here.
30524         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30525         * nptl/lowlevelrwlock.sym: ... here.
30526         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30527         * nptl/pt-fork.c: ... here.
30528         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30529         * nptl/pthread-pi-defines.sym: ... here.
30530         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30531         * nptl/pthread_attr_getaffinity.c: ... here.
30532         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30533         * nptl/pthread_attr_setaffinity.c: ... here.
30534         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30535         * nptl/pthread_mutex_cond_lock.c: ... here.
30536         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30537         Update #include.
30538         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30539         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30540         * nptl/pthread_once.c: ... here, replacing old file.
30541         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30542         * nptl/pthread_yield.c: ... here.
30543         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30544         * nptl/register-atfork.c: ... here.
30545         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30546         * nptl/sem_post.c: ... here.
30547         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30548         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30549         * nptl/sem_timedwait.c: ... here.
30550         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30551         * nptl/sem_trywait.c: ... here.
30552         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30553         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30554         * nptl/sem_wait.c: ... here.
30555         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30556         * nptl/structsem.sym: ... here.
30557         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30558         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30559         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30560         * nptl/unregister-atfork.c: ... here.
30561         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30562         * nptl/unwindbuf.sym: ... here.
30563         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30564         * sysdeps/nptl/fork.c: ... here.
30565         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30566         * sysdeps/nptl/fork.h: ... here.
30567         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30568         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30569         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30570         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30571         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30572         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30573         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30574         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30575         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30576         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30577         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30578         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30579         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30580         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30581         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30582         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30583         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30584         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30585         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30586         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30587         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30588         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30589         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30591         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30592         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30593         * sysdeps/unix/sysv/linux/raise.c: ... here.
30594         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30595         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30596         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30597         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30598         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30599         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30601         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30603         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30604         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30605         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30606         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30607         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30608         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30610 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30612         * sysdeps/generic/memcopy.h: Add comment for
30613         MEMCPY_OK_FOR_FWD_MEMMOVE.
30615 2014-07-04  Will Newton  <will.newton@linaro.org>
30617         * string/memchr.c: Merge from gnulib.
30618         [_LIBC]: Remove conditionals.
30619         (__ptr_t): Remove define.
30620         (LONG_MAX_32_BITS): Likewise.
30621         (LONG_MAX): Likewise.
30622         (MEMCHR): Use ANSI prototype and optimize algorithm.
30624         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30626 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30628         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30629         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30631         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30632         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30633         in a bare environment with no <stdlib.h> installed.
30634         * sysdeps/nptl/configure: Regenerated.
30636         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30638         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30639         AC_EGREP_CPP for kernel header checks, so they only succeed if
30640         including <linux/version.h> actually works right.
30641         * sysdeps/unix/sysv/linux/configure: Regenerated.
30643         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30644         value so it's not diagnosed as unused.
30646         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30647         thing) with "ifeq ($(subdir),rt)".
30649 2014-07-03  Richard Henderson  <rth@redhat.com>
30651         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30652         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30653         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30655         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30656         (math_force_eval): New.
30658         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30659         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30661         * sysdeps/alpha/fpu/s_round.c: Remove file.
30662         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30664         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30665         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30666         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30667         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30668         (_dl_start, print_statistics): Likewise.
30669         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30670         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30672         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30673         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30674         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30675         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30676         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30677         (HP_SMALL_TIMING_AVAIL): Define.
30678         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30679         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30680         (HP_SMALL_TIMING_AVAIL): Define.
30681         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30682         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30684         * sysdeps/aarch64/hp-timing.h: New file.
30686         * sysdeps/generic/hp-timing.h: Remove dead comment.
30687         * sysdeps/generic/hp-timing-common.h: New file.
30688         * sysdeps/alpha/hp-timing.h: Include it.
30689         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30690         * sysdeps/i386/i686/hp-timing.h: Likewise.
30691         * sysdeps/ia64/hp-timing.h: Likewise.
30692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30693         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30694         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30695         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30696         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30697         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30698         (hp_timing_t): New.
30700         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30701         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30702         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30703         * elf/rtld.c (_dl_start_final): Likewise.
30704         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30705         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30706         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30707         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30708         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30709         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30710         (HP_TIMING_DIFF_INIT): Remove.
30711         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30713         (HP_TIMING_DIFF_INIT): Remove.
30714         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30715         * sysdeps/i386/i686/hp-timing.c: Remove file.
30716         * sysdeps/x86_64/hp-timing.c: Remove file.
30717         * sysdeps/ia64/hp-timing.c: Remove file.
30718         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30719         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30720         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30721         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30723         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30724         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30725         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30726         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30727         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30728         (HP_TIMING_ACCUM): Remove.
30729         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30730         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30731         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30733         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30734         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30735         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30736         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30738         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30740         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30742         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30744 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30746         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30748 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30750         Sync up with gettext.
30751         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30752         [_MSC_VER]: Include malloc.h
30753         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30754         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30755         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30756         TEMP_FAILURE_RETRY.  Cast return of alloca.
30757         [!_LIBC] Call gl_rwlock_init.
30758         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30760 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30762         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30763         before checking its value.
30765 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30767         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30769         * debug/memcpy_chk.c: Don't include pagecopy.h.
30770         * debug/mempcpy_chk.c: Likewise.
30771         * string/memcpy.c: Likewise.
30772         * string/memmove.c: Likewise.
30773         * sysdeps/powerpc/memmove.c: Likewise.
30774         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30775         definition of PAGE_COPY_FWD_MAYBE here...
30776         * sysdeps/generic/pagecopy.h: ... from here.
30777         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30779 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30782         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30784         optimizations.
30785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30786         (__libc_ifunc_impl_list): Likewise.
30787         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30788         multiarch strcat for PPC64.
30789         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30790         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30792 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30794         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30796 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30798         * intl/loadmsgcat.c: Remove declaration of
30799         get_sysdep_segment_value.
30800         (get_sysdep_segment_value): Use ISO C style.
30801         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30802         semicolon.  Fix typo and formatting in comment.
30803         (_nl_unload_domain): Use ISO C style.
30805         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30807 2014-07-02  Will Newton  <will.newton@linaro.org>
30809         * malloc/obstack.c: Merge from gnulib master.
30810         [HAVE_CONFIG_H]: Remove conditional code.
30811         [!_LIBC]: Include config.h.
30812         [!ELIDE_CODE]: Don't include inttypes.h, include
30813         stdint.h unconditionally.
30814         (print_and_abort): Mark as _Noreturn.
30815         (_obstack_allocated_p): Mark as __attribute_pure__.
30816         (obstack_free): Rename to __obstack_free.
30817         [!__attribute__]: Remove conditional code.
30818         * malloc/obstack.h: Merge from gnulib master.
30819         [__cplusplus]: Move conditional down.
30820         [!__attribute_pure__]: Define __attribute_pure__ here
30821         if it is not already defined.
30822         (_obstack_memory_used): Mark as __attribute_pure__.
30823         [!__obstack_free]: Define as obstack_free.
30824         [__GNUC__]: Remove check for ancient NeXT gcc.
30826 2014-07-02  Will Newton  <will.newton@linaro.org>
30827             Paul Eggert  <eggert@cs.ucla.edu>
30829         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30831 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30833         * resolv/gethnamaddr.c: Add comment warning that the file is
30834         not maintained.
30836 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30838         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30839         entries.
30841         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30842         entry for aio_cancel and aio_cancel64.
30843         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30844         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30845         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30846         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30847         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30848         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30849         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30850         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30851         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30852         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30853         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30854         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30855         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30857 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30859         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30860         * nptl/pthread_mutex_lock.c: Likewise.
30861         * nptl/pthread_mutex_timedlock.c: Likewise.
30862         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30864 2014-07-01  Richard henderson  <rth@redhat.com>
30866         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30867         (__isnan, __isnanl): Remove.
30868         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30870         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30872 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30874         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30876 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30878         * resolv/nss_dns/dns-host.c (getanswer_r)
30879         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30881 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30884         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30885         undefine.
30886         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30887         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30889 2014-07-01  Roland McGrath <roland@hack.frob.com>
30891         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30892         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30894         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30895         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30897         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30898         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30899         ... here.
30900         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30901         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30903         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30904         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30905         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30906         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30908         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30909         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30910         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30911         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30912         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30913         Moved ...
30914         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30915         ... here.
30916         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30917         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30918         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30919         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30920         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30921         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30922         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30923         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30924         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30925         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30926         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30927         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30928         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30929         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30930         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30931         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30932         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30933         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30934         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30935         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30936         ... here.
30937         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30938         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30939         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30940         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30941         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30942         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30943         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30944         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30946 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30948         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30949         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30950         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30951         Add sysdep.
30953 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30957 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30959         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30960         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30962         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30964         * sysdeps/arm/libm-test-ulps: Regenerated.
30966 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30967             Roland McGrath <roland@hack.frob.com>
30969         * test-skeleton.c (signal_handler): Kill the whole process group
30970         before killing the child individually.
30971         (main): Report any failure on `setpgid'.
30973 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30975         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30976         from _TLS_H to _ARM_NPTL_TLS_H.
30977         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30978         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30980 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30982         [BZ #16539]
30983         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30984         (__expm1l): Return argument unchanged when small but not
30985         subnormal.
30987         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30988         include macro name.
30989         (_FP_UNPACK_RAW_1_P): Likewise.
30990         (_FP_PACK_RAW_1): Likewise.
30991         (_FP_PACK_RAW_1_P): Likewise.
30992         (_FP_MUL_MEAT_1_wide): Likewise.
30993         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30994         (_FP_MUL_MEAT_1_hard): Likewise.
30995         (_FP_DIV_MEAT_1_imm): Likewise.
30996         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30997         (_FP_DIV_MEAT_1_udiv): Likewise.
30998         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30999         (_FP_UNPACK_RAW_2): Likewise.
31000         (_FP_UNPACK_RAW_2_P): Likewise.
31001         (_FP_PACK_RAW_2): Likewise.
31002         (_FP_PACK_RAW_2_P): Likewise.
31003         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31004         (_FP_MUL_MEAT_2_wide): Likewise.
31005         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31006         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31007         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31008         (_FP_MUL_MEAT_2_gmp): Likewise.
31009         (_FP_DIV_MEAT_2_udiv): Likewise.
31010         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31011         (_FP_FRAC_SRL_4): Likewise.
31012         (_FP_FRAC_SRST_4): Likewise.
31013         (_FP_FRAC_SRS_4): Likewise.
31014         (_FP_UNPACK_RAW_4): Likewise.
31015         (_FP_UNPACK_RAW_4_P): Likewise.
31016         (_FP_PACK_RAW_4): Likewise.
31017         (_FP_PACK_RAW_4_P): Likewise.
31018         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31019         (_FP_MUL_MEAT_4_wide): Likewise.
31020         (_FP_MUL_MEAT_4_gmp): Likewise.
31021         (umul_ppppmnnn): Likewise.
31022         (_FP_DIV_MEAT_4_udiv): Likewise.
31023         (__FP_FRAC_ADD_4): Likewise.
31024         (__FP_FRAC_SUB_3): Likewise.
31025         (__FP_FRAC_SUB_4): Likewise.
31026         (__FP_FRAC_DEC_3): Likewise.
31027         (__FP_FRAC_DEC_4): Likewise.
31028         (__FP_FRAC_ADDI_4): Likewise.
31029         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31030         (_FP_FRAC_SRL_8): Likewise.
31031         (_FP_FRAC_SRS_8): Likewise.
31033         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31034         include macro name.
31035         (FP_UNPACK_RAW_EP): Likewise.
31036         (FP_PACK_RAW_E): Likewise.
31037         (FP_PACK_RAW_EP): Likewise.
31038         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31039         (_FP_ISSIGNAN): Likewise.
31040         (_FP_ADD_INTERNAL): Likewise.
31041         (_FP_FMA): Likewise.
31042         (_FP_CMP): Likewise.
31043         (_FP_SQRT): Likewise.
31044         (_FP_TO_INT): Likewise.
31045         (_FP_FROM_INT): Likewise.
31046         (FP_EXTEND): Likewise.
31047         (_FP_DIV_MEAT_N_loop): Likewise.
31049 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31051         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31052         throughout.
31054 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31056         [BZ #17097]
31057         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31058         result with correct sign in case of exponents that produce
31059         overflow except for X very close to 1.
31061 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31063         mktime: merge #if/#ifdef usage from glibc
31064         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31065         as that works with both Glibc's and Gnulib's style.
31066         See thread starting at Siddhesh Poyarekar's bug report at:
31067         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31069 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31071         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31072         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31073         * sysdeps/tile/tilegx/memmove.c: Remove file.
31075 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31077         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31078         abi-name definition.
31079         * scripts/soversions.awk: Do not handle or generate ABI lines.
31080         * shlib-versions: Remove ABI entries.
31081         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31082         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31084 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31087         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31088         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31089         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31090         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31091         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31093         Moved ...
31094         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31095         ... here.
31096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31097         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31099         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31101         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31103         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31104         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31105         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31107         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31109         Moved ...
31110         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31112         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31114         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31116         Moved ...
31117         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31119         Moved ...
31120         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31122         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31124         Moved ...
31125         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31126         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31127         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31128         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31129         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31130         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31131         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31132         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31133         Moved ...
31134         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31136         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31137         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31138         Moved ...
31139         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31141         Moved ...
31142         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31144         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31146         Moved ...
31147         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31148         ... here.
31149         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31150         Identical file removed.
31151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31152         Moved ...
31153         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31154         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31155         Identical file removed.
31156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31157         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31159         Moved ...
31160         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31162         Identical file removed.
31163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31164         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31166         Identical file removed.
31167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31168         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31170         Identical file removed.
31171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31172         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31173         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31174         Identical file removed.
31175         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31176         Moved ...
31177         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31178         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31179         Identical file removed.
31180         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31181         Moved ...
31182         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31183         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31184         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31185         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31186         Identical file removed.
31187         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31188         Moved ...
31189         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31190         ... here.
31191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31192         Identical file removed.
31193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31194         Moved ...
31195         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31197         Identical file removed.
31198         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31199         Moved ...
31200         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31201         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31202         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31204         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31205         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31206         Moved ...
31207         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31208         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31209         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31211         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31212         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31213         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31214         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31215         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31217 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31219         [BZ #17092]
31220         * nscd/nscd.c (monitor_child): Return exit status of child
31221         instead of return value from wait syscall.
31223 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31225         * configure.ac (libc_commonpagesize): Remove variable.
31226         (libc_relro_required): Likewise.
31227         (libc_cv_z_relro): Remove configure test.
31228         * configure: Regenerated.
31229         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31230         variable.
31231         (libc_relro_required): Likewise.
31232         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31233         (libc_relro_required): Likewise.
31234         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31235         (libc_relro_required): Likewise.
31236         * sysdeps/arm/preconfigure: Regenerated.
31237         * sysdeps/ia64/preconfigure: Remove file.
31238         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31239         variable.
31240         (libc_relro_required): Likewise.
31242         [BZ #16561]
31243         [BZ #16562]
31244         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31245         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31246         recompute overflowing results in original rounding mode.
31247         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31248         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31249         recompute overflowing results in original rounding mode.
31250         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31251         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31252         recompute overflowing results in original rounding mode.
31253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31254         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31255         recompute overflowing results in original rounding mode.
31256         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31257         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31258         recompute overflowing results in original rounding mode.
31259         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31260         (libc_feholdsetround_ctx): New macro.
31261         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31262         * sysdeps/i386/fpu/libm-test-ulps: Update.
31263         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31265 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31267         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31268         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31269         corresponding .cpsetup call.
31271 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31273         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31274         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31275         * sysdeps/arm/Makefile [$(subdir) = csu]
31276         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31277         (static-only-routines): Add aeabi_read_tp here.
31278         (shared-only-routines): Add libc-aeabi_read_tp here.
31279         (CFLAGS-libc-start.c): Add -fexceptions here.
31280         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31281         (sysdep_routines, static-only-routines, shared-only-routines):
31282         Don't add to these here.
31283         (CFLAGS-libc-start.c): Likewise.
31285         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31286         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31287         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31288         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31289         * sysdeps/arm/Makefile [$(subdir) = rt]
31290         (librt-sysdep_routines, librt-shared-only-routines):
31291         Append rt-aeabi_unwind_cpp_pr1 here.
31292         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31293         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31294         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31295         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31296         Append nptl-aeabi_unwind_cpp_pr1 here.
31297         (tests): Filter out tst-cleanupx4 here.
31298         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31299         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31300         Don't do those here.
31302 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31304         * scripts/list-sources.sh: Do not handle ports specially.
31306 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31308         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31309         * sysdeps/arm/feupdateenv.c: Likewise.
31311         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31313 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31315         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31316         trailing whitespace removed.
31317         * scripts/config.guess: Update to version 2014-03-23.
31318         * scripts/config.sub: Update to version 2014-05-01
31319         * scripts/install-sh: Update to version 2013-12-25.23.
31320         * scripts/move-if-change: Update from gnulib.
31322 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31324         * debug/memmove_chk.c: Remove pagecopy.h include.
31326 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31328         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31329         identical to gnulib mktime.
31331 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31333         * configure.ac: Do not test for machine being rs6000.  Do not test
31334         for powerpc*-*soft.
31335         * configure: Regenerated.
31337         [BZ #11505]
31338         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31339         test.
31340         * configure: Regenerated.
31341         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31342         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31343         Remove configure test.
31344         * sysdeps/arm/configure: Regenerated.
31345         * sysdeps/nptl/configure.ac: Do not check
31346         libc_cv_asm_cfi_directives.
31347         * sysdeps/nptl/configure: Regenerated.
31348         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31349         * sysdeps/x86_64/nptl/configure: Remove generated file.
31350         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31351         unconditional.
31352         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31354 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31356         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31357         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31358         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31359         it is defined.
31361         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31362         instead of whether it is defined.
31363         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31364         * sysdeps/hppa/dl-machine.h: Likewise.
31365         * sysdeps/ia64/dl-machine.h: Likewise.
31366         * sysdeps/m68k/dl-machine.h: Likewise.
31367         * sysdeps/microblaze/dl-machine.h: Likewise.
31368         * sysdeps/mips/dl-machine.: Likewise.
31369         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31370         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31371         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31372         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31373         * sysdeps/sh/dl-machine.h: Likewise.
31374         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31375         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31376         * sysdeps/tile/dl-machine.h: Likewise.
31377         * sysdeps/x86_64/dl-machine.h: Likewise.
31379         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31380         code.
31381         (verify_persistent_db): Likewise.
31383 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31386         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31388         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31390         Moved ...
31391         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31392         ... here.
31393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31394         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31396         Identical file removed.
31397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31398         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31400         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31402         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31404         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31406         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31408         Moved ...
31409         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31411         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31413         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31415         Moved ...
31416         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31418         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31420         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31422         Identical file removed.
31423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31424         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31426         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31428         Moved ...
31429         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31430         ... here.
31431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31432         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31434         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31436         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31438         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31440         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31442         Moved ...
31443         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31445         Moved ...
31446         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31448         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31450         Moved ...
31451         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31453         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31455         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31456         folded into ...
31457         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31458         * sysdeps/unix/sysv/linux/s390/Versions
31459         (libpthread: GLIBC_2.19): New version set.
31460         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31461         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31462         (librt: GLIBC_2.3.3): New version set.
31463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31464         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31465         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31466         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31467         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31468         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31469         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31470         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31471         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31472         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31473         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31475         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31477         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31478         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31479         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31480         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31481         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31483         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31485         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31486         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31487         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31488         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31489         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31490         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31491         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31492         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31493         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31494         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31495         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31496         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31498         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31499         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31501         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31502         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31503         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31504         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31505         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31507         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31510         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31511         (__libc_vfork): Define the function under this name.
31512         [!NOT_IN_libc] (__vfork): Make this an alias.
31513         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31514         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31515         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31516         (__libc_vfork): Define the function under this name.
31517         [!NOT_IN_libc] (__vfork): Make this an alias.
31518         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31519         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31520         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31521         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31523         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31525         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31526         code that was previously under [RESET_PID].
31527         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31528         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31529         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31531         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31532         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31533         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31534         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31535         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31536         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31537         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31538         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31539         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31540         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31541         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31542         Moved ...
31543         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31544         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31545         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31546         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31547         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31548         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31549         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31550         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31551         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31552         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31553         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31554         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31555         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31556         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31557         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31558         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31559         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31560         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31561         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31562         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31563         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31564         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31565         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31566         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31567         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31568         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31569         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31570         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31571         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31573 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31575         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31576         that was previously under [RESET_PID].
31577         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31579 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31581         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31582         not undefine and redefine.
31583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31584         [O_CLOEXEC]: Make code unconditional.
31585         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31586         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31587         <kernel-features.h>.
31588         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31589         conditional variable definition.
31590         (shm_open) [O_CLOEXEC]: Make code unconditional.
31591         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31592         code.
31594         * configure.ac (USE_REGPARMS): Don't define here.
31595         * configure: Regenerated.
31596         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31597         * sysdeps/i386/configure: Regenerated.
31599         * nptl/createthread.c: Don't include kernel-features.h.
31600         * nptl/pthread_cancel.c: Likewise.
31601         * nptl/pthread_condattr_setclock.c: Likewise.
31602         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31603         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31604         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31605         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31606         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31607         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31608         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31611         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31612         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31613         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31614         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31615         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31616         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31617         * nscd/gai.c: Likewise.
31618         * nss/nss_db/db-open.c: Likewise.
31619         * sysdeps/generic/ldsodefs.h: Likewise.
31620         * sysdeps/sh/nptl/tls.h: Likewise.
31621         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31622         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31623         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31624         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31625         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31626         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31627         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31628         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31630         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31631         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31632         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31633         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31634         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31635         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31636         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31637         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31638         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31639         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31640         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31641         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31643         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31644         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31649         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31650         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31651         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31652         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31653         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31654         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31655         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31656         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31657         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31658         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31659         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31660         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31661         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31662         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31663         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31664         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31665         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31666         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31667         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31668         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31669         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31670         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31671         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31672         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31673         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31674         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31675         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31676         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31677         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31678         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31701         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31702         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31703         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31704         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31705         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31707         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31708         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31709         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31710         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31711         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31712         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31713         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31714         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31715         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31716         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31717         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31718         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31719         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31720         * sysdeps/unix/sysv/linux/system.c: Likewise.
31721         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31722         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31723         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31724         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31725         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31726         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31727         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31729         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31730         * configure: Regenerated.
31731         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31733         * configure.ac (base_machine): Do not set specially for particular
31734         machines here.
31735         * configure: Regenerated.
31736         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31737         settings from configure.ac.
31738         * sysdeps/i386/preconfigure: New file.
31739         * sysdeps/s390/preconfigure: Likewise.
31740         * sysdeps/sh/preconfigure: Likewise.
31741         * sysdeps/sparc/preconfigure: Likewise.
31743 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31745         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31746         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31747         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31748         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31749         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31750         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31751         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31752         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31753         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31754         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31755         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31756         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31757         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31758         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31759         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31760         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31761         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31762         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31763         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31765         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31766         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31767         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31768         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31769         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31770         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31771         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31772         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31773         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31774         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31775         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31776         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31777         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31778         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31779         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31780         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31781         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31782         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31783         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31784         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31785         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31786         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31787         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31788         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31789         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31790         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31791         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31792         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31794         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31795         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31796         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31797         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31798         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31799         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31800         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31801         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31802         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31805         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31807         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31809         Moved ...
31810         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31811         ... here.
31812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31813         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31815         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31817         Moved ...
31818         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31820         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31822         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31824         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31826         Moved ...
31827         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31829         Moved ...
31830         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31832         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31834         Moved ...
31835         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31837         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31839         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31841         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31843         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31845         Moved ...
31846         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31847         ... here.
31848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31849         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31851         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31853         Moved ...
31854         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31856         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31858         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31860         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31862         Moved ...
31863         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31865         Moved ...
31866         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31868         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31870         Moved ...
31871         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31873         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31875         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31877 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31879         * timezone/checktab.awk: Update from tzcode 2014e.
31880         * timezone/private.h: Likewise.
31881         * timezone/tzfile.h: Likewise.
31882         * timezone/zdump.c: Likewise.
31883         * timezone/zic.c: Likewise.
31885         * sysdeps/unix/sysv/linux/kernel-features.h
31886         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31887         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31888         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31889         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31890         Remove conditional code.
31892 2014-06-25  Will Newton  <will.newton@linaro.org>
31894         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31895         (_dl_arm_cap_flags): Add HWCAP2 values.
31896         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31897         (_DL_HWCAP_COUNT): Increase to 37.
31898         (_DL_HWCAP_LAST): New define.
31899         (_DL_HWCAP2_LAST): New define.
31900         (_dl_procinfo): Add support for printing
31901         AT_HWCAP2 entries.
31902         (_dl_string_hwcap): Use _dl_hwcap_string.
31904 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31908 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31910         * README: Do not mention ports directory.
31912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31913         Remove macro.
31914         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31915         <kernel-features.h>.
31916         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31917         conditional variable definition.
31918         (__futimes): Update comment.
31919         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31920         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31922         [BZ #16560]
31923         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31924         arguments close to 0.
31925         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31926         Likewise.
31927         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31928         Likewise.
31929         * math/auto-libm-test-in: Add more tests of exp10.
31930         * math/auto-libm-test-out: Regenerated.
31931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31933         * sysdeps/unix/sysv/linux/kernel-features.h
31934         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31935         * sysdeps/unix/sysv/linux/readv.c: Do not include
31936         <kernel-features.h>.
31937         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31938         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31939         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31940         unconditional.
31941         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31942         conditional code.
31943         * sysdeps/unix/sysv/linux/writev.c: Do not include
31944         <kernel-features.h>.
31945         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31946         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31947         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31948         unconditional.
31949         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31950         conditional code.
31952 2014-06-25  Will Newton  <will.newton@linaro.org>
31954         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31955         comment changes throughout the file.  Remove checks
31956         for HAVE_*_H definitions that are not required.
31957         (__gen_tempname): Call abort if an unknown kind value is
31958         passed.
31960 2014-06-25  Andreas Schwab  <schwab@suse.de>
31962         [BZ #17086]
31963         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31964         scalbln, scalblnf, scalblnl in libc.
31966 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31968         [BZ #17086]
31969         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31970         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31971         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31973 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31975         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31976         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31977         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31978         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31979         Update #include.
31980         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31981         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31982         Update #include.
31983         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31984         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31985         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31986         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31987         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31988         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31989         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31990         * sysdeps/x86/bits/semaphore.h: ... here.
31991         * sysdeps/x86/nptl/elide.h: Moved ...
31992         * sysdeps/x86/elide.h: ... here.
31993         * sysdeps/x86_64/nptl/Implies: File removed.
31994         * sysdeps/i386/nptl/Implies: File removed.
31996 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31998         [BZ #16539]
31999         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32000         return the argument for normal arguments with exponent below -64.
32001         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32002         Likewise.
32003         * math/auto-libm-test-in: Add another test of expm1.
32004         * math/auto-libm-test-out: Regenerated.
32006         [BZ #16287]
32007         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32008         calling __erfcl for arguments at least 16.
32009         * math/auto-libm-test-in: Add more tests of erf.
32010         * math/auto-libm-test-out: Regenerated.
32012         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32013         individual architectures.
32014         * sysdeps/unix/sysv/linux/configure: Regenerated.
32015         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32016         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32017         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32018         (ldd_rewrite_script): Define variable.
32019         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32021         file.
32022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32023         generated file.
32024         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32025         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32026         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32027         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32028         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32029         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32030         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32031         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32033 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32035         [BZ #17084]
32036         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32037         Rename member __data.d to __data.__elision_data.
32039 2014-06-24  Wilco  <wdijkstr@arm.com>
32041         * NEWS: Add 16918 to fixed bug list.
32043 2014-06-24  Wilco  <wdijkstr@arm.com>
32045         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32047 2014-06-24  Wilco  <wdijkstr@arm.com>
32049         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32050         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32051         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32052         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32053         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32054         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32055         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32056         Use _FPU_MASK_RM.
32058 2014-06-24  Wilco  <wdijkstr@arm.com>
32060         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32062 2014-06-24  Wilco  <wdijkstr@arm.com>
32064         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32065         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32066         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32067         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32069 2014-06-24  Wilco  <wdijkstr@arm.com>
32071         [BZ #16918]
32072         * sysdeps/arm/feupdateenv.c (feupdateenv):
32073         Rewrite to reduce FPSCR accesses and fix return value.
32075 2014-06-24  Wilco  <wdijkstr@arm.com>
32077         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32078         Optimize to avoid unnecessary FPSCR writes.
32079         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32080         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32081         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32082         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32084 2014-06-24  Wilco  <wdijkstr@arm.com>
32086         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32087         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32088         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32089         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32090         Call libc_fetestexcept_vfp.
32091         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32092         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32093         __SOFTFP__ ifdef so that they can be built for softfp.
32095 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32097         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32098         argument type signed char.
32100         * Makerules (check-abi): Dump diff of symlist if the test
32101         fails.
32103 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32105         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32106         using abort.
32108         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32109         Remove unused variable ST.
32111 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32113         [BZ #16354]
32114         [BZ #17061]
32115         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32116         small arguments before calling __expm1.
32117         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32118         small arguments before calling __expm1f.
32119         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32120         small arguments before calling __expm1l.
32121         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32122         Likewise.
32123         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32124         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32125         spurious underflow for some cosh tests.
32126         * math/auto-libm-test-out: Regenerated.
32127         * sysdeps/i386/fpu/libm-test-ulps: Update.
32129         [BZ #17050]
32130         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32131         (__ieee754_y1): Set errno if return value overflows.
32132         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32133         (__ieee754_y1f): Set errno if return value overflows.
32134         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32135         (__ieee754_y1l): Set errno if return value overflows.
32136         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32137         (__ieee754_y1l): Set errno if return value overflows.
32138         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32139         * math/auto-libm-test-out: Regenerated.
32141         * math/gen-auto-libm-tests.c: Document use of
32142         ignore-zero-inf-sign.
32143         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32144         (input_flags): Add ignore-zero-inf-sign.
32145         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32146         * math/gen-libm-test.pl (generate_testfile): Handle
32147         ignore-zero-inf-sign.
32148         * math/auto-libm-test-in: Mark some cpow tests with
32149         ignore-zero-inf-sign and some with xfail-rounding.
32150         * math/auto-libm-test-out: Regenerated.
32151         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32152         * sysdeps/i386/fpu/libm-test-ulps: Update.
32153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32155         [BZ #16315]
32156         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32157         overflowing or underflowing operations take place with sign of
32158         result.
32159         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32160         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32161         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32162         (__ieee754_pow): Recompute overflowing and underflowing results in
32163         original rounding mode.
32164         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32165         (__powl_helper): Allow negative argument X and scale negated value
32166         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32167         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32168         overflowing or underflowing operations take place with sign of
32169         result.
32170         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32171         Include <math.h>.
32172         * math/auto-libm-test-in: Add more tests of pow.
32173         * math/auto-libm-test-out: Regenerated.
32174         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32175         (pow_tonearest_test_data): Remove.
32176         (pow_test_tonearest): Likewise.
32177         (pow_towardzero_test_data): Likewise.
32178         (pow_test_towardzero): Likewise.
32179         (pow_downward_test_data): Likewise.
32180         (pow_test_downward): Likewise.
32181         (pow_upward_test_data): Likewise.
32182         (pow_test_upward): Likewise.
32183         (main): Don't call removed functions.
32184         * sysdeps/i386/fpu/libm-test-ulps: Update.
32185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32187 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32190         Moved ...
32191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32193         Moved ...
32194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32196         Moved ...
32197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32199         Moved ...
32200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32202         File removed.
32203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32204         File removed.
32205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32206         File removed.
32207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32208         File removed.
32209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32210         File removed.
32211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32212         File removed.
32213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32214         File removed.
32215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32216         File removed.
32217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32218         File removed.
32219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32220         File removed.
32221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32222         File removed.
32223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32224         File removed.
32225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32226         Moved ...
32227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32229         Moved ...
32230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32231         ... here.
32232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32233         Moved ...
32234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32236         Moved ...
32237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32239         Moved ...
32240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32242         Moved ...
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32245         Moved ...
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32248         Moved ...
32249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32251         Moved ...
32252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32255         ... here.
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32257         Moved ...
32258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32260         Moved ...
32261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32262         ... here.
32263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32264         Moved ...
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32266         ... here.
32267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32268         Moved ...
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32270         ... here.
32271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32272         Moved ...
32273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32275         Moved ...
32276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32280         Moved ...
32281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32282         ... here.
32283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32284         Moved ...
32285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32286         ... here.
32287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32288         Moved ...
32289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32291         Moved ...
32292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32294         Moved ...
32295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32297         Moved ...
32298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32300         Moved ...
32301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32302         ... here.
32303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32304         Moved ...
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32307         Moved ...
32308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32310         Moved ...
32311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32313         Moved ...
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32318         Moved ...
32319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32321         Moved ...
32322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32324         Moved ...
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32326         ... here.
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32328         Moved ...
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32330         ... here.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32332         Moved ...
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32334         ... here.
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32336         Moved ...
32337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32339         Moved ...
32340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32342         Moved ...
32343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32345         Moved ...
32346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32347         ... here.
32348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32349         Moved ...
32350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32351         ... here.
32352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32353         Moved ...
32354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32355         ... here.
32356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32357         Moved ...
32358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32360         Moved ...
32361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32363 2014-06-23  Will Newton  <will.newton@linaro.org>
32364             Wilco  <wdijkstr@arm.com>
32366         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32367         implementation.  Include get-rounding-mode.h.
32368         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32369         [!libc_feholdsetround_noex_ctx]: Define
32370         libc_feholdsetround_noex_ctx.
32371         [!libc_feholdsetround_noexf_ctx]: Define
32372         libc_feholdsetround_noexf_ctx.
32373         [!libc_feholdsetround_noexl_ctx]: Define
32374         libc_feholdsetround_noexl_ctx.
32375         (libc_feholdsetround_ctx): New function.
32376         (libc_feresetround_ctx): New function.
32377         (libc_feholdsetround_noex_ctx): New function.
32378         (libc_feresetround_noex_ctx): New function.
32380 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32382         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32383         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32384         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32385         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32386         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32387         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32389         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32390         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32391         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32392         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32393         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32394         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32395         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32396         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32397         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32398         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32399         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32400         Moved ...
32401         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32402         ... here.
32403         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32404         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32405         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32406         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32407         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32408         Moved ...
32409         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32411         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32412         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32413         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32415         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32416         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32417         Moved ...
32418         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32420         Moved ...
32421         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32423         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32424         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32425         Moved ...
32426         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32428         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32429         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32430         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32431         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32432         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32433         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32434         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32435         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32436         Moved ...
32437         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32438         ... here.
32439         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32440         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32441         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32442         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32443         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32444         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32445         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32446         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32447         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32448         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32449         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32450         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32451         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32452         Moved ...
32453         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32454         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32455         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32456         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32457         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32458         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32459         Moved ...
32460         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32462         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32463         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32464         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32466         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32467         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32468         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32469         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32470         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32471         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32472         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32473         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32474         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32475         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32476         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32477         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32478         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32479         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32480         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32481         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32482         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32483         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32484         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32485         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32486         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32487         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32488         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32489         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32490         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32491         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32492         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32493         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32495 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32497         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32498         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32499         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32500         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32501         (IPV6_PMTUDISC_INTERFACE): Likewise.
32502         (IPV6_PMTUDISC_OMIT): Likewise.
32504 2014-06-23  Andreas Schwab  <schwab@suse.de>
32506         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32507         Remove unused errout label.
32509 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32511         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32512         macro: hardware supports Vector Crypto instructions.
32514 2014-06-23  Will Newton  <will.newton@linaro.org>
32516         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32517         rather than __builtin_expect.
32519         * elf/dl-lookup.c (undefined_msg): Remove variable.
32520         (_dl_lookup_symbol_x): Replace undefined_msg with string
32521         literal.
32523         * elf/dl-lookup.c (do_lookup_unique): New function.
32524         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32525         to a separate function.
32527 2014-06-23  Andreas Schwab  <schwab@suse.de>
32529         [BZ #17079]
32530         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32531         before reading the next line.
32533 2014-06-23  Will Newton  <will.newton@linaro.org>
32535         * test-skeleton.c (signal_handler): Use printf and %m
32536         rather than perror.  Use printf rather than fprintf to
32537         stderr.  Use puts rather than fputs to stderr.
32538         (main): Likewise.
32540 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32542         * nscd/nscd.c (thread_info_t): Remove typedef.
32543         (thread_info): Remove variable.
32545 2014-06-21  Allan McRae  <allan@archlinux.org>
32547         * NEWS: Mention CVE-2014-4043.
32549 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32551         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32552         * nptl/smp.h: ... here.
32554         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32556         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32557         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32558         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32559         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32561         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32562         * nptl/stack-aliasing.h: New file.
32563         * sysdeps/i386/i686/stack-aliasing.h: New file.
32564         * sysdeps/i386/i686/nptl/Makefile: File removed.
32565         * sysdeps/x86_64/stack-aliasing.h: New file.
32566         * sysdeps/x86_64/nptl/Makefile
32567         (CFLAGS-pthread_create.c): Variable removed.
32569         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32570         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32571         old file.
32572         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32573         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32574         old file.
32576 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32579         (__ASSUME_SIGFRAME_V2): Remove macro.
32580         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32581         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32582         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32583         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32584         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32585         Declare as function.  Remove conditional macro definitions.
32586         (__default_rt_sa_restorer): Likewise.
32587         (__default_sa_restorer_v1): Remove declaration.
32588         (__default_sa_restorer_v2): Likewise.
32589         (__default_rt_sa_restorer_v1): Likewise.
32590         (__default_rt_sa_restorer_v2): Likewise.
32591         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32592         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32593         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32595 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32597         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32598         (libpthread-routines): Add sysdep.
32599         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32600         * sysdeps/unix/sysv/linux/sparc/Versions
32601         (libpthread: GLIBC_2.3.3): New version set.
32602         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32603         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32604         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32605         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32606         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32607         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32608         Moved ...
32609         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32610         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32611         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32612         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32613         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32614         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32615         * sysdeps/sparc/nptl/sem_init.c: ... here.
32616         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32617         * sysdeps/sparc/nptl/sem_post.c: ... here.
32618         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32619         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32620         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32621         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32622         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32623         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32624         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32625         (libpthread-routines): Add cpu_relax.
32626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32627         File removed.
32628         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32629         (librt: GLIBC_2.3.3): New version set.
32630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32631         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32632         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32633         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32636         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32638         Moved ...
32639         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32641         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32643         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32645         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32647         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32649         Moved ...
32650         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32651         Update #include.
32652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32653         Moved ...
32654         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32655         Update #include.
32656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32657         Moved ...
32658         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32659         Update #include.
32660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32661         Moved ...
32662         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32663         Update #include.
32664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32665         Moved ...
32666         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32667         Update #include.
32668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32669         Moved ...
32670         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32671         Update #include.
32672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32673         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32679         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32681         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32683         Moved ...
32684         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32686         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32688         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32690 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32692         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32693         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32694         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32695         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32696         * nscd/nscd.c: Likewise.
32697         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32698         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32699         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32700         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32702         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32703         <kernel-features.h>.
32704         (init_mq_netlink): Remove conditional have_sock_cloexec
32705         definitions.  Remove code conditional on have_sock_cloexec < 0.
32706         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32707         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32708         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32709         <kernel-features.h>.
32710         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32711         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32713 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32716         Add tests for memset_chk and memset.
32718         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32719         with AVX2_Usable.
32721 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32723         [BZ #16046]
32724         * elf/tst-dl-iter-static.c: New file.
32725         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32727         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32728         error.
32730 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32732         * sysdeps/unix/sysv/linux/kernel-features.h
32733         (__ASSUME_F_GETOWN_EX): Remove macro.
32734         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32735         <kernel-features.h>.
32736         (miss_F_GETOWN_EX): Remove variable or macro.
32737         (do_fcntl): Do not check miss_F_GETOWN_EX.
32738         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32741         Remove macro.
32742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32743         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32744         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32746         * sysdeps/unix/sysv/linux/kernel-features.h
32747         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32748         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32749         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32750         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32752 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32754         [BZ #17075]
32755         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32756         Fix calculation of the symbol's value.
32757         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32758         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32759         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32760         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32761         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32762         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32763         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32764         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32765         (modules-names): Add `tst-armtlsdescmod',
32766         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32767         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32768         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32769         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32770         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32771         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32772         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32773         ($(objpfx)tst-armtlsdescloc): New dependency.
32774         ($(objpfx)tst-armtlsdescextnow): Likewise.
32775         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32776         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32777         TLS scheme support.
32778         * sysdeps/arm/configure: Regenerate.
32780 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32782         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32783         (__atfct_seterrno_2): Likewise.
32784         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32785         <kernel-features.h>.
32786         (__ASSUME_ATFCTS): Do not undefine and redefine.
32787         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32788         (__have_atfcts): Remove conditional definition.
32789         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32790         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32791         unreachable if [__ASSUME_ATFCTS].
32792         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32793         not undefine and redefine.
32794         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32795         <kernel-features.h>.
32796         (faccessat) [__NR_faccessat]: Make code unconditional.
32797         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32798         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32799         <kernel-features.h>.
32800         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32801         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32802         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32803         <kernel-features.h>.
32804         (fchownat) [__NR_fchownat]: Make code unconditional.
32805         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32806         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32807         <kernel-features.h>.
32808         (futimesat) [__NR_futimesat]: Make code unconditional.
32809         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32810         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32811         <kernel-features.h>.
32812         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32813         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32814         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32815         <kernel-features.h>.
32816         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32817         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32818         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32819         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32820         <kernel-features.h>.
32821         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32822         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32823         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32824         <kernel-features.h>.
32825         (linkat) [__NR_linkat]: Make code unconditional.
32826         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32827         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32828         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32829         <kernel-features.h>.
32830         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32831         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32832         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32833         <kernel-features.h>.
32834         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32835         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32836         * sysdeps/unix/sysv/linux/openat.c: Do not include
32837         <kernel-features.h>.
32838         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32839         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32840         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32841         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32842         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32843         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32844         <kernel-features.h>.
32845         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32846         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32847         result of INLINE_SYSCALL directly, not via int variable.
32848         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32849         <kernel-features.h>.
32850         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32851         (renameat) [__NR_renameat]: Make code unconditional.
32852         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32853         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32854         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32855         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32856         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32857         (__ASSUME_ATFCTS): Do not undefine and redefine.
32858         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32859         <kernel-features.h>.
32860         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32861         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32862         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32863         <kernel-features.h>.
32864         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32865         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32866         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32867         (__ASSUME_ATFCTS): Do not undefine and redefine.
32868         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32869         <kernel-features.h>.
32870         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32871         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32872         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32873         <kernel-features.h>.
32874         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32875         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32877 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32879         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32881 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32883         [BZ #17069]
32884         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32885         constructed tree before returning error.
32886         * posix/bug-regexp36.c: Expand test case.
32888 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32890         [BZ #6803]
32891         * math/libm-test.inc (scalbln_test_date):
32892         Add errno expectations.
32893         * math/w_scalblnf.c: New File.
32894         Add wrapper which checks for setting errno to ERANGE.
32895         Add weak_alias for corresponding scalbln function.
32896         * math/w_scalbln.c: Likewise.
32897         * math/w_scalblnl.c: Likewise.
32898         * math/Makefile (libm-calls): Add w_scalbln.
32899         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32900         Remove weak_alias for corresponding scalbln function.
32901         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32903         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32904         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32905         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32906         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32907         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32908         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32909         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32910         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32911         Remove long_double_symbol for scalblnl function in libm, libc.
32912         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32913         Add wrapper which checks for setting errno to ERANGE.
32914         Add long_double_symbol for scalblnl function in libm, libc.
32915         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32916         Remove long_double_symbol for scalblnl in libm.
32917         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32918         Add wrapper which checks for setting errno to ERANGE.
32919         Add long_double_symbol for scalblnl function in libm.
32920         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32921         Do not use wrapper because of own implementation.
32923 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32925         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32926         3 bytes for __pad1 for x32.
32927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32929 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32930             H.J. Lu  <hongjiu.lu@intel.com>
32932         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32933         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32934         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32935         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32936         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32938 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32940         [BZ #17069]
32941         * posix/regcomp.c (parse_expression): Deallocate partially
32942         constructed tree before returning error.
32943         * posix/Makefile.c (tests): Add bug-regex36.
32944         (generated): Add bug-regex36.mtrace.
32945         (tests-special): Add $(objpfx)bug-regex36-mem.out
32946         (bug-regex36-ENV): New variable.
32947         ($(objpfx)bug-regex36-mem.out): New rule.
32948         * posix/bug-regex36.c: New file.
32950 2014-06-19  Will Newton  <will.newton@linaro.org>
32952         * malloc/malloc.c (systrim): If extra is zero then return
32953         early.
32955 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32957         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32959 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32961         * sysdeps/aarch64/strchr.S: New file.
32963 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32965         [BZ #17022]
32966         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32967         from arguments -2 or below.
32968         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32969         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32971 2014-06-18  Andreas Schwab  <schwab@suse.de>
32973         [BZ #17062]
32974         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32975         of a bracket expr not to run off the end of the string.
32976         * posix/Makefile (tests): Add tst-fnmatch3.
32977         * posix/tst-fnmatch3.c: New file.
32979 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32981         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32982         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32983         [$(cross-compiling) = no]: Likewise.
32984         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32985         [$(cross-compiling) = no]: Likewise.
32987 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32989         [BZ #17031]
32990         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32991         double, adjusted for any remainder from the high double.
32992         * math/libm-test.inc (nearbyint): Add tests.
32993         (rint): Likewise.
32995 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32997         * nptl/sysdeps/powerpc/Makefile: Moved ...
32998         * sysdeps/powerpc/nptl/Makefile: ... here.
32999         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33000         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33001         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33002         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33003         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33004         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33005         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33006         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33007         * nptl/sysdeps/powerpc/tls.h: Moved ...
33008         * sysdeps/powerpc/nptl/tls.h: ... here.
33010 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33012         [BZ #16681]
33013         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33014         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33015         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33016         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33017         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33018         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33019         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33020         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33021         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33023 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33025         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33027 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33029         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33030         defined operator.
33032         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33033         $TIMEOUTFACTOR.
33035 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33037         [BZ #17058]
33038         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33039         non-executed part of the test.
33041 2014-06-16  Andreas Schwab  <schwab@suse.de>
33043         * string/bits/string2.h (strdup, strndup): Update feature guard.
33045 2014-06-14  David S. Miller  <davem@davemloft.net>
33047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33049 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33051         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33052         that was previously under [RESET_PID].
33053         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33055         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33056         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33057         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33058         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33059         (__libc_vfork): New strong alias.
33060         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33062 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33064         * sysdeps/generic/elide.h: New file.
33066 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33068         * Makefile (installed-headers): Adjust path of pthread.h header.
33070 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33072         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33073         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33074         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33075         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33077         * nptl/sysdeps/s390/Makefile: Moved ...
33078         * sysdeps/s390/nptl/Makefile: ... here.
33079         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33080         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33081         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33082         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33083         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33084         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33085         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33086         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33087         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33088         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33089         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33090         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33091         * nptl/sysdeps/s390/tls.h: Moved ...
33092         * sysdeps/s390/nptl/tls.h: ... here.
33094         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33095         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33097 2014-06-13  David S. Miller  <davem@davemloft.net>
33099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33102         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33106         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33107         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33108         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33109         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33110         Remove RESET_PID cpp guards.
33111         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33112         Remove RESET_PID cpp guards.
33113         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33115 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33117         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33118         __sp to uintptr_t.
33120 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33122         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33123         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33125         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33126         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33127         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33129         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33131         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33132         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33133         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33134         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33135         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33136         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33137         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33138         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33139         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33140         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33141         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33143         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33144         (pthread_rwlock_rdlock): Add elision.
33145         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33146         (pthread_rwlock_wrlock): Add elision.
33147         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33148         (pthread_rwlock_trywrlock): Add elision.
33149         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33150         (pthread_rwlock_tryrdlock): Add elision.
33151         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33152         (pthread_rwlock_tryrdlock): Add elision unlock.
33153         * nptl/sysdeps/pthread/pthread.h:
33154         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33155         (PTHREAD_RWLOCK_INITIALIZER,
33156         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33157         Handle new elision field.
33158         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33159         * sysdeps/arm/nptl/bits/pthreadtypes.h
33160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33161         * sysdeps/sh/nptl/bits/pthreadtypes.h
33162         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33163         * sysdeps/tile/nptl/bits/pthreadtypes.h
33164         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33165         * sysdeps/a/nptl/bits/pthreadtypes.h
33166         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33167         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33168         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33169         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33170         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33171         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33172         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33173         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33174         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33175         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33177         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33179         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33180         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33181         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33183         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33184         (elision_init): Set try_xbegin to zero when no RTM.
33185         * sysdeps/x86/nptl/bits/pthreadtypes.h
33186         (pthread_rwlock_t): Change __pad1 to __rwelision.
33187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33189 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33191         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33192         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33193         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33194         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33196 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33198         [BZ #16996]
33199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33200         that the cached result has been set before returning it.
33202 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33204         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33205         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33206         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33207         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33208         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33209         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33211         * nptl/sysdeps/sparc/Makefile: Moved ...
33212         * sysdeps/sparc/nptl/Makefile: ... here.
33213         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33214         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33215         * nptl/sysdeps/sparc/tls.h: Moved ...
33216         * sysdeps/sparc/nptl/tls.h: ... here.
33217         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33218         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33219         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33220         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33221         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33222         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33223         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33224         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33225         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33226         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33227         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33228         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33229         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33230         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33231         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33232         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33233         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33234         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33235         Update #include.
33236         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33238         Update #include.
33239         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33240         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33241         Update #include.
33242         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33244         Update #include.
33246         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33248         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33249         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33251         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33252         (struct list_links): Type removed.
33253         (struct thread_node, struct timer_node): Replace struct list_links
33254         with struct list_head.
33255         (list_unlink_ip): Likewise.
33256         * sysdeps/pthread/timer_routines.c
33257         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33258         (list_append, list_insbefore): Likewise.
33259         (list_init): Function removed.
33260         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33261         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33262         * sysdeps/pthread/Makefile: ... here, new file.
33264         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33265         * sysdeps/nptl/Implies: ... here.
33266         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33267         * nptl/sysdeps/pthread/list.h: Moved ...
33268         * include/list.h: ... here.
33269         * nptl/sysdeps/pthread/createthread.c: Moved ...
33270         * nptl/createthread.c: ... here.
33271         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33272         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33273         * nptl/pt-longjmp.c: ... here.
33274         * nptl/sysdeps/pthread/Makefile: Moved ...
33275         * sysdeps/nptl/Makefile: ... here.
33276         * nptl/sysdeps/pthread/Subdirs: Moved ...
33277         * sysdeps/nptl/Subdirs: ... here.
33278         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33279         * sysdeps/nptl/aio_misc.h: ... here.
33280         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33281         * sysdeps/nptl/bits/libc-lock.h: ... here.
33282         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33283         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33284         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33285         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33286         * nptl/sysdeps/pthread/configure: Moved ...
33287         * sysdeps/nptl/configure: ... here.
33288         * nptl/sysdeps/pthread/configure.ac: Moved ...
33289         * sysdeps/nptl/configure.ac: ... here.
33290         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33291         * sysdeps/nptl/gai_misc.h: ... here.
33292         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33293         * sysdeps/nptl/librt-cancellation.c: ... here.
33294         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33295         * sysdeps/nptl/malloc-machine.h: ... here.
33296         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33297         * sysdeps/nptl/pthread-functions.h: ... here.
33298         * nptl/sysdeps/pthread/pthread.h: Moved ...
33299         * sysdeps/nptl/pthread.h: ... here.
33300         * nptl/sysdeps/pthread/setxid.h: Moved ...
33301         * sysdeps/nptl/setxid.h: ... here.
33302         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33303         * sysdeps/nptl/sigfillset.c: ... here.
33304         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33305         * sysdeps/nptl/tcb-offsets.h: ... here.
33306         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33307         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33308         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33309         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33310         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33311         * sysdeps/pthread/allocalim.h: ... here.
33312         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33313         * sysdeps/pthread/bits/sigthread.h: ... here.
33314         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33315         * sysdeps/pthread/flockfile.c: ... here.
33316         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33317         * sysdeps/pthread/ftrylockfile.c: ... here.
33318         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33319         * sysdeps/pthread/funlockfile.c: ... here.
33320         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33321         * sysdeps/pthread/posix-timer.h: ... here.
33322         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33323         * sysdeps/pthread/timer_create.c: ... here.
33324         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33325         * sysdeps/pthread/timer_delete.c: ... here.
33326         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33327         * sysdeps/pthread/timer_getoverr.c: ... here.
33328         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33329         * sysdeps/pthread/timer_gettime.c: ... here.
33330         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33331         * sysdeps/pthread/timer_routines.c: ... here.
33332         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33333         * sysdeps/pthread/timer_settime.c: ... here.
33334         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33335         * sysdeps/pthread/tst-timer.c: ... here.
33336         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33337         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33339         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33340         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33342         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33343         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33344         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33345         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33346         Update #include target.
33347         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33348         * sysdeps/i386/i686/nptl/Makefile: ... here.
33349         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33350         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33351         Update #include target.
33352         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33353         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33354         * nptl/sysdeps/i386/Makefile: Moved ...
33355         * sysdeps/i386/nptl/Makefile: ... here.
33356         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33357         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33358         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33359         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33360         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33361         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33362         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33363         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33364         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33365         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33366         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33367         * nptl/sysdeps/i386/tls.h: Moved ...
33368         * sysdeps/i386/nptl/tls.h: ... here.
33370         * sysdeps/sh/Makefile [$(subdir) = csu]
33371         (gen-as-const-headers): Add tcb-offsets.sym.
33372         * nptl/sysdeps/sh/Makefile: File removed.
33373         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33374         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33375         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33376         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33377         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33378         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33379         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33380         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33381         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33382         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33383         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33384         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33385         * nptl/sysdeps/sh/tls.h: Moved ...
33386         * sysdeps/sh/nptl/tls.h: ... here.
33387         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33388         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33389         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33390         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33391         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33392         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33393         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33394         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33395         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33396         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33397         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33398         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33399         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33400         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33401         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33402         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33403         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33404         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33405         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33406         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33408         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33410         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33411         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33412         Moved ...
33413         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33414         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33415         Moved ...
33416         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33417         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33418         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33419         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33420         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33421         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33422         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33423         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33424         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33425         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33426         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33427         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33428         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33429         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33430         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33431         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33432         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33433         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33434         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33436 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33438         * posix/spawn_faction_addopen.c: Include string.h.
33440 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33442         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33443         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33444         * nptl/sysdeps/x86_64/Makefile: Moved ...
33445         * sysdeps/x86_64/nptl/Makefile: ... here.
33446         * nptl/sysdeps/x86_64/configure: Moved ...
33447         * sysdeps/x86_64/nptl/configure: ... here.
33448         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33449         * sysdeps/x86_64/nptl/configure.ac: ... here.
33450         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33451         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33452         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33453         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33454         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33455         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33456         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33457         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33458         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33459         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33460         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33461         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33462         * nptl/sysdeps/x86_64/tls.h: Moved ...
33463         * sysdeps/x86_64/nptl/tls.h: ... here.
33464         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33465         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33466         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33467         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33469         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33471 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33475 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33477         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33478         type.
33479         [POSIX] (off_t): Likewise.
33480         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33481         [POSIX] (S_ISBLK): Require macro.
33482         [POSIX] (S_ISCHR): Likewise.
33483         [POSIX] (S_ISDIR): Likewise.
33484         [POSIX] (S_ISFIFO): Likewise.
33485         [POSIX] (S_ISREG): Likewise.
33486         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33487         optional-macro.
33488         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33489         type.
33490         [POSIX] (time_t): Likewise.
33491         [POSIX] (timer_t): Likewise.
33493 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33495         [BZ #17048]
33496         * posix/spawn_int.h (struct __spawn_action): Make the path string
33497         non-const to support deallocation.
33498         * posix/spawn_faction_addopen.c
33499         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33500         * posix/spawn_faction_destroy.c
33501         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33502         path in all spawn_do_open actions.
33503         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33504         posix_spawn_file_actions_addopen.
33506 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33508         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33509         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33510         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33511         conditional code always true.
33512         (__libc_vfork): New alias.
33514 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33516         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33517         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33519         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33521         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33522         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33524         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33525         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33527         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33528         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33530 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33532         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33533         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33534         multiarch strcmp for PPC64.
33535         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33536         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33538         multiarch optimizations.
33539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33540         (__libc_ifunc_impl_list): Likewise.
33542 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33544         * benchtests/scripts/validate_benchout.py: New script.
33545         * benchtests/Makefile (bench-func): Call it.
33546         * benchtests/scripts/benchout.schema.json: New file.
33548 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33550         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33551         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33552         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33553         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33554         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33555         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33556         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33557         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33558         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33559         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33560         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33561         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33562         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33563         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33564         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33565         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33567         Moved ...
33568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33569         ... here.
33570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33571         Moved ...
33572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33574         Moved ...
33575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33576         ... here.
33577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33578         Moved ...
33579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33580         ... here.
33581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33582         Moved ...
33583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33585         Moved ...
33586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33587         ... here.
33588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33589         Moved ...
33590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33591         ... here.
33592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33593         Moved ...
33594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33596         Moved ...
33597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33598         ... here.
33599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33600         Moved ...
33601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33602         ... here.
33603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33604         Moved ...
33605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33606         ... here.
33607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33608         Moved ...
33609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33611         Moved ...
33612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33613         ... here.
33614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33615         Moved ...
33616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33617         ... here.
33618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33619         Moved ...
33620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33621         ... here.
33622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33623         Moved ...
33624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33626         Moved ...
33627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33628         ... here.
33629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33630         Moved ...
33631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33632         ... here.
33633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33634         Moved ...
33635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33637         Moved ...
33638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33639         ... here.
33640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33641         Moved ...
33642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33644         Moved ...
33645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33647         Moved ...
33648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33649         ... here.
33650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33651         Moved ...
33652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33653         ... here.
33654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33655         Moved ...
33656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33657         ... here.
33658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33659         Moved ...
33660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33662         Moved ...
33663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33664         ... here.
33665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33666         Moved ...
33667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33668         ... here.
33669         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33670         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33671         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33672         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33673         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33674         Moved ...
33675         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33676         ... here.
33677         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33678         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33679         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33680         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33681         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33682         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33683         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33684         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33685         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33686         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33687         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33688         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33689         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33690         Moved ...
33691         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33692         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33693         Moved ...
33694         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33696         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33697         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33698         Moved ...
33699         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33700         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33701         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33702         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33703         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33704         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33705         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33707 2014-06-10  Wilco  <wdijkstr@arm.com>
33709         * math/test-fenv-return.c: New file.
33710         * math/Makefile: Add new test test-fenv-return.
33712 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33714         [BZ #17042]
33715         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33716         when x - 1 is zero.
33717         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33718         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33719         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33720         0.0L for an argument of 1.0L.
33721         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33722         Likewise.
33723         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33724         value when x - 1 is zero.
33725         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33726         * sysdeps/i386/fpu/libm-test-ulps: Update.
33727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33729 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33731         [BZ #15119]
33732         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33734 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33736         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33737         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33739 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33741         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33742         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33744         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33745         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33747         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33748         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33750         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33751         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33753         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33754         if not already defined.
33755         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33756         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33757         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33758         (TLS_INIT_TP): Use it.
33759         (TLS_DEFINE_INIT_TP): New macro.
33760         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33762 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33764         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33765         constant.
33766         [POSIX] (IXANY): Likewise.
33767         [POSIX] (OLCUC): Likewise.
33768         [POSIX || POSIX2008] (CBAUD): Do not allow.
33769         [POSIX || POSIX2008] (DEFECHO): Likewise.
33770         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33771         [POSIX || POSIX2008] (ECHOKE): Likewise.
33772         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33773         [POSIX || POSIX2008] (EXTA): Likewise.
33774         [POSIX || POSIX2008] (EXTB): Likewise.
33775         [POSIX || POSIX2008] (FLUSHO): Likewise.
33776         [POSIX || POSIX2008] (LOBLK): Likewise.
33777         [POSIX || POSIX2008] (PENDIN): Likewise.
33778         [POSIX || POSIX2008] (SWTCH): Likewise.
33779         [POSIX || POSIX2008] (VDISCARD): Likewise.
33780         [POSIX || POSIX2008] (VDSUSP): Likewise.
33781         [POSIX || POSIX2008] (VLNEXT): Likewise.
33782         [POSIX || POSIX2008] (VREPRINT): Likewise.
33783         [POSIX || POSIX2008] (VSTATUS): Likewise.
33784         [POSIX || POSIX2008] (VWERASE): Likewise.
33785         (B*): Change to B[0123456789]*.
33786         * conform/data/time.h-data [POSIX || UNIX98]
33787         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33788         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33789         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33790         [POSIX] (tm_*): Do not allow.
33792 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33794         * Makefile (install): Don't set LANGUAGE.
33795         * Makefile.in (install): Likewise.
33796         * assert/Makefile (test-assert-ENV): Remove variable.
33797         (test-assert-perr-ENV): Likewise.
33798         * elf/Makefile (neededtest4-ENV): Likewise.
33799         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33800         [$(cross-compiling) = no]: Don't set LANGUAGE.
33801         * io/ftwtest-sh (LANG): Remove variable.
33802         * libio/Makefile (tst-widetext-ENV): Likewise.
33803         * manual/install.texi (Running make install): Don't refer to
33804         environment settings for make install.
33805         * INSTALL: Regenerated.
33806         * nptl/tst-tls6.sh: Don't set LANG.
33807         * posix/globtest.sh (LANG): Remove variable.
33808         * string/Makefile (tester-ENV): Likewise.
33809         (inl-tester-ENV): Likewise.
33810         (noinl-tester-ENV): Likewise.
33811         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33812         [$(cross-compiling) = no]: Don't set LANGUAGE.
33813         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33814         without explicit environment settings.
33816 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33818         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33819         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33820         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33821         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33823 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33825         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33826         other files in the crypt directory.
33827         * crypt/crypt.c: Remove duplicate includes.
33828         * crypt/crypt-entry.c: Likewise.
33829         * crypt/crypt_util.c: Likewise.
33831 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33833         * Makeconfig (run-program-env): New variable.
33834         (run-program-prefix-before-env): Likewise.
33835         (run-program-prefix-after-env): Likewise.
33836         (run-program-prefix): Define in terms of new variables.
33837         (built-program-cmd-before-env): New variable.
33838         (built-program-cmd-after-env): Likewise.
33839         (built-program-cmd): Define in terms of new variables.
33840         (test-program-prefix-before-env): New variable.
33841         (test-program-prefix-after-env): Likewise.
33842         (test-program-prefix): Define in terms of new variables.
33843         (test-program-cmd-before-env): New variable.
33844         (test-program-cmd-after-env): Likewise.
33845         (test-program-cmd): Define in terms of new variables.
33846         * Rules (make-test-out): Use $(run-program-env).
33847         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33848         (help): Do not mention environment variables.  Mention
33849         --timeoutfactor option.
33850         (timeoutfactor): New variable.
33851         (blacklist_exports): Remove function.
33852         (exports): Remove variable.
33853         (command): Do not include ${exports}.
33854         * manual/install.texi (Configuring and compiling): Do not mention
33855         test wrappers preserving environment variables.  Mention that last
33856         assignment to a variable must take precedence.
33857         * INSTALL: Regenerated.
33858         * benchtests/Makefile (run-bench): Use $(run-program-env).
33859         * catgets/Makefile ($(objpfx)test1.cat): Use
33860         $(built-program-cmd-before-env), $(run-program-env) and
33861         $(built-program-cmd-after-env).
33862         ($(objpfx)test2.cat): Do not specify environment variables
33863         explicitly.
33864         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33865         $(run-program-env) and $(built-program-cmd-after-env).
33866         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33867         $(run-program-env) and $(test-program-cmd-after-env).
33868         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33869         explicitly.
33870         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33871         run_program_env and test_program_cmd_after_env arguments.
33872         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33873         * elf/tst-pathopt.sh: Use run_program_env argument.
33874         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33875         $(test-wrapper-env) and $(run-program-env).
33876         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33877         run_program_env arguments.
33878         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33879         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33880         $(test-program-prefix-before-env), $(run-program-env) and
33881         $(test-program-prefix-after-env).
33882         ($(objpfx)tst-gettext2.out): Likewise.
33883         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33884         run_program_env and test_program_prefix_after_env arguments.
33885         * intl/tst-gettext2.sh: Likewise.
33886         * intl/tst-gettext4.sh: Do not set environment variables
33887         explicitly.
33888         * intl/tst-gettext6.sh: Likewise.
33889         * intl/tst-translit.sh: Likewise.
33890         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33891         $(test-program-prefix-before-env), $(run-program-env) and
33892         $(test-program-prefix-after-env).
33893         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33894         run_program_env and test_program_prefix_after_env arguments.
33895         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33896         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33897         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33898         explicitly with each use of ${test_wrapper_env}.
33899         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33900         $(test-program-prefix-before-env), $(run-program-env) and
33901         $(test-program-prefix-after-env).
33902         * posix/tst-getconf.sh: Do not set environment variables
33903         explicitly.
33904         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33905         run_program_env and test_program_prefix_after_env arguments.
33906         * stdio-common/tst-printf.sh: Do not set environment variables
33907         explicitly.
33908         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33909         $(test-program-prefix-before-env), $(run-program-env) and
33910         $(test-program-prefix-after-env).
33911         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33912         run_program_env and test_program_prefix_after_env arguments.
33913         Split $test calls into $test_pre and $test.
33914         * timezone/Makefile (build-testdata): Use
33915         $(built-program-cmd-before-env), $(run-program-env) and
33916         $(built-program-cmd-after-env).
33918 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33920         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33921         strlen for non SHARED builds.
33923 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33925         * nptl/allocatestack.c (check_list): Inlined function...
33926         (__reclaim_stacks): ... here.
33928 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33930         [BZ #15698]
33931         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33932         memory overrun.
33934 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33936         * Rules (make-test-out): Include
33937         LOCPATH=$(common-objpfx)localedata in default environment.
33938         * debug/Makefile (tst-chk1-ENV): Remove variable.
33939         (tst-chk2-ENV): Likewise.
33940         (tst-chk3-ENV): Likewise.
33941         (tst-chk4-ENV): Likewise.
33942         (tst-chk5-ENV): Likewise.
33943         (tst-chk6-ENV): Likewise.
33944         (tst-lfschk1-ENV): Likewise.
33945         (tst-lfschk2-ENV): Likewise.
33946         (tst-lfschk3-ENV): Likewise.
33947         (tst-lfschk4-ENV): Likewise.
33948         (tst-lfschk5-ENV): Likewise.
33949         (tst-lfschk6-ENV): Likewise.
33950         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33951         (tst-iconv7-ENV): Likewise.
33952         * intl/Makefile (LOCPATH-ENV): Likewise.
33953         (tst-codeset-ENV): Likewise.
33954         (tst-gettext3-ENV): Likewise.
33955         (tst-gettext5-ENV): Likewise.
33956         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33957         (tst-fopenloc-ENV): Likewise.
33958         (tst-fgetws-ENV): Remove variable.
33959         (tst-ungetwc1-ENV): Likewise.
33960         (tst-ungetwc2-ENV): Likewise.
33961         (bug-ungetwc2-ENV): Likewise.
33962         (tst-swscanf-ENV): Likewise.
33963         (bug-ftell-ENV): Likewise.
33964         (tst-fgetwc-ENV): Likewise.
33965         (tst-fseek-ENV): Likewise.
33966         (tst-ftell-partial-wide-ENV): Likewise.
33967         (tst-ftell-active-handler-ENV): Likewise.
33968         (tst-ftell-append-ENV): Likewise.
33969         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33970         (tst-regexloc-ENV): Likewise.
33971         (bug-regex1-ENV): Likewise.
33972         (tst-regex-ENV): Likewise.
33973         (tst-regex2-ENV): Likewise.
33974         (bug-regex5-ENV): Likewise.
33975         (bug-regex6-ENV): Likewise.
33976         (bug-regex17-ENV): Likewise.
33977         (bug-regex18-ENV): Likewise.
33978         (bug-regex19-ENV): Likewise.
33979         (bug-regex20-ENV): Likewise.
33980         (bug-regex22-ENV): Likewise.
33981         (bug-regex23-ENV): Likewise.
33982         (bug-regex25-ENV): Likewise.
33983         (bug-regex26-ENV): Likewise.
33984         (bug-regex30-ENV): Likewise.
33985         (bug-regex32-ENV): Likewise.
33986         (bug-regex33-ENV): Likewise.
33987         (bug-regex34-ENV): Likewise.
33988         (bug-regex35-ENV): Likewise.
33989         (tst-rxspencer-ENV): Likewise.
33990         (tst-rxspencer-no-utf8-ENV): Likewise.
33991         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33992         (tst-sscanf-ENV): Likewise.
33993         (tst-swprintf-ENV): Likewise.
33994         (tst-swscanf-ENV): Likewise.
33995         (test-vfprintf-ENV): Likewise.
33996         (scanf13-ENV): Likewise.
33997         (bug14-ENV): Likewise.
33998         (tst-grouping-ENV): Likewise.
33999         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34000         (tst-strtod3-ENV): Likewise.
34001         (tst-strtod4-ENV): Likewise.
34002         (tst-strtod5-ENV): Likewise.
34003         (testmb2-ENV): Likewise./
34004         * string/Makefile (tst-strxfrm-ENV): Likewise.
34005         (tst-strxfrm2-ENV): Likewise.
34006         (bug-strcoll1-ENV): Likewise.
34007         (test-strcasecmp-ENV): Likewise.
34008         (test-strncasecmp-ENV): Likewise.
34009         * time/Makefile (tst-strptime-ENV): Likewise.
34010         (tst-ftime_l-ENV): Likewise.
34011         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34012         (tst-mbrtowc-ENV): Likewise.
34013         (tst-wcrtomb-ENV): Likewise.
34014         (tst-mbrtowc2-ENV): Likewise.
34015         (tst-c16c32-1-ENV): Likewise.
34016         (tst-mbsnrtowcs-ENV): Likewise.
34018 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34020         * manual/resource.texi (How to get information about the memory
34021         subsystem?): Fix typo.
34022         Reported by Peon de la Parra Ivan <peon@keba.com>
34024 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34026         [BZ #16882]
34027         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34028         (pthread_spin_lock): Branch out of spin loop to proper location.
34029         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34030         (pthread_spin_lock): Likewise.
34032         * nptl/tst-spin4.c: New test.
34033         * nptl/Makefile (tests): Add tst-spin4.
34035 2014-06-03  Andreas Schwab  <schwab@suse.de>
34037         [BZ #15946]
34038         * resolv/res_send.c (send_dg): Reload file descriptor after
34039         calling reopen.
34041 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34043         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34045 2014-06-03  Richard Henderson  <rth@redhat.com>
34047         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34048         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34049         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34050         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34051         in the SAVE_PID block.
34052         (__libc_vfork): New alias.
34053         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34055         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34056         child in registers, not on the stack.  Remove RESET_PID conditionals.
34057         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34059 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34061         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34063 2014-06-03  Wilco  <wdijkstr@arm.com>
34065         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34066         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34067         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34068         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34069         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34070         Likewise.
34072 2014-06-03  Wilco  <wdijkstr@arm.com>
34074         * sysdeps/aarch64/fpu/math_private.h
34075         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34076         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34077         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34078         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34079         Fix declarations.
34081 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34083         * crypt/crypt-private.h: Include ufc-crypt.h.
34084         (__b64_from_24bit): Declare extern.
34085         * crypt/crypt_util.c(__b64_from_24bit): New function.
34086         (b64t): New static const variable.
34087         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34088         (b64t): Remove variable.
34089         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34090         * crypt/sha256-crypt.c: Include crypt-private.h.
34091         (b64t): Remove variable.
34092         (__sha256_crypt_r): Remove b64_from_24bit and replace
34093         with __b64_from_24bit.
34094         * crypt/sha512-crypt.c: Likewise.
34096 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34098         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34099         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34100         Label the code __libc_vfork rather than __vfork.
34101         [!NOT_IN_libc] (vfork): Define as weak alias.
34102         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34103         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34104         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34106 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34108         * malloc/malloc.c (malloc_info): Fix format specifier for
34109         n_mmaps.
34111 2014-06-02  Wilco  <wdijkstr@arm.com>
34113         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34114         FPCR write.
34116 2014-06-02  Wilco  <wdijkstr@arm.com>
34118         [BZ #17009]
34119         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34120         Rewrite to reduce FPCR/FPSR accesses.
34122 2014-06-01  David S. Miller  <davem@davemloft.net>
34124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34126 2014-05-31  David S. Miller  <davem@davemloft.net>
34128         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34129         to occur in round to nearest mode when |x| >= 2.0
34131 2014-05-30  Richard Henderson  <rth@twiddle.net>
34133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34134         (PSEUDO_RET_NOERRNO): Remove.
34135         (ret): Don't redefine.
34136         (ret_NOERRNO): Define in terms of ret.
34137         (ret_ERRVAL): Likewise.
34139         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34140         use of PSEUDO_RET; perform the error check directly.
34142 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34144         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34145         with __int128_t.
34147 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34149         * malloc/malloc (malloc_info): Fix formatting.
34151 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34152             Roland McGrath  <roland@hack.frob.com>
34154         * malloc/malloc (malloc_info): Also print mmapped statistics.
34156 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34158         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34159         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34161 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34163         * malloc/malloc.c (malloc_info): Inline mi_arena.
34165 2014-05-29  Richard Henderson  <rth@twiddle.net>
34167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34168         Remove comma before expanding ASM_ARGS_##nr.
34169         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34170         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34171         of ASM_ARGS_##nr.
34172         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34173         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34174         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34175         (ASM_ARGS_1): Add leading comma.
34177         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34178         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34179         to __errno_location.
34180         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34181         Remove the expected plt for __errno_location.
34183         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34184         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34185         call to __read_tp.
34187         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34188         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34189         it and break it down.
34190         (DOCARGS_0, DOCARGS_1): Do nothing.
34191         (DOCARGS_2): Update to store into the new stack frame.
34192         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34193         (UNDOCARGS_1): Update to restore from the new stack frame.
34194         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34195         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34197         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34198         (SINGLE_THREAD_P): New parameter for result regno.
34199         (PSEUDO): Update to match; use cbz instead of beq.
34201         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34202         Use ENTRY to define the _nocancel entry point.  Share the syscall
34203         and syscall error check paths with the cancel path.
34204         (PSEUDO_END): New.
34206         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34207         whitespace; tabs before and after asm mnemonics.
34209 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34211         [BZ #15132]
34212         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34213         Call fstat64 or stat64 internally, depending on arguments passed.
34214         Replace stat buffer argument with file descriptor argument.
34215         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34216         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34217         Pass fd to __internal_statvfs instead of calling fstat64.
34218         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34219         Pass fd to __internal_statvfs64 instead of calling fstat64.
34220         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34221         Pass -1 to __internal_statvfs instead of calling stat64.
34222         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34223         Pass -1 to __internal_statvfs64 instead of calling stat64.
34225 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34227         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34228         that was previously under [RESET_PID].
34229         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34231         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34232         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34234 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34236         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34238         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34239         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34241 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34243         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34245 2014-05-27  Andreas Schwab  <schwab@suse.de>
34247         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34248         TLS_INIT_TP macro.
34249         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34250         * elf/rtld.c (init_tls, dl_main): Likewise.
34251         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34252         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34253         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34254         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34255         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34256         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34257         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34258         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34259         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34260         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34261         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34262         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34263         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34264         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34265         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34266         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34267         * sysdeps/generic/tls.h: Update description.
34269 2014-05-27  Will Newton  <will.newton@linaro.org>
34271         [BZ #16990]
34272         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34273         and restore r2 rather than just restoring.
34275 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34277         [BZ #16724]
34278         * libio/tst-ftell-append.c: New test case.
34279         * libio/Makefile (tests): Add test case.
34280         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34281         append mode.
34282         * libio/wfileops.c (do_ftell_wide): Likewise.
34284 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34288         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34289         ...
34290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34292         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34293         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34294         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34295         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34296         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34297         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34299         Moved ...
34300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34302         Moved ...
34303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34304         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34305         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34306         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34307         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34308         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34309         ...
34310         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34311         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34312         Moved ...
34313         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34314         here.
34315         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34316         ...
34317         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34318         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34319         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34321         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34322         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34323         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34324         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34327         merge into ...
34328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34330         ...
34331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34333         ...
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34336         Moved ...
34337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34338         here.
34339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34340         Moved ...
34341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34343         Moved ...
34344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34347         conditional [RESET_PID].
34348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34350         removed.
34351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34352         removed.
34354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34355         <tcb-offsets.h>.
34356         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34357         (__libc_vfork): New strong alias.
34358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34359         removed.
34360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34361         Removed.
34363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34364         <tcb-offsets.h>.
34365         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34366         (__libc_vfork): New strong alias.
34367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34368         removed.
34369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34370         removed.
34372 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34374         * malloc/malloc.c (mi_arena): New function.
34375         (malloc_info): Remove nested function mi_arena. Call non-nosted
34376         function mi_arena.
34378 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34380         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34381         by insrwi.
34382         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34383         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34384         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34385         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34386         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34387         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34388         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34390 2014-05-26  Andreas Schwab  <schwab@suse.de>
34392         [BZ #16984]
34393         * locale/programs/repertoire.c (repertoire_read): Add slash
34394         between I18NPATH element and file name.
34395         * locale/programs/locfile.c (locfile_read): Likewise.
34397 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34399         * nptl/pthread_mutexattr_settype.c
34400         (__pthread_mutexattr_settype):
34401         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34403 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34405         * nptl/tst-mutex5 (do_test):
34406         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34408 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34410         * benchtests/README: Document 'init' directive.
34411         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34412         BENCH_INIT.
34413         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34414         (parse_file): Recognize 'init' directive.
34416 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34418         [BZ #16796]
34419         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34420         alignment of struct pthread.
34422 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34424         [BZ #16878]
34425         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34426         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34427         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34428         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34430 2014-05-25  Richard Henderson  <rth@twiddle.net>
34432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34433         (SINGLE_THREAD_P_PIC): Remove.
34434         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34435         (SINGLE_THREAD_P_PIC): Remove.
34437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34438         branch to syscall error ...
34439         (PSEUDO): ... here.
34440         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34441         from __local_syscall_error to .Lsyscall_error.
34442         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34443         (SYSCALL_ERROR): Update label name.
34445         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34446         Do not use DOARGS/UNDOARGS.
34447         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34448         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34449         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34450         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34451         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34454         block comment.
34456         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34457         define if !NOT_IN_libc.
34458         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34459         define with non-default symbol versions.
34461 2014-05-23  Richard Henderson  <rth@twiddle.net>
34463         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34464         (vfork, __vfork): Define via compat_symbol.
34466         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34467         [!HAVE_IFUNC] (vfork_compat): Remove.
34468         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34470 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34472         [BZ #16978]
34473         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34474         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34475         variable.
34477 2014-05-23  Richard Henderson  <rth@twiddle.net>
34479         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34480         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34481         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34482         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34484         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34485         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34486         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34487         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34488         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34489         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34490         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34491         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34492         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34493         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34494         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34495         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34496         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34497         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34498         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34499         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34500         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34501         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34502         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34503         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34504         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34505         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34506         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34507         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34508         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34509         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34510         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34511         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34512         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34513         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34514         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34515         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34516         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34517         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34518         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34519         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34520         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34521         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34522         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34523         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34524         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34525         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34526         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34527         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34528         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34529         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34530         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34531         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34532         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34533         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34534         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34535         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34536         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34537         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34538         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34539         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34541         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34542         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34543         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34544         before exiting on error.
34545         (__libc_vfork): New strong alias.
34546         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34547         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34549         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34550         that was previously under [RESET_PID].
34551         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34553         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34555 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34557         [BZ #16977]
34558         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34559         value when x - 1 is zero.
34560         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34561         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34562         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34563         0.0L for an argument of 1.0L.
34564         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34565         Likewise.
34566         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34567         value when x - 1 is zero.
34568         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34569         * sysdeps/i386/fpu/libm-test-ulps: Update.
34570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34572 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34574         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34575         alphasort and versionsort.
34577 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34579         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34580         macro.
34581         [copysignf]: Likewise.
34583 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34585         * crypt/md5-crypt.c: Fix formatting.
34587 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34589         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34590         (b64_from_24bit): New function.
34592 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34594         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34595         libc_hidden_builtin_def to ifunc.
34596         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34597         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34599 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34601         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34602         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34604 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34606         * nscd/Depend (linuxthreads): Remove.
34607         (nptl): Add.
34608         * resolv/Depend (linuxthreads): Remove.
34609         * rt/Depend (linuxthreads): Remove.
34611         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34612         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34613         $(common-objpfx)elf/.
34614         (link-libc-before-gnulib): Likewise.
34615         (elfobjdir): Remove variable.
34616         * Makefile (install): Use $(elf-objpfx) instead of
34617         $(common-objpfx)elf/.
34618         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34619         $(elfobjdir)/.
34620         (link-libc-deps): Likewise.
34621         ($(common-objpfx)libc.so): Likewise.
34622         ($(common-objpfx)linkobj/libc.so): Likewise.
34623         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34624         instead of $(common-objpfx)elf/.
34625         (symbolic-link-list): Likewise.
34626         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34627         [$(cross-compiling) = no]: Likewise.
34628         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34629         $(elfobjdir)/.
34630         (static-gnulib-arch): Likewise.
34631         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34632         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34633         $(common-objpfx)elf/.
34635 2014-05-21  Richard Henderson  <rth@redhat.com>
34637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34638         (SINGLE_THREAD_P): Use the correct width load.  Fold
34639         into the ldr offset.
34641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34642         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34644 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34646         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34647         (libgcc_s_resume): Use __attribute_used__.
34648         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34649         Likewise.
34651 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34653         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34654         optimization when used with float constants.
34656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34658 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34660         [BZ #16915]
34661         * locale/nl_langinfo_l.c: Make direct reference to every
34662         _nl_current_CATEGORY symbol.
34663         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34664         (tests-static): Add tst-langinfo-static.
34665         (tests-special): Add tst-langinfo-static.out.
34666         ($(objpfx)tst-langinfo.out): Redirect output.
34667         ($(objpfx)tst-langinfo-static.out): New.
34668         * localedata/tst-langinfo.sh: Send output to stdout.
34669         * localedata/tst-langinfo-static.c: New file.
34671         [BZ #16965]
34672         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34673         when the shift amount is modulo the limb size.
34675 2014-05-20  Richard Henderson  <rth@redhat.com>
34677         [BZ #16967]
34678         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34679         Change type of sa_flags from unsigned int to int.
34681         [BZ #16966]
34682         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34684         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34686 2014-05-20  Will Newton  <will.newton@linaro.org>
34688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34689         Test the return value of the system call in the nocancel case.
34691 2014-05-20  Will Newton  <will.newton@linaro.org>
34692             Yvan Roux  <yvan.roux@linaro.org>
34694         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34695         #include of asm/ptrace.h.
34696         (PTRACE_GET_THREAD_AREA): Remove #undef.
34697         (PTRACE_GETHBPREGS): Likewise.
34698         (PTRACE_SETHBPREGS): Likewise.
34699         (struct user_regs_struct): New structure.
34700         (struct user_fpsimd_struct): New structure.
34701         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34702         #include of asm/ptrace.h and second #include of sys/user.h.
34703         (PTRACE_GET_THREAD_AREA): Remove #undef.
34704         (PTRACE_GETHBPREGS): Likewise.
34705         (PTRACE_SETHBPREGS): Likewise.
34706         (ELF_NGREG): Use new struct user_regs_struct.
34707         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34709 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34711         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34712         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34714 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34716         [BZ #16958]
34717         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34718         membar to avoid block loads/stores to overlap previous stores.
34720 2014-05-17  Richard Henderson  <rth@redhat.com>
34722         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34723         Create the __##syscall_name##_nocancel entry point.
34724         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34725         Remove; let the sysdep-cancel.h code create it.
34727 2014-05-17  David S. Miller  <davem@davemloft.net>
34729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34730         Protect with __USE_GNU.
34731         (TIOCSET_TEMPT): Likewise.
34732         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34733         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34734         these are already provided in bits/ioctl-types.h
34736 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34738         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34739         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34741         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34742         Use wait4 regardless of [__NR_waitpid].
34744 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34746         PR libgcc/60166
34747         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34748         (_FP_NANSIGN_Q): Set the quiet bit.
34750 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34752         * benchtests/Makefile
34753         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34754         not $(common-objpfx)math/libm.so.
34755         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34756         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34757         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34758         $(common-objpfx)dlfcn/libdl.so.
34759         ($(objpfx)tst-audit8): Depend on $(libm), not
34760         $(common-objpfx)math/libm.so.
34761         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34762         not $(common-objpfx)dlfcn/libdl.so.
34763         * math/Makefile
34764         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34765         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34766         [$(build-shared) = yes].
34767         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34768         $(common-objpfx)nptl/libpthread.so.
34769         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34770         $(common-objpfx)math/libm.so$(libm.so-version) or
34771         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34772         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34773         $(common-objpfx)dlfcn/libdl.so.
34774         * setjmp/Makefile (link-libm): Remove variable.
34775         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34776         * stdio-common/Makefile (link-libm): Remove variable.
34777         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34778         * stdlib/Makefile (link-libm): Remove variable.
34779         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34780         ($(objpfx)tst-strtod-round): Likewise.
34781         ($(objpfx)tst-tininess): Likewise.
34782         ($(objpfx)tst-strtod-underflow): Likewise.
34783         ($(objpfx)tst-strtod6): Likewise.
34784         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34785         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34786         $(common-objpfx)dlfcn/libdl.so.
34788 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34790         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34791         BSD terminal modes definitions.
34793 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34795         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34796         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34798         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34799         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34800         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34801         Don't do #include_next.
34802         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34803         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34804         Don't do #include_next.
34805         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34806         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34807         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34808         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34810 2014-05-16  Allan McRae  <allan@archlinux.org>
34812         * po/sv.po: Update Swedish translation from translation project.
34814         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34815         in sed expression.
34817 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34819         [BZ #16917]
34820         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34821         errno if the TIOCGPTN ioctl fails with an error different than
34822         EINVAL.
34823         * login/tst-ptsname.c: New file.
34824         * login/Makefile (tests): Add tst-ptsname.
34826         [BZ #16943]
34827         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34828         and prlimit64.
34830 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34832         [BZ #16849]
34833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34834         herrno to return EAI_AGAIN.
34836 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34838         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34839         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34840         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34841         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34842         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34843         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34844         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34845         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34846         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34847         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34848         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34849         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34850         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34851         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34852         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34853         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34854         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34855         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34856         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34857         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34858         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34859         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34860         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34861         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34862         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34863         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34864         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34865         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34866         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34867         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34869         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34871         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34873         Moved ...
34874         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34876         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34878         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34880         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34882         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34884         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34886         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34888         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34890         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34892         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34894         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34896         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34898         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34900         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34902         Moved ...
34903         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34905         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34907         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34909         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34911         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34913         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34915         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34917         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34919         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34921         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34923         Moved ...
34924         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34926         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34928         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34929         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34930         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34931         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34932         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34933         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34934         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34935         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34936         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34937         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34938         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34939         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34940         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34941         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34942         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34943         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34944         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34945         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34946         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34947         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34948         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34949         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34950         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34951         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34952         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34953         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34954         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34955         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34956         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34957         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34958         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34960         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34961         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34963         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34964         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34965         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34966         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34967         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34968         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34969         Moved ...
34970         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34972         Moved ...
34973         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34975         Moved ...
34976         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34977         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34978         Moved ...
34979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34980         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34981         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34982         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34983         Moved ...
34984         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34985         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34986         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34987         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34988         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34989         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34990         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34991         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34992         Moved ...
34993         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34994         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34995         Moved ...
34996         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34997         ... here.
34998         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34999         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35000         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35001         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35002         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35003         Moved ...
35004         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35005         ... here.
35006         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35007         Moved ...
35008         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35009         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35010         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35011         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35012         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35013         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35014         Moved ...
35015         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35017         Moved ...
35018         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35020         Moved ...
35021         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35022         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35023         Moved ...
35024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35025         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35026         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35027         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35028         Moved ...
35029         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35030         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35031         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35032         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35033         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35034         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35035         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35036         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35037         Moved ...
35038         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35039         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35040         Moved ...
35041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35042         ... here.
35043         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35044         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35045         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35046         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35047         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35048         Moved ...
35049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35050         ... here.
35051         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35052         Moved ...
35053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35054         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35055         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35056         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35057         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35058         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35060         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35061         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35062         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35063         Moved ...
35064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35065         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35066         Moved ...
35067         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35068         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35069         Moved ...
35070         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35072         Moved ...
35073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35074         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35075         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35076         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35077         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35078         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35079         Moved ...
35080         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35081         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35082         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35083         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35085         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35086         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35087         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35088         Moved ...
35089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35090         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35091         Moved ...
35092         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35093         ... here.
35094         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35095         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35096         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35097         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35098         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35099         Moved ...
35100         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35101         ... here.
35102         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35103         Moved ...
35104         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35105         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35106         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35107         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35108         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35109         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35110         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35111         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35112         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35113         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35114         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35116         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35117         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35119         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35120         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35122         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35123         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35124         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35125         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35126         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35127         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35128         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35129         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35130         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35131         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35132         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35133         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35134         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35135         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35136         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35137         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35138         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35139         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35140         Moved ...
35141         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35143         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35144         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35145         Moved ...
35146         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35147         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35148         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35149         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35150         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35151         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35152         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35153         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35154         Moved ...
35155         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35157         Moved ...
35158         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35160         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35162         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35163         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35164         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35165         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35166         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35168         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35169         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35170         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35171         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35172         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35173         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35174         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35176         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35177         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35178         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35179         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35180         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35182         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35183         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35184         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35185         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35186         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35187         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35188         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35189         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35190         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35191         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35196         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35197         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35198         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35199         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35200         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35201         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35202         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35203         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35204         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35205         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35206         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35207         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35208         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35209         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35211         Update #include.
35212         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35213         Likewise.
35214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35215         Likewise.
35216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35217         Likewise.
35218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35219         Likewise.
35220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35221         Likewise.
35222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35223         Likewise.
35224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35225         Likewise.
35226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35227         Likewise.
35228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35229         Likewise.
35230         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35232         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35234         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35235         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35236         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35237         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35238         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35239         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35240         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35241         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35242         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35243         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35244         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35246         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35247         that was previously under [RESET_PID].
35248         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35249         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35250         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35252         * sysdeps/i386/nptl/Implies: New file.
35253         * sysdeps/x86_64/nptl/Implies: New file.
35254         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35255         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35256         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35257         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35259         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35260         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35261         (__libc_vfork): New strong alias.
35262         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35263         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35265         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35266         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35267         (__libc_vfork): New strong alias.
35268         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35269         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35271         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35273         (__libc_vfork): New strong alias.
35274         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35275         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35276         * nptl/pt-vfork.c: New file.
35277         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35278         (libpthread: GLIBC_2.20): New version set (empty).
35280 2014-05-14  Will Newton  <will.newton@linaro.org>
35282         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35283         rather than #if.
35285 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35287         [BZ #16564]
35288         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35289         arguments with exponent 65 or above.
35290         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35291         arguments 0x1p113L or above.
35292         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35293         to arguments 0x1p107L or above.
35294         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35295         positive arguments with exponent 65 or above.
35296         * math/auto-libm-test-in: Add more tests of log1p.
35297         * math/auto-libm-test-out: Regenerated.
35299         [BZ #16928]
35300         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35301         non-finite arguments is +0.
35302         * math/s_cacosf.c (__cacosf): Likewise.
35303         * math/s_cacosl.c (__cacosl): Likewise.
35304         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35305         * sysdeps/i386/fpu/libm-test-ulps: Update.
35306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35308         [BZ #16927]
35309         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35310         value.
35311         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35312         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35313         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35314         for explicit high bit of mantissa when testing for argument equal
35315         to 1.
35316         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35317         * sysdeps/i386/fpu/libm-test-ulps: Update.
35318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35320         [BZ #16516]
35321         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35322         (__erf): Scale by 16 instead of 8 in potentially underflowing
35323         case.  Ensure exception if result actually underflows.
35324         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35325         (__erff): Scale by 16 instead of 8 in potentially underflowing
35326         case.  Ensure exception if result actually underflows.
35327         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35328         (efx8): Remove variable.
35329         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35330         case.  Ensure exception if result actually underflows.
35331         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35332         (efx8): Remove variable.
35333         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35334         case.  Ensure exception if result actually underflows.
35335         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35336         (efx8): Remove variable.
35337         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35338         case.  Ensure exception if result actually underflows.
35339         * math/auto-libm-test-in: Add more tests of erf.
35340         * math/auto-libm-test-out: Regenerated.
35342 2014-05-14  Andreas Schwab  <schwab@suse.de>
35344         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35345         Remove code conditionalized on USE___THREAD.
35347         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35348         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35349         not definedness.
35351 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35354         Define unconditionally.
35355         (__ASSUME_O_CLOEXEC): Likewise.
35356         (__ASSUME_SOCK_CLOEXEC): Likewise.
35357         (__ASSUME_IN_NONBLOCK): Likewise.
35358         (__ASSUME_PIPE2): Likewise.
35359         (__ASSUME_EVENTFD2): Likewise.
35360         (__ASSUME_SIGNALFD4): Likewise.
35361         (__ASSUME_DUP3): Likewise.
35362         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35363         (__ASSUME_DUP3): Do not define.
35364         (__ASSUME_EVENTFD2): Likewise.
35365         (__ASSUME_IN_NONBLOCK): Likewise.
35366         (__ASSUME_O_CLOEXEC): Likewise.
35367         (__ASSUME_PIPE2): Likewise.
35368         (__ASSUME_SIGNALFD4): Likewise.
35369         (__ASSUME_SOCK_CLOEXEC): Likewise.
35370         (__ASSUME_UTIMES): Undefine.
35371         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35372         (__ASSUME_UTIMES): Do not define.
35373         (__ASSUME_O_CLOEXEC): Likewise.
35374         (__ASSUME_SOCK_CLOEXEC): Likewise.
35375         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35376         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35377         0x020621].
35378         (__ASSUME_PIPE2): Likewise.
35379         (__ASSUME_EVENTFD2): Likewise.
35380         (__ASSUME_SIGNALFD4): Likewise.
35381         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35382         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35383         Do not define.
35384         (__ASSUME_EVENTFD2): Likewise.
35385         (__ASSUME_SIGNALFD4): Likewise.
35386         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35387         (__ASSUME_32BITUIDS): Likewise.
35388         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35389         (__ASSUME_IPC64): Likewise.
35390         (__ASSUME_ST_INO_64_BIT): Likewise.
35391         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35392         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35393         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35394         (__ASSUME_UTIMES): Do not define.
35395         (__ASSUME_PSELECT): Likewise.
35396         (__ASSUME_PPOLL): Likewise.
35397         (__ASSUME_O_CLOEXEC): Likewise.
35398         (__ASSUME_SOCK_CLOEXEC): Likewise.
35399         (__ASSUME_IN_NONBLOCK): Likewise.
35400         (__ASSUME_PIPE2): Likewise.
35401         (__ASSUME_EVENTFD2): Likewise.
35402         (__ASSUME_SIGNALFD4): Likewise.
35403         (__ASSUME_DUP3): Likewise.
35404         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35405         (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
35423         Likewise.
35424         (__ASSUME_UTIMES): Likewise.
35425         (__ASSUME_EVENTFD2): Likewise.
35426         (__ASSUME_SIGNALFD4): Likewise.
35427         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35428         (__ASSUME_O_CLOEXEC): Likewise.
35429         (__ASSUME_SOCK_CLOEXEC): Likewise.
35430         (__ASSUME_IN_NONBLOCK): Likewise.
35431         (__ASSUME_PIPE2): Likewise.
35432         (__ASSUME_EVENTFD2): Likewise.
35433         (__ASSUME_SIGNALFD4): Likewise.
35434         (__ASSUME_DUP3): Likewise.
35435         (__ASSUME_UTIMES): Undefine.
35437         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35438         feclearexcept.  Remove symbol versioning code.
35439         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35440         symbol versioning code.
35441         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35442         symbol versioning code.
35443         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35444         feupdateenv.  Remove symbol versioning code.
35445         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35446         fegetexceptflag.  Remove symbol versioning code.
35447         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35448         fesetexceptflag.  Remove symbol versioning code.
35449         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35450         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35451         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35452         (__posix_fadvise64_l32): Remove prototype.
35453         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35454         code.
35456 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35458         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35459         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35460         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35461         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35463 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35465         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35466         current working directory
35468 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35470         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35471         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35472         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35473         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35474         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35475         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35476         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35477         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35478         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35479         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35480         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35481         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35482         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35483         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35484         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35485         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35486         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35487         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35488         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35489         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35490         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35491         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35492         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35493         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35494         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35495         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35496         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35497         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35498         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35499         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35500         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35501         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35502         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35503         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35504         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35505         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35506         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35507         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35508         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35509         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35510         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35511         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35513         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35514         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35516         * sysdeps/unix/sysv/linux/arm/Makefile
35517         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35518         Add rt-aeabi_unwind_cpp_pr1.
35519         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35520         Add nptl-aeabi_unwind_cpp_pr1.
35521         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35522         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35523         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35524         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35525         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35526         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35528         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35529         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35530         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35531         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35533         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35534         Deconditionalize the code that was previously under [RESET_PID].
35535         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35537         * sysdeps/generic/exit-thread.h: New file.
35538         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35539         * include/unistd.h (__exit_thread): Remove declaration.
35540         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35541         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35542         * csu/libc-start.c: Include <exit-thread.h>.
35543         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35544         * nptl/pthread_create.c: Include <exit-thread.h>.
35545         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35546         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35547         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35548         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35549         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35550         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35551         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35552         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35553         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35554         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35555         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35556         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35557         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35558         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35559         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35560         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35561         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35563 2014-05-13  Andreas Schwab  <schwab@suse.de>
35565         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35567 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35569         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35570         (__ASSUME_UTIMES): Do not condition on kernel version.
35571         (__ASSUME_PSELECT): Define unconditionally.
35572         (__ASSUME_PPOLL): Likewise.
35573         (__ASSUME_ATFCTS): Likewise.
35574         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35575         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35576         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35577         (__ASSUME_UTIMENSAT): Define unconditionally.
35578         (__ASSUME_PRIVATE_FUTEX): Likewise.
35579         (__ASSUME_FALLOCATE): Likewise.
35580         (__ASSUME_O_CLOEXEC): Likewise.
35581         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35582         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35583         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35584         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35585         (__ASSUME_IN_NONBLOCK): Likewise.
35586         (__ASSUME_PIPE2): Likewise.
35587         (__ASSUME_EVENTFD2): Likewise.
35588         (__ASSUME_SIGNALFD4): Likewise.
35589         (__ASSUME_DUP3): Likewise.
35590         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35591         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35592         (__ASSUME_AT_RANDOM): Likewise.
35593         (__ASSUME_PREADV): Likewise.
35594         (__ASSUME_PWRITEV): Likewise.
35595         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35596         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35597         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35598         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35599         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35601         (__ASSUME_O_CLOEXEC): Define unconditionally.
35602         (__ASSUME_PSELECT): Do not undefine conditionally.
35603         (__ASSUME_PPOLL): Likewise.
35604         (__ASSUME_ATFCTS): Likewise.
35605         (__ASSUME_SET_ROBUST_LIST): Likewise.
35606         (__ASSUME_UTIMENSAT): Likewise.
35607         (__ASSUME_FDATASYNC): Define unconditionally.
35608         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35609         (__ASSUME_SIGFRAME_V2): Likewise.
35610         )__ASSUME_EVENTFD2): Likewise.
35611         (__ASSUME_SIGNALFD4): Likewise.
35612         (__ASSUME_PSELECT): Do not undefine conditionally.
35613         (__ASSUME_PPOLL): Likewise.
35614         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35615         (__ASSUME_PSELECT): Define unconditionally.
35616         (__ASSUME_PPOLL): Likewise.
35617         (__ASSUME_O_CLOEXEC): Likewise.
35618         (__ASSUME_SOCK_CLOEXEC): Likewise.
35619         (__ASSUME_IN_NONBLOCK): Likewise.
35620         (__ASSUME_PIPE2): Likewise.
35621         (__ASSUME_EVENTFD2): Likewise.
35622         (__ASSUME_SIGNALFD4): Likewise.
35623         (__ASSUME_DUP3): Likewise.
35624         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35625         (__ASSUME_O_CLOEXEC): Likewise.
35626         (__ASSUME_SOCK_CLOEXEC): Likewise.
35627         (__ASSUME_IN_NONBLOCK): Likewise.
35628         (__ASSUME_PIPE2): Likewise.
35629         (__ASSUME_EVENTFD2): Likewise.
35630         (__ASSUME_SIGNALFD4): Likewise.
35631         (__ASSUME_DUP3): Likewise.
35632         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35633         (__ASSUME_EVENTFD2): Likewise.
35634         (__ASSUME_SIGNALFD4): Likewise.
35635         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35637 2014-05-12  Andreas Schwab  <schwab@suse.de>
35639         [BZ #16932]
35640         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35641         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35642         than maximum RPC packet size.
35643         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35644         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35645         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35646         (_nss_nis_getservbyport_r): Likewise.
35648 2014-05-12  Will Newton  <will.newton@linaro.org>
35650         * malloc/Makefile (tests): Add tst-mallopt.
35651         * malloc/tst-mallopt.c: New file.
35653 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35655         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35656         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35658 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35660         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35661         (tst-tlsmod6.so): Likewise.
35663 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35665         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35667 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35669         [BZ #16064]
35670         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35671         and <dl-procinfo.h>.
35672         (__fegetenv): Save SSE state in envp->__eip if supported.
35673         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35674         envp->__eip if supported.
35675         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35676         and <dl-procinfo.h>.
35677         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35678         __data_offset and __data_selector in environment to 0.  Set SSE
35679         state if supported.
35680         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35681         test-fenv-sse.
35682         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35683         -mfpmath=sse.
35684         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35686 2014-05-09  Will Newton  <will.newton@linaro.org>
35688         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35689         and libc_relro_required for ARM.
35690         * sysdeps/arm/preconfigure: Regenerate.
35692 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35693             Stefan Liebler  <stli@linux.vnet.ibm.com>
35695         * config.make.in (enable-lock-elision): New Makefile variable.
35696         * configure.ac: Likewise.
35697         * configure: Regenerate.
35698         * sysdeps/s390/configure.ac:
35699         Add check for gcc transactions support.
35700         * sysdeps/s390/configure: Regenerate.
35701         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35702         Build elision files if enabled.
35703         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35704         Add lock elision support for s390.
35705         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35706         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35707         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35708         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35709         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35710         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35711         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35712         Likewise.
35713         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35714         Likewise.
35715         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35716         Likewise.
35717         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35718         Likewise.
35719         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35720         (__lll_timedlock_elision, __lll_lock_elision)
35721         (__lll_unlock_elision, __lll_trylock_elision)
35722         (lll_timedlock_elision, lll_lock_elision)
35723         (lll_unlock_elision, lll_trylock_elision): Add.
35724         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35725         (pthread_mutex_t): Add lock elision support for s390.
35727 2014-05-14  Wilco  <wdijkstr@arm.com>
35729         * sysdeps/arm/fclrexcpt.c: Cleanup.
35730         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35731         * sysdeps/arm/feenablxcpt.c: Cleanup.
35732         * sysdeps/arm/fegetenv.c: Cleanup.
35733         * sysdeps/arm/fegetexcept.c: Cleanup.
35734         * sysdeps/arm/fegetround.c: Cleanup.
35735         * sysdeps/arm/feholdexcpt.c: Cleanup.
35736         * sysdeps/arm/fesetenv.c: Cleanup.
35737         * sysdeps/arm/fesetround.c: Cleanup.
35738         * sysdeps/arm/feupdateenv.c: Cleanup.
35739         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35740         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35741         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35742         * sysdeps/arm/ftestexcept.c: Cleanup.
35743         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35744         * sysdeps/arm/setfpucw.c: Cleanup.
35746 2014-05-09  Will Newton  <will.newton@linaro.org>
35748         * sysdeps/arm/armv7/strcmp.S: New file.
35749         * NEWS: Mention addition of ARMv7 optimized strcmp.
35751 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35753         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35754         look for %.ac rather than %.in.
35756         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35757         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35758         * sysdeps/mach/hurd/configure: Regenerated.
35759         * sysdeps/unix/sysv/linux/configure: Regenerated.
35761         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35763 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35765         [BZ# 16922]
35766         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35767         (LONG_SUB): Ditto.
35768         (PTR_SUB): Ditto.
35770 2014-05-07  Andreas Schwab  <schwab@suse.de>
35772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35773         when skipping over non-matching result from nscd.
35775 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35777         [BZ #16876]
35778         * nptl/sockperf.c (client): Check socket return value.
35780         [BZ #16877]
35781         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35782         nscd security class.
35784 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35786         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35787         * sysdeps/arm/unwind.h: ... here.
35789 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35791         [BZ# 16916]
35792         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35793         Define.
35795 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35797         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35798         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35799         multiarch strncpy for PPC64.
35800         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35801         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35803         multiarch optimizations.
35804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35805         (__libc_ifunc_impl_list): Likewise.
35806         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35807         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35808         multiarch stpncpy for PPC64.
35809         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35810         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35812 2014-05-06  Andreas Schwab  <schwab@suse.de>
35814         [BZ #16912]
35815         * gmon/mcount.c (_MCOUNT_DECL): Use
35816         atomic_compare_and_exchange_bool_acq instead of
35817         catomic_compare_and_exchange_bool_acq.
35819 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35821         * elf/Makefile (others, install-bin): Remove pldd.
35822         (pldd-modules): Variable removed.
35823         ($(objpfx)pldd): Target removed.
35824         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35825         (others, install-bin): Append pldd here.
35826         ($(objpfx)pldd): New target.
35828         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35829         to 0, so the first #if test emitted later doesn't see it undefined.
35830         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35831         * sysdeps/gnu/errlist.c: Regenerated.
35833 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35835         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35836         [libc_hidden_builtin_def]: Define to empty value.
35837         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35838         [libc_hidden_builtin_def]: Likewise.
35839         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35840         [libc_hidden_builtin_def]: Likewise.
35841         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35842         [libc_hidden_builtin_def]: Likewise.
35843         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35844         __redirect_memcpy and define ifunc as default hidden symbol.
35845         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35846         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35848 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35850         * locale/iso-4217.def: Reintroduce XDR currency.
35852 2014-05-04  Allan McRae  <allan@archlinux.org>
35854         * po/eo.po: Update Esperanto translation from translation project.
35856 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35858         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35859         and FEATURE_INDEX_MAX to 1.
35860         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35862 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35864         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35865         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35866         * iconvdata/big5.c (ONE_DIRECTION): Define.
35867         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35868         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35869         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35870         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35871         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35872         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35873         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35874         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35875         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35876         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35877         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35878         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35879         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35880         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35881         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35882         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35883         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35884         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35885         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35886         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35887         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35888         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35889         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35890         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35891         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35892         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35893         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35894         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35895         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35896         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35897         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35898         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35899         * iconvdata/johab.c (ONE_DIRECTION): Define.
35900         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35901         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35902         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35903         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35904         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35905         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35906         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35907         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35908         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35909         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35911 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35913         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35914         (_IO_JUMPS_OFFSET): Define to 0.
35916         * nptl/sysdeps/pthread/bits/libc-lock.h
35917         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35918         (__libc_lock_define_initialized_recursive): Always define using
35919         initializer.  Modern compilers treat uninitialized (implicit zero) and
35920         explicit zero initializers the same (i.e. put the datum in bss).
35922 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35924         * nscd/nscd-client.h: Include <string.h>.
35926 2014-05-01  David S. Miller  <davem@davemloft.net>
35928         [BZ #16885]
35929         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35930         multiple zero bytes exist at the end of a string.
35931         Reported by Aurelien Jarno <aurelien@aurel32.net>
35933         * string/test-strcmp.c (check): Add explicit test for situations where
35934         there are multiple zero bytes after the first.
35936 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35938         [BZ #16890]
35939         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35940         when compiling wprintf.
35941         * stdio-common/tstdiomisc.c (t3): New function.
35942         (main): Call it.
35944 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35946         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35947         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35948         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35949         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35951 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35953         * stdlib/longlong.h: Updated from GCC.
35955 2014-05-01  Will Newton  <will.newton@linaro.org>
35956             Bernard Ogden  <bernie.ogden@linaro.org>
35958         * NEWS: Update fixed bug list.
35960         [BZ #15119]
35961         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35963 2014-04-30  David S. Miller  <davem@davemloft.net>
35965         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35966         (libc_feholdexcept_setround_sparc_ctx): New function.
35967         (libc_fesetenv_sparc_ctx): Likewise.
35968         (libc_feupdateenv_sparc_ctx): Likewise.
35969         (libc_feholdsetround_sparc_ctx): Likewise.
35970         (libc_feholdexcept_setround_ctx): Define.
35971         (libc_feholdexcept_setroundf_ctx): Likewise.
35972         (libc_feholdexcept_setroundl_ctx): Likewise.
35973         (libc_fesetenv_ctx): Likewise.
35974         (libc_fesetenvf_ctx): Likewise.
35975         (libc_fesetenvl_ctx): Likewise.
35976         (libc_feupdateenv_ctx): Likewise.
35977         (libc_feupdateenvf_ctx): Likewise.
35978         (libc_feupdateenvl_ctx): Likewise.
35979         (libc_feresetround_ctx): Likewise.
35980         (libc_feresetroundf_ctx): Likewise.
35981         (libc_feresetroundl_ctx): Likewise.
35982         (libc_feholdsetround_ctx): Likewise.
35983         (libc_feholdsetroundf_ctx): Likewise.
35984         (libc_feholdsetroundl_ctx): Likewise.
35986         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35987         with __USE_GNU instead of XOPEN cpp guards.
35989         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35990         0.
35992         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35993         with XOPEN cpp guards.
35995 2014-04-30  Julian Brown  <julian@codesourcery.com>
35997         [BZ #16888]
35998         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35999         handling.
36001 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36003         [BZ #9894]
36004         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36005         Change to 2.6.32.
36006         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36007         * sysdeps/unix/sysv/linux/configure: Regenerated.
36008         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36009         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36010         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36011         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36012         * README: Update reference to required Linux kernel version.
36013         * manual/install.texi (Linux): Update reference to required Linux
36014         kernel headers version.
36015         * INSTALL: Regenerated.
36017         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36018         header inclusion.
36019         [POSIX] (limits.h): Likewise.
36020         [POSIX] (math.h): Likewise.
36021         [POSIX] (sys/wait.h): Likewise.
36022         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36023         function.
36024         [POSIX] (stddef.h): Do not allow header inclusion.
36026 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36028         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36030 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36032         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36033         Return immediately after lll_futex_wake.
36035 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36037         [BZ #16791]
36038         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36039         structure.
36040         (datahead_init_pos): Call datahead_init_common early.
36041         (datahead_init_neg): Likewise.
36043         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36044         datahead_init_neg): New functions.
36045         * nscd/aicache.c (addhstaiX): Use them.
36046         * nscd/grpcache.c (cache_addgr): Likewise.
36047         * nscd/hstcache.c (cache_addhst): Likewise.
36048         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36049         * nscd/netgroupcache.c (do_notfound): Likewise.
36050         (addgetnetgrentX): Likewise.
36051         (addinnetgrX): Likewise.
36052         * nscd/pwdcache.c (cache_addpw): Likewise.
36053         * nscd/servicescache.c (cache_addserv): Likewise.
36055 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36056             Atsushi Onoe  <atsushi@onoe.org>
36058         [BZ #14308]
36059         [BZ #12994]
36060         [BZ #13651]
36061         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36062         one response is valid.
36063         * resolv/res_send.c (send_dg): Check for validity of other
36064         response if the current response is a referral.
36066 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36068         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36070 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36072         [BZ #16823]
36073         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36074         Always divide by positive zero when computing -Inf result.
36075         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36076         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36078 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36080         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36081         FPSCR if value do not change.
36082         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36083         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36084         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36085         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36086         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36087         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36088         function.
36090 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36092         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36093         * sysdeps/unix/sysv/linux/hppa: Move directory from
36094         ports/systeps/unix/sysv/linux/hppa.
36095         * README: Update listing for hppa-*-linux-gnu.
36097 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36099         [BZ #16754]
36100         * manual/stdio.texi (Hook functions): Fix types of stream hook
36101         functions.
36102         [BZ #16854]
36103         * socket/sys/socket.h: Fix typo in comment.
36105 2014-04-28  Wilco  <wdijkstr@arm.com>
36107         * sysdeps/arm/fenv_private.h: New file.
36108         * sysdeps/arm/math_private.h: New file.
36109         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36111 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36113         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36114         with __int128_t.
36115         (La_x86_64_retval): Likewise.
36117 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36119         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36120         fpsr if value didn't change.
36121         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36122         to fpcr if value didn't change.
36123         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36124         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36125         fpsr or fpcr if value didn't change.
36126         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36127         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36128         fpcr if value didn't change.
36129         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36130         to fpsr if value didn't change.
36132 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36134         * nptl/tst-sem3.c: Use test-skeleton.c
36135         (main): Rename to do_test.  Use return instead of
36136         exit.
36137         * nptl/tst-sem4.c: Use test-skeleton.c
36138         (main): Rename to do_test.
36140 2014-04-22  David S. Miller  <davem@davemloft.net>
36142         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36143         (struct sigaction): New struct member __glibc_reserved0, change
36144         type of sa_flags to int.
36146 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36148         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36149         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36151 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36153         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36154         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36156 2014-04-22  Will Newton  <will.newton@linaro.org>
36157             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36159         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36160         (__longjmp): Add longjmp and longjmp_target SystemTap
36161         probes.
36162         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36163         (__sigsetjmp): Add setjmp SystemTap probe.
36165 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36167         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36168         match manual order.
36170 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36172         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36174         * sysdeps/powerpc/fpu/fenv_private.h
36175         (libc_feholdexcept_setroundl_ctx): Define to
36176         libc_feholdexcept_setround_ppc_ctx.
36177         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36178         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36179         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36180         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36182 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36184         * sysdeps/aarch64/math-tests.h: New file.
36186 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36188         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36189         New.
36190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36191         Check and set bit_AVX2_Usable.
36192         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36193         macro.
36194         (bit_AVX2): Likewise.
36195         (index_AVX2_Usable): Likewise.
36196         (CPUID_AVX2): Likewise.
36197         (HAS_AVX2): Likewise.
36199 2014-04-17  Will Newton  <will.newton@linaro.org>
36201         * manual/setjmp.texi (System V contexts): Add note that
36202         calling setcontext on a context created by a call to a
36203         signal handler is undefined.  Update text to note that
36204         setcontext from a signal handler is possible but not
36205         recommended.
36207         [BZ #16629]
36208         * stdlib/tst-setcontext.c: Include signal.h.
36209         (main): Check that the signal stack before and
36210         after swapcontext is the same.
36212         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36213         Re-implement to restore registers in user code and avoid
36214         rt_sigreturn system call.
36216 2014-04-17  Wilco  <wdijkstr@arm.com>
36218         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36219         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36220         * math/test-fenv.c: Skip exception trap tests on targets which only
36221         support non-stop mode.
36223 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36224             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36226         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36227         (libc_feholdsetround_aarch64_ctx)
36228         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36229         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36230         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36231         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36232         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36233         (libc_feresetround_noexl_ctx): Define.
36235 2014-04-16  Richard Henderson  <rth@redhat.com>
36237         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36239         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36240         unwind tables.
36242         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36243         const from the non-libc, non-ldso copy.
36245         * sysdeps/alpha/libm-test-ulps: Regenerate.
36247 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36248             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36250         * sysdeps/aarch64/fpu/math_private.h: New file.
36252 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36254         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36256 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36258         [BZ #16275]
36259         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36260         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36261         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36262         Intel MPX bound registers before _dl_profile_fixup.
36263         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36264         registers after _dl_profile_fixup.  Save and restore bound
36265         registers bnd0/bnd1 when calling _dl_call_pltexit.
36266         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36267         (LR_BND_OFFSET): Likewise.
36268         (LRV_BND0_OFFSET): Likewise.
36269         (LRV_BND1_OFFSET): Likewise.
36271 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36273         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36274         to...
36275         * sysdeps/mach/hurd/i386/tls.h: ... here.
36276         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36277         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36278         fields.
36280 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36282         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36284 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36286         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36288 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36290         [BZ #14770]
36291         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36292         * sysdeps/s390/configure: Regenerate.
36294         [BZ #16824]
36295         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36296         Set round-to-nearest internally to reduce error accumulation.
36298 2014-04-16  Alan Modra  <amodra@gmail.com>
36300         [BZ #16740]
36301         [BZ #16619]
36302         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36303         * math/libm-test.inc (frexp_test_data): Add tests.
36304         * NEWS: Update fixed bug list.
36306 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36308         * benchtests/Makefile: Depend on libraries in build directory.
36309         (bench-math): Separate out math tests.
36310         (bench-pthread): Separate out pthread tests.
36311         (bench): Include math and pthread tests.
36313 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36315         [BZ #16831]
36316         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36317         _dl_debug_initialize.
36319         * configure.ac: Remove SELinux header check.
36320         * configure: Regenerate.
36321         * nscd/selinux.c (perms): Array of const char* to permission names.
36322         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36323         default policy. Call string_to_security_class and string_to_av_perm to
36324         translate strings. Enforce default policy and call avs_has_perm with
36325         results of translated strings.
36327 2014-04-13  David S. Miller  <davem@davemloft.net>
36329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36331 2014-04-12  Allan McRae  <allan@archlinux.org>
36333         [BZ #16838]
36334         * manual/string.texi (Collation Functions): Fix qsort argument
36335         order in example.
36336         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36338 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36340         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36341         Make the test a no-op if there are no exceptions defined.
36343 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36345         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36346         enable-hardcoded-path-in-tests
36348 2014-04-11  Will Newton  <will.newton@linaro.org>
36350         * benchtests/Makefile (extra-objs): Add json-lib.o.
36351         (bench-func): Tidy up JSON output.
36352         * benchtests/bench-skeleton.c: Include json-lib.h.
36353         (main): Use JSON library functions to do output of
36354         benchmark results.
36355         * benchtests/bench-timing-type.c (main): Output the
36356         timing type simply, leaving formatting to the user.
36357         * benchtests/json-lib.c: New file.
36358         * benchtests/json-lib.h: Likewise.
36360 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36362         [BZ #15215]
36363         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36364         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36365         memory barriers.  Add comments.
36366         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36367         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36368         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36369         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36370         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36371         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36373 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36375         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36376         * sysdeps/s390/s390-64/configure.ac: ... this ...
36377         * sysdeps/s390/configure.ac: ... to here.
36378         * sysdeps/s390/s390-32/configure: Delete file.
36379         * sysdeps/s390/s390-64/configure: Delete file.
36380         * sysdeps/s390/configure: Regenerate.
36382 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36384         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36386 2014-04-11  Will Newton  <will.newton@linaro.org>
36388         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36389         to zero if it is not defined elsewhere.  (mtrim): Test
36390         the value of MALLOC_DEBUG with #if rather than #ifdef.
36392 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36394         * benchtests/pthread_once-inputs: New file.
36395         * benchtests/pthread_once-source.c: New file.
36396         * benchtests/README: Update documentation.
36398 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36399             H.J. Lu  <hongjiu.lu@intel.com>
36401         [BZ #16275]
36402         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36403         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36404         * sysdeps/x86_64/configure: Regenerated.
36405         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36406         macro.
36407         (REGISTER_SAVE_RAX): Likewise.
36408         (REGISTER_SAVE_RCX): Likewise.
36409         (REGISTER_SAVE_RDX): Likewise.
36410         (REGISTER_SAVE_RSI): Likewise.
36411         (REGISTER_SAVE_RDI): Likewise.
36412         (REGISTER_SAVE_R8): Likewise.
36413         (REGISTER_SAVE_R9): Likewise.
36414         (REGISTER_SAVE_BND0): Likewise.
36415         (REGISTER_SAVE_BND1): Likewise.
36416         (REGISTER_SAVE_BND2): Likewise.
36417         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36418         bound registers when calling _dl_fixup.
36420 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36422         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36423         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36424         of its definition.
36425         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36426         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36427         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36428         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36429         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36430         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36431         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36433 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36435         [BZ #15514]
36436         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36437         pathconf(_PC_NAME_MAX).
36439 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36441         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36442         Remove macro usage.
36443         (__PTHREAD_SPINS): Move definition to ...
36444         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36445         (__PTHREAD_SPINS): ... here.
36446         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36447         (__PTHREAD_SPIN): Likewise.
36448         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36449         (__PTHREAD_SPIN): Likewise.
36450         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36451         (__PTHREAD_SPIN): Likewise.
36452         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36453         (__PTHREAD_SPIN): Likewise.
36454         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36455         (__PTHREAD_SPIN): Likewise.
36456         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36457         (__PTHREAD_SPIN): Likewise.
36458         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36459         (__PTHREAD_SPIN): Likewise.
36460         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36461         (__PTHREAD_SPIN): Likewise.
36462         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36463         (__PTHREAD_SPIN): Likewise.
36464         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36465         (__PTHREAD_SPIN): Likewise.
36466         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36467         (__PTHREAD_SPIN): Likewise.
36468         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36469         (__PTHREAD_SPIN): Likewise.
36471         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36472         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36473         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36474         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36475         imply folder.
36476         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36477         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36478         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36479         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36480         correct imply path.
36481         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36482         strlen symbol for non multi-arch builds.
36483         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36484         missing hidden_def and weak_alias.
36486 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36488         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36490 2014-04-07  Will Newton  <will.newton@linaro.org>
36492         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36493         and contents.  [!_LIBC] Remove #ifndef and contents.
36494         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36495         * string/memccpy.c (__memccpy): Use ANSI prototype.
36496         * string/memfrob.c (memfrob): Likewise.
36497         * string/strcoll.c (STRCOLL): Likewise.
36498         * string/strlen.c (strlen): Likewise.
36499         * string/strtok.c (STRTOK): Likewise.
36500         * string/strcat.c: Remove unused #include of memcopy.h.
36501         (strcat): Use ANSI prototype.
36502         * string/strchr.c: Remove unused #include of memcopy.h.
36503         (strchr): Use ANSI prototype.
36504         * string/strcmp.c: Remove unused #include of memcopy.h.
36505         (strcmp): Use ANSI prototype.
36506         * string/strcpy.c: Remove unused #include of memcopy.h.
36507         (strcpy): Use ANSI prototype.
36509 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36511         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36512         * config.make.in (config-extra-cppflags): Set it from
36513         libc_extra_cppflags.
36514         * configure.ac (libc_extra_cflags): Make it accumulate over
36515         configure fragments.
36516         (libc_extra_cppflags): New flag.
36517         * configure. Regenerate.
36518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36519         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36520         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36523         [BZ #16815]
36524         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36525         result for FE_DOWNWARD rounding mode.
36526         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36527         Likewise.
36528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36530 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36532         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36533         in function argument name.
36535 2014-04-03  David Svoboda  <svoboda@cert.org>
36537         [BZ #5666]
36538         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36539         explicitly.
36541 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36543         * elf/dl-unmap-segments.h: New file.
36544         * sysdeps/generic/ldsodefs.h
36545         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36546         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36547         * elf/dl-fptr.c: Likewise.
36548         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36549         * sysdeps/aarch64/tlsdesc.c: Likewise.
36550         * sysdeps/arm/tlsdesc.c: Likewise.
36551         * sysdeps/i386/tlsdesc.c: Likewise.
36552         * sysdeps/tile/dl-runtime.c: Likewise.
36553         * sysdeps/x86_64/tlsdesc.c: Likewise.
36554         * elf/dl-load.h: New file.
36555         * elf/dl-load.c: Include it.
36556         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36557         Macros moved to dl-load.h.
36558         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36559         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36560         Use _dl_unmap_segments in place of __munmap.
36561         Break out segment-mapping loop into ...
36562         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36564 2014-04-03  Will Newton  <will.newton@linaro.org>
36566         * elf/dl-lookup.c (do_lookup_x): Remove comment
36567         referring to nested function and move variable
36568         declarations down to before first use.
36570 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36572         [BZ #16799]
36573         [BZ #16800]
36574         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36575         with 0 numerator.
36576         * math/s_catanf.c (__catanf): Likewise.
36577         * math/s_catanh.c (__catanh): Likewise.
36578         * math/s_catanhf.c (__catanhf): Likewise.
36579         * math/s_catanhl.c (__catanhl): Likewise.
36580         * math/s_catanl.c (__catanl): Likewise.
36581         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36582         by positive zero when computing -Inf result.
36583         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36584         (catanh_test): Likewise.
36585         * sysdeps/i386/fpu/libm-test-ulps: Update.
36586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36588         [BZ #16789]
36589         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36590         instead of using underflowing value in computing result.
36591         * math/s_clog10.c (__clog10): Likewise.
36592         * math/s_clog10f.c (__clog10f): Likewise.
36593         * math/s_clog10l.c (__clog10l): Likewise.
36594         * math/s_clogf.c (__clogf): Likewise.
36595         * math/s_clogl.c (__clogl): Likewise.
36596         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36597         (clog10_test): Likewise.
36598         * sysdeps/i386/fpu/libm-test-ulps: Update.
36599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36601 2014-04-02  Alan Modra  <amodra@gmail.com>
36603         [BZ #16739]
36604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36605         output when value is near a power of two.  Use int64_t for lx and
36606         remove casts.  Use decimal rather than hex exponent constants.
36607         Don't use long double multiplication when double will suffice.
36608         * math/libm-test.inc (nextafter_test_data): Add tests.
36609         * NEWS: Add 16739 and 16786 to bug list.
36611         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36613         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36615 2014-04-01  Will Newton  <will.newton@linaro.org>
36617         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36618         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36620 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36622         [BZ #13347]
36623         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36624         * nptl/tst-setuid2.c: New file.
36625         * nptl/Makefile (xtests): Add tst-setuid2.
36627 2014-04-01  Alan Modra  <amodra@gmail.com>
36629         [BZ #16786]
36630         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36632 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36634         [BZ #6803]
36635         [BZ #6804]
36636         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36637         set errno as appropriate.
36638         * math/w_scalbf.c (__scalbf): Likewise.
36639         * math/w_scalbl.c (__scalbl): Likewise.
36640         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36641         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36642         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36643         Add more NaN tests.
36645         [BZ #16349]
36646         * math/w_atan2.c: Include <errno.h>.
36647         (__atan2): Set errno for result underflowing to zero.
36648         * math/w_atan2f.c: Include <errno.h>.
36649         (__atan2f): Set errno for result underflowing to zero.
36650         * math/w_atan2l.c: Include <errno.h>.
36651         (__atan2l): Set errno for result underflowing to zero.
36652         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36653         tests.
36654         * math/auto-libm-test-out: Regenerated.
36656 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36658         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36659         Encode instruction correctly in little endian.
36660         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36661         Likewise.
36662         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36663         Likewise.
36664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36665         Likewise.
36666         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36667         Likewise.
36669 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36671         [BZ #9894]
36672         * sysdeps/unix/sysv/linux/kernel-features.h
36673         [__sparc__ && !__arch64__ && !__sparc_v9__]
36674         (__ASSUME_SET_ROBUST_LIST): Do not define.
36675         [__sparc__ && !__arch64__ && !__sparc_v9__]
36676         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36677         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36678         Likewise.
36679         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36680         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36681         (__ASSUME_REQUEUE_PI): Likewise.
36682         (__ASSUME_SET_ROBUST_LIST): Likewise.
36683         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36684         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36685         Undefine.
36686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36687         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36688         Likewise.
36689         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36690         Likewise.
36691         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36692         Likewise.
36693         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36694         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36695         Undefine.
36696         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36697         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36698         Likewise.
36700         [BZ #16648]
36701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36702         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36703         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36705 2014-03-31  Will Newton  <will.newton@linaro.org>
36707         * benchtests/Makefile (bench): Add ffs and ffsll to list
36708         of tests.
36709         * benchtests/ffs-inputs: New file.
36710         * benchtests/ffsll-inputs: Likewise.
36712 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36714         [BZ #16770]
36715         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36716         too large before casting to int.
36717         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36718         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36719         * math/libm-test.inc (scalb_test_data): Add more tests.
36721 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36723         * benchtests/Makefile (DETAILED_OPT): New make option.
36724         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36725         set.
36726         * benchtests/bench-skeleton.c: Include stdbool.h.
36727         (main): Store and print timings per input.
36728         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36729         member to each argument value.
36730         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36731         (_print_arg_data): Initialize per-input timing to 0.
36733         * benchtests/Makefile (timing-type): New binary.
36734         (bench-clean): Also remove bench-timing-type.
36735         (bench): New target for timing-type.
36736         (bench-func): Print output in JSON format.
36737         * benchtests/bench-skeleton.c (main): Print output in JSON
36738         format.
36739         * benchtests/bench-timing-type.c: New file.
36740         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36741         (TIMING_PRINT_STATS): Remove.
36742         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36743         name separately.
36745         * benchtests/bench-modf.c: Remove.
36746         * benchtests/modf-inputs: New inputs file.
36748 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36750         [BZ #16362]
36751         * math/s_clog10.c (M_PI_LOG10E): New macro.
36752         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36753         imaginary parts are 0.
36754         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36755         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36756         imaginary parts are 0.
36757         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36758         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36759         imaginary parts are 0.
36760         * math/libm-test.inc (clog10_test_data): Update expected results
36761         for when real and imaginary parts are 0.
36763 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36765         * elf/dl-load.c: Finish conversion of __builtin_expect into
36766         __glibc_{un}likely.
36768 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36770         [BZ #16348]
36771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36772         1+x for argument with exponent below -67.
36773         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36774         Likewise.
36775         * math/auto-libm-test-in: Add more tests of exp.
36776         * math/auto-libm-test-out: Regenerated.
36778 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36780         [BZ #16759]
36781         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36782         (nscd_getnetgrent): Use it.
36784         [BZ #16760]
36785         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36786         of stpcpy.
36788 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36790         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36791         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36792         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36793         (lll_robust_unlock): Remove out of line section. Use cfi
36794         intrinsics.
36795         (LLL_STUB_UNWIND_INFO*): Remove.
36796         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36797         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36798         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36799         (lll_robust_unlock): Remove out of line section. Use cfi
36800         intrinsics.
36801         (LLL_STUB_UNWIND_INFO*): Remove.
36803 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36805         [BZ #16758]
36806         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36807         blank values.
36809 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36811         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36813 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36815         [BZ #16198]
36816         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36817         fnstenv.
36818         * math/test-fenv-preserve.c: New file.
36819         * math/Makefile (tests): Add test-fenv-preserve.
36821 2014-03-26  Will Newton <will.newton@linaro.org>
36823         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36825 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36827         * scripts/versionlist.awk: Partition the version sets and emit all
36828         GLIBC_* (sorted) before all others (sorted).
36830 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36832         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36833         GLIBC_2.2.5 version.
36835 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36837         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36838         calls.
36840         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36841         previous change.
36843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36845 2014-03-25  Andreas Schwab  <schwab@suse.de>
36847         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36848         label to be used after in6ailist is initialized.
36850 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36852         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36853         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36855 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36857         [BZ #16357]
36858         [BZ #16599]
36859         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36860         min_plus_half.
36861         (fp_formats): Update initializers.
36862         (init_fp_formats): Initialize new field.
36863         (output_for_one_input_case): Allow underflow for results up to
36864         min_plus_half.
36865         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36866         * math/auto-libm-test-in: Don't mark some underflows from asin and
36867         atanh as spurious.
36868         * math/auto-libm-test-out: Regenerated.
36869         * sysdeps/i386/fpu/libm-test-ulps: Update.
36870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36872 2014-03-25  Andreas Schwab  <schwab@suse.de>
36874         * libio/Makefile (tst-ftell-partial-wide-ENV)
36875         (tst-ftell-active-handler-ENV): Define.
36877 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36879         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36881 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36883         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36885 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36887         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36888         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36889         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36891 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36893         [BZ #16634]
36894         * elf/dl-load.c (open_verify): Add mode parameter.
36895         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36896         (open_path): Change from boolean 'secure' to complete flag 'mode'
36897         (_dl_map_object): Adjust.
36898         * elf/Makefile (tests): Add tst-dlopen-aout.
36899         * elf/tst-dlopen-aout.c: New test.
36901 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36903         [BZ #16714]
36904         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36905         (struct stat): Rename member pad0 to __glibc_reserved0.
36907         [BZ #16712]
36908         * sysdeps/s390/s390-32/bits/wordsize.h
36909         (__WORDSIZE32_SIZE_ULONG): New define.
36910         * sysdeps/s390/s390-64/bits/wordsize.h
36911         (__WORDSIZE32_SIZE_ULONG): Likewise.
36912         * sysdeps/generic/stdint.h (SIZE_MAX):
36913         Define as UL if __WORDSIZE32_SIZE_ULONG.
36915         [BZ #16713]
36916         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36917         (__glibc_reserved0): New variable.
36918         (sa_flags): Change type to int.
36920         * posix/Makefile (before-compile): Use += before-compile instead
36921         of a :=.
36923         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36924         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36926 2014-03-20  Andreas Schwab  <schwab@suse.de>
36928         [BZ #16743]
36929         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36930         non-matching result from nscd.
36932 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36934         * scripts/bench.py: Moved to ...
36935         * benchtests/scripts/bench.py: ... here.
36936         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36938 2014-03-24  Andreas Schwab  <schwab@suse.de>
36940         [BZ #16002]
36941         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36942         alloca_account and account alloca use for struct in6ailist.
36944 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36946         [BZ #16284]
36947         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36948         rounding mode to recompute results that overflow to infinity or
36949         underflow to zero.
36950         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36951         bug 16284.
36952         * math/auto-libm-test-out: Regenerated.
36953         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36954         (ccosh_test): Likewise.
36955         (csin_test_data): Use plus_oflow.
36956         (csin_test): Use ALL_RM_TEST.
36957         (csinh_test_data): Use plus_oflow.
36958         (csinh_test): Use ALL_RM_TEST.
36959         * sysdeps/i386/fpu/libm-test-ulps: Update.
36960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36962 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36964         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36965         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36966         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36968         [BZ #16731]
36969         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36970         when x - 1 is zero.
36971         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36972         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36973         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36974         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36975         argument is 1.
36976         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36977         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36978         zero.
36979         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36980         * sysdeps/i386/fpu/libm-test-ulps: Update.
36981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36983 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36985         * scripts/bench.pl: Remove file.
36986         * scripts/bench.py: New benchmark script.
36987         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36988         * benchtests/README: Mention python dependency.
36989         * scripts/pylintrc: New file.
36990         * scripts/pylint: New file.
36992         * bits/mathdef.h: Use #ifdef instead of #if.
36993         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36994         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36995         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36996         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36997         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36998         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37000 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37001             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37003         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37005         and strpbrk-ppc64 objects.
37006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37007         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37008         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37009         multiarch strpbrk for POWER7.
37010         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37011         multiarch strpbrk for PPC64.
37012         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37013         ifunc selector.
37014         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37015         strpbrk for POWER7.
37017 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37019         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37020         (atan_test): Likewise.
37021         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37022         (atanh_test): Use ALL_RM_TEST.
37023         (atan2_test_data): Likewise.
37024         (cabs_test): Likewise.
37025         (cacosh_test): Likewise.
37026         (carg_test): Likewise.
37027         (casin_test): Likewise.
37028         (casinh_test): Likewise.
37029         (cbrt_test): Likewise.
37030         (csqrt_test): Likewise.
37031         (erf_test): Likewise.
37032         (erfc_test): Likewise.
37033         (pow10_test): Likewise.
37034         (exp2_test): Likewise.
37035         (hypot_test): Likewise.
37036         (j0_test): Likewise.
37037         (j1_test): Likewise.
37038         (lgamma_test): Likewise.
37039         (gamma_test): Likewise.
37040         (sincos_test): Likewise.
37041         (tanh_test): Likewise.
37042         (y0_test): Likewise.
37043         (y1_test): Likewise.
37044         * sysdeps/i386/fpu/libm-test-ulps: Update.
37045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37047 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37049         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37051         and strcspn-ppc64 objects.
37052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37053         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37054         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37055         multiarch strcspn for POWER7.
37056         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37057         multiarch strcspn for PPC64.
37058         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37059         ifunc selector.
37060         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37061         strcspn for POWER7.
37063 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37065         * math/gen-libm-test.pl (generate_testfile): Expect only function
37066         name as argument to AUTO_TESTS_* and pass results for all rounding
37067         modes to parse_args.
37068         (parse_auto_input): Separate inputs of automatic tests from
37069         outputs before storing in %auto_tests.
37070         * math/libm-test.inc (acos_test_data): Update call to
37071         AUTO_TESTS_f_f.
37072         (acos_test): Use ALL_RM_TEST.
37073         (acos_tonearest_test_data): Remove.
37074         (acos_test_tonearest): Likewise.
37075         (acos_towardzero_test_data): Likewise.
37076         (acos_test_towardzero): Likewise.
37077         (acos_downward_test_data): Likewise.
37078         (acos_test_downward): Likewise.
37079         (acos_upward_test_data): Likewise.
37080         (acos_test_upward): Likewise.
37081         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37082         (asin_test_data): Likewise.
37083         (asin_test): Use ALL_RM_TEST.
37084         (asin_tonearest_test_data): Remove.
37085         (asin_test_tonearest): Likewise.
37086         (asin_towardzero_test_data): Likewise.
37087         (asin_test_towardzero): Likewise.
37088         (asin_downward_test_data): Likewise.
37089         (asin_test_downward): Likewise.
37090         (asin_upward_test_data): Likewise.
37091         (asin_test_upward): Likewise.
37092         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37093         (atan_test_data): Likewise.
37094         (atanh_test_data): Likewise.
37095         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37096         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37097         (carg_test_data): Likewise.
37098         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37099         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37100         (ccosh_test_data): Likewise.
37101         (cexp_test_data): Likewise.
37102         (clog_test_data): Likewise.
37103         (clog10_test_data): Likewise.
37104         (cos_test_data): Update call to AUTO_TESTS_f_f.
37105         (cos_test): Use ALL_RM_TEST.
37106         (cos_tonearest_test_data): Remove.
37107         (cos_test_tonearest): Likewise.
37108         (cos_towardzero_test_data): Likewise.
37109         (cos_test_towardzero): Likewise.
37110         (cos_downward_test_data): Likewise.
37111         (cos_test_downward): Likewise.
37112         (cos_upward_test_data): Likewise.
37113         (cos_test_upward): Likewise.
37114         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37115         (cosh_test): Use ALL_RM_TEST.
37116         (cosh_tonearest_test_data): Remove.
37117         (cosh_test_tonearest): Likewise.
37118         (cosh_towardzero_test_data): Likewise.
37119         (cosh_test_towardzero): Likewise.
37120         (cosh_downward_test_data): Likewise.
37121         (cosh_test_downward): Likewise.
37122         (cosh_upward_test_data): Likewise.
37123         (cosh_test_upward): Likewise.
37124         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37125         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37126         (ctan_test_data): Likewise.
37127         (ctan_test): Use ALL_RM_TEST.
37128         (ctan_tonearest_test_data): Remove.
37129         (ctan_test_tonearest): Likewise.
37130         (ctan_towardzero_test_data): Likewise.
37131         (ctan_test_towardzero): Likewise.
37132         (ctan_downward_test_data): Likewise.
37133         (ctan_test_downward): Likewise.
37134         (ctan_upward_test_data): Likewise.
37135         (ctan_test_upward): Likewise.
37136         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37137         (ctanh_test): Use ALL_RM_TEST.
37138         (ctanh_tonearest_test_data): Remove.
37139         (ctanh_test_tonearest): Likewise.
37140         (ctanh_towardzero_test_data): Likewise.
37141         (ctanh_test_towardzero): Likewise.
37142         (ctanh_downward_test_data): Likewise.
37143         (ctanh_test_downward): Likewise.
37144         (ctanh_upward_test_data): Likewise.
37145         (ctanh_test_upward): Likewise.
37146         (erf_test_data): Update call to AUTO_TESTS_f_f.
37147         (erfc_test_data): Likewise.
37148         (exp_test_data): Likewise.
37149         (exp_test): Use ALL_RM_TEST.
37150         (exp_tonearest_test_data): Remove.
37151         (exp_test_tonearest): Likewise.
37152         (exp_towardzero_test_data): Likewise.
37153         (exp_test_towardzero): Likewise.
37154         (exp_downward_test_data): Likewise.
37155         (exp_test_downward): Likewise.
37156         (exp_upward_test_data): Likewise.
37157         (exp_test_upward): Likewise.
37158         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37159         (exp10_test): Use ALL_RM_TEST.
37160         (exp10_tonearest_test_data): Remove.
37161         (exp10_test_tonearest): Likewise.
37162         (exp10_towardzero_test_data): Likewise.
37163         (exp10_test_towardzero): Likewise.
37164         (exp10_downward_test_data): Likewise.
37165         (exp10_test_downward): Likewise.
37166         (exp10_upward_test_data): Likewise.
37167         (exp10_test_upward): Likewise.
37168         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37169         (expm1_test_data): Likewise.
37170         (expm1_test): Use ALL_RM_TEST.
37171         (expm1_tonearest_test_data): Remove.
37172         (expm1_test_tonearest): Likewise.
37173         (expm1_towardzero_test_data): Likewise.
37174         (expm1_test_towardzero): Likewise.
37175         (expm1_downward_test_data): Likewise.
37176         (expm1_test_downward): Likewise.
37177         (expm1_upward_test_data): Likewise.
37178         (expm1_test_upward): Likewise.
37179         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37180         (fma_test): Use ALL_RM_TEST.
37181         (fma_towardzero_test_data): Remove.
37182         (fma_test_towardzero): Likewise.
37183         (fma_downward_test_data): Likewise.
37184         (fma_test_downward): Likewise.
37185         (fma_upward_test_data): Likewise.
37186         (fma_test_upward): Likewise.
37187         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37188         (j0_test_data): Update call to AUTO_TESTS_f_f.
37189         (j1_test_data): Likewise.
37190         (jn_test_data): Update call to AUTO_TESTS_if_f.
37191         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37192         (log_test_data): Update call to AUTO_TESTS_f_f.
37193         (log10_test_data): Likewise.
37194         (log1p_test_data): Likewise.
37195         (log2_test_data): Likewise.
37196         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37197         (pow_tonearest_test_data): Likewise.
37198         (sin_test_data): Update call to AUTO_TESTS_f_f.
37199         (sin_test): Use ALL_RM_TEST.
37200         (sin_tonearest_test_data): Remove.
37201         (sin_test_tonearest): Likewise.
37202         (sin_towardzero_test_data): Likewise.
37203         (sin_test_towardzero): Likewise.
37204         (sin_downward_test_data): Likewise.
37205         (sin_test_downward): Likewise.
37206         (sin_upward_test_data): Likewise.
37207         (sin_test_upward): Likewise.
37208         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37209         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37210         (sinh_test): Use ALL_RM_TEST.
37211         (sinh_tonearest_test_data): Remove.
37212         (sinh_test_tonearest): Likewise.
37213         (sinh_towardzero_test_data): Likewise.
37214         (sinh_test_towardzero): Likewise.
37215         (sinh_downward_test_data): Likewise.
37216         (sinh_test_downward): Likewise.
37217         (sinh_upward_test_data): Likewise.
37218         (sinh_test_upward): Likewise.
37219         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37220         (sqrt_test): Use ALL_RM_TEST.
37221         (sqrt_tonearest_test_data): Remove.
37222         (sqrt_test_tonearest): Likewise.
37223         (sqrt_towardzero_test_data): Likewise.
37224         (sqrt_test_towardzero): Likewise.
37225         (sqrt_downward_test_data): Likewise.
37226         (sqrt_test_downward): Likewise.
37227         (sqrt_upward_test_data): Likewise.
37228         (sqrt_test_upward): Likewise.
37229         (tan_test_data): Update call to AUTO_TESTS_f_f.
37230         (tan_test): Use ALL_RM_TEST.
37231         (tan_tonearest_test_data): Remove.
37232         (tan_test_tonearest): Likewise.
37233         (tan_towardzero_test_data): Likewise.
37234         (tan_test_towardzero): Likewise.
37235         (tan_downward_test_data): Likewise.
37236         (tan_test_downward): Likewise.
37237         (tan_upward_test_data): Likewise.
37238         (tan_test_upward): Likewise.
37239         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37240         (tgamma_test_data): Likewise.
37241         (y0_test_data): Likewise.
37242         (y1_test_data): Likewise.
37243         (yn_test_data): Update call to AUTO_TESTS_if_f.
37244         (main): Do not call removed functions.
37246 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37248         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37249         (ldexp_test_data): Remove.
37250         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37251         scalbn_test_data.
37252         (scalb_test): Use ALL_RM_TEST.
37254 2014-03-19  Andreas Schwab  <schwab@suse.de>
37256         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37258 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37260         [BZ #16649]
37261         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37262         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37263         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37264         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37265         (__ASSUME_PREADV): Undefine.
37266         (__ASSUME_PWRITEV): Likewise.
37268 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37270         * bits/mman-linux.h: Add comment about non-Linux use.
37271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37272         bits/mman-linux.h resting place.
37274         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37275         * bits/mman-linux.h: ... here.
37277 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37279         * conform/conformtest.pl: Add standard definition when calling C
37280         preprocessor on data files.
37281         (checknamespace): Remove unused variable.
37283 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37285         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37286         minus_oflow, plus_uflow and minus_uflow in expected results.
37287         * math/libm-test.inc (scalbn_test_data): Add more tests of
37288         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37289         minus_uflow.
37290         (scalbn_test): Use ALL_RM_TEST.
37291         (scalbln_test_data): Add more tests of negative arguments.  Use
37292         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37293         (scalbln_test): Use ALL_RM_TEST.
37295 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37297         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37299 2014-03-18  Will Newton  <will.newton@linaro.org>
37301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37302         inaccurate comment.
37304 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37306         * Makerules [!subdir] (check-abi): Exit with error status if a
37307         test failed.
37309 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37311         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37312         for rint.  Include results for all rounding modes.
37313         (nearbyint_test): Use ALL_RM_TEST.
37314         (rint_test_data): Include all tests used for nearbyint.
37316 2014-03-17  Will Newton  <will.newton@linaro.org>
37318         * nptl/sysdeps/pthread/pthread.h: Revert previous
37319         change.
37321         * sysdeps/generic/ldsodefs.h: Revert previous
37322         change.
37324         * libio/genops.c: Revert previous change.
37325         * libio/libioP.h: Likewise.
37326         * stdio-common/vfprintf.c: Likewise.
37328         * sysdeps/generic/math_private.h: Revert previous
37329         change.
37331         * sysdeps/generic/math_private.h: Check whether
37332         HAVE_RM_CTX is defined with #ifdef rather
37333         than #if.
37335         * argp/argp-fmtstream.h: Check whether
37336         __STRICT_ANSI__ is defined with #ifdef rather
37337         than #if.
37338         * argp/argp.h: Likewise.
37340         * libio/genops.c: Check whether
37341         _IO_JUMPS_OFFSET is defined with #ifdef rather
37342         than #if.
37343         * libio/libioP.h: Likewise.
37344         * stdio-common/vfprintf.c: Likewise.
37346         * sysdeps/generic/ldsodefs.h: Check whether
37347         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37348         than #if.
37350         * nptl/sysdeps/pthread/pthread.h: Check
37351         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37352         its value.
37354 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37356         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37357         setting O_APPEND.
37358         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37359         test case.
37361         [BZ #16680]
37362         * libio/fileops.c (_IO_file_open): Seek to end of file but
37363         don't cache the offset.
37364         (get_file_offset): Remove function.
37365         (do_ftell): Use cached offset when available.
37366         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37367         don't cache the offset.
37368         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37369         case.
37370         (do_one_test): Call it.
37371         (do_ftell_test): Fix up expected old offset for a+ mode.
37372         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37373         available.
37375         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37376         up test status with function return status.
37377         (do_write_test): Likewise.
37378         (do_append_test): Likewise.
37380         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37381         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37382         Remove.
37384 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37386         * math/gen-libm-test.pl (parse_args): Handle results specified for
37387         each rounding mode separately.
37388         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37389         tests and results from lrint_tonearest_test_data,
37390         lrint_towardzero_test_data, lrint_downward_test_data and
37391         lrint_upward_test_data.
37392         (lrint_test): Use ALL_RM_TEST.
37393         (lrint_tonearest_test_data): Remove.
37394         (lrint_test_tonearest): Likewise.
37395         (lrint_towardzero_test_data): Likewise.
37396         (lrint_test_towardzero): Likewise.
37397         (lrint_downward_test_data): Likewise.
37398         (lrint_test_downward): Likewise.
37399         (lrint_upward_test_data): Likewise.
37400         (lrint_test_upward): Likewise.
37401         (llrint_test_data): Merge in per-rounding-mode tests and results
37402         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37403         llrint_downward_test_data and llrint_upward_test_data.
37404         (llrint_test): Use ALL_RM_TEST.
37405         (llrint_tonearest_test_data): Remove.
37406         (llrint_test_tonearest): Likewise.
37407         (llrint_towardzero_test_data): Likewise.
37408         (llrint_test_towardzero): Likewise.
37409         (llrint_downward_test_data): Likewise.
37410         (llrint_test_downward): Likewise.
37411         (llrint_upward_test_data): Likewise.
37412         (llrint_test_upward): Likewise.
37413         (rint_test_data): Merge in per-rounding-mode tests and results
37414         from rint_tonearest_test_data, rint_towardzero_test_data,
37415         rint_downward_test_data and rint_upward_test_data.  Add
37416         per-rounding-mode results for tests not in those arrays.
37417         (rint_test): Use ALL_RM_TEST.
37418         (rint_tonearest_test_data): Remove.
37419         (rint_test_tonearest): Likewise.
37420         (rint_towardzero_test_data): Likewise.
37421         (rint_test_towardzero): Likewise.
37422         (rint_downward_test_data): Likewise.
37423         (rint_test_downward): Likewise.
37424         (rint_upward_test_data): Likewise.
37425         (rint_test_upward): Likewise.
37426         (main): Don't call removed functions.
37428 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37430         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37431         "Compiled on ..." crapola.  It is anti-useful.
37433 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37435         * scripts/evaluate-test.sh: Handle fourth argument to determine
37436         whether test run should stop on failure.
37437         * Makeconfig (stop-on-test-failure): New variable.
37438         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37439         $(stop-on-test-failure).
37440         * Makefile (tests): Give a summary of results from testing and
37441         exit with failure status if they include an ERROR or FAIL.
37442         (xtests): Likewise.
37443         * manual/install.texi (Configuring and compiling): Mention
37444         stop-on-test-failure=y.
37445         * INSTALL: Regenerated.
37447 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37449         * scripts/versionlist.awk: New file.
37450         * Makerules [$(build-shared) = yes]
37451         (postclean-generated): Add Versions.def, not Versions.def.v and
37452         Versions.def.v.i.
37453         ($(common-objpfx)Versions.def.v.i): Target removed.
37454         ($(common-objpfx)Versions.def): New target.
37455         ($(common-objpfx)Versions.all): Depend on that rather that
37456         $(common-objpfx)Versions.def.v.
37457         * Versions.def: File removed.
37459         * Makeconfig (+gccwarn): Add -Wundef.
37460         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37461         a dl-sysdep.h breaking its contract.
37462         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37463         * include/stackinfo.h: New file.
37464         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37465         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37466         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37467         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37468         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37469         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37470         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37471         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37472         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37473         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37474         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37475         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37476         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37477         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37478         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37480 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37482         [BZ #16707]
37483         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37484         implementation.
37485         * math/libm-test.inc (round_test_data): Add more tests.
37487         [BZ #16706]
37488         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37489         implementation.
37490         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37492         [BZ #16701]
37493         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37494         implementation.
37495         * math/libm-test.inc (ceil_test_data): Add more tests.
37497         * math/libm-test.inc (trunc_test_data): Add more tests related to
37498         BZ#16414.
37500 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37502         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37503         with #if rather than #ifdef.
37504         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37506 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37508         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37509         first.  Disable AVX-512 GCC support if assembler doesn't support
37510         it.
37511         * sysdeps/x86_64/configure: Regenerated.
37513 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37515         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37516         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37517         (__old_pthread_attr_setstack): Likewise.
37518         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37519         [!_STACK_GROWS_DOWN]: Likewise.
37521 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37523         * config.make.in (have-bash2): Delete.
37524         * configure.ac (libc_cv_have_bash2): Delete.
37525         * configure: Regenerate.
37526         * elf/Makefile (common-ldd-rewrite): Rename to ...
37527         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37528         (sh-ldd-rewrite): Delete.
37529         (bash-ldd-rewrite): Delete.
37530         (have-bash2): Delete checks.
37531         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37532         ldd-rewrite.
37534         * config.make.in (have-ksh): Delete.
37535         (KSH): Delete.
37536         * configure.ac (libc_cv_have_ksh): Delete.
37537         * configure: Regenerate.
37539         * elf/Makefile: Delete $(have-ksh) check.
37540         ($(objpfx)sotruss): Change KSH to BASH.
37541         * elf/sotruss.ksh: Rename to ...
37542         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37543         function style to match POSIX.  Drop ksh vim mode setting.
37545         * manual/time.texi (Specifying the Time Zone with TZ): Change
37546         Tuesday to Thursday.
37548         * debug/tst-longjmp_chk2.c: Update header comment.
37549         (stackoverflow_handler): Add comment.  Call assert on pass value.
37551 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37553         [BZ #16194]
37554         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37555         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37556         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37557         (La_x86_64_vector): Add zmm.
37558         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37559         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37560         ($(objpfx)tst-audit10): New target.
37561         ($(objpfx)tst-audit10.out): Likewise.
37562         (tst-audit10-ENV): New.
37563         (AVX512-CFLAGS): Likewise.
37564         (CFLAGS-tst-audit10.c): Likewise.
37565         (CFLAGS-tst-auditmod10a.c): Likewise.
37566         (CFLAGS-tst-auditmod10b.c): Likewise.
37567         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37568         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37569         * sysdeps/x86_64/configure: Regenerated.
37570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37571         AVX-512 zmm register support.
37572         (_dl_x86_64_save_sse): Likewise.
37573         (_dl_x86_64_restore_sse): Likewise.
37574         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37575         size vector registers.
37576         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37577         (ZMM_SIZE): Likewise.
37578         * sysdeps/x86_64/tst-audit10.c: New file.
37579         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37580         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37582 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37584         * configure.ac (HAVE_EHDR_START): New check.
37585         * configure: Regenerated.
37586         * config.h.in (HAVE_EHDR_START): New #undef.
37587         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37588         assuming the lowest-addressed segment maps the start of the file.
37590 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37592         * INSTALL: Regenerated.
37594 2014-03-13  Will Newton  <will.newton@linaro.org>
37596         * manual/setjmp.texi (System V contexts): Improve
37597         clarity and grammar of documentation.
37599 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37601         [BZ #16381]
37602         * elf/Makefile (tests): Add tst-pie2.
37603         (tests-pie): Add tst-pie2.
37604         * elf/tst-pie2.c: New file.
37605         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37606         for ET_EXEC.
37607         * elf/rtld.c (map_doit): Load executable as lt_executable.
37608         (dl_main): Likewise.
37610 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37612         [BZ #16642]
37613         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37614         (__ASSUME_PSELECT): Undefine.
37616 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37618         [BZ #16689]
37619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37620         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37621         static build.
37622         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37623         selector for static builds.
37625 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37627         [BZ #16695]
37628         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37629         key in the buffer.
37631 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37633         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37634         IFUNC selector for static builds.
37636 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37638         * sysdeps/mips/math_private.h [__mips_hard_float]
37639         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37640         libc_feresetround_mips_ctx.
37641         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37642         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37643         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37645         [BZ #16677]
37646         * math/s_nextafter.c (__nextafter): Do not return value from
37647         overflowing computation.
37648         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37649         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37650         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37651         Likewise.
37652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37653         Likewise.
37654         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37655         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37657 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37659         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37660         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37661         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37662         the new mov targetting sp.
37664 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37666         [BZ #16683]
37667         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37668         Define it for static builds as well.
37669         (NO_BZERO_IMPL): Likewise.
37671 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37673         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37674         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37675         multiarch strspn for PPC64.
37676         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37677         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37679         (__libc_ifunc_impl_list): Likewise.
37680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37681         multiarch optimizations
37682         * string/strspn.c (strspn): Using macro to redefine symbol name.
37684 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37685             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37687         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37688         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37689         multiarch strncat for PPC64.
37690         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37691         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37693         (__libc_ifunc_impl_list): Likewise.
37694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37695         multiarch optimizations
37697 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37699         [BZ #16639]
37700         * nscd/nscd.service: Make service type forking.
37702 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37704         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37705         sign in non default rounding modes.
37706         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37708 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37710         * math/libm-test.inc (ALL_RM_TEST): New macro.
37711         (ceil_test): Use ALL_RM_TEST.
37712         (cimag_test): Likewise.
37713         (conj_test): Likewise.
37714         (copysign_test): Likewise.
37715         (cproj_test): Likewise.
37716         (creal_test): Likewise.
37717         (fabs_test): Likewise.
37718         (floor_test): Likewise.
37719         (fmax_test): Likewise.
37720         (fmin_test): Likewise.
37721         (fmod_test): Likewise.
37722         (fpclassify_test): Likewise.
37723         (frexp_test): Likewise.
37724         (ilogb_test): Likewise.
37725         (isfinite_test): Likewise.
37726         (finite_test): Likewise.
37727         (isgreater_test): Likewise.
37728         (isgreaterequal_test): Likewise.
37729         (isinf_test): Likewise.
37730         (isless_test): Likewise.
37731         (islessequal_test): Likewise.
37732         (islessgreater_test): Likewise.
37733         (isnan_test): Likewise.
37734         (isnormal_test): Likewise.
37735         (issignaling_test): Likewise.
37736         (isunordered_test): Likewise.
37737         (logb_test): Likewise.
37738         (logb_downward_test_data): Remove.
37739         (logb_test_downward): Likewise.
37740         (lround_test): Use ALL_RM_TEST.
37741         (llround_test): Likewise.
37742         (modf_test): Likewise.
37743         (nexttoward_test): Likewise.
37744         (remainder_test): Likewise.
37745         (drem_test): Likewise.
37746         (remainder_tonearest_test_data): Likewise.
37747         (remainder_test_tonearest): Likewise.
37748         (drem_test_tonearest): Likewise.
37749         (remainder_towardzero_test_data): Likewise.
37750         (remainder_test_towardzero): Likewise.
37751         (drem_test_towardzero): Likewise.
37752         (remainder_downward_test_data): Likewise.
37753         (remainder_test_downward): Likewise.
37754         (drem_test_downward): Likewise.
37755         (remainder_upward_test_data): Likewise.
37756         (remainder_test_upward): Likewise.
37757         (drem_test_upward): Likewise.
37758         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37759         (round_test): Use ALL_RM_TEST.
37760         (signbit_test): Likewise.
37761         (trunc_test): Likewise.
37762         (significand_test): Likewise.
37763         (main): Don't call removed functions.
37765 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37767         [BZ #16674]
37768         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37769         || __USE_XOPEN2K8].
37770         (ILL_ILLOPN): Likewise.
37771         (ILL_ILLADR): Likewise.
37772         (ILL_ILLTRP): Likewise.
37773         (ILL_PRVOPC): Likewise.
37774         (ILL_PRVREG): Likewise.
37775         (ILL_COPROC): Likewise.
37776         (ILL_BADSTK): Likewise.
37777         (FPE_INTDIV): Likewise.
37778         (FPE_INTOVF): Likewise.
37779         (FPE_FLTDIV): Likewise.
37780         (FPE_FLTOVF): Likewise.
37781         (FPE_FLTUND): Likewise.
37782         (FPE_FLTRES): Likewise.
37783         (FPE_FLTINV): Likewise.
37784         (FPE_FLTSUB): Likewise.
37785         (SEGV_MAPERR): Likewise.
37786         (SEGV_ACCERR): Likewise.
37787         (BUS_ADRALN): Likewise.
37788         (BUS_ADRERR): Likewise.
37789         (BUS_OBJERR): Likewise.
37790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37791         (TRAP_TRACE): Likewise.
37792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37793         __USE_XOPEN2K8].
37794         (CLD_KILLED): Likewise.
37795         (CLD_DUMPED): Likewise.
37796         (CLD_TRAPPED): Likewise.
37797         (CLD_STOPPED): Likewise.
37798         (CLD_CONTINUED): Likewise.
37799         (POLL_IN): Likewise.
37800         (POLL_OUT): Likewise.
37801         (POLL_MSG): Likewise.
37802         (POLL_ERR): Likewise.
37803         (POLL_PRI): Likewise.
37804         (POLL_HUP): Likewise.
37805         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37806         Likewise.
37807         (ILL_ILLOPN): Likewise.
37808         (ILL_ILLADR): Likewise.
37809         (ILL_ILLTRP): Likewise.
37810         (ILL_PRVOPC): Likewise.
37811         (ILL_PRVREG): Likewise.
37812         (ILL_COPROC): Likewise.
37813         (ILL_BADSTK): Likewise.
37814         (FPE_INTDIV): Likewise.
37815         (FPE_INTOVF): Likewise.
37816         (FPE_FLTDIV): Likewise.
37817         (FPE_FLTOVF): Likewise.
37818         (FPE_FLTUND): Likewise.
37819         (FPE_FLTRES): Likewise.
37820         (FPE_FLTINV): Likewise.
37821         (FPE_FLTSUB): Likewise.
37822         (SEGV_MAPERR): Likewise.
37823         (SEGV_ACCERR): Likewise.
37824         (BUS_ADRALN): Likewise.
37825         (BUS_ADRERR): Likewise.
37826         (BUS_OBJERR): Likewise.
37827         (BUS_MCEERR_AR): Likewise.
37828         (BUS_MCEERR_AO): Likewise.
37829         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37830         (TRAP_TRACE): Likewise.
37831         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37832         __USE_XOPEN2K8].
37833         (CLD_KILLED): Likewise.
37834         (CLD_DUMPED): Likewise.
37835         (CLD_TRAPPED): Likewise.
37836         (CLD_STOPPED): Likewise.
37837         (CLD_CONTINUED): Likewise.
37838         (POLL_IN): Likewise.
37839         (POLL_OUT): Likewise.
37840         (POLL_MSG): Likewise.
37841         (POLL_ERR): Likewise.
37842         (POLL_PRI): Likewise.
37843         (POLL_HUP): Likewise.
37844         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37845         (ILL_ILLOPN): Likewise.
37846         (ILL_ILLADR): Likewise.
37847         (ILL_ILLTRP): Likewise.
37848         (ILL_PRVOPC): Likewise.
37849         (ILL_PRVREG): Likewise.
37850         (ILL_COPROC): Likewise.
37851         (ILL_BADSTK): Likewise.
37852         (FPE_INTDIV): Likewise.
37853         (FPE_INTOVF): Likewise.
37854         (FPE_FLTDIV): Likewise.
37855         (FPE_FLTOVF): Likewise.
37856         (FPE_FLTUND): Likewise.
37857         (FPE_FLTRES): Likewise.
37858         (FPE_FLTINV): Likewise.
37859         (FPE_FLTSUB): Likewise.
37860         (SEGV_MAPERR): Likewise.
37861         (SEGV_ACCERR): Likewise.
37862         (BUS_ADRALN): Likewise.
37863         (BUS_ADRERR): Likewise.
37864         (BUS_OBJERR): Likewise.
37865         (BUS_MCEERR_AR): Likewise.
37866         (BUS_MCEERR_AO): Likewise.
37867         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37868         (TRAP_TRACE): Likewise.
37869         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37870         __USE_XOPEN2K8].
37871         (CLD_KILLED): Likewise.
37872         (CLD_DUMPED): Likewise.
37873         (CLD_TRAPPED): Likewise.
37874         (CLD_STOPPED): Likewise.
37875         (CLD_CONTINUED): Likewise.
37876         (POLL_IN): Likewise.
37877         (POLL_OUT): Likewise.
37878         (POLL_MSG): Likewise.
37879         (POLL_ERR): Likewise.
37880         (POLL_PRI): Likewise.
37881         (POLL_HUP): Likewise.
37882         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37883         Likewise.
37884         (ILL_ILLOPN): Likewise.
37885         (ILL_ILLADR): Likewise.
37886         (ILL_ILLTRP): Likewise.
37887         (ILL_PRVOPC): Likewise.
37888         (ILL_PRVREG): Likewise.
37889         (ILL_COPROC): Likewise.
37890         (ILL_BADSTK): Likewise.
37891         (ILL_BADIADDR): Likewise.
37892         (ILL_BREAK): Likewise.
37893         (FPE_INTDIV): Likewise.
37894         (FPE_INTOVF): Likewise.
37895         (FPE_FLTDIV): Likewise.
37896         (FPE_FLTOVF): Likewise.
37897         (FPE_FLTUND): Likewise.
37898         (FPE_FLTRES): Likewise.
37899         (FPE_FLTINV): Likewise.
37900         (FPE_FLTSUB): Likewise.
37901         (FPE_DECOVF): Likewise.
37902         (FPE_DECDIV): Likewise.
37903         (FPE_DECERR): Likewise.
37904         (FPE_INVASC): Likewise.
37905         (FPE_INVDEC): Likewise.
37906         (SEGV_MAPERR): Likewise.
37907         (SEGV_ACCERR): Likewise.
37908         (SEGV_PSTKOVF): Likewise.
37909         (BUS_ADRALN): Likewise.
37910         (BUS_ADRERR): Likewise.
37911         (BUS_OBJERR): Likewise.
37912         (BUS_MCEERR_AR): Likewise.
37913         (BUS_MCEERR_AO): Likewise.
37914         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37915         (TRAP_TRACE): Likewise.
37916         (TRAP_BRANCH): Likewise.
37917         (TRAP_HWBKPT): Likewise.
37918         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37919         __USE_XOPEN2K8].
37920         (CLD_KILLED): Likewise.
37921         (CLD_DUMPED): Likewise.
37922         (CLD_TRAPPED): Likewise.
37923         (CLD_STOPPED): Likewise.
37924         (CLD_CONTINUED): Likewise.
37925         (POLL_IN): Likewise.
37926         (POLL_OUT): Likewise.
37927         (POLL_MSG): Likewise.
37928         (POLL_ERR): Likewise.
37929         (POLL_PRI): Likewise.
37930         (POLL_HUP): Likewise.
37931         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37932         (ILL_ILLOPN): Likewise.
37933         (ILL_ILLADR): Likewise.
37934         (ILL_ILLTRP): Likewise.
37935         (ILL_PRVOPC): Likewise.
37936         (ILL_PRVREG): Likewise.
37937         (ILL_COPROC): Likewise.
37938         (ILL_BADSTK): Likewise.
37939         (FPE_INTDIV): Likewise.
37940         (FPE_INTOVF): Likewise.
37941         (FPE_FLTDIV): Likewise.
37942         (FPE_FLTOVF): Likewise.
37943         (FPE_FLTUND): Likewise.
37944         (FPE_FLTRES): Likewise.
37945         (FPE_FLTINV): Likewise.
37946         (FPE_FLTSUB): Likewise.
37947         (SEGV_MAPERR): Likewise.
37948         (SEGV_ACCERR): Likewise.
37949         (BUS_ADRALN): Likewise.
37950         (BUS_ADRERR): Likewise.
37951         (BUS_OBJERR): Likewise.
37952         (BUS_MCEERR_AR): Likewise.
37953         (BUS_MCEERR_AO): Likewise.
37954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37955         (TRAP_TRACE): Likewise.
37956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37957         __USE_XOPEN2K8].
37958         (CLD_KILLED): Likewise.
37959         (CLD_DUMPED): Likewise.
37960         (CLD_TRAPPED): Likewise.
37961         (CLD_STOPPED): Likewise.
37962         (CLD_CONTINUED): Likewise.
37963         (POLL_IN): Likewise.
37964         (POLL_OUT): Likewise.
37965         (POLL_MSG): Likewise.
37966         (POLL_ERR): Likewise.
37967         (POLL_PRI): Likewise.
37968         (POLL_HUP): Likewise.
37969         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37970         (ILL_ILLOPN): Likewise.
37971         (ILL_ILLADR): Likewise.
37972         (ILL_ILLTRP): Likewise.
37973         (ILL_PRVOPC): Likewise.
37974         (ILL_PRVREG): Likewise.
37975         (ILL_COPROC): Likewise.
37976         (ILL_BADSTK): Likewise.
37977         (FPE_INTDIV): Likewise.
37978         (FPE_INTOVF): Likewise.
37979         (FPE_FLTDIV): Likewise.
37980         (FPE_FLTOVF): Likewise.
37981         (FPE_FLTUND): Likewise.
37982         (FPE_FLTRES): Likewise.
37983         (FPE_FLTINV): Likewise.
37984         (FPE_FLTSUB): Likewise.
37985         (SEGV_MAPERR): Likewise.
37986         (SEGV_ACCERR): Likewise.
37987         (BUS_ADRALN): Likewise.
37988         (BUS_ADRERR): Likewise.
37989         (BUS_OBJERR): Likewise.
37990         (BUS_MCEERR_AR): Likewise.
37991         (BUS_MCEERR_AO): Likewise.
37992         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37993         (TRAP_TRACE): Likewise.
37994         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37995         __USE_XOPEN2K8].
37996         (CLD_KILLED): Likewise.
37997         (CLD_DUMPED): Likewise.
37998         (CLD_TRAPPED): Likewise.
37999         (CLD_STOPPED): Likewise.
38000         (CLD_CONTINUED): Likewise.
38001         (POLL_IN): Likewise.
38002         (POLL_OUT): Likewise.
38003         (POLL_MSG): Likewise.
38004         (POLL_ERR): Likewise.
38005         (POLL_PRI): Likewise.
38006         (POLL_HUP): Likewise.
38007         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38008         (ILL_ILLOPN): Likewise.
38009         (ILL_ILLADR): Likewise.
38010         (ILL_ILLTRP): Likewise.
38011         (ILL_PRVOPC): Likewise.
38012         (ILL_PRVREG): Likewise.
38013         (ILL_COPROC): Likewise.
38014         (ILL_BADSTK): Likewise.
38015         (FPE_INTDIV): Likewise.
38016         (FPE_INTOVF): Likewise.
38017         (FPE_FLTDIV): Likewise.
38018         (FPE_FLTOVF): Likewise.
38019         (FPE_FLTUND): Likewise.
38020         (FPE_FLTRES): Likewise.
38021         (FPE_FLTINV): Likewise.
38022         (FPE_FLTSUB): Likewise.
38023         (SEGV_MAPERR): Likewise.
38024         (SEGV_ACCERR): Likewise.
38025         (BUS_ADRALN): Likewise.
38026         (BUS_ADRERR): Likewise.
38027         (BUS_OBJERR): Likewise.
38028         (BUS_MCEERR_AR): Likewise.
38029         (BUS_MCEERR_AO): Likewise.
38030         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38031         (TRAP_TRACE): Likewise.
38032         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38033         __USE_XOPEN2K8].
38034         (CLD_KILLED): Likewise.
38035         (CLD_DUMPED): Likewise.
38036         (CLD_TRAPPED): Likewise.
38037         (CLD_STOPPED): Likewise.
38038         (CLD_CONTINUED): Likewise.
38039         (POLL_IN): Likewise.
38040         (POLL_OUT): Likewise.
38041         (POLL_MSG): Likewise.
38042         (POLL_ERR): Likewise.
38043         (POLL_PRI): Likewise.
38044         (POLL_HUP): Likewise.
38045         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38046         (ILL_ILLOPN): Likewise.
38047         (ILL_ILLADR): Likewise.
38048         (ILL_ILLTRP): Likewise.
38049         (ILL_PRVOPC): Likewise.
38050         (ILL_PRVREG): Likewise.
38051         (ILL_COPROC): Likewise.
38052         (ILL_BADSTK): Likewise.
38053         (ILL_DBLFLT): Likewise.
38054         (ILL_HARDWALL): Likewise.
38055         (FPE_INTDIV): Likewise.
38056         (FPE_INTOVF): Likewise.
38057         (FPE_FLTDIV): Likewise.
38058         (FPE_FLTOVF): Likewise.
38059         (FPE_FLTUND): Likewise.
38060         (FPE_FLTRES): Likewise.
38061         (FPE_FLTINV): Likewise.
38062         (FPE_FLTSUB): Likewise.
38063         (SEGV_MAPERR): Likewise.
38064         (SEGV_ACCERR): Likewise.
38065         (BUS_ADRALN): Likewise.
38066         (BUS_ADRERR): Likewise.
38067         (BUS_OBJERR): Likewise.
38068         (BUS_MCEERR_AR): Likewise.
38069         (BUS_MCEERR_AO): Likewise.
38070         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38071         (TRAP_TRACE): Likewise.
38072         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38073         __USE_XOPEN2K8].
38074         (CLD_KILLED): Likewise.
38075         (CLD_DUMPED): Likewise.
38076         (CLD_TRAPPED): Likewise.
38077         (CLD_STOPPED): Likewise.
38078         (CLD_CONTINUED): Likewise.
38079         (POLL_IN): Likewise.
38080         (POLL_OUT): Likewise.
38081         (POLL_MSG): Likewise.
38082         (POLL_ERR): Likewise.
38083         (POLL_PRI): Likewise.
38084         (POLL_HUP): Likewise.
38085         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38086         (ILL_ILLOPN): Likewise.
38087         (ILL_ILLADR): Likewise.
38088         (ILL_ILLTRP): Likewise.
38089         (ILL_PRVOPC): Likewise.
38090         (ILL_PRVREG): Likewise.
38091         (ILL_COPROC): Likewise.
38092         (ILL_BADSTK): Likewise.
38093         (FPE_INTDIV): Likewise.
38094         (FPE_INTOVF): Likewise.
38095         (FPE_FLTDIV): Likewise.
38096         (FPE_FLTOVF): Likewise.
38097         (FPE_FLTUND): Likewise.
38098         (FPE_FLTRES): Likewise.
38099         (FPE_FLTINV): Likewise.
38100         (FPE_FLTSUB): Likewise.
38101         (SEGV_MAPERR): Likewise.
38102         (SEGV_ACCERR): Likewise.
38103         (BUS_ADRALN): Likewise.
38104         (BUS_ADRERR): Likewise.
38105         (BUS_OBJERR): Likewise.
38106         (BUS_MCEERR_AR): Likewise.
38107         (BUS_MCEERR_AO): Likewise.
38108         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38109         (TRAP_TRACE): Likewise.
38110         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38111         __USE_XOPEN2K8].
38112         (CLD_KILLED): Likewise.
38113         (CLD_DUMPED): Likewise.
38114         (CLD_TRAPPED): Likewise.
38115         (CLD_STOPPED): Likewise.
38116         (CLD_CONTINUED): Likewise.
38117         (POLL_IN): Likewise.
38118         (POLL_OUT): Likewise.
38119         (POLL_MSG): Likewise.
38120         (POLL_ERR): Likewise.
38121         (POLL_PRI): Likewise.
38122         (POLL_HUP): Likewise.
38123         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38124         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38126         [BZ #16670]
38127         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38128         before #include of <time.h>.
38129         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38130         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38131         (test-xfail-UNIX98/sched.h/conform): Likewise.
38133 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38135         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38136         error absence of trapping exception support.
38137         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38139 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38141         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38142         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38143         * timezone/Makefile (testdata): Move definition above include of
38144         Rules.
38145         (test-zones): New variable.
38146         (tests-special): Add zone files.
38147         (build-testdata): Use $(evaluate-test).
38149         * elf/Makefile (tests-special): Rename tests to end with .out.
38150         ($(objpfx)noload-mem): Likewise.
38151         ($(objpfx)tst-leaks1-mem): Likewise.
38152         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38153         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38154         $(objpfx)test-iconvconfig.out.
38155         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38156         set -e inside subshell and redirect output to file.
38157         * iconvdata/Makefile (generated): Rename tests to end with .out.
38158         Correct type.
38159         (tests-special): Rename tests to end with .out.
38160         ($(objpfx)mtrace-tst-loading): Likewise.
38161         * intl/Makefile (generated): Likewise.
38162         (tests-special): Likewise.
38163         ($(objpfx)mtrace-tst-gettext): Likewise.
38164         * misc/Makefile (generated): Likewise.
38165         (tests-special): Likewise.
38166         ($(objpfx)tst-error1-mem): Likewise.
38167         * nptl/Makefile (tests-special): Likewise.
38168         ($(objpfx)tst-stack3-mem): Likewise.
38169         (generated): Likewise.
38170         * posix/Makefile (generated): Likewise.
38171         (tests-special): Likewise.
38172         (xtests-special): Likewise.
38173         ($(objpfx)tst-fnmatch-mem): Likewise.
38174         ($(objpfx)bug-regex2-mem): Likewise.
38175         ($(objpfx)bug-regex14-mem): Likewise.
38176         ($(objpfx)bug-regex21-mem): Likewise.
38177         ($(objpfx)bug-regex31-mem): Likewise.
38178         ($(objpfx)tst-vfork3-mem): Likewise.
38179         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38180         ($(objpfx)tst-pcre-mem): Likewise.
38181         ($(objpfx)tst-boost-mem): Likewise.
38182         ($(objpfx)bug-ga2-mem): Likewise.
38183         ($(objpfx)bug-glob2-mem): Likewise.
38184         * resolv/Makefile (generate): Likewise.
38185         (tests-special): Likewise.
38186         (xtests-special): Likewise.
38187         (generated): Likewise.
38188         ($(objpfx)mtrace-tst-leaks): Likewise.
38189         ($(objpfx)mtrace-tst-leaks2): Likewise.
38191         * scripts/merge-test-results.sh: New file.
38192         * Makefile (tests-special-notdir): New variable.
38193         (tests): Run merge-test-results.sh.
38194         (xtests): Likewise.
38195         * Rules (tests-special-notdir): New variable.
38196         (xtests-special-notdir): Likewise.
38197         (tests): Run merge-test-results.sh
38198         (xtests): Likewise.
38200         * Makeconfig (test-xfail-name): New variable.
38201         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38202         compute variable name for expected failures.
38203         * conform/Makefile (conformtest-headers-data): New variable.
38204         (conformtest-standards): Likewise.
38205         (conformtest-headers-ISO): Likewise.
38206         (conformtest-headers-ISO99): Likewise.
38207         (conformtest-headers-ISO11): Likewise.
38208         (conformtest-headers-POSIX): Likewise.
38209         (conformtest-headers-XPG3): Likewise.
38210         (conformtest-headers-XPG4): Likewise.
38211         (conformtest-headers-UNIX98): Likewise.
38212         (conformtest-headers-XOPEN2K): Likewise.
38213         (conformtest-headers-POSIX2008): Likewise.
38214         (conformtest-headers-XOPEN2K8): Likewise.
38215         (conformtest-header-list-base): Likewise.
38216         (conformtest-header-list-tests): Likewise.
38217         (conformtest-header-base): Likewise.
38218         (conformtest-header-tests): Likewise.
38219         (tests-special): Add $(conformtest-header-list-tests).  If
38220         [$(fast-check) && !$(cross-compiling)], add
38221         $(conformtest-header-tests) instead of
38222         $(objpfx)run-conformtest.out.
38223         (generated): Add $(conformtest-header-list-base).  If
38224         [$(fast-check) && !$(cross-compiling)], add
38225         $(conformtest-header-base).  Remove previous setting.
38226         ($(conformtest-header-list-tests)): New target.
38227         (test-xfail-run-conformtest): Remove variable.
38228         ($(objpfx)run-conformtest.out): Remove target.
38229         (test-xfail-ISO11/complex.h/conform): New variable.
38230         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38231         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38232         (test-xfail-XPG3/varargs.h/conform): Likewise.
38233         (test-xfail-XPG4/varargs.h/conform): Likewise.
38234         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38235         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38236         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38237         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38238         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38239         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38240         (test-xfail-XPG3/ftw.h/conform): Likewise.
38241         (test-xfail-XPG3/grp.h/conform): Likewise.
38242         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38243         (test-xfail-XPG3/limits.h/conform): Likewise.
38244         (test-xfail-XPG3/pwd.h/conform): Likewise.
38245         (test-xfail-XPG3/search.h/conform): Likewise.
38246         (test-xfail-XPG3/signal.h/conform): Likewise.
38247         (test-xfail-XPG3/stdio.h/conform): Likewise.
38248         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38249         (test-xfail-XPG3/string.h/conform): Likewise.
38250         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38251         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38252         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38253         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38254         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38255         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38256         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38257         (test-xfail-XPG3/termios.h/conform): Likewise.
38258         (test-xfail-XPG3/time.h/conform): Likewise.
38259         (test-xfail-XPG3/unistd.h/conform): Likewise.
38260         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38261         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38262         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38263         (test-xfail-XPG4/netdb.h/conform): Likewise.
38264         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38265         (test-xfail-XPG4/signal.h/conform): Likewise.
38266         (test-xfail-XPG4/stdio.h/conform): Likewise.
38267         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38268         (test-xfail-XPG4/stropts.h/conform): Likewise.
38269         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38270         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38271         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38272         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38273         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38274         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38275         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38276         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38277         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38278         (test-xfail-XPG4/termios.h/conform): Likewise.
38279         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38280         (test-xfail-XPG4/unistd.h/conform): Likewise.
38281         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38282         (test-xfail-POSIX/sched.h/conform): Likewise.
38283         (test-xfail-POSIX/signal.h/conform): Likewise.
38284         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38285         (test-xfail-POSIX/tar.h/conform): Likewise.
38286         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38287         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38288         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38289         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38290         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38291         (test-xfail-UNIX98/sched.h/conform): Likewise.
38292         (test-xfail-UNIX98/signal.h/conform): Likewise.
38293         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38294         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38295         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38296         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38297         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38298         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38299         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38300         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38301         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38302         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38303         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38304         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38305         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38306         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38307         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38308         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38309         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38310         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38311         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38312         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38313         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38314         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38315         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38316         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38317         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38318         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38319         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38320         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38321         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38322         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38323         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38324         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38325         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38326         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38327         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38328         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38329         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38330         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38331         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38332         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38333         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38334         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38335         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38336         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38337         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38338         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38339         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38340         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38341         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38342         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38343         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38344         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38345         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38346         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38347         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38348         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38349         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38350         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38351         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38352         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38353         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38354         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38355         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38356         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38357         (conformtest-cc-flags): Likewise.
38358         ($(conformtest-header-tests): New target.
38359         * conform/check-header-lists.sh: New file.
38360         * conform/run-conformtest.sh: Remove.
38362         * conform/conformtest.pl: Allow ' and \ in values given for
38363         constants.
38364         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38365         inclusion.
38366         [POSIX] (sys/types.h): Likewise.
38367         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38368         inclusion.
38369         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38370         inclusion.
38371         * conform/data/signal.h-data (SIGIO): Remove expectation.
38372         [XPG3] (SIGBUS): Do not expect.
38373         [POSIX || XPG3] (SIGPOLL): Likewise.
38374         [POSIX || XPG3] (SIGPROF): Likewise.
38375         [POSIX || XPG3] (SIGSYS): Likewise.
38376         [XPG3] (SIGTRAP): Likewise.
38377         [POSIX || XPG3] (SIGURG): Likewise.
38378         [POSIX || XPG3] (SIGVTALRM): Likewise.
38379         [POSIX || XPG3] (SIGXCPU): Likewise.
38380         [POSIX || XPG3] (SIGXFSZ): Likewise.
38381         [POSIX] (SA_SIGINFO): Expect.
38382         [XPG3] (siginfo_t): Do not expect type or contents.
38383         [POSIX] (si_pid): Do not expect element.
38384         [POSIX] (si_uid): Likewise.
38385         [POSIX] (si_addr): Likewise.
38386         [POSIX] (si_status): Likewise.
38387         [POSIX] (si_band): Likewise.
38388         [XPG4] (si_value): Likewise.
38389         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38390         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38391         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38392         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38393         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38394         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38395         [POSIX || XPG3] (ILL_COPROC): Likewise.
38396         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38397         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38398         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38399         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38400         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38401         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38402         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38403         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38404         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38405         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38406         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38407         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38408         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38409         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38410         [POSIX || XPG3] (CLD_EXITED): Likewise.
38411         [POSIX || XPG3] (CLD_KILLED): Likewise.
38412         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38413         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38414         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38415         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38416         [POSIX || XPG3] (POLL_IN): Likewise.
38417         [POSIX || XPG3] (POLL_OUT): Likewise.
38418         [POSIX || XPG3] (POLL_MSG): Likewise.
38419         [POSIX || XPG3] (POLL_ERR): Likewise.
38420         [POSIX || XPG3] (POLL_PRI): Likewise.
38421         [POSIX || XPG3] (POLL_HUP): Likewise.
38422         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38423         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38424         (SIG*): Do not allow.
38425         [XPG3] (si_*): Likewise.
38426         [XPG3] (SI_*): Likewise.
38427         [XPG3 || XPG4] (sigev_*): Likewise.
38428         [XPG3 || XPG4] (SIGEV_*): Likewise.
38429         [XPG3 || XPG4] (sival_*): Likewise.
38430         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38431         [POSIX || XPG3] (BUS_*): Likewise.
38432         [POSIX || XPG3] (CLD_*): Likewise.
38433         [POSIX || XPG3] (FPE_*): Likewise.
38434         [POSIX || XPG3] (ILL_*): Likewise.
38435         [POSIX || XPG3] (POLL_*): Likewise.
38436         [POSIX || XPG3] (SEGV_*): Likewise.
38437         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38438         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38439         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38440         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38441         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38442         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38443         Specify type and value.
38444         (TVERSLEN): Likewise.
38445         (REGTYPE): Likewise.
38446         (AREGTYPE): Likewise.
38447         (LNKTYPE): Likewise.
38448         (SYMTYPE): Likewise.
38449         (CHRTYPE): Likewise.
38450         (BLKTYPE): Likewise.
38451         (DIRTYPE): Likewise.
38452         (FIFOTYPE): Likewise.
38453         (CONTTYPE): Likewise.
38454         (TSUID): Likewise.
38455         (TSGID): Likewise.
38456         (TSVTX): Likewise.
38457         (TUREAD): Likewise.
38458         (TUWRITE): Likewise.
38459         (TUEXEC): Likewise.
38460         (TGREAD): Likewise.
38461         (TGWRITE): Likewise.
38462         (TGEXEC): Likewise.
38463         (TOREAD): Likewise.
38464         (TOWRITE): Likewise.
38465         (TOEXEC): Likewise.
38466         [POSIX] (TSVTX): Expect constant.
38468 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38470         * Makefile (tests): Change dependencies to ....
38471         (tests-special): ... additions to this variable.
38472         (tests): Depend on $(tests-special).
38473         * Makerules (check-abi-list): New variable.
38474         (check-abi): Depend on $(check-abi-list).
38475         [$(subdir) = elf] (tests-special): Add
38476         $(objpfx)check-abi-libc.out.
38477         [$(build-shared) = yes && subdir] (tests-special): Add
38478         $(check-abi-list).
38479         [$(build-shared) = yes && subdir] (tests): Do not depend on
38480         check-abi.
38481         * Rules (tests): Depend on $(tests-special).
38482         (xtests): Depend on $(xtests-special).
38483         * catgets/Makefile (tests): Change dependencies to ....
38484         (tests-special): ... additions to this variable.
38485         * conform/Makefile (tests): Change dependencies to ....
38486         (tests-special): ... additions to this variable.
38487         * elf/Makefile (tests): Change dependencies to ....
38488         (tests-special): ... additions to this variable.
38489         * grp/Makefile (tests): Change dependencies to ....
38490         (tests-special): ... additions to this variable.
38491         * iconv/Makefile (xtests): Change dependencies to ....
38492         (xtests-special): ... additions to this variable.
38493         * iconvdata/Makefile (tests): Change dependencies to ....
38494         (tests-special): ... additions to this variable.
38495         * intl/Makefile (tests): Change dependencies to ....
38496         (tests-special): ... additions to this variable.  Also add
38497         $(objpfx)tst-gettext.out.
38498         * io/Makefile (tests): Change dependencies to ....
38499         (tests-special): ... additions to this variable.
38500         * libio/Makefile (tests): Change dependencies to ....
38501         (tests-special): ... additions to this variable.
38502         * malloc/Makefile (tests): Change dependencies to ....
38503         (tests-special): ... additions to this variable.
38504         * misc/Makefile (tests): Change dependencies to ....
38505         (tests-special): ... additions to this variable.
38506         * nptl/Makefile (tests): Change dependencies to ....
38507         (tests-special): ... additions to this variable.
38508         * nptl_db/Makefile (tests): Change dependencies to ....
38509         (tests-special): ... additions to this variable.
38510         * posix/Makefile (tests): Change dependencies to ....
38511         (tests-special): ... additions to this variable.
38512         (xtests): Change dependencies to ....
38513         (xtests-special): ... additions to this variable.
38514         * resolv/Makefile (tests): Change dependencies to ....
38515         (tests-special): ... additions to this variable.
38516         (xtests): Change dependencies to ....
38517         (xtests-special): ... additions to this variable.
38518         * stdio-common/Makefile (tests): Change dependencies to ....
38519         (tests-special): ... additions to this variable.
38520         (do-tst-unbputc): Remove target.
38521         (do-tst-printf): Likewise.
38522         * stdlib/Makefile (tests): Change dependencies to ....
38523         (tests-special): ... additions to this variable.
38524         * string/Makefile (tests): Change dependencies to ....
38525         (tests-special): ... additions to this variable.
38526         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38527         (tests-special): ... additions to this variable.
38529         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38530         whole file.
38531         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38532         whole file.
38533         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38534         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38536         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38537         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38538         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38539         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38540         * conform/data/libgen.h-data [XPG3]: Likewise.
38541         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38542         * conform/data/ndbm.h-data [XPG3]: Likewise.
38543         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38544         * conform/data/netdb.h-data [XPG3]: Likewise.
38545         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38546         * conform/data/poll.h-data [XPG3]: Likewise.
38547         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38548         * conform/data/strings.h-data [XPG3]: Likewise.
38549         * conform/data/stropts.h-data [XPG3]: Likewise.
38550         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38551         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38552         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38553         Likewise.
38554         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38555         * conform/data/sys/time.h-data [XPG3]: Likewise.
38556         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38557         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38558         * conform/data/sys/un.h-data [XPG3]: Likewise.
38559         * conform/data/syslog.h-data [XPG3]: Likewise.
38560         * conform/data/ucontext.h-data [XPG3]: Likewise.
38561         * conform/data/utmpx.h-data [XPG3]: Likewise.
38562         * conform/data/varargs.h-data [UNIX98]: Enable file.
38564         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38566         * math/libm-test.inc (struct test_f_f_data): Move expected results
38567         into structure for each rounding mode.
38568         (struct test_ff_f_data): Likewise.
38569         (struct test_ff_f_data_nexttoward): Likewise.
38570         (struct test_fi_f_data): Likewise.
38571         (struct test_fl_f_data): Likewise.
38572         (struct test_if_f_data): Likewise.
38573         (struct test_fff_f_data): Likewise.
38574         (struct test_c_f_data): Likewise.
38575         (struct test_f_f1_data): Likewise.
38576         (struct test_fF_f1_data): Likewise.
38577         (struct test_ffI_f1_data): Likewise.
38578         (struct test_c_c_data): Likewise.
38579         (struct test_cc_c_data): Likewise.
38580         (struct test_f_i_data): Likewise.
38581         (struct test_ff_i_data): Likewise.
38582         (struct test_f_l_data): Likewise.
38583         (struct test_f_L_data): Likewise.
38584         (struct test_fFF_11_data): Likewise.
38585         (RM_): New macro.
38586         (RM_FE_DOWNWARD): Likewise.
38587         (RM_FE_TONEAREST): Likewise.
38588         (RM_FE_TOWARDZERO): Likewise.
38589         (RM_FE_UPWARD): Likewise.
38590         (RUN_TEST_LOOP_f_f): Update references to expected results.
38591         (RUN_TEST_LOOP_2_f): Likewise.
38592         (RUN_TEST_LOOP_fff_f): Likewise.
38593         (RUN_TEST_LOOP_c_f): Likewise.
38594         (RUN_TEST_LOOP_f_f1): Likewise.
38595         (RUN_TEST_LOOP_fF_f1): Likewise.
38596         (RUN_TEST_LOOP_fI_f1): Likewise.
38597         (RUN_TEST_LOOP_ffI_f1): Likewise.
38598         (RUN_TEST_LOOP_c_c): Likewise.
38599         (RUN_TEST_LOOP_cc_c): Likewise.
38600         (RUN_TEST_LOOP_f_i): Likewise.
38601         (RUN_TEST_LOOP_f_i_tg): Likewise.
38602         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38603         (RUN_TEST_LOOP_f_b): Likewise.
38604         (RUN_TEST_LOOP_f_b_tg): Likewise.
38605         (RUN_TEST_LOOP_f_l): Likewise.
38606         (RUN_TEST_LOOP_f_L): Likewise.
38607         (RUN_TEST_LOOP_fFF_11): Likewise.
38608         * math/gen-libm-test.pl (parse_args): Output four copies of
38609         expected results for each test.
38611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38612         (__ASSUME_UTIMES): Remove.
38613         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38614         (__ASSUME_UTIMES): Likewise.
38616         * math/gen-auto-libm-tests.c: Update comment on output format.
38617         (output_for_one_input_case): Generate before-rounding and
38618         after-rounding information as conditions on output flags not
38619         floating-point format.
38620         * math/auto-libm-test-out: Regenerated.
38621         * math/gen-libm-test.pl (cond_value): New function.
38622         (or_cond_value): Use cond_value.
38623         (generate_testfile): Handle conditional exceptions.
38625 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38627         * math/libm-test.inc (max_valid_error): New variable.
38628         (init_max_error): Take new argument specifying whether function
38629         results are exactly determined.  Set max_valid_error and bound
38630         other variables for errors based on this argument.
38631         (set_max_error): Do not record results above max_valid_error.
38632         (check_float_internal): Only accept errors of up to 0.5ulps if
38633         also at most max_valid_error.
38634         (START): Take new argument EXACT and pass it to init_max_error.
38635         (acos_test): Update call to START.
38636         (acos_test_tonearest): Likewise.
38637         (acos_test_towardzero): Likewise.
38638         (acos_test_downward): Likewise.
38639         (acos_test_upward): Likewise.
38640         (acosh_test): Likewise.
38641         (asin_test): Likewise.
38642         (asin_test_tonearest): Likewise.
38643         (asin_test_towardzero): Likewise.
38644         (asin_test_downward): Likewise.
38645         (asin_test_upward): Likewise.
38646         (asinh_test): Likewise.
38647         (atan_test): Likewise.
38648         (atanh_test): Likewise.
38649         (atan2_test): Likewise.
38650         (cabs_test): Likewise.
38651         (cacos_test): Likewise.
38652         (cacosh_test): Likewise.
38653         (carg_test): Likewise.
38654         (casin_test): Likewise.
38655         (casinh_test): Likewise.
38656         (catan_test): Likewise.
38657         (catanh_test): Likewise.
38658         (cbrt_test): Likewise.
38659         (ccos_test): Likewise.
38660         (ccosh_test): Likewise.
38661         (ceil_test): Likewise.
38662         (cexp_test): Likewise.
38663         (cimag_test): Likewise.
38664         (clog_test): Likewise.
38665         (clog10_test): Likewise.
38666         (conj_test): Likewise.
38667         (copysign_test): Likewise.
38668         (cos_test): Likewise.
38669         (cos_test_tonearest): Likewise.
38670         (cos_test_towardzero): Likewise.
38671         (cos_test_downward): Likewise.
38672         (cos_test_upward): Likewise.
38673         (cosh_test): Likewise.
38674         (cosh_test_tonearest): Likewise.
38675         (cosh_test_towardzero): Likewise.
38676         (cosh_test_downward): Likewise.
38677         (cosh_test_upward): Likewise.
38678         (cpow_test): Likewise.
38679         (cproj_test): Likewise.
38680         (creal_test): Likewise.
38681         (csin_test): Likewise.
38682         (csinh_test): Likewise.
38683         (csqrt_test): Likewise.
38684         (ctan_test): Likewise.
38685         (ctan_test_tonearest): Likewise.
38686         (ctan_test_towardzero): Likewise.
38687         (ctan_test_downward): Likewise.
38688         (ctan_test_upward): Likewise.
38689         (ctanh_test): Likewise.
38690         (ctanh_test_tonearest): Likewise.
38691         (ctanh_test_towardzero): Likewise.
38692         (ctanh_test_downward): Likewise.
38693         (ctanh_test_upward): Likewise.
38694         (erf_test): Likewise.
38695         (erfc_test): Likewise.
38696         (exp_test): Likewise.
38697         (exp_test_tonearest): Likewise.
38698         (exp_test_towardzero): Likewise.
38699         (exp_test_downward): Likewise.
38700         (exp_test_upward): Likewise.
38701         (exp10_test): Likewise.
38702         (exp10_test_tonearest): Likewise.
38703         (exp10_test_towardzero): Likewise.
38704         (exp10_test_downward): Likewise.
38705         (exp10_test_upward): Likewise.
38706         (pow10_test): Likewise.
38707         (exp2_test): Likewise.
38708         (expm1_test): Likewise.
38709         (expm1_test_tonearest): Likewise.
38710         (expm1_test_towardzero): Likewise.
38711         (expm1_test_downward): Likewise.
38712         (expm1_test_upward): Likewise.
38713         (fabs_test): Likewise.
38714         (fdim_test): Likewise.
38715         (floor_test): Likewise.
38716         (fma_test): Likewise.
38717         (fma_test_towardzero): Likewise.
38718         (fma_test_downward): Likewise.
38719         (fma_test_upward): Likewise.
38720         (fmax_test): Likewise.
38721         (fmin_test): Likewise.
38722         (fmod_test): Likewise.
38723         (fpclassify_test): Likewise.
38724         (frexp_test): Likewise.
38725         (hypot_test): Likewise.
38726         (ilogb_test): Likewise.
38727         (isfinite_test): Likewise.
38728         (finite_test): Likewise.
38729         (isgreater_test): Likewise.
38730         (isgreaterequal_test): Likewise.
38731         (isinf_test): Likewise.
38732         (isless_test): Likewise.
38733         (islessequal_test): Likewise.
38734         (islessgreater_test): Likewise.
38735         (isnan_test): Likewise.
38736         (isnormal_test): Likewise.
38737         (issignaling_test): Likewise.
38738         (isunordered_test): Likewise.
38739         (j0_test): Likewise.
38740         (j1_test): Likewise.
38741         (jn_test): Likewise.
38742         (ldexp_test): Likewise.
38743         (lgamma_test): Likewise.
38744         (gamma_test): Likewise.
38745         (lrint_test): Likewise.
38746         (lrint_test_tonearest): Likewise.
38747         (lrint_test_towardzero): Likewise.
38748         (lrint_test_downward): Likewise.
38749         (lrint_test_upward): Likewise.
38750         (llrint_test): Likewise.
38751         (llrint_test_tonearest): Likewise.
38752         (llrint_test_towardzero): Likewise.
38753         (llrint_test_downward): Likewise.
38754         (llrint_test_upward): Likewise.
38755         (log_test): Likewise.
38756         (log10_test): Likewise.
38757         (log1p_test): Likewise.
38758         (log2_test): Likewise.
38759         (logb_test): Likewise.
38760         (logb_test_downward): Likewise.
38761         (lround_test): Likewise.
38762         (llround_test): Likewise.
38763         (modf_test): Likewise.
38764         (nearbyint_test): Likewise.
38765         (nextafter_test): Likewise.
38766         (nexttoward_test): Likewise.
38767         (pow_test): Likewise.
38768         (pow_test_tonearest): Likewise.
38769         (pow_test_towardzero): Likewise.
38770         (pow_test_downward): Likewise.
38771         (pow_test_upward): Likewise.
38772         (remainder_test): Likewise.
38773         (drem_test): Likewise.
38774         (remainder_test_tonearest): Likewise.
38775         (drem_test_tonearest): Likewise.
38776         (remainder_test_towardzero): Likewise.
38777         (drem_test_towardzero): Likewise.
38778         (remainder_test_downward): Likewise.
38779         (drem_test_downward): Likewise.
38780         (remainder_test_upward): Likewise.
38781         (drem_test_upward): Likewise.
38782         (remquo_test): Likewise.
38783         (rint_test): Likewise.
38784         (rint_test_tonearest): Likewise.
38785         (rint_test_towardzero): Likewise.
38786         (rint_test_downward): Likewise.
38787         (rint_test_upward): Likewise.
38788         (round_test): Likewise.
38789         (scalb_test): Likewise.
38790         (scalbn_test): Likewise.
38791         (scalbln_test): Likewise.
38792         (signbit_test): Likewise.
38793         (sin_test): Likewise.
38794         (sin_test_tonearest): Likewise.
38795         (sin_test_towardzero): Likewise.
38796         (sin_test_downward): Likewise.
38797         (sin_test_upward): Likewise.
38798         (sincos_test): Likewise.
38799         (sinh_test): Likewise.
38800         (sinh_test_tonearest): Likewise.
38801         (sinh_test_towardzero): Likewise.
38802         (sinh_test_downward): Likewise.
38803         (sinh_test_upward): Likewise.
38804         (sqrt_test): Likewise.
38805         (sqrt_test_tonearest): Likewise.
38806         (sqrt_test_towardzero): Likewise.
38807         (sqrt_test_downward): Likewise.
38808         (sqrt_test_upward): Likewise.
38809         (tan_test): Likewise.
38810         (tan_test_tonearest): Likewise.
38811         (tan_test_towardzero): Likewise.
38812         (tan_test_downward): Likewise.
38813         (tan_test_upward): Likewise.
38814         (tanh_test): Likewise.
38815         (tgamma_test): Likewise.
38816         (trunc_test): Likewise.
38817         (y0_test): Likewise.
38818         (y1_test): Likewise.
38819         (yn_test): Likewise.
38820         (significand_test): Likewise.
38822         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38823         individual tests in comment.
38824         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38825         (prev_max_error): New variable.
38826         (prev_real_max_error): Likewise.
38827         (prev_imag_max_error): Likewise.
38828         (compare_ulp_data): Don't refer to test names in comment.
38829         (find_test_ulps): Remove function.
38830         (find_function_ulps): Likewise.
38831         (find_complex_function_ulps): Likewise.
38832         (init_max_error): Take function name as argument.  Look up ulps
38833         for that function.
38834         (print_ulps): Remove function.
38835         (print_max_error): Use prev_max_error instead of calling
38836         find_function_ulps.
38837         (print_complex_max_error): Use prev_real_max_error and
38838         prev_imag_max_error instead of calling find_complex_function_ulps.
38839         (check_float_internal): Take max_ulp parameter instead of calling
38840         find_test_ulps.  Don't call print_ulps.
38841         (check_float): Update call to check_float_internal.
38842         (check_complex): Update calls to check_float_internal.
38843         (START): Pass argument to init_max_error.
38844         * math/gen-libm-test.pl (%results): Don't include "kind"
38845         information.
38846         (parse_ulps): Don't handle ulps of individual tests.
38847         (print_ulps_file): Likewise.
38848         (output_ulps): Likewise.
38849         * math/README.libm-test: Update.
38850         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38851         individual tests.
38852         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38853         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38854         * sysdeps/arm/libm-test-ulps: Likewise.
38855         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38856         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38857         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38858         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38859         * sysdeps/microblaze/libm-test-ulps: Likewise.
38860         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38861         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38862         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38863         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38864         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38865         * sysdeps/sh/libm-test-ulps: Likewise.
38866         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38867         * sysdeps/tile/libm-test-ulps: Likewise.
38868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38870 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38872         * math/libm-test.inc (print_complex_max_error): Check separately
38873         whether real and imaginary errors are within allowed range and
38874         pass 0 to print_complex_function_ulps instead of value within
38875         allowed range.
38877 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38879         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38880         formatting.
38881         (get_handles_fopen): Likewise.
38882         (do_write_test): Likewise.
38884         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38886         * libio/fileops.c (do_ftell): Use cached offset when
38887         available.
38888         * libio/iofwide.c (do_ftell_wide): Likewise.
38889         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38890         _IO_file_attach.
38891         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38893         [BZ #16532]
38894         * libio/libioP.h (get_file_offset): New function.
38895         * libio/fileops.c (get_file_offset): Likewise.
38896         (do_ftell): Likewise.
38897         (_IO_new_file_seekoff): Split out ftell logic.
38898         * libio/wfileops.c (do_ftell_wide): Likewise.
38899         (_IO_wfile_seekoff): Split out ftell logic.
38900         * libio/tst-ftell-active-handler.c: New test case.
38901         * libio/Makefile (tests): Add it.
38903 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38905         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38906         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38908 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38910         [BZ #16639]
38911         * nscd/connections.c (nscd_init): Call do_exit.
38912         (start_threads): Call do_exit and notify_parent.
38913         (begin_drop_privileges): Call do_exit.
38914         (finish_drop_privileges): Likewise.
38915         * nscd/selinux.c (preserve_capabilities): Likewise.
38916         (install_real_capabilities): Likewise.
38917         (nscd_selinux_enabled): Likewise.
38918         (avc_create_thread): Likewise.
38919         (avc_alloc_lock): Likewise.
38920         (nscd_avc_init): Likewise.
38921         * nscd/nscd.c (parent_fd): New static variable.
38922         (main): Create a pipe between parent and child processes.
38923         Skip closing parent_fd.
38924         (monitor_child): New function.
38925         (do_exit): Likewise.
38926         (notify_parent): Likewise.
38927         * nscd/nscd.h (notify_parent): Likewise.
38928         (do_exit): Likewise.
38930 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38932         * malloc/malloc.c (__libc_calloc): Revert last change.
38934 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38938 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38940         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38942         implementation.
38943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38944         (__libc_ifunc_impl_list): Likewise.
38945         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38946         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38947         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38948         * string/strrchr.c: Define STRRCHR.
38950 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38952         * benchtest/bench-strtok.c (simple_strtok): Delete.
38953         (strtok_string): Use as benchmark.
38954         * string/strtok (STRTOK): New macro.
38956 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38958         * manual/threads.texi: Add header and standard comments to all
38959         functions.
38961         * elf/dl-lookup.c (check_match): New function.
38962         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38963         (do_lookup_x): Remove nested function check_match. Use non-nested
38964         function check_match.
38966 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38968         * csu/Makefile (generated, before-compile): Use += rather than =.
38969         * catgets/Makefile (generated, generated-dirs): Likewise.
38970         * debug/Makefile (generated): Likewise.
38971         * dlfcn/Makefile (generated): Likewise.
38972         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38973         * iconvdata/Makefile (before-compile, generated): Likewise.
38974         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38975         * libio/Makefile (generated): Likewise.
38976         * malloc/Makefile (generated): Likewise.
38977         * manual/Makefile (generated, generated-dirs): Likewise.
38978         * misc/Makefile (generated): Likewise.
38979         * posix/Makefile (generated): Likewise.
38980         * resolv/Makefile (generated): Likewise.
38981         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38982         * timezone/Makefile (generated, generated-dirs): Likewise.
38984         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38986 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38989         power8 implementation.
38990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38991         file: POWER8 llround ifunc implementation.
38992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38993         (__lllround): Add POWER8 implementation.
38994         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38995         POWER8 llround implementation.
38997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38998         power8 implementation.
38999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39000         file: POWER8 llrint ifunc implementation.
39001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39002         Add POWER8 implementation.
39003         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39004         POWER8 llrint implementation.
39006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39007         power8 implementation.
39008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39009         file: POWER8 finite ifunc implementation.
39010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39011         Add POWER8 implementation.
39012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39013         Likewise.
39014         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39015         POWER8 finite implementation.
39016         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39019         power8 implementation.
39020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39021         file: POWER8 isinf ifunc implementation.
39022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39023         POWER8 implementation.
39024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39025         Likewise.
39026         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39027         isinf implementation.
39028         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39030         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39031         (INIT_ARCH): Add hwcap2 initialization.
39032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39033         power8 implementation.
39034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39035         file: POWER8 isnan ifunc implementation.
39036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39037         POWER8 implementation.
39038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39039         Likewise.
39040         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39041         isnan implementation.
39042         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39044 2014-02-27  Joey Ye  <joey.ye@arm.com>
39046         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39047         (_FP_NANFRAC_Q): Set to zero.
39049 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39051         [BZ #16623]
39052         * math/auto-libm-test-in: New test inputs.
39053         * math/auto-libm-test-out: Regenerate.
39054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39055         and DA.
39056         (__cos): Likewise.
39057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39059 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39061         * scripts/evaluate-test.sh: Take new argument indicating whether
39062         failure is expected.
39063         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39064         indicating whether failure is expected.
39065         * conform/Makefile (test-xfail-run-conformtest): New variable.
39066         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39067         level.
39068         * posix/Makefile (test-xfail-annexc): New variable.
39069         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39071 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39073         * argp/Makefile: Include Makeconfig immediately after defining
39074         subdir.
39075         * assert/Makefile: Likewise.
39076         * benchtests/Makefile: Likewise.
39077         * catgets/Makefile: Likewise.
39078         * conform/Makefile: Likewise.
39079         * crypt/Makefile: Likewise.
39080         * csu/Makefile: Likewise.
39081         (all): Remove target.
39082         * ctype/Makefile: Include Makeconfig immediately after defining
39083         subdir.
39084         * debug/Makefile: Likewise.
39085         * dirent/Makefile: Likewise.
39086         * dlfcn/Makefile: Likewise.
39087         * gmon/Makefile: Likewise.
39088         * gnulib/Makefile: Likewise.
39089         * grp/Makefile: Likewise.
39090         * gshadow/Makefile: Likewise.
39091         * hesiod/Makefile: Likewise.
39092         * hurd/Makefile: Likewise.
39093         (all): Remove target.
39094         * iconvdata/Makefile: Include Makeconfig immediately after
39095         defining subdir.
39096         * inet/Makefile: Likewise.
39097         * intl/Makefile: Likewise.
39098         * io/Makefile: Likewise.
39099         * libio/Makefile: Likewise.
39100         (all): Remove target.
39101         * locale/Makefile: Include Makeconfig immediately after defining
39102         subdir.
39103         * login/Makefile: Likewise.
39104         * mach/Makefile: Likewise.
39105         (all): Remove target.
39106         * malloc/Makefile: Include Makeconfig immediately after defining
39107         subdir.
39108         (all): Remove target.
39109         * manual/Makefile: Include Makeconfig immediately after defining
39110         subdir.
39111         * math/Makefile: Likewise.
39112         * misc/Makefile: Likewise.
39113         * nis/Makefile: Likewise.
39114         * nss/Makefile: Likewise.
39115         * po/Makefile: Likewise.
39116         (all): Remove target.
39117         * posix/Makefile: Include Makeconfig immediately after defining
39118         subdir.
39119         * pwd/Makefile: Likewise.
39120         * resolv/Makefile: Likewise.
39121         * resource/Makefile: Likewise.
39122         * rt/Makefile: Likewise.
39123         * setjmp/Makefile: Likewise.
39124         * shadow/Makefile: Likewise.
39125         * signal/Makefile: Likewise.
39126         * socket/Makefile: Likewise.
39127         * soft-fp/Makefile: Likewise.
39128         * stdio-common/Makefile: Likewise.
39129         * stdlib/Makefile: Likewise.
39130         * streams/Makefile: Likewise.
39131         * string/Makefile: Likewise.
39132         * sunrpc/Makefile: Likewise.
39133         (all): Remove target.
39134         * sysvipc/Makefile: Include Makeconfig immediately after defining
39135         subdir.
39136         * termios/Makefile: Likewise.
39137         * time/Makefile: Likewise.
39138         * timezone/Makefile: Likewise.
39139         (all): Remove target.
39140         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39141         subdir.
39142         * wctype/Makefile: Likewise.
39144 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39146         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39147         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39148         (libc_feholdexcept_setround_mips): Ditto.
39149         (libc_feholdsetround): New.
39150         (libc_feholdsetroundf): New.
39151         (libc_feholdsetroundl): New.
39152         (libc_feupdateenv_test_mips): New.
39153         (libc_feupdateenv_test): New.
39154         (libc_feupdateenv_testf): New.
39155         (libc_feupdateenv_testl): New.
39156         (libc_feresetround): New.
39157         (libc_feresetroundf): New.
39158         (libc_feresetroundl): New.
39159         (libc_fetestexcept_mips): New.
39160         (libc_fetestexcept): New.
39161         (libc_fetestexceptf): New.
39162         (libc_fetestexceptl): New.
39163         (HAVE_RM_CTX): New.
39164         (libc_feholdexcept_setround_mips_ctx): New.
39165         (libc_feholdexcept_setround_ctx): New.
39166         (libc_feholdexcept_setroundf_ctx): New.
39167         (libc_feholdexcept_setroundl_ctx): New.
39168         (libc_fesetenv_mips_ctx): New.
39169         (libc_fesetenv_ctx): New.
39170         (libc_fesetenv_ctxf): New.
39171         (libc_fesetenv_ctxl): New.
39172         (libc_feupdateenv_mips_ctx): New.
39173         (libc_feupdateenv_ctx): New.
39174         (libc_feupdateenvf_ctx): New.
39175         (libc_feupdateenvl_ctx): New.
39176         (libc_feholdsetround_mips_ctx): New.
39177         (libc_feholdsetround_ctx): New.
39178         (libc_feholdsetroundf_ctx): New.
39179         (libc_feholdsetroundl_ctx): New.
39180         (libc_feresetround_mips_ctx): New.
39181         (libc_feresetround_ctx): New.
39182         (libc_feresetroundf_ctx): New.
39183         (libc_feresetroundl_ctx): New.
39185 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39187         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39189         * manual/ipc.texi: New file.
39190         * manual/Makefile (chapters): Add ipc.
39191         * manual/job.texi: Add "Inter-Process Communication" to next.
39192         * manual/process.texi: Add "Inter-Process Communication" to prev.
39194 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39198 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39200         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39202         * manual/arith.texi: Fix spaces after sentences.
39203         * manual/charset.texi: Likewise.
39204         * manual/errno.texi: Likewise.
39205         * manual/install.texi: Likewise.
39206         * manual/llio.texi: Likewise.
39207         * manual/locale.texi: Likewise.
39208         * manual/maint.texi: Likewise.
39209         * manual/math.texi: Likewise.
39210         * manual/memory.texi: Likewise.
39211         * manual/message.texi: Likewise.
39212         * manual/probes.texi: Likewise.
39213         * manual/resource.texi: Likewise.
39214         * manual/signal.texi: Likewise.
39215         * manual/socket.texi: Likewise.
39216         * manual/stdio.texi: Likewise.
39217         * manual/string.texi: Likewise.
39218         * manual/time.texi: Likewise.
39219         * manual/users.texi: Likewise.
39221 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39223         [BZ #16632]
39224         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39225         _DEFAULT_SOURCE is defined.
39227 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39228             Carlos O'Donell  <carlos@redhat.com>
39230         [BZ #16613]
39231         * elf/dl-tls.c (_dl_count_modids): New function.
39232         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39233         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39234         audit library and increment generation counter.
39235         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39236         * elf/tst-audit9.c: New file.
39237         * elf/tst-auditmod9a.c: New file.
39238         * elf/tst-auditmod9b.c: New file.
39239         * elf/Makefile: Add rules to build and run tst-audit9.
39241 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39243         [BZ #15347]
39244         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39246 2014-02-25  Will Newton  <will.newton@linaro.org>
39248         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39249         (__longjmp): Restore sp and lr before restoring callee
39250         saved registers.  Add longjmp and longjmp_target
39251         SystemTap probe point.
39252         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39253         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39254         Define to zero to match jmpbuf layout.
39255         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39256         (__sigsetjmp): Save sp and lr before saving callee
39257         saved registers.  Add setjmp SystemTap probe point.
39259 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39261         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39263 2014-02-24  Andreas Schwab  <schwab@suse.de>
39265         [BZ #15804]
39266         * elf/pldd.c (wait_for_ptrace_stop): New function.
39267         (main): Call it after attaching.
39269 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39271         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39272         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39273         Versions files is now verboten.
39274         * hurd/Versions (libc: GLIBC_2.0):
39275         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39276         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39277         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39278         * mach/Versions: Likewise.
39280         * csu/Versions: Remove unused %include.
39281         * resolv/Versions: Likewise.
39283 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39285         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39286         ($(objpfx)check-local-headers.out): Likewise.
39287         ($(objpfx)begin-end-check.out): Likewise.
39288         * Makerules (check-abi-%.out): Likewise.
39289         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39290         ($(objpfx)test2.cat): Likewise.
39291         ($(objpfx)de/libc.cat): Likewise.
39292         ($(objpfx)test-gencat.out): Likewise.
39293         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39294         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39295         ($(objpfx)noload-mem): Likewise.
39296         ($(objpfx)tst-pathopt.out): Likewise.
39297         ($(objpfx)tst-rtld-load-self.out): Likewise.
39298         ($(objpfx)tst-array1-cmp.out): Likewise.
39299         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39300         ($(objpfx)tst-array2-cmp.out): Likewise.
39301         ($(objpfx)tst-array3-cmp.out): Likewise.
39302         ($(objpfx)tst-array4-cmp.out): Likewise.
39303         ($(objpfx)tst-array5-cmp.out): Likewise.
39304         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39305         ($(objpfx)check-textrel.out): Likewise.
39306         ($(objpfx)check-execstack.out): Likewise.
39307         ($(objpfx)check-localplt.out): Likewise.
39308         ($(objpfx)order2-cmp.out): Likewise.
39309         ($(objpfx)tst-leaks1-mem): Likewise.
39310         ($(objpfx)tst-leaks1-static-mem): Likewise.
39311         ($(objpfx)tst-initorder-cmp.out): Likewise.
39312         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39313         ($(objpfx)tst-unused-dep.out): Likewise.
39314         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39315         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39316         * iconv/Makefile (test-iconvconfig): Likewise.
39317         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39318         ($(objpfx)iconv-test.out): Likewise.
39319         ($(objpfx)tst-tables.out): Likewise.
39320         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39321         ($(objpfx)tst-gettext.out): Likewise.
39322         ($(objpfx)tst-translit.out): Likewise.
39323         ($(objpfx)tst-gettext2.out): Likewise.
39324         ($(objpfx)tst-gettext4.out): Likewise.
39325         ($(objpfx)tst-gettext6.out): Likewise.
39326         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39327         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39328         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39329         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39330         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39331         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39332         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39333         ($(objpfx)wordexp-tst.out): Likewise.
39334         ($(objpfx)annexc.out): Likewise.
39335         ($(objpfx)tst-fnmatch-mem): Likewise.
39336         ($(objpfx)bug-regex2-mem): Likewise.
39337         ($(objpfx)bug-regex14-mem): Likewise.
39338         ($(objpfx)bug-regex21-mem): Likewise.
39339         ($(objpfx)bug-regex31-mem): Likewise.
39340         ($(objpfx)tst-vfork3-mem): Likewise.
39341         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39342         ($(objpfx)tst-pcre-mem): Likewise.
39343         ($(objpfx)tst-boost-mem): Likewise.
39344         ($(objpfx)tst-getconf.out): Likewise.
39345         ($(objpfx)bug-ga2-mem): Likewise.
39346         ($(objpfx)bug-glob2-mem): Likewise.
39347         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39348         ($(objpfx)mtrace-tst-leaks2): Likewise.
39349         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39350         ($(objpfx)tst-printf.out): Likewise.
39351         ($(objpfx)tst-setvbuf1.out): Likewise.
39352         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39353         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39354         ($(objpfx)tst-fmtmsg.out): Likewise.
39355         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39356         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39358         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39359         * bits/sigaction.h [__USE_MISC]: Likewise.
39360         * bits/waitstatus.h: Update #endif comments.
39361         * ctype/ctype.h: Likewise.
39362         * dirent/dirent.h: Likewise.
39363         [__USE_MISC]: Remove redundant conditionals.
39364         * grp/grp.h: Update #endif comments.
39365         [__USE_GNU]: Remove redundant conditionals.
39366         [__USE_MISC]: Likewise.
39367         * inet/netinet/in.h [__USE_GNU]: Likewise.
39368         * io/sys/stat.h [__USE_MISC]: Likewise.
39369         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39370         * libio/bits/stdio.h: Update #endif comments.
39371         [__USE_MISC]: Remove redundant conditionals.
39372         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39373         * libio/stdio.h: Update #endif comments.
39374         [__USE_MISC]: Remove redundant conditionals.
39375         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39376         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39377         * math/math.h: Update #else and #endif comments.
39378         [__USE_MISC]: Remove redundant conditionals.
39379         * misc/sys/uio.h: Update #endif comments.
39380         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39381         * posix/glob.h [__USE_MISC]: Likewise.
39382         * posix/sys/types.h: Update #endif comments.
39383         [__USE_MISC]: Remove redundant conditionals.
39384         * posix/sys/wait.h: Update #endif comments.
39385         [__USE_MISC]: Remove redundant conditionals.
39386         * posix/unistd.h: Update #endif comments.
39387         [__USE_MISC]: Remove redundant conditionals.
39388         * pwd/pwd.h [__USE_GNU]: Likewise.
39389         [__USE_MISC]: Likewise.
39390         * resolv/netdb.h [__USE_GNU]: Likewise.
39391         * signal/signal.h: Update #endif comments.
39392         [__USE_MISC]: Remove redundant conditionals.
39393         * stdlib/stdlib.h: Update #else and #endif comments.
39394         [__USE_MISC]: Remove redundant conditionals.
39395         [__USE_GNU]: Likewise.
39396         * string/bits/string2.h [__USE_MISC]: Likewise.
39397         * string/string.h: Update #endif comments.
39398         [__USE_MISC]: Remove redundant conditionals.
39399         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39400         Likewise.
39401         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39402         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39403         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39404         Likewise.
39405         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39406         Likewise.
39407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39408         comments.
39409         [__USE_MISC]: Remove redundant conditionals.
39410         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39411         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39412         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39413         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39414         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39415         Likewise.
39416         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39417         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39418         Likewise.
39419         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39420         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39421         Likewise.
39422         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39423         Likewise.
39424         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39425         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39426         Likewise.
39427         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39428         Likewise.
39429         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39430         * sysdeps/x86/bits/string.h: Update #endif comments.
39431         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39432         conditionals.
39433         * time/sys/time.h: Update #endif comments.
39434         * time/time.h: Likewise.
39435         [__USE_MISC]: Remove redundant conditionals.
39437 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39439         [BZ #16600]
39440         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39442 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39444         * Versions.def (librt): Add GLIBC_2.17.
39446 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39448         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39449         synonym for _SYS_AUXV_H to allow direct inclusion.
39450         * sysdeps/sparc/bits/hwcap.h: Likewise.
39451         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39452         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39453         * sysdeps/sparc/sysdep.h: Likewise.
39455 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39457         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39459 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39461         * benchtests/bench-strrchr.c: Print length instead of position.
39463 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39465         [BZ #16611]
39466         * sysdeps/unix/sysv/linux/kernel-features.h
39467         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39468         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39469         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39470         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39471         Likewise.
39472         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39473         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39474         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39475         (__ASSUME_SENDMMSG): Define instead of using previous
39476         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39477         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39478         (__ASSUME_SENDMMSG_SYSCALL): Define.
39479         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39480         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39481         Likewise.
39482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39483         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39484         Likewise.
39485         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39486         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39487         Likewise.
39488         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39489         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39490         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39491         [__ASSUME_SENDMMSG]: Change conditionals to
39492         [__ASSUME_SENDMMSG_SOCKETCALL].
39493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39494         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39495         Define.
39496         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39497         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39498         Likewise.
39499         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39500         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39501         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39502         [!__ASSUME_SENDMMSG]: Change conditional to
39503         [!__ASSUME_SENDMMSG_SOCKETCALL].
39504         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39505         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39506         Define.
39508         [BZ #16610]
39509         * sysdeps/unix/sysv/linux/kernel-features.h
39510         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39511         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39512         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39513         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39514         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39515         [__i386__ || __sparc__]
39516         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39517         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39518         (__ASSUME_RECVMMSG): Define instead of using previous
39519         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39520         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39521         (__ASSUME_RECVMMSG_SYSCALL): Define.
39522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39523         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39524         Likewise.
39525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39526         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39527         Likewise.
39528         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39529         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39530         Likewise.
39531         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39532         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39533         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39534         [__ASSUME_RECVMMSG]: Change condition to
39535         [__ASSUME_RECVMMSG_SOCKETCALL].
39536         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39537         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39538         Define.
39539         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39540         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39541         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39542         Likewise.
39543         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39544         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39545         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39546         [!__ASSUME_RECVMMSG]: Change condition to
39547         [!__ASSUME_RECVMMSG_SOCKETCALL].
39548         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39549         (__ASSUME_RECVMMSG_SYSCALL): Define.
39551         [BZ #16609]
39552         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39553         __powerpc__ || __s390__ || __sh__ || __sparc__]
39554         (__ASSUME_SOCKETCALL): Define.
39555         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39556         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39557         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39558         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39559         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39560         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39561         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39562         (__ASSUME_ACCEPT4): Define instead of using previous
39563         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39564         __powerpc__ || __sparc__ || __s390__)] condition.
39565         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39566         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39567         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39568         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39569         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39570         [!__ASSUME_ACCEPT4]: Change condition to
39571         [!__ASSUME_ACCEPT4_SOCKETCALL].
39572         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39573         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39574         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39575         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39576         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39577         __ASSUME_ACCEPT4_SYSCALL.
39578         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39579         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39580         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39581         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39582         __ASSUME_ACCEPT4_SYSCALL.
39583         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39584         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39585         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39586         [__ASSUME_ACCEPT4]: Change condition to
39587         [__ASSUME_ACCEPT4_SOCKETCALL].
39588         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39589         (__ASSUME_SOCKETCALL): Define.
39590         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39591         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39592         (__ASSUME_SOCKETCALL): Define.
39593         (__ASSUME_ACCEPT4): Remove.
39594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39595         Define.
39596         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39597         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39598         Likewise.
39599         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39600         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39602         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39603         macro.
39604         (HWCAP_ARM_LPAE): Likewise.
39605         (HWCAP_ARM_EVTSTRM): Likewise.
39606         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39607         Add vpfd32, lpae and evtstrm.
39608         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39609         Increase to 22.
39611 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39613         * math/auto-libm-test-in: Add tests of clog10.
39614         * math/auto-libm-test-out: Regenerated.
39615         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39616         * sysdeps/i386/fpu/libm-test-ulps: Update.
39617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39619 2014-02-18  Andreas Schwab  <schwab@suse.de>
39621         [BZ #16574]
39622         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39623         Store non-zero if the second buffer was newly allocated.
39624         (send_dg): Likewise.
39625         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39626         to send_vc and send_dg.
39627         (res_nsend): Pass NULL for ansp2_malloced.
39628         * resolv/res_query.c (__libc_res_nquery): Add parameter
39629         answerp2_malloced and pass it down to __libc_res_nsend.
39630         (res_nquery): Pass additional NULL to __libc_res_nquery.
39631         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39632         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39633         second answer buffer if answerp2_malloced was set.
39634         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39635         (__libc_res_nquerydomain): Add parameter
39636         answerp2_malloced and pass it down to __libc_res_nquery.
39637         (res_nquerydomain): Pass additional NULL to
39638         __libc_res_nquerydomain.
39639         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39640         additional NULL to __libc_res_nsend and __libc_res_nquery.
39641         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39642         additional NULL to __libc_res_nsearch.
39643         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39644         parameter of __libc_res_nsearch to check for separately allocated
39645         second buffer.
39646         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39647         __libc_res_nquery.
39648         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39649         additional NULL to __libc_res_nquery.
39650         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39651         __libc_res_nsearch.
39652         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39653         * include/resolv.h: Update prototypes of __libc_res_nquery,
39654         __libc_res_nsearch, __libc_res_nsend.
39656 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39658         * math/auto-libm-test-in: Add tests of fma.
39659         * math/auto-libm-test-out: Regenerated.
39660         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39661         (fma_towardzero_test_data): Likewise.
39662         (fma_downward_test_data): Likewise.
39663         (fma_upward_test_data): Likewise.
39664         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39665         mpc_mode.
39666         (rounding_modes): Add values for new field.
39667         (func_calc_method): Add value mpfr_fff_f.
39668         (func_calc_desc): Add mpfr_fff_f union field.
39669         (test_function): Add field exact_args.
39670         (FUNC): Add macro argument EXACT_ARGS.
39671         (FUNC_mpfr_f_f): Update call to FUNC.
39672         (FUNC_mpfr_f_f): Likewise.
39673         (FUNC_mpfr_ff_f): Likewise.
39674         (FUNC_mpfr_if_f): Likewise.
39675         (FUNC_mpc_c_f): Likewise.
39676         (FUNC_mpc_c_c): Likewise.
39677         (test_functions): Add fma.  Update calls to FUNC.
39678         (handle_input_arg): Add argument exact_args.
39679         (add_test): Update call to handle_input_arg.
39680         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39681         (output_for_one_input_case): Update call to calc_generic_results.
39682         Recalculate exact zero results in each rounding mode.
39684         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39685         non-negative before setting low bit.
39686         * math/auto-libm-test-in: Mark one asin test possibly having
39687         spurious underflow.
39688         * math/auto-libm-test-out: Regenerated.
39689         * sysdeps/i386/fpu/libm-test-ulps: Update.
39690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39692 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39694         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39695         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39696         ports/sysdeps/unix/sysv/linux/microblaze.
39697         * README: Add missing listing for microblaze*-*-linux-gnu.
39699 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39701         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39702         duplicate code
39704 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39706         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39707         * sysdeps/unix/sysv/linux/ia64: Move directory from
39708         ports/sysdeps/unix/sysv/linux/ia64.
39709         * README: Update listing for ia64-*-linux-gnu.
39711 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39712             Joseph Myers  <joseph@codesourcery.com>
39714         * Makeconfig (test-name): New variable.
39715         (evaluate-test): Likewise.
39716         * Makerules (do-test-clean): Remove .test-result files.
39717         (common-mostlyclean): Likewise.
39718         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39719         * scripts/evaluate-test.sh: New file.
39721 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39723         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39724         separate $(objpfx)tst-fopenloc-cmp.out and
39725         $(objpfx)tst-fopenloc-mem.out targets.
39726         (tests): Update dependencies.
39727         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39728         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39729         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39730         (tst-rxspencer-no-utf8-ARGS): New variable.
39731         (tst-rxspencer-no-utf8-ENV): Likewise.
39732         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39733         instead of $(objpfx)tst-rxspencer-mem.
39734         ($(objpfx)tst-rxspencer-mem): Change target to
39735         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39736         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39737         * posix/tst-rxspencer-no-utf8.c: New file.
39739         * elf/Makefile ($(objpfx)order.out): Remove rule.
39740         [$(run-built-tests) = yes] (tests): Depend on
39741         $(objpfx)order-cmp.out.
39742         ($(objpfx)order-cmp.out): New rule.
39743         [$(run-built-tests) = yes] (tests): Depend on
39744         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39745         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39746         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39747         $(objpfx)tst-array5-static-cmp.out.
39748         ($(objpfx)tst-array1.out): Remove rule.
39749         ($(objpfx)tst-array1-cmp.out): New rule.
39750         ($(objpfx)tst-array1-static.out): Remove rule.
39751         ($(objpfx)tst-array1-static-cmp.out): New rule.
39752         ($(objpfx)tst-array2.out): Remove rule.
39753         ($(objpfx)tst-array2-cmp.out): New rule.
39754         ($(objpfx)tst-array3.out): Remove rule.
39755         ($(objpfx)tst-array3-cmp.out): New rule.
39756         ($(objpfx)tst-array4.out): Remove rule.
39757         ($(objpfx)tst-array4-cmp.out): New rule.
39758         ($(objpfx)tst-array5.out): Remove rule.
39759         ($(objpfx)tst-array5-cmp.out): New rule.
39760         ($(objpfx)tst-array5-static.out): Remove rule.
39761         ($(objpfx)tst-array5-static-cmp.out): New rule.
39762         [$(run-built-tests) = yes] (tests): Depend on
39763         $(objpfx)order2-cmp.out.
39764         ($(objpfx)order2.out): Remove rule.
39765         ($(objpfx)order2-cmp.out): New rule.
39766         ($(objpfx)tst-initorder.out): Remove rule.
39767         [$(run-built-tests) = yes] (tests): Depend on
39768         $(objpfx)tst-initorder-cmp.out.
39769         ($(objpfx)tst-initorder-cmp.out): New rule.
39770         ($(objpfx)tst-initorder2.out): Remove rule.
39771         [$(run-built-tests) = yes] (tests): Depend on
39772         $(objpfx)tst-initorder2-cmp.out.
39773         ($(objpfx)tst-initorder2-cmp.out): New rule.
39774         [$(run-built-tests) = yes] (tests): Depend on
39775         $(objpfx)tst-unused-dep-cmp.out.
39776         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39777         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39778         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39779         on $(objpfx)tst-setvbuf1-cmp.out.
39780         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39781         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39782         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39783         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39784         ($(objpfx)tst-svc.out): Remove rule.
39785         ($(objpfx)tst-svc-cmp.out): New rule.
39787 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39789         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39790         * ctype/ctype.h [__USE_MISC]: Likewise.
39791         * dirent/dirent.h [__USE_MISC]: Likewise.
39792         * grp/grp.h [__USE_MISC]: Likewise.
39793         * io/fcntl.h [__USE_MISC]: Likewise.
39794         * io/sys/stat.h [__USE_MISC]: Likewise.
39795         * libio/stdio.h [__USE_MISC]: Likewise.
39796         * posix/unistd.h [__USE_MISC]: Likewise.
39797         * pwd/pwd.h [__USE_MISC]: Likewise.
39798         * stdlib.h [__USE_MISC]: Likewise.
39799         * string/bits/string2.h [__USE_MISC]: Likewise.
39800         * string/string.h [__USE_MISC]: Likewise.
39801         * time/time.h [__USE_MISC]: Likewise.
39803 2014-02-13  Andreas Schwab  <schwab@suse.de>
39805         [BZ #16574]
39806         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39807         second answer buffer if it was separately allocated.
39809 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39811         * sysdeps/mips/math-tests.h: Include <features.h>.
39812         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39813         (ROUNDING_TESTS_long_double): Do not define.
39814         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39815         (EXCEPTION_TESTS_long_double): Likewise.
39816         * sysdeps/mips/mips64/libm-test-ulps: Update.
39818         * include/features.h (__USE_BSD): Remove macro definitions.
39819         (__USE_SVID): Likewise.
39820         (_BSD_SOURCE): Likewise.
39821         (_SVID_SOURCE): Likewise.
39822         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39823         from definition of _DEFAULT_SOURCE.
39824         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39825         [_DEFAULT_SOURCE].
39826         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39827         * bits/mman.h [__USE_BSD]: Likewise.
39828         * bits/termios.h [__USE_BSD]: Likewise.
39829         * bits/waitstatus.h [__USE_BSD]: Likewise.
39830         * ctype/ctype.h [__USE_SVID]: Likewise.
39831         * dirent/dirent.h [__USE_BSD]: Likewise.
39832         * grp/grp.h [__USE_SVID]: Likewise.
39833         [__USE_BSD]: Likewise.
39834         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39835         * io/fcntl.h [__USE_BSD]: Likewise.
39836         * io/ftw.h [__USE_BSD]: Likewise.
39837         * io/sys/stat.h [__USE_BSD]: Likewise.
39838         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39839         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39840         * libio/stdio.h [__USE_SVID]: Likewise.
39841         [__USE_BSD]: Likewise.
39842         * math/math.h [__USE_SVID]: Likewise.
39843         [__USE_BSD]: Likewise.
39844         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39845         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39846         * misc/search.h [__USE_SVID]: Likewise.
39847         * misc/sys/mman.h [__USE_BSD]: Likewise.
39848         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39849         * misc/sys/uio.h [__USE_BSD]: Likewise.
39850         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39851         * posix/glob.h [__USE_BSD]: Likewise.
39852         * posix/regex.h [__USE_BSD]: Likewise.
39853         * posix/sys/types.h [__USE_BSD]: Likewise.
39854         [__USE_SVID]: Likewise.
39855         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39856         * posix/sys/wait.h [__USE_BSD]: Likewise.
39857         [__USE_SVID]: Likewise.
39858         * posix/unistd.h [__USE_BSD]: Likewise.
39859         [__USE_SVID]: Likewise.
39860         * pwd/pwd.h [__USE_SVID]: Likewise.
39861         * resolv/netdb.h [__USE_BSD]: Likewise.
39862         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39863         * signal/signal.h [__USE_BSD]: Likewise.
39864         [__USE_SVID]: Likewise.
39865         * socket/sys/socket.h [__USE_BSD]: Likewise.
39866         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39867         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39868         [__USE_SVID]: Likewise.
39869         * string/bits/string2.h [__USE_BSD]: Likewise.
39870         [__USE_SVID]: Likewise.
39871         * string/bits/string3.h [__USE_BSD]: Likewise.
39872         * string/endian.h [__USE_BSD]: Likewise.
39873         * string/string.h [__USE_SVID]: Likewise.
39874         [__USE_BSD]: Likewise.
39875         * string/strings.h [__USE_BSD]: Likewise.
39876         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39877         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39878         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39879         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39880         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39881         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39882         Likewise.
39883         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39884         Likewise.
39885         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39886         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39887         Likewise.
39888         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39889         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39890         Likewise.
39891         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39892         Likewise.
39893         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39894         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39895         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39896         Likewise.
39897         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39898         Likewise.
39899         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39900         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39901         * termios/termios.h [__USE_BSD]: Likewise.
39902         * time/sys/time.h [__USE_BSD]: Likewise.
39903         * time/time.h [__USE_BSD]: Likewise.
39904         [__USE_SVID]: Likewise.
39906         * Makefile (subdir_targets): Remove subdir_lint.out.
39908         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39909         (do-tst-printf): Likewise.
39910         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39911         $(objpfx)tst-printf.out.
39913         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39915         * Makerules (check-abi-%): Change target to
39916         $(objpfx)check-abi-%.out.
39917         (check-abi target): Update dependencies.
39918         (check-abi-pattern variable): Redirect output of diff to $@.
39919         (check-abi variable): Likewise.
39920         * elf/Makefile (check-abi): Update dependencies.
39922         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39923         unused.
39924         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39925         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39926         subnormal range.
39927         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39928         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39929         value has largest subnormal exponent.
39930         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39931         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39932         * sysdeps/aarch64/soft-fp/sfp-machine.h
39933         (_FP_TININESS_AFTER_ROUNDING): New macro.
39934         * sysdeps/alpha/soft-fp/sfp-machine.h
39935         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39936         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39937         Likewise.
39938         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39939         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39940         * sysdeps/mips/soft-fp/sfp-machine.h
39941         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39942         * sysdeps/powerpc/soft-fp/sfp-machine.h
39943         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39944         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39945         Likewise.
39946         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39947         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39948         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39949         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39950         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39951         Likewise.
39953 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39955         [BZ #16545]
39956         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39957         model 1.
39959 2014-02-12  Richard Henderson  <rth@redhat.com>
39961         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39962         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39963         * sysdeps/unix/sysv/linux/alpha: Move directory from
39964         ports/sysdeps/unix/sysv/linux/alpha.
39965         * README: Update listing for alpha-*-linux-gnu.
39967 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39969         * include/features.h: Update comment documenting feature test
39970         macros.
39971         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39972         _DEFAULT_SOURCE.
39973         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39974         (_SVID_SOURCE): Likewise.
39975         (_DEFAULT_SOURCE): Update description of default features.
39976         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39977         with _GNU_SOURCE.
39978         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39979         (S_ISVTX): Likewise.
39980         * manual/math.texi (Mathematical Constants): Likewise.
39981         * manual/signal.texi (Interrupted Primitives): Likewise.
39982         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39983         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39984         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39985         Don't refer to _SVID_SOURCE in warning text.
39987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39989         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39990         already defined.
39991         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39992         * sysdeps/mips/dl-lookup.c: Remove.
39993         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39995 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39997         [BZ #16447]
39998         * math/auto-libm-test-in: Add testcase for expl.
39999         * math/auto-libm-test-out: Regenerate.
40000         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40001         calculation of unsafe.
40002         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40004 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40006         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40007         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40008         ports/sysdeps/unix/sysv/linux/aarch64.
40009         * README: Update listing for aarch64*-*-linux-gnu.
40011 2014-02-11  Will Newton  <will.newton@linaro.org>
40013         * manual/probes.texi (Mathematical Function Probes): Use
40014         "triggered" instead of "hit".
40016         * manual/probes.texi (Internal Probes): Add documentation
40017         of setjmp, longjmp and longjmp_target probes.
40019         * include/stap-probe.h: Add comment about probe argument
40020         format.
40022         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40023         definition.  (tr_where, tr_freehook, tr_mallochook,
40024         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40026 2014-02-11  David S. Miller  <davem@davemloft.net>
40028         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40029         processing int_tests.
40031 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40033         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40034         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40035         * sysdeps/unix/sysv/linux/mips: Move directory from
40036         ports/sysdeps/unix/sysv/linux/mips.
40037         * README: Update listing for mips-*-linux-gnu and
40038         mips64-*-linux-gnu.
40040 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40042         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40043         * sysdeps/unix/sysv/linux/m68k: Move directory from
40044         ports/sysdeps/unix/sysv/linux/m68k.
40045         * README: Update listing for m68k-*-linux-gnu.
40047 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40049         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40050         * sysdeps/unix/sysv/linux/generic: Move directory from
40051         ports/sysdeps/unix/sysv/linux/generic.
40052         * sysdeps/unix/sysv/linux/tile: Move directory from
40053         ports/sysdeps/unix/sysv/linux/tile.
40054         * README: Update listing for tile*-*-linux-gnu.
40056 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40058         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40059         __builtin_expect.
40060         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40061         * catgets/open_catalog.c (__open_catalog): Likewise.
40062         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40063         * debug/confstr_chk.c: Likewise.
40064         * debug/fread_chk.c (__fread_chk): Likewise.
40065         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40066         * debug/getgroups_chk.c: Likewise.
40067         * debug/mbsnrtowcs_chk.c: Likewise.
40068         * debug/mbsrtowcs_chk.c: Likewise.
40069         * debug/mbstowcs_chk.c: Likewise.
40070         * debug/memcpy_chk.c: Likewise.
40071         * debug/memmove_chk.c: Likewise.
40072         * debug/mempcpy_chk.c: Likewise.
40073         * debug/memset_chk.c: Likewise.
40074         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40075         * debug/strcat_chk.c (__strcat_chk): Likewise.
40076         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40077         * debug/strncat_chk.c (__strncat_chk): Likewise.
40078         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40079         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40080         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40081         * debug/wcpncpy_chk.c: Likewise.
40082         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40083         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40084         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40085         * debug/wcsncpy_chk.c: Likewise.
40086         * debug/wcsnrtombs_chk.c: Likewise.
40087         * debug/wcsrtombs_chk.c: Likewise.
40088         * debug/wcstombs_chk.c: Likewise.
40089         * debug/wmemcpy_chk.c: Likewise.
40090         * debug/wmemmove_chk.c: Likewise.
40091         * debug/wmempcpy_chk.c: Likewise.
40092         * debug/wmemset_chk.c: Likewise.
40093         * dirent/scandirat.c (SCANDIRAT): Likewise.
40094         * dlfcn/dladdr1.c (dladdr1): Likewise.
40095         * dlfcn/dladdr.c (dladdr): Likewise.
40096         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40097         * dlfcn/dlerror.c (__dlerror): Likewise.
40098         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40099         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40100         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40101         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40102         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40103         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40104         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40105         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40106         Likewise.
40107         * elf/dl-conflict.c: Likewise.
40108         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40109         * elf/dl-dst.h: Likewise.
40110         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40111         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40112         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40113         * elf/dl-init.c (call_init, _dl_init): Likewise.
40114         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40115         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40116         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40117         Likewise.
40118         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40119         Likewise.
40120         * elf/dl-minimal.c (__libc_memalign): Likewise.
40121         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40122         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40123         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40124         * elf/dl-sym.c (do_sym): Likewise.
40125         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40126         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40127         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40128         * elf/dl-writev.h (_dl_writev): Likewise.
40129         * elf/ldconfig.c (search_dir): Likewise.
40130         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40131         (dl_main): Likewise.
40132         * elf/setup-vdso.h (setup_vdso): Likewise.
40133         * grp/compat-initgroups.c (compat_call): Likewise.
40134         * grp/fgetgrent.c (fgetgrent): Likewise.
40135         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40136         * grp/putgrent.c (putgrent): Likewise.
40137         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40138         Likewise.
40139         * hurd/hurdinit.c: Likewise.
40140         * iconvdata/8bit-gap.c (struct): Likewise.
40141         * iconvdata/ansi_x3.110.c : Likewise.
40142         * iconvdata/big5.c : Likewise.
40143         * iconvdata/big5hkscs.c : Likewise.
40144         * iconvdata/cp1255.c: Likewise.
40145         * iconvdata/cp1258.c : Likewise.
40146         * iconvdata/cp932.c : Likewise.
40147         * iconvdata/euc-cn.c: Likewise.
40148         * iconvdata/euc-jisx0213.c : Likewise.
40149         * iconvdata/euc-jp.c: Likewise.
40150         * iconvdata/euc-jp-ms.c : Likewise.
40151         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40152         * iconvdata/gb18030.c : Likewise.
40153         * iconvdata/gbbig5.c (const): Likewise.
40154         * iconvdata/gbgbk.c: Likewise.
40155         * iconvdata/gbk.c : Likewise.
40156         * iconvdata/ibm1364.c : Likewise.
40157         * iconvdata/ibm930.c : Likewise.
40158         * iconvdata/ibm932.c: Likewise.
40159         * iconvdata/ibm933.c : Likewise.
40160         * iconvdata/ibm935.c : Likewise.
40161         * iconvdata/ibm937.c : Likewise.
40162         * iconvdata/ibm939.c : Likewise.
40163         * iconvdata/ibm943.c: Likewise.
40164         * iconvdata/iso_11548-1.c: Likewise.
40165         * iconvdata/iso-2022-cn.c : Likewise.
40166         * iconvdata/iso-2022-cn-ext.c : Likewise.
40167         * iconvdata/iso-2022-jp-3.c: Likewise.
40168         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40169         * iconvdata/iso-2022-kr.c : Likewise.
40170         * iconvdata/iso646.c (gconv_end): Likewise.
40171         * iconvdata/iso_6937-2.c : Likewise.
40172         * iconvdata/iso_6937.c : Likewise.
40173         * iconvdata/iso8859-1.c: Likewise.
40174         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40175         * iconvdata/shift_jisx0213.c : Likewise.
40176         * iconvdata/sjis.c : Likewise.
40177         * iconvdata/t.61.c : Likewise.
40178         * iconvdata/tcvn5712-1.c : Likewise.
40179         * iconvdata/tscii.c: Likewise.
40180         * iconvdata/uhc.c : Likewise.
40181         * iconvdata/unicode.c (gconv_end): Likewise.
40182         * iconvdata/utf-16.c (gconv_end): Likewise.
40183         * iconvdata/utf-32.c (gconv_end): Likewise.
40184         * iconvdata/utf-7.c (base64): Likewise.
40185         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40186         * iconv/gconv_close.c (__gconv_close): Likewise.
40187         * iconv/gconv_open.c (__gconv_open): Likewise.
40188         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40189         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40190         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40191         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40192         (ucs4le_internal_loop_single): Likewise.
40193         * iconv/iconv.c (iconv): Likewise.
40194         * iconv/iconv_close.c: Likewise.
40195         * iconv/loop.c (SINGLE): Likewise.
40196         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40197         * include/atomic.h: Likewise.
40198         * inet/inet6_option.c (option_alloc): Likewise.
40199         * intl/bindtextdom.c (set_binding_values): Likewise.
40200         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40201         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40202         * intl/localealias.c (read_alias_file): Likewise.
40203         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40204         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40205         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40206         * libio/fmemopen.c (fmemopen): Likewise.
40207         * libio/iofgets.c (_IO_fgets): Likewise.
40208         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40209         * libio/iofgetws.c (fgetws): Likewise.
40210         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40211         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40212         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40213         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40214         * locale/findlocale.c (_nl_find_locale): Likewise.
40215         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40216         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40217         Likewise.
40218         * locale/setlocale.c (setlocale): Likewise.
40219         * login/programs/pt_chown.c (main): Likewise.
40220         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40221         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40222         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40223         (mmap, mmap64, mremap, munmap): Likewise.
40224         * math/e_exp2l.c: Likewise.
40225         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40226         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40227         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40228         * math/s_catan.c (__catan): Likewise.
40229         * math/s_catanf.c (__catanf): Likewise.
40230         * math/s_catanh.c (__catanh): Likewise.
40231         * math/s_catanhf.c (__catanhf): Likewise.
40232         * math/s_catanhl.c (__catanhl): Likewise.
40233         * math/s_catanl.c (__catanl): Likewise.
40234         * math/s_ccosh.c (__ccosh): Likewise.
40235         * math/s_ccoshf.c (__ccoshf): Likewise.
40236         * math/s_ccoshl.c (__ccoshl): Likewise.
40237         * math/s_cexp.c (__cexp): Likewise.
40238         * math/s_cexpf.c (__cexpf): Likewise.
40239         * math/s_cexpl.c (__cexpl): Likewise.
40240         * math/s_clog10.c (__clog10): Likewise.
40241         * math/s_clog10f.c (__clog10f): Likewise.
40242         * math/s_clog10l.c (__clog10l): Likewise.
40243         * math/s_clog.c (__clog): Likewise.
40244         * math/s_clogf.c (__clogf): Likewise.
40245         * math/s_clogl.c (__clogl): Likewise.
40246         * math/s_csin.c (__csin): Likewise.
40247         * math/s_csinf.c (__csinf): Likewise.
40248         * math/s_csinh.c (__csinh): Likewise.
40249         * math/s_csinhf.c (__csinhf): Likewise.
40250         * math/s_csinhl.c (__csinhl): Likewise.
40251         * math/s_csinl.c (__csinl): Likewise.
40252         * math/s_csqrt.c (__csqrt): Likewise.
40253         * math/s_csqrtf.c (__csqrtf): Likewise.
40254         * math/s_csqrtl.c (__csqrtl): Likewise.
40255         * math/s_ctan.c (__ctan): Likewise.
40256         * math/s_ctanf.c (__ctanf): Likewise.
40257         * math/s_ctanh.c (__ctanh): Likewise.
40258         * math/s_ctanhf.c (__ctanhf): Likewise.
40259         * math/s_ctanhl.c (__ctanhl): Likewise.
40260         * math/s_ctanl.c (__ctanl): Likewise.
40261         * math/w_pow.c: Likewise.
40262         * math/w_powf.c: Likewise.
40263         * math/w_powl.c: Likewise.
40264         * math/w_scalb.c (sysv_scalb): Likewise.
40265         * math/w_scalbf.c (sysv_scalbf): Likewise.
40266         * math/w_scalbl.c (sysv_scalbl): Likewise.
40267         * misc/error.c (error_tail): Likewise.
40268         * misc/pselect.c (__pselect): Likewise.
40269         * nis/nis_callback.c (__nis_create_callback): Likewise.
40270         * nis/nis_call.c (__nisfind_server): Likewise.
40271         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40272         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40273         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40274         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40275         * nis/nis_lookup.c (nis_lookup): Likewise.
40276         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40277         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40278         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40279         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40280         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40281         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40282         * nis/nss_compat/compat-initgroups.c (add_group)
40283         (internal_getgrent_r): Likewise.
40284         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40285         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40286         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40287         (internal_getspnam_r): Likewise.
40288         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40289         (_nss_nis_getaliasbyname_r): Likewise.
40290         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40291         (_nss_nis_getntohost_r): Likewise.
40292         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40293         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40294         (_nss_nis_getgrgid_r): Likewise.
40295         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40296         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40297         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40298         (_nss_nis_gethostbyname4_r): Likewise.
40299         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40300         (initgroups_netid): Likewise.
40301         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40302         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40303         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40304         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40305         (_nss_nis_getprotobynumber_r): Likewise.
40306         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40307         (_nss_nis_getsecretkey): Likewise.
40308         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40309         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40310         (_nss_nis_getpwuid_r): Likewise.
40311         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40312         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40313         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40314         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40315         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40316         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40317         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40318         Likewise.
40319         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40320         (_nss_nisplus_getntohost_r): Likewise.
40321         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40322         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40323         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40324         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40325         Likewise.
40326         * nis/nss_nisplus/nisplus-initgroups.c
40327         (_nss_nisplus_initgroups_dyn): Likewise.
40328         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40329         (_nss_nisplus_getnetbyaddr_r): Likewise.
40330         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40331         (_nss_nisplus_getprotobynumber_r): Likewise.
40332         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40333         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40334         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40335         Likewise.
40336         * nis/nss_nisplus/nisplus-service.c
40337         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40338         (_nss_nisplus_getservbyport_r): Likewise.
40339         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40340         (_nss_nisplus_getspnam_r): Likewise.
40341         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40342         Likewise.
40343         * nscd/aicache.c (addhstaiX): Likewise.
40344         * nscd/cache.c (cache_search, prune_cache): Likewise.
40345         * nscd/connections.c (register_traced_file, send_ro_fd)
40346         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40347         (main_loop_epoll): Likewise.
40348         * nscd/grpcache.c (addgrbyX): Likewise.
40349         * nscd/hstcache.c (addhstbyX): Likewise.
40350         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40351         * nscd/mem.c (gc, mempool_alloc): Likewise.
40352         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40353         (addinnetgrX): Likewise.
40354         * nscd/nscd-client.h (__nscd_acquire_maplock)
40355         (__nscd_drop_map_ref): Likewise.
40356         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40357         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40358         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40359         Likewise.
40360         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40361         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40362         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40363         (__nscd_get_map_ref): Likewise.
40364         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40365         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40366         Likewise.
40367         * nscd/pwdcache.c (addpwbyX): Likewise.
40368         * nscd/selinux.c (preserve_capabilities): Likewise.
40369         * nscd/servicescache.c (addservbyX): Likewise.
40370         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40371         * posix/fnmatch.c (fnmatch): Likewise.
40372         * posix/getopt.c (_getopt_internal_r): Likewise.
40373         * posix/glob.c (glob, glob_in_dir): Likewise.
40374         * posix/wordexp.c (exec_comm_child): Likewise.
40375         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40376         (getanswer_r, gaih_getanswer_slice): Likewise.
40377         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40378         * resolv/res_init.c: Likewise.
40379         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40380         * resolv/res_query.c (__libc_res_nquery): Likewise.
40381         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40382         Likewise.
40383         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40384         * stdio-common/perror.c (perror): Likewise.
40385         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40386         * stdio-common/tmpnam.c (tmpnam): Likewise.
40387         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40388         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40389         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40390         Likewise.
40391         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40392         * stdlib/putenv.c (putenv): Likewise.
40393         * stdlib/setenv.c (__add_to_environ): Likewise.
40394         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40395         * stdlib/strtol_l.c (INTERNAL): Likewise.
40396         * string/memmem.c (memmem): Likewise.
40397         * string/strerror.c (strerror): Likewise.
40398         * string/strnlen.c (__strnlen): Likewise.
40399         * string/test-memmem.c (simple_memmem): Likewise.
40400         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40401         * sunrpc/pm_getport.c (__get_socket): Likewise.
40402         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40403         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40404         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40405         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40406         Likewise.
40407         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40409         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40410         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40411         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40412         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40413         Likewise.
40414         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40415         Likewise.
40416         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40417         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40418         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40419         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40420         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40422         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40423         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40424         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40425         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40426         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40427         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40428         Likewise.
40429         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40430         Likewise.
40431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40432         Likewise.
40433         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40434         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40435         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40436         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40437         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40438         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40439         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40440         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40441         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40442         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40443         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40444         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40445         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40446         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40449         Likewise.
40450         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40451         Likewise.
40452         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40453         Likewise.
40454         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40455         Likewise.
40456         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40458         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40459         Likewise.
40460         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40461         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40462         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40463         * sysdeps/posix/sleep.c: Likewise.
40464         * sysdeps/posix/tempname.c: Likewise.
40465         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40466         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40467         Likewise.
40468         * sysdeps/powerpc/powerpc32/dl-machine.h
40469         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40470         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40471         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40472         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40473         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40474         Likewise.
40475         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40477         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40478         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40479         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40480         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40481         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40482         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40484         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40485         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40486         (elf_machine_lazy_rel): Likewise.
40487         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40488         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40489         (elf_machine_lazy_rel): Likewise.
40490         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40491         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40492         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40493         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40494         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40495         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40496         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40497         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40498         Likewise.
40499         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40500         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40501         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40502         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40503         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40504         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40505         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40506         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40507         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40508         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40509         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40510         Likewise.
40511         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40512         (__posix_fallocate64_l64): Likewise.
40513         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40514         (posix_fallocate): Likewise.
40515         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40516         Likewise.
40517         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40518         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40519         (getifaddrs_internal): Likewise.
40520         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40521         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40522         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40523         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40524         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40525         (__posix_fallocate64_l64): Likewise.
40526         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40527         Likewise.
40528         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40529         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40530         (__get_clockfreq): Likewise.
40531         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40532         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40533         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40534         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40535         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40536         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40537         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40538         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40539         Likewise.
40540         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40541         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40542         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40544         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40545         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40546         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40547         Likewise.
40548         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40549         (posix_fallocate): Likewise.
40550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40551         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40552         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40553         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40554         (elf_machine_rela, elf_machine_rela_relative)
40555         (elf_machine_lazy_rel): Likewise.
40556         * time/asctime.c (asctime_internal): Likewise.
40557         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40558         * time/tzset.c (__tzset_parse_tz): Likewise.
40559         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40560         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40561         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40562         * wcsmbs/wcsmbsload.h: Likewise.
40564         [BZ #15894]
40565         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40567         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40568         (arena_get2): Remove THREAD_STATS conditionals.
40569         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40570         (__malloc_stats, int): Likewise.
40572 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40574         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40575         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40577         * manual/setjmp.texi: Fix typos/grammar errors.
40579         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40580         Only return early when n is <= 0.  Delete unused return statement.
40582         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40583         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40584         * debug/tst-longjmp_chk3.c: New file.
40586         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40587         (test_main): Replace code with set_fortify_handler call.
40588         * debug/test-strcpy_chk.c: Likewise.
40589         * debug/tst-chk1.c: Likewise.
40590         * debug/tst-longjmp_chk.c: Likewise.
40591         * test-skeleton.c: Include fcntl.h & paths.h
40592         (set_fortify_handler): Define.
40594         * debug/tst-longjmp_chk.c: Add header comment and include
40595         ../test-skeleton.c.
40596         (do_test): Mark static.
40597         (TEST_FUNCTION): Define.
40599         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40600         (IP_PMTUDISC_INTERFACE): Likewise.
40601         (IP_MULTICAST_IF): Likewise.
40602         (IP_MULTICAST_TTL): Likewise.
40603         (IP_MULTICAST_LOOP): Likewise.
40604         (IP_ADD_MEMBERSHIP): Likewise.
40605         (IP_DROP_MEMBERSHIP): Likewise.
40606         (IP_UNBLOCK_SOURCE): Likewise.
40607         (IP_BLOCK_SOURCE): Likewise.
40608         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40609         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40610         (IP_MSFILTER): Likewise.
40611         (MCAST_JOIN_GROUP): Likewise.
40612         (MCAST_BLOCK_SOURCE): Likewise.
40613         (MCAST_UNBLOCK_SOURCE): Likewise.
40614         (MCAST_LEAVE_GROUP): Likewise.
40615         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40616         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40617         (MCAST_MSFILTER): Likewise.
40618         (IP_MULTICAST_ALL): Likewise.
40619         (IP_UNICAST_IF): Likewise.
40621         * timezone/Makefile: Delete $(have-ksh) check.
40622         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40623         * timezone/tzselect.ksh: Add +x mode bits.
40625         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40626         (ANON_INODE_FS_MAGIC): Likewise.
40627         (BDEVFS_MAGIC): Likewise.
40628         (BINFMTFS_MAGIC): Likewise.
40629         (BTRFS_TEST_MAGIC): Likewise.
40630         (CRAMFS_MAGIC_WEND): Likewise.
40631         (DEBUGFS_MAGIC): Likewise.
40632         (ECRYPTFS_SUPER_MAGIC): Likewise.
40633         (EXT3_SUPER_MAGIC): Likewise.
40634         (EXT4_SUPER_MAGIC): Likewise.
40635         (FUTEXFS_SUPER_MAGIC): Likewise.
40636         (HOSTFS_SUPER_MAGIC): Likewise.
40637         (HUGETLBFS_MAGIC): Likewise.
40638         (MINIX3_SUPER_MAGIC): Likewise.
40639         (MTD_INODE_FS_MAGIC): Likewise.
40640         (NILFS_SUPER_MAGIC): Likewise.
40641         (OPENPROM_SUPER_MAGIC): Likewise.
40642         (PIPEFS_MAGIC): Likewise.
40643         (PSTOREFS_MAGIC): Likewise.
40644         (QNX6_SUPER_MAGIC): Likewise.
40645         (RAMFS_MAGIC): Likewise.
40646         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40647         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40648         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40649         (SECURITYFS_MAGIC): Likewise.
40650         (SELINUX_MAGIC): Likewise.
40651         (SMACK_MAGIC): Likewise.
40652         (SOCKFS_MAGIC): Likewise.
40653         (SQUASHFS_MAGIC): Likewise.
40654         (STACK_END_MAGIC): Likewise.
40655         (TMPFS_MAGIC): Likewise.
40656         (USBDEVICE_SUPER_MAGIC): Likewise.
40657         (V9FS_MAGIC): Likewise.
40658         (XENFS_SUPER_MAGIC): Likewise.
40659         (CRAMFS_MAGIC): Fix typo in comment.
40660         (EXT2_SUPER_MAGIC): Update comment.
40661         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40663 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40665         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40666         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40667         * sysdeps/unix/sysv/linux/arm: Move directory from
40668         ports/sysdeps/unix/sysv/linux/arm.
40669         * README: Update listing for arm-*-linux-gnueabi.
40671         * README: Remove mention of am33.
40673 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40675         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40676         than the comma operator, to avoid "rhs of comma has no effect"
40677         compiler warnings.
40678         (__sigfillset, __sigandset, __sigorset): Likewise.
40679         * include/signal.h (__sigemptyset): Likewise.
40680         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40682 2014-02-07  Allan McRae  <allan@archlinux.org>
40684         * version.h (RELEASE): Set to "development".
40685         (VERSION): Set to "2.19.90"
40686         * NEWS: Add 2.20 section.
40688 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40690         [BZ #16529]
40691         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40693 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40695         * manual/contrib.texi: Update entry for Carlos O'Donell,
40696         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40698 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40700         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40702         * sysdeps/unix/sysv/linux/kernel-features.h
40703         [__LINUX_KERNEL_VERSION >= 0x020621]
40704         (__ASSUME_PROC_PID_TASK_COMM): Define.
40706 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40708         [BZ #16398]
40709         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40710         conversion when destination buffer does not have enough space.
40711         * libio/tst-ftell-partial-wide.c: New test case.
40712         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40714         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40715         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40716         Leonard and Allan McRae.
40718 2014-02-04  David S. Miller  <davem@davemloft.net>
40720         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40721         32-bit.
40723 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40726         New file
40727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40728         New file
40729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40730         New file.
40731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40732         New file.
40733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40734         New file.
40735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40736         New file.
40737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40738         New file.
40739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40740         New file.
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40742         New file.
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40744         New file.
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40746         New file.
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40748         New file.
40749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40750         New file.
40752 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40754         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40755         * shlib-versions: Likewise.
40757 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40758             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40760         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40761         (abilist-pattern): New variable, set to %-le.abilist.
40763         * Makerules (abilist-pattern): New variable.
40764         (vpath): Use $(abilist-pattern) in place of %.abilist.
40765         (check-abi-% pattern rule): Likewise.
40766         (check-abi, update-abi): Likewise.
40768 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40772 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40774         * manual/startup.texi: Add next, previous, and top entries for
40775         the `Program Arguments' and `Environment Variables' nodes.
40777 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40779         * manual/macros.texi: Add comments before MTASC-safety macros.
40781         * manual/users.texi: Document MTASC-safety properties.
40783         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40784         (pthread_getspecific, pthread_setspecific): Format with
40785         @deftypefun, and add @safety note.
40786         * manual/signal.texi: Move comments that analyze the above
40787         functions to their home place.
40789 2014-02-03  Allan McRae  <allan@archlinux.org>
40791         * po/sl.po: Update Slovenian translation from translation project.
40793 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40795         * manual/time.texi (timegm): Add missing blank after @c.
40796         Reported by Joseph Myers <joseph@codesourcery.com>.
40798 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40800         * manual/check-safety.sh: New.
40801         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40803         * manual/terminal.texi: Document MTASC-safety properties.
40805         * manual/filesys.texi: Document MTASC-safety properties.
40807         * manual/errno.texi: Document MTASC-safety properties.
40809         * manual/intro.texi: Document safety identifiers and
40810         conditionals.
40812         * manual/string.texi (wcstok): Fix prototype.
40813         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40815         * manual/time.texi: Document MTASC-safety properties.
40817         * manual/string.texi: Document MTASC-safety properties.
40819         * manual/threads.texi: Document MTASC-safety properties.
40821         * manual/stdio.texi: Document MTASC-safety properties.
40823         * manual/syslog.texi: Document MTASC-safety properties.
40825         * manual/sysinfo.texi: Document MTASC-safety properties.
40827         * manual/startup.texi: Document MTASC-safety properties.
40829         * manual/socket.texi: Document MTASC-safety properties.
40831         * manual/signal.texi: Document MTASC-safety properties.
40833 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40835         * manual/setjmp.texi: Document MTASC-safety properties.
40837         * manual/search.texi: Document MTASC-safety properties.
40839         * manual/resource.texi: Document MTASC-safety properties.
40841         * manual/process.texi: Document MTASC-safety properties.
40843         * manual/platform.texi: Document MTASC-safety properties.
40845         * manual/pipe.texi: Document MTASC-safety properties.
40847         * manual/pattern.texi: Document MTASC-safety properties.
40849         * manual/message.texi: Document MTASC-safety properties.
40851         [BZ #12751]
40852         * manual/memory.texi: Document MTASC-safety properties.
40854         * manual/math.texi: Document MTASC-safety properties.
40856         * manual/locale.texi: Document MTASC-safety properties.
40858         * manual/llio.texi: Document MTASC-safety properties.
40860         * manual/libdl.texi: New.
40862         * manual/lang.texi: Document MTASC-safety properties.
40864         * manual/job.texi: Document MTASC-safety properties.
40866         * manual/getopt.texi: Document MTASC-safety properties.
40868         * manual/ctype.texi: Document MTASC-safety properties.
40870 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40872         [BZ #16046]
40873         * csu/libc-tls.c (static_map): Remove variable.
40874         (__libc_setup_tls): Use main executable's link map for TLS data.
40875         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40876         casing for LM_ID_BASE and GL(dl_nns).
40877         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40878         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40879         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40880         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40881         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40882         member.
40883         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40884         l_phnum members.
40886 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40888         * manual/debug.texi: Document MTASC-safety properties.
40890 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40892         [BZ #16510]
40893         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40894         of __x86_64__ when disabling x87 inline functions.
40896 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40898         * manual/charset.texi: Document MTASC-safety properties.
40900         * manual/crypt.texi: Document MTASC-safety properties.
40902         * manual/conf.texi: Document MTASC-safety properties.
40904         * manual/arith.texi: Document MTASC-safety properties.
40906         * manual/argp.texi: Document MTASC-safety properties.
40908         * manual/macros.texi: Introduce macros to document multi
40909         thread, asynchronous signal and asynchronous cancellation
40910         safety properties.
40911         * manual/intro.texi: Introduce the properties themselves.
40913 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40915         * sysdeps/sh/sh4/Makefile: New file.
40917 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40919         * math/gen-libm-test.pl ($srcdir): New variable.
40920         ($auto_input): Use it.
40922 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40924         [BZ #16506]
40925         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40926         access beyond array bounds when parsing netgroups file.
40928         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40929         the old buffer before realloc.
40931 2014-01-27  Allan McRae  <allan@archlinux.org>
40933         * po/fr.po: Update French translation from translation project.
40935 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40937         * sysdeps/sh/libm-test-ulps: Regenerate.
40939 2014-01-24  David S. Miller  <davem@davemloft.net>
40941         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40943 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40945         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40946         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40948 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40950         [BZ #16474]
40951         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40952         string pointers after reallocation.
40954 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40956         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40957         __SH4A__ instead of __SH_FPU_ANY__.
40959 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40961         * sysdeps/sh/fpu_control.h: New file.
40962         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40963         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40964         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40965         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40966         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40967         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40968         * sysdeps/sh/sys/ucontext.h: Remove.
40969         * sysdeps/sh/sys: Remove directory.
40971 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40973         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40974         s390/sys/ucontext.h.
40975         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40976         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40978 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40980         [BZ #15605]
40981         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40983 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40985         [BZ#16431]
40986         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40987         Adjust the vDSO correctly for internal calls.
40988         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40990 2014-01-20  Allan McRae  <allan@archlinux.org>
40992         * po/ca.po: Update Catalan translation from translation project.
40994 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40996         * sysdeps/s390/sotruss-lib.c: New file.
40998 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41000         [BZ#16430]
41001         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41002         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41003         local calls issues by not having a PLT stub required for IFUNC calls.
41004         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41006 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41008         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41009         * math/test-fpucw-static.c: Likewise.
41011 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41013         [BZ #16453]
41014         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41016 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41018         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41019         implementation for powerpc.
41021 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41023         [BZ #14782]
41024         * sysdeps/posix/system.c (__libc_system): Do not enable
41025         asynchronous cancellation.
41027 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41029         [BZ #16427]
41030         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41031         handling only for numbers special also in the IEEE case.
41033 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41035         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41037 2014-01-11  Allan McRae  <allan@archlinux.org>
41039         * po/bg.po: Update Bulgarian translation from translation project.
41041         * po/de.po: Update German translation from translation project.
41043 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41045         * sysdeps/generic/gcc-compat.h: New file.
41047 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41049         * benchtests/asin-inputs: Correct slow inputs.
41050         * benchtests/acos-inputs: Likewise.
41052 2014-01-10  Allan McRae  <allan@archlinux.org>
41054         * po:sv.po: Update Swedish translation from translation project.
41056         * po/vi.po: Update Vietnamese translation from translation project.
41058         * po/eo.po: Update Esperanto translation from translation project.
41060         * po/cs.po: Update Czech translation from translation project.
41062         * po/nl.po: Update Dutch translation from translation project.
41064         * po/pl.po: Update Polish translation from translation project.
41066         * po/ru.po: Update Russian translation from translation project.
41068         * po/uk.po: Update Ukrainian translation from translation project.
41070 2014-01-08  Brooks Moses  <bmoses@google.com>
41072         * elf/dl-load.c: Fix comment typo.
41074 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41076         * po/header.pot: Rename to...
41077         * po/pot.header: ... this.
41078         * po/Makefile: Use pot.header.
41080 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41081             Maxim Kuvyrkov  <maxim@kugelworks.com>
41083         [BZ #16394]
41084         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41085         SRC and DEST against LEN.
41087 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41089         [BZ #16414]
41090         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41091         implementation.
41092         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41094 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41098 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41100         [BZ #16408]
41101         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41102         for large positive arguments.
41104 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41106         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41108         * math/auto-libm-test-in: Mark various tests with
41109         xfail-rounding:ldbl-128ibm.
41110         * math/auto-libm-test-out: Regenerated.
41112         [BZ #16407]
41113         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41114         Increase overflow threshold.
41116 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41118         [BZ #14286]
41119         * stdio-common/vfprintf.c: Check for integer overflow.
41121 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41123         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41124         the first argument and return value of __tls_get_addr_internal.
41126 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41128         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41129         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41131 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41133         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41134         * sysdeps/s390/rtld-global-offsets.sym: New file.
41135         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41136         GLIBC_2.19 symbol.
41137         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41138         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41139         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41140         ... this.
41141         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41142         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41143         ... this.
41144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41145         Regenerate.
41146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41147         Regenerate.
41148         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41149         halfs of GPRs for high_gprs contexts.
41150         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41151         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41152         field.
41153         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41154         uc_flags field.
41155         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41156         64 bit versions:
41157         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41158         for high GPRs (uc_high_gprs) and for future extensions
41159         (__reserved).
41160         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41161         for future extensions (__reserved).
41162         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41163         64 bit versions:
41164         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41165         SC_HIGHGPRS offset definition.
41166         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41167         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41169         * Versions.def: Add GLIBC_2.19 for libpthread.
41170         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41171         siglongjmp for libpthread with GLIBC_2.19 symver.
41172         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41173         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41174         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41175         * sysdeps/s390/__longjmp.c: New file.
41176         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41177         * sysdeps/s390/longjmp.c: New file.
41178         * sysdeps/s390/setjmp.S: New file.
41179         * sysdeps/s390/sigjmp.S: New file.
41180         * sysdeps/s390/v1-longjmp.c: New file.
41181         * sysdeps/s390/v1-setjmp.h: New file.
41182         * sysdeps/s390/v1-sigjmp.c: New file.
41183         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41184         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41185         GLIBC_2.19 version.
41186         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41187         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41188         versioned symbols for ____longjmp_chk.
41189         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41190         Likewise.
41191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41192         Regenerate.
41193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41194         Regenerate.
41195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41196         Regenerate.
41197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41198         Regenerate.
41199         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41200         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41201         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41202         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41203         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41204         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41205         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41206         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41207         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41208         * sysdeps/s390/rtld-__longjmp.c: New file.
41209         * sysdeps/s390/rtld-setjmp.S: New file.
41211 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41213         [BZ #16400]
41214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41215         Return -__logl (x) for small positive arguments without evaluating
41216         a polynomial.
41218 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41220         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41221         Rename to ...
41222         (__ptrace_peeksiginfo_args): ... this.
41223         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41225         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41227 2014-01-06  Allan McRae  <allan@archlinux.org>
41229         * inet/netinet/in.h: Fix typo in comment.
41231 2014-01-05  Andreas Jaeger  <aj@suse.de>
41233         * sysdeps/i386/fpu/libm-test-ulps: Update.
41235 2014-01-05  Allan McRae  <allan@archlinux.org>
41237         * po/libc.pot: Regenerated.
41239         * malloc/memusagestat.c: Fix gettext call formatting.
41241 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41243         * nscd/nscd.c: Improve usage() output.
41245 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41247         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41248         * sysdeps/unix/sysv/linux/configure: Regenerated.
41249         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41250         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41252 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41254         [BZ #16390]
41255         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41256         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41258 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41260         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41261         extra tokens at end of #undef directive.
41262         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41263         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41264         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41266 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41268         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41270         * math/auto-libm-test-in: Mark various tests with
41271         xfail-rounding:ldbl-128ibm.
41272         * math/auto-libm-test-out: Regenerated.
41274 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41276         [BZ #16386]
41277         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41278         numbers with subnormal high part when calculating exponent.
41280         [BZ #16385]
41281         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41282         fabs.
41284         [BZ #16384]
41285         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41286         M_LN2l.
41287         (__ieee754_acoshl): Use __log1pl not __log1p.
41289 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41291         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41292         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41293         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41294         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41295         (reused_arena, arena_get2): Convert to GNU style.
41296         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41297         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41298         (memalign_check, __malloc_set_state): Likewise.
41299         * malloc/mallocbug.c (main): Likewise.
41300         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41301         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41302         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41303         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41304         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41305         (__posix_memalign, malloc_info): Likewise.
41306         * malloc/malloc.h: Likewise.
41307         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41308         (mallochook, memalignhook, reallochook, mabort): Likewise.
41309         * malloc/mcheck.h: Likewise.
41310         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41311         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41312         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41313         * malloc/morecore.c (__default_morecore): Likewise.
41314         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41315         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41316         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41317         (print_and_abort): Likewise.
41318         * malloc/obstack.h: Likewise.
41319         * malloc/set-freeres.c (__libc_freeres): Likewise.
41320         * malloc/tst-mallocstate.c (main): Likewise.
41321         * malloc/tst-mtrace.c (main): Likewise.
41322         * malloc/tst-realloc.c (do_test): Likewise.
41324 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41326         [BZ #16366]
41327         * nscd/netgroupcache.c (do_notfound): New function.
41328         (addgetnetgrentX): Use it.
41330         [BZ # 16365]
41331         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41332         NSS_STATUS_NOTFOUND.
41334 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41336         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41339 2014-01-01  Allan McRae  <allan@archlinux.org>
41341         * scripts/update-copyrights: Update configure input file suffix.
41343         * NEWS: Update copyright year.
41344         * catgets/gencat.c: Likewise.
41345         * csu/version.c: Likewise.
41346         * debug/catchsegv.sh: Likewise.
41347         * debug/pcprofiledump.c: Likewise.
41348         * debug/xtrace.sh: Likewise.
41349         * elf/ldconfig.c: Likewise.
41350         * elf/ldd.bash.in: Likewise.
41351         * elf/pldd.c: Likewise.
41352         * elf/sotruss.ksh: Likewise.
41353         * elf/sprof.c: Likewise.
41354         * iconv/iconv_prog.c: Likewise.
41355         * iconv/iconvconfig.c: Likewise.
41356         * locale/programs/locale.c: Likewise.
41357         * locale/programs/localedef.c: Likewise.
41358         * login/programs/pt_chown.c: Likewise.
41359         * malloc/memusage.sh: Likewise.
41360         * malloc/memusagestat.c: Likewise.
41361         * malloc/mtrace.pl: Likewise.
41362         * manual/libc.texinfo: Likewise.
41363         * nscd/nscd.c: Likewise.
41364         * nss/getent.c: Likewise.
41365         * nss/makedb.c: Likewise.
41366         * posix/getconf.c: Likewise.
41367         * scripts/test-installation.pl: Likewise.
41369         * All files with FSF copyright notices: Update copyright dates
41370         using scripts/update-copyrights.
41371         * intl/plural.c: Regenerated.
41372         * locale/programs/charmap-kw.h: Likewise.
41373         * locale/programs/locfile-kw.h: Likewise.
41375 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41377         * sysdeps/unix/sysv/linux/configure: Regenerated.
41378         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41379         the linux/fanotify.h header.
41380         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41381         HAVE_LINUX_FANOTIFY_H is defined.
41383 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41385         * benchtests/cos-inputs: New inputs.
41386         * benchtests/sin-inputs: Likewise.
41388         * benchtests/atan-inputs: New inputs. Fix name of multiple
41389         precision fallback inputs.
41391         * benchtests/atanh-inputs: New inputs.
41392         * benchtests/tanh-inputs: Likewise.
41394         * benchtests/acosh-inputs: New inputs.
41395         * benchtests/asinh-inputs: Likewise.
41397         * benchtests/cosh-inputs: New inputs.
41398         * benchtests/sinh-inputs: Likewise.
41400         * benchtests/acos-inputs: Add more inputs.
41401         * benchtests/asin-inputs: Likewise.
41403 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41405         [BZ #16375]
41406         * manual/arith.texi: Fix spelling.
41407         * manual/charset.texi: Likewise.
41408         * manual/errno.texi: Likewise.
41409         * manual/filesys.texi: Likewise.
41410         * manual/lang.texi: Likewise.
41411         * manual/llio.texi: Likewise.
41412         * manual/locale.texi: Likewise.
41413         * manual/message.texi: Likewise.
41414         * manual/resource.texi: Likewise.
41415         * manual/search.texi: Likewise.
41416         * manual/setjmp.texi: Likewise.
41417         * manual/stdio.texi: Likewise.
41418         * manual/string.texi: Likewise.
41419         * manual/sysinfo.texi: Likewise.
41420         * manual/time.texi: Likewise.
41422 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41424         * po/sl.po: New file.
41426 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41428         * .gitignore: Add core/.gdbinit/.gdb_history.
41430 2013-12-27  Allan McRae  <allan@archlinux.org>
41432         [BZ #16369]
41433         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41434         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41436 2013-12-24  Brooks Moses  <bmoses@google.com>
41438         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41439         all compilers that claim C++98 compliance, not just GCC.
41440         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41441         Likewise.
41443 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41445         * NEWS: Restore accidentally deleted bug-fix entries.
41447 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41448             Ondřej Bílka  <neleai@seznam.cz>
41450         [BZ #15073]
41451         * malloc/malloc.c (_int_free): Perform sanity check only if we
41452         have_lock.
41454 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41456         [BZ #12986]
41457         * manual/stdio.texi (String Input Conversions): Clarify that character
41458         classes are not supported.
41460 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41464 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41466         [BZ #16337]
41467         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41468         Calculate results for small negative arguments directly rather
41469         than using reflection formula with special underflow handling.
41471         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41472         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41473         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41474         (fchflags): Likewise.
41475         (revoke): Likewise.
41476         (setlogin): Likewise.
41477         (sigaltstack): Likewise.
41478         (wait4): Likewise.
41479         (sigblock): Remove.
41480         (sigsetmask): Likewise.
41481         (wait3): Likewise.
41482         (waitpid): Likewise.
41483         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41484         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41485         file.
41486         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41487         * sysdeps/unix/bsd/Makefile: ... here.
41488         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41489         * sysdeps/unix/bsd/Versions: ... here.
41490         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41491         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41492         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41493         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41494         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41495         * sysdeps/unix/bsd/sigblock.c: ... here.
41496         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41497         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41498         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41499         * sysdeps/unix/bsd/sigvec.c: ... here.
41500         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41501         * sysdeps/unix/bsd/tcdrain.c: ... here.
41502         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41503         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41504         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41505         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41506         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41507         * sysdeps/unix/bsd/wait.c: ... here.
41508         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41509         * sysdeps/unix/bsd/wait3.c: ... here.
41510         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41511         * sysdeps/unix/bsd/waitpid.c: ... here.
41513 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41515         [BZ #16356]
41516         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41517         round-to-nearest for [!USE_AS_EXPM1L].
41518         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41519         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41520         more tests of exp and exp10.  Expect some exp10 tests to miss
41521         exceptions or fail in directed rounding modes.
41522         * math/auto-libm-test-out: Regenerated.
41523         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41524         (exp10_test_tonearest): New function.
41525         (exp10_towardzero_test_data): New array.
41526         (exp10_test_towardzero): New function.
41527         (exp10_downward_test_data): New array.
41528         (exp10_test_downward): New function.
41529         (exp10_upward_test_data): New array.
41530         (exp10_test_upward): New function.
41531         (main): Call the new functions.
41532         * sysdeps/i386/fpu/libm-test-ulps: Update.
41533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41535 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41537         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41538         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41539         * math/auto-libm-test-out: Regenerated.
41540         * math/libm-test.inc (acosh_test_data): Add more tests.
41541         (atanh_test_data): Likewise.
41542         (ceil_test_data): Likewise.
41543         (copysign_test_data): Likewise.
41544         * sysdeps/i386/fpu/libm-test-ulps: Update.
41545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41547         * timezone/checktab.awk: Update from tzcode 2013i.
41548         * timezone/private.h: Likewise.
41549         * timezone/scheck.c: Likewise.
41550         * timezone/tzfile.h: Likewise.
41551         * timezone/tzselect.ksh: Likewise.
41552         * timezone/zdump.c: Likewise.
41553         * timezone/zic.c: Likewise.
41555         * math/auto-libm-test-in: Add tests of cpow.
41556         * math/auto-libm-test-out: Regenerated.
41557         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41559         mpc_cc_c.
41560         (func_calc_desc): Add mpc_cc_c union field.
41561         (test_functions): Add cpow.
41562         (special_fill_2pi): New function.
41563         (special_real_inputs): Add 2pi.
41564         (calc_generic_results): Handle mpc_cc_c.
41565         * sysdeps/i386/fpu/libm-test-ulps: Update.
41566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41568         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41569         csqrt, ctan and ctanh.
41570         * math/auto-libm-test-out: Regenerated.
41571         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41572         (TEST_COND_x86): Likewise.
41573         (ccos_test_data): Use AUTO_TESTS_c_c.
41574         (ccosh_test_data): Likewise.
41575         (cexp_test_data): Likewise.
41576         (clog_test_data): Likewise.
41577         (csqrt_test_data): Likewise.
41578         (ctan_test_data): Likewise.
41579         (ctan_tonearest_test_data): Likewise.
41580         (ctan_towardzero_test_data): Likewise.
41581         (ctan_downward_test_data): Likewise.
41582         (ctan_upward_test_data): Likewise.
41583         (ctanh_test_data): Likewise.
41584         (ctanh_tonearest_test_data): Likewise.
41585         (ctanh_towardzero_test_data): Likewise.
41586         (ctanh_downward_test_data): Likewise.
41587         (ctanh_upward_test_data): Likewise.
41588         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41589         mpc_c_c.
41590         (func_calc_desc): Add mpc_c_c union field.
41591         (FUNC_mpc_c_c): New macro.
41592         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41593         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41594         ctanh.
41595         (special_fill_min_subnorm_p120): New function.
41596         (special_real_inputs): Add min_subnorm_p120.
41597         (calc_generic_results): Handle mpc_c_c.
41598         * sysdeps/i386/fpu/libm-test-ulps: Update.
41599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41601 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41603         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41604         (do_sin_slow): New functions.
41605         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41606         (cslow2, csloww1, csloww2): Use the new functions.
41608         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41609         Use M to change sign of result instead of X.  Assume X is
41610         positive.
41611         (csloww1): Likewise.
41612         (__sin): Adjust.
41613         (__cos): Adjust.
41615         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41616         arguments A and DA.
41617         (__sin): Adjust.
41618         (__cos): Likewise.
41620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41621         (__cos): Likewise.
41622         (sloww1): Don't adjust sign of DX.
41623         (csloww1): Likewise.
41624         (sloww2): Use X directly and don't adjust sign of DX.
41625         (csloww2): Likewise.
41627 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41629         * math/auto-libm-test-in: Add tests of cabs and carg.
41630         * math/auto-libm-test-out: Regenerated.
41631         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41632         (carg_test_data): Likewise.
41633         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41634         mpc_c_f.
41635         (func_calc_desc): Add mpc_c_f union field.
41636         (test_functions): Add cabs and carg.
41637         (calc_generic_results): Handle mpc_c_f.
41639         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41640         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41641         as a macro and a compat symbol.
41642         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41643         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41644         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41645         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41646         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41647         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41648         not use .hidden.
41649         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41650         Likewise.
41651         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41652         Likewise.
41653         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41654         Likewise.
41655         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41656         Likewise.
41657         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41658         Likewise.
41659         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41660         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41661         from GLIBC_2.3.2.
41663 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41667 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41669         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41670         trailing whitespace removed.
41671         * scripts/config.guess: Update to version 2013-11-29.
41672         * scripts/config.sub: Update to version 2013-10-01.
41674         * math/auto-libm-test-in: Add tests of sincos.
41675         * math/auto-libm-test-out: Regenerated.
41676         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41677         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41678         mpfr_f_11.
41679         (func_calc_desc): Add mpfr_f_11 union field.
41680         (test_functions): Add sincos.
41681         (calc_generic_results): Handle mpfr_f_11.
41682         * sysdeps/i386/fpu/libm-test-ulps: Update.
41683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41685 2013-12-19  Andreas Schwab  <schwab@suse.de>
41687         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41688         CALL_MCOUNT.
41689         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41690         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41691         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41693 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41695         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41696         * sysdeps/i386/fpu/libm-test-ulps: Update.
41697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41699         [BZ #16293]
41700         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41701         round-to-nearest mode when using frndint.
41702         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41703         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41704         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41705         Likewise.
41706         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41707         sinh test to fail.
41708         * math/auto-libm-test-out: Regenerated.
41709         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41710         (TEST_COND_x86): Likewise.
41711         (expm1_tonearest_test_data): New array.
41712         (expm1_test_tonearest): New function.
41713         (expm1_towardzero_test_data): New array.
41714         (expm1_test_towardzero): New function.
41715         (expm1_downward_test_data): New array.
41716         (expm1_test_downward): New function.
41717         (expm1_upward_test_data): New array.
41718         (expm1_test_upward): New function.
41719         (main): Run the new test functions.
41720         * sysdeps/i386/fpu/libm-test-ulps: Update.
41721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41723         * include/features.h: Update comment documenting feature test
41724         macros.  Mention _DEFAULT_SOURCE in comment.
41725         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41726         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41727         _BSD_SOURCE and _SVID_SOURCE.
41728         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41729         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41730         !_SVID_SOURCE]: Likewise.
41731         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41732         (__USE_POSIX_IMPLICITLY): Define.
41733         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41734         (_POSIX_SOURCE): Undefine and redefine.
41735         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41736         (_POSIX_C_SOURCE): Likewise.
41737         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41738         (Feature Test Macros): Update documentation of default features.
41740 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41742         * benchtests/Makefile: Add bench-strtok.
41743         * benchtests/bench-strtok.c: New file: strtok benchtest.
41745 2013-12-19  Allan McRae  <allan@archlinux.org>
41747         * manual/install.texi: Suppress menu for plain text output.
41748         * INSTALL: Regenerated.
41750 2013-12-18  Brooks Moses  <bmoses@google.com>
41752         [BZ #15846]
41753         * misc/getauxval.c: Include errno.h.
41754         (__getauxval): Set errno to ENOENT if the requested type is not
41755         found.
41756         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41757         don't declare with __attribute_const__.
41758         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41759         * manual/startup.texi: Document that getauxval sets errno.
41761 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41763         * math/auto-libm-test-in: Add tests of jn and yn.
41764         * math/auto-libm-test-out: Regenerated.
41765         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41766         (yn_test_data): Likewise.
41767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41768         mpfr_if_f.
41769         (func_calc_desc): Add mpfr_if_f union field.
41770         (FUNC_mpfr_if_f): New macro.
41771         (test_functions): Add jn and yn.
41772         (calc_generic_results): Assert type of second input for
41773         mpfr_ff_f.  Handle mpfr_if_f.
41774         (output_for_one_input_case): Disable all checking for arguments
41775         fitting floating-point types in case of an integer argument.
41776         * sysdeps/i386/fpu/libm-test-ulps: Update.
41777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41780         Don't expect fegetround reference in libm.so.
41782 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41784         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41785         $(config-cflags-nofma).
41787 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41789         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41790         * math/auto-libm-test-out: Regenerated.
41792         [BZ #16338]
41793         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41794         to determine exponent and adjust argument to have exponent of -1.
41795         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41796         log2.
41797         * math/auto-libm-test-out: Regenerated.
41798         * sysdeps/i386/fpu/libm-test-ulps: Update.
41799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41801 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41803         * manual/probes.texi: Remove cases when per-thread arenas are
41804         disabled.
41806 2013-12-18  Andreas Schwab  <schwab@suse.de>
41808         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41809         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41810         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41811         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41812         * sysdeps/i386/i686/multiarch/Makefile: Update.
41813         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41815 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41817         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41818         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41820 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41822         [BZ #15968]
41823         Support TZ transition times < 00:00:00.
41824         This is needed for version-3 tz-format files; it supports time
41825         stamps past 2037 for America/Godthab (the only entry in the tz
41826         database for which this change is relevant).
41827         * manual/time.texi (TZ Variable): Document transition times
41828         from -167:59:59 through -00:00:01.
41829         * time/tzset.c (tz_rule): Time of day is now signed.
41830         (__tzset_parse_tz): Parse negative time of day.
41832         Document TZ transition times >= 25:00:00.
41833         * manual/time.texi (TZ Variable): Document transition times from
41834         25:00:00 through 167:59:59.  These are already supported, and this
41835         support will help with version-3 tz-format files.
41837         * manual/time.texi (TZ Variable): Modernize North America example
41838         to reflect current (i.e., 2007-and-later) daylight saving rules.
41840         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41842 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41844         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41845         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41848         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41849         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41850         * sysdeps/unix/bsd/clock.c: Likewise.
41851         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41852         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41853         * sysdeps/unix/bsd/init-posix.c: Likewise.
41854         * sysdeps/unix/bsd/poll.c: Likewise.
41855         * sysdeps/unix/bsd/ptsname.c: Likewise.
41856         * sysdeps/unix/bsd/seekdir.c: Likewise.
41857         * sysdeps/unix/bsd/setegid.c: Likewise.
41858         * sysdeps/unix/bsd/seteuid.c: Likewise.
41859         * sysdeps/unix/bsd/setgid.c: Likewise.
41860         * sysdeps/unix/bsd/setrgid.c: Likewise.
41861         * sysdeps/unix/bsd/setruid.c: Likewise.
41862         * sysdeps/unix/bsd/setsid.c: Likewise.
41863         * sysdeps/unix/bsd/setuid.c: Likewise.
41864         * sysdeps/unix/bsd/sigaction.c: Likewise.
41865         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41866         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41867         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41868         * sysdeps/unix/bsd/telldir.c: Likewise.
41869         * sysdeps/unix/bsd/times.c: Likewise.
41870         * sysdeps/unix/bsd/usleep.c: Likewise.
41872         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41873         ($(objpfx)libbsd-compat.a): Remove rule.
41875         * include/features.h (__FAVOR_BSD): Do not define.
41876         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41877         features conflicting with POSIX.
41878         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41879         (_BSD_SOURCE): Remove description of not being a subset of other
41880         feature test macros.
41881         * manual/job.texi (getpgrp): Do not document BSD version.
41882         (getpgid): Do not document by reference to BSD getpgrp.
41883         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41884         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41885         * signal/signal.h [__FAVOR_BSD]: Likewise.
41886         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41887         instead of making contents conditional on [__FAVOR_BSD].
41888         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41890 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41894 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41896         [BZ #16314]
41897         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41898         values below 2**-450, not 2**-500.
41899         * math/auto-libm-test-in: Don't allow spurious underflow from
41900         hypot.
41901         * math/auto-libm-test-out: Regenerated.
41903         [BZ #16316]
41904         [BZ #16330]
41905         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41906         values of ha and hb and sort them after adjusting subnormal
41907         arguments.
41908         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41909         Likewise.
41910         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41911         values of ea and eb and sort them after adjusting subnormal
41912         arguments.
41913         * math/auto-libm-test-in: Do not expect some hypot tests of
41914         subnormals to fail.  Add more hypot tests.
41915         * math/auto-libm-test-out: Regenerated.
41917 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41919         [BZ #13304]
41920         * sysdeps/sh/s_fma.c: New file.
41921         * sysdeps/sh/s_fmaf.c: New file.
41922         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41923         version.
41924         * sysdeps/sh/Implies: Add sh/soft-fp.
41926 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41928         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41929         level of indirection to members `objname', `errstring', `malloced'.
41930         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41931         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41932         it as the __longjmp argument (just pass 1 instead).
41933         (_dl_catch_error): Initialize C with argument pointers and address of
41934         volatile local ERRCODE rather than copying values out of C at return.
41936 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41938         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41939         * math/auto-libm-test-out: Regenerated.
41940         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41941         (hypot_test_data): Likewise.
41942         (pow_test_data): Likewise.
41943         (pow_tonearest_test_data): Likewise.
41944         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41945         mpfr_ff_f.
41946         (func_calc_desc): Add mpfr_ff_f union field.
41947         (FUNC_mpfr_ff_f): New macro.
41948         (test_functions): Add atan2, hypot and pow.
41949         (special_fill_min): New function.
41950         (special_fill_minus_min): Likewise.
41951         (special_fill_min_subnorm): Likewise.
41952         (special_fill_minus_min_subnorm): Likewise.
41953         (special_real_inputs): Add min, -min, min_subnorm and
41954         -min_subnorm.
41955         (calc_generic_results): Handle mpfr_ff_f.
41956         * sysdeps/i386/fpu/libm-test-ulps: Update.
41957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41959 2013-12-16  Will Newton  <will.newton@linaro.org>
41961         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41962         (Aligned Memory Blocks): Add documentation for aligned_alloc
41963         and suggest it as an alternative to posix_memalign.
41964         (Hooks for Malloc): Document __memalign_hook is also called
41965         for aligned_alloc.  (Summary of Malloc): Add summary for
41966         aligned alloc.  Document __memalign_hook is also called
41967         for aligned_alloc.
41969 2013-12-16  Will Newton  <will.newton@linaro.org>
41971         * manual/memory.texi (Malloc Examples): Clarify default
41972         alignment documentation.  Suggest posix_memalign rather
41973         than memalign or valloc.
41974         (Aligned Memory Blocks): Remove suggestion to use memalign
41975         or valloc.  Remove obsolete comment about BSD.
41976         Document memalign errno values and mark the function obsolete.
41977         Document posix_memalign returned error codes.  Mark valloc
41978         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41979         called for posix_memalign and valloc.
41980         (Summary of Malloc): Add posix_memalign to function summary.
41981         __memalign_hook is also called for posix_memalign and valloc.
41983 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41985         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41986         TAYLOR_SIN.
41987         (__sin): Adjust.
41988         (__cos): Likewise.
41989         (sloww): Use mynumber union.  Expand ternary operator into
41990         if-else statements.
41991         (cslow): use mynumber union.
41993 2013-12-16  Allan McRae  <allan@archlinux.org>
41995         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41996         * configure: Regenerated.
41998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42000         [BZ #14120]
42001         * configure.ac: Added --enable-maintainer-mode. Check for
42002         autoconf when enabled.
42003         * configure: Regenerated.
42005         * nscd/nscd.service: New file.
42006         * nscd/nscd.tmpfiles: New file.
42008 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42010         [BZ #12100]
42011         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42012         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42013         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42014         (strstr): Add __strstr_sse2_unaligned ifunc.
42015         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42016         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42017         (strcasestr): Remove __strcasestr_sse42 ifunc.
42018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42022 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42024         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42025         * sysdeps/sh/bits/fenv.h: ... here.
42026         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42028 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42030         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42033         hypotf multiarch implementations.
42034         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42035         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42036         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42037         multiarch hypot for PPC64.
42038         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42039         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42040         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42041         multiarch hypotf for PPC64.
42043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42044         modff multiarch implementations.
42045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42048         multiarch modf for PPC64.
42049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42052         multiarch modff for PPC64.
42054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42055         and logl multiarch implementations.
42056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42059         multiarch logb for PPC64.
42060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42063         multiarch logb for PPC64.
42064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42067         multiarch logb for PPC64.
42069         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42070         isinff multiarch implementation.
42071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42072         file.
42073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42075         multiarch isinf for PPC64.
42076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42077         file.
42078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42079         multiarch isinff for PPC64.
42081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42082         finitef multiarch implementation.
42083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42084         file.
42085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42087         multiarch finite for PPC64.
42088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42089         file.
42090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42091         multiarch finitef for PPC64.
42093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42094         lrint multiarch implementation.
42095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42096         file.
42097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42099         multiarch llrint for PPC64.
42100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42101         multiarch lrint for PPC64.
42103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42104         copysignf multiarch implementation.
42105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42106         file.
42107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42108         file.
42109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42110         multiarch copysign for PPC64.
42111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42112         multiarch copysignf for PPC64.
42114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42115         multiarch implementation.
42116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42117         file.
42118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42119         file.
42120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42121         file.
42122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42123         file.
42124         multiarch llround for PPC64.
42125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42126         multiarch trunc for PPC64.
42127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42128         multiarch truncf for PPC64.
42130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42131         multiarch implementation.
42132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42133         file.
42134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42135         file.
42136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42137         file.
42138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42139         file.
42140         multiarch llround for PPC64.
42141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42142         multiarch round for PPC64.
42143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42144         multiarch roundf for PPC64.
42146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42147         multiarch implementation.
42148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42149         file.
42150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42151         file.
42152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42153         file.
42154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42155         file.
42156         multiarch llround for PPC64.
42157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42158         multiarch floor for PPC64.
42159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42160         multiarch floorf for PPC64.
42162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42163         multiarch implementation.
42164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42165         file.
42166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42167         file.
42168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42169         file.
42170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42171         file.
42172         multiarch llround for PPC64.
42173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42174         multiarch ceil for PPC64.
42175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42176         multiarch ceilf for PPC64.
42178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42179         multiarch implementation.
42180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42181         file.
42182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42183         file.
42184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42185         file.
42186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42187         multiarch llround for PPC64.
42188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42189         multiarch lround for PPC64.
42191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42192         multiarch implementation.
42193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42196         file.
42197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42200         multiarch isnan for PPC64.
42201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42202         multiarch isnanf for PPC64.
42204         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42205         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42206         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42207         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42208         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42211         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42212         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42213         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42214         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42217         multiarch implementations.
42218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42219         (__libc_ifunc_impl_list): Likewise.
42220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42222         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42223         multiarch stpcpy for PPC64.
42225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42226         multiarch implementations.
42227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42228         (__libc_ifunc_impl_list): Likewise.
42229         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42230         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42231         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42232         multiarch strcpy for PPC64.
42234         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42235         redefine function name.
42236         (_wordcopy_fwd_dest_aligned): Likewise.
42237         (_wordcopy_bwd_aligned): Likewise.
42238         (_wordcopy_bwd_dest_aligned): Likewise.
42239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42240         multiarch implementations.
42241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42242         (__libc_ifunc_impl_list): Likewise.
42243         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42244         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42245         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42246         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42247         multiarch wcscpy for PPC64.
42249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42250         multiarch implementations.
42251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42252         (__libc_ifunc_impl_list): Likewise.
42253         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42254         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42255         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42256         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42257         multiarch wcscpy for PPC64.
42259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42260         multiarch implementations.
42261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42262         (__libc_ifunc_impl_list): Likewise.
42263         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42264         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42265         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42266         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42267         multiarch wcsrchr for PPC64.
42269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42270         multiarch implementations.
42271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42272         (__libc_ifunc_impl_list): Likewise.
42273         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42274         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42275         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42276         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42277         multiarch wcschr for PPC64.
42279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42280         multiarch implementations.
42281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42282         (__libc_ifunc_impl_list): Likewise.
42283         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42284         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42285         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42286         multiarch strchrnul for PPC64.
42288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42289         implementations.
42290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42291         (__libc_ifunc_impl_list): Likewise.
42292         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42293         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42294         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42295         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42296         strchr for PPC64.
42298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42299         implementations.
42300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42301         (__libc_ifunc_impl_list): Likewise.
42302         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42303         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42304         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42305         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42306         strncmp for PPC64.
42308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42309         multiarch implementations.
42310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42311         (__libc_ifunc_impl_list): Likewise.
42312         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42313         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42314         strncasecmp for PPC64.
42315         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42316         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42317         multiarch strncasecmp_l for PPC64.
42319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42320         multiarch implementations.
42321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42322         (__libc_ifunc_impl_list): Likewise.
42323         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42325         multiarch strcasecmp for PPC64.
42326         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42327         file.
42328         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42329         multiarch strcasecmp_l for PPC64.
42331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42332         implementations.
42333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42334         (__libc_ifunc_impl_list): Likewise.
42335         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42336         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42337         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42338         strnlen for PPC64.
42340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42341         implementations.
42342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42343         (__libc_ifunc_impl_list): Likewise.
42344         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42345         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42346         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42347         strlen for PPC64.
42349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42350         implementations.
42351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42352         (__libc_ifunc_impl_list): Likewise.
42353         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42354         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42355         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42356         rawmemrchr for PPC64.
42358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42359         implementation.
42360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42361         (__libc_ifunc_impl_list): Likewise.
42362         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42363         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42364         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42365         memrchr for PPC64.
42367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42368         implementation.
42369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42370         (__libc_ifunc_impl_list): Likewise.
42371         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42372         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42373         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42374         memchr for PPC64.
42376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42377         implementation.
42378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42379         (__libc_ifunc_impl_list): Likewise.
42380         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42381         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42382         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42383         mempcpy for PPC64.
42385         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42386         avoid cretion of __bzero symbol.
42387         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42388         Likewise.
42389         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42390         Likewise.
42391         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42392         Likewise.
42393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42394         multiarch implementations.
42395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42396         (__libc_ifunc_impl_list): Likewise.
42397         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42398         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42399         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42400         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42401         bzero for PPC32.
42402         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42403         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42404         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42405         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42406         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42407         memset for PPC64.
42408         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42410         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42412         implementations.
42413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42414         (__libc_ifunc_impl_list): Likewise.
42415         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42416         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42417         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42418         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42419         memcmp for PPC64.
42421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42422         multiarch for POWER/PPC64.
42423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42424         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42425         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42426         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42427         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42428         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42429         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42430         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42431         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42432         memcpy for PPC64.
42434         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42435         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42436         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42437         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42438         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42439         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42440         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42441         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42442         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42443         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42444         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42445         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42446         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42447         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42448         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42457 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42459         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42461 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42463         * benchtests/Makefile (bench): Add exp2 and log2.
42464         (LDLIBS-bench-exp2): Add -lm.
42465         (LDLIBS-bench-log2): Likewise.
42466         * benchtests/exp2-inputs: New inputs file.
42467         * benchtests/log2-inputs: New inputs file.
42468         * benchtests/log-inputs: Add new inputs.
42469         * benchtests/tan-inputs: Likewise.
42471 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42473         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42474         definition...
42475         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42476         (csloww2): ... from here.
42478         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42479         instead of structures.
42480         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42481         (POLYNOMIAL): Likewise.
42482         (TAYLOR_SLOW): Likewise.
42483         (__sin): Likewise.
42484         (__cos): Likewise.
42485         (slow1): Likewise.
42486         (slow2): Likewise.
42487         (sloww): Likewise.
42488         (sloww1); Likewise.
42489         (sloww2): Likewise.
42490         (bsloww1): Likewise.
42491         (bsloww2): Likewise.
42492         (cslow2): Likewise.
42493         (csloww): Likewise.
42494         (csloww1): Likewise.
42495         (csloww2): Likewise.
42497 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42499         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42500         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42501         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42502         * malloc/hooks.c (realloc_check): Likewise.
42504         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42505         * malloc/arena.c: Remove PER_THREAD conditional.
42506         [!PER_THREAD]: Remove code.
42507         (ptmalloc_unlock_all2): Likewise.
42508         (ptmalloc_init): Likewise.
42509         (_int_new_arena): Likewise.
42510         (arena_get2): Likewise.
42511         * malloc/hooks.c (__malloc_get_state): Likewise.
42512         (__malloc_set_state): Likewise.
42513         * malloc/malloc.c: Likewise.
42514         (struct malloc_state): Likewise.
42515         (struct malloc_par): Likewise.
42516         (__libc_realloc): Likewise.
42517         (__libc_mallopt): Likewise.
42519 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42521         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42523 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42525         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42526         macro to a function.  Check for zero perturb_byte.
42527         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42529         * malloc/malloc.c: (force_reg): Remove.
42530         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42531         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42532         force_reg by atomic_forced_read.
42533         * malloc/arena.c (ptmalloc_init): Likewise.
42534         * malloc/hooks.c (top_check): Likewise.
42536 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42540 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42544 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42546         * math/auto-libm-test-in: Add tests of lgamma.
42547         * math/auto-libm-test-out: Regenerated.
42548         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42549         (M_LOG_2_SQRT_PIl): Likewise.
42550         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42551         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42552         mpfr_f_f1.
42553         (func_calc_desc): Add mpfr_f_f1 union field.
42554         (ARGS1): New macro.
42555         (ARGS2): Likewise.
42556         (ARGS3): Likewise.
42557         (ARGS4): Likewise.
42558         (RET1): Likewise.
42559         (RET2): Likewise.
42560         (CALC): Likewise.
42561         (FUNC): Likewise.
42562         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42563         (test_functions): Add lgamma.
42564         (calc_generic_results): Handle mpfr_f_f1.
42565         * sysdeps/i386/fpu/libm-test-ulps: Update.
42566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42568 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42570         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42571         __mpn_add_n for PowerPC64/POWER7.
42572         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42573         __mpn_sub_n for PowerPC64/POWER7.
42575         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42576         __mpn_addmul_1 for PowerPC64.
42577         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42578         __mpn_submul_1 for PowerPC64.
42579         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42580         for PowerPC64.
42581         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42582         for PowerPC64.
42584 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42586         [BZ #15089]
42587         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42589 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42591         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42593         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42594         add multiarch folders.
42595         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42596         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42597         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42598         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42599         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42600         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42601         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42602         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42603         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42604         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42605         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42614         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42616         New file.
42617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42618         New file.
42619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42620         multiarch __ieee754_hypot for PowerPC32.
42621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42622         New file.
42623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42624         New file.
42625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42626         multiarch __ieee754_hypotf for PowerPC32.
42628         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42629         long_double_symbol only if __logbl is defined.
42630         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42631         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42633         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42634         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42635         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42636         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42637         path for implementation.
42638         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42639         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42641         logb, and logbl multiarch implementations for PowerPC32.
42642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42643         file.
42644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42645         file.
42646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42647         multiarch logb for PowerPC32.
42648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42649         file.
42650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42651         file.
42652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42653         multiarch logbf for PowerPC32.
42654         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42656         file.
42657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42658         multiarch logbl implementation for PowerPC32.
42660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42661         and modff multiarch implementations.
42662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42663         New file.
42664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42665         New file.
42666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42667         multiarch modf for PowerPC32.
42668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42669         New file.
42670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42671         New file.
42672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42673         multiarch modff for PowerPC32.
42675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42676         and lrintf multiarch implementations.
42677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42678         New file.
42679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42680         New file.
42681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42682         multiarch lrint for PowerPC32.
42683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42684         file: multiarch lrintf for PowerPC32.
42686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42687         and lroundf multiarch implementations.
42688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42689         New file.
42690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42691         New file.
42692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42693         New file.
42694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42695         multiarch lround for PowerPC32.
42696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42697         file: multiarch lroundf for PowerPC32.
42699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42700         copysign and copysignf multiarch implementations.
42701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42702         New file.
42703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42704         New file.
42705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42706         file: multiarch copysign for PowerPC32.
42707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42708         file: multiarch copysignf for PowerPC32.
42710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42711         and truncf multiarch implementations.
42712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42713         New file.
42714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42715         file.
42716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42717         multiarch trunc for PowerPC32.
42718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42719         New file.
42720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42721         New file.
42722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42723         multiarch truncf for PowerPC32.
42725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42726         and roundf multiarch implementations.
42727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42728         New file.
42729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42730         file.
42731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42732         multiarch round for PowerPC32.
42733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42734         New file.
42735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42736         New file.
42737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42738         multiarch roundf for PowerPC32.
42740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42741         and floorf multiarch implementations.
42742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42743         New file.
42744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42745         file.
42746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42747         multiarch floor for PowerPC32.
42748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42749         New file.
42750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42751         New file.
42752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42753         multiarch floorf for PowerPC32.
42755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42756         and ceilf multiarch implementations.
42757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42758         New file.
42759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42760         file.
42761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42762         multiarch ceil for PowerPC32.
42763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42764         New file.
42765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42766         file.
42767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42768         multiarch ceilf for PowerPC32.
42770         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42771         is defined.
42772         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42773         FINITEF is defined.
42774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42775         and finitef multiarch implementations.
42776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42777         New file.
42778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42779         file.
42780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42781         multiarch finite for PowerPC32.
42782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42783         New file.
42784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42785         file: multiarch finitef for PowerPC32.
42787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42788         and isinff multiarch implementations.
42789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42790         file.
42791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42792         file.
42793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42794         multiarch isinf for PowerPC32.
42795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42796         New file.
42797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42798         multiarch isinff for PowerPC32.
42800         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42801         alias when __isnan is defined.
42802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42803         and isnanf multiarch implementations.
42804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42805         file.
42806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42807         file.
42808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42809         file.
42810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42811         file.
42812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42813         multiarch isnan for PowerPC32.
42814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42815         New file.
42816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42817         New file.
42818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42819         multiarch isnanf for PowerPC32.
42821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42822         and sqrtf multiarch implementations.
42823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42824         file.
42825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42826         file.
42827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42828         multiarch sqrt for PowerPC32.
42829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42830         file.
42831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42832         file.
42833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42834         multiarch sqrtf for PowerPC32.
42836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42837         and llroundf multiarch implementations.
42838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42839         New file.
42840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42841         New file.
42842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42843         New file.
42844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42845         file: multiarch llround for PowerPC32.
42846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42847         file: multiarch llroundf for PowerPC32.
42849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42850         multiarch PowerPC32 fpu implementations.
42851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42852         New file.
42853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42854         New file.
42855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42856         multiarch llrint for PowerPC32.
42857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42858         New file.
42859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42860         New file.
42861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42862         file.
42864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42866         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42867         file.
42868         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42869         file.
42870         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42871         file.
42872         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42873         multiarch wordcopy for PPC32.
42874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42875         wordcopy objects.
42876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42877         (__libc_ifunc_impl_list): Likewise.
42878         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42879         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42881         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42882         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42883         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42885         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42887         file.
42888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42889         file.
42890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42891         file.
42892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42893         multiarch wcscpy for PPC32.
42894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42895         multiarch objects.
42896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42897         (__libc_ifunc_impl_list): Likewise.
42898         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42899         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42900         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42901         sysdeps/powerpc/power6/wcscpy.c.
42903         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42905         file.
42906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42907         file.
42908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42909         file.
42910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42911         multiarch wcsrchr for PPC32.
42912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42913         multiarch objects.
42914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42915         (__libc_ifunc_impl_list): Likewise.
42916         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42917         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42918         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42919         sysdeps/powerpc/power6/wcsrchr.c.
42921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42922         file.
42923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42924         file.
42925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42927         multiarch wcschr for PPc32.
42928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42929         multiarch objects.
42930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42931         (__libc_ifunc_impl_list): Likewise.
42932         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42933         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42934         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42935         sysdeps/powerpc/power6/wcschr.c.
42937         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42938         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42939         file.
42940         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42941         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42942         file: multiarch strchr for PPC32.
42943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42944         multiarch objects.
42945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42946         (__libc_ifunc_impl_list): Likewise.
42948         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42949         name.
42950         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42951         file.
42952         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42953         file.
42954         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42955         multiarch strchrnul for PPC32.
42956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42957         multiarch objects.
42958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42959         (__libc_ifunc_impl_list): Likewise.
42961         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42962         file.
42963         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42964         multiarch strncasecmp for PPC32.
42965         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42966         file.
42967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42968         multiarch strncasecmp_l for PPC32.
42969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42970         strncasecmp multiarch objects.
42971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42972         (__libc_ifunc_impl_list): Likewise.
42974         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42975         file.
42976         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42977         multiarch strncasecmp for PPC32.
42978         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42979         New file.
42980         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42981         multiarch strcasecmp_l for PPC32.
42982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42983         multiarch objects.
42984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42985         (__libc_ifunc_impl_list): Likewise.
42987         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42988         file.
42989         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42990         file.
42991         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42992         multiarch strncmp for PPC32.
42993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42994         multiarch objects.
42995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42996         (__libc_ifunc_impl_list): Likewise.
42998         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42999         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43000         file.
43001         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43002         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43004         multiarch objects.
43005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43006         (__libc_ifunc_impl_list): Likewise.
43008         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43009         file.
43010         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43011         file.
43012         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43014         multiarch objects.
43015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43016         (__libc_ifunc_impl_list): Likewise.
43018         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43019         file.
43020         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43021         file.
43022         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43023         multiarch rawmemchr for PPC32.
43024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43025         multiarch objects.
43026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43027         (__libc_ifunc_impl_list): Likewise.
43029         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43030         file.
43031         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43032         file.
43033         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43034         file: memrchr multiarch for PPC32.
43035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43036         multiarch objects.
43037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43038         (__libc_ifunc_impl_list): Likewise.
43040         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43041         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43042         file.
43043         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43044         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43045         multiarch memchr for PPC32.
43046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43047         multiarch objects.
43048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43049         (__libc_ifunc_impl_list): Likewise.
43051         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43052         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43053         file.
43054         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43055         file.
43056         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43057         file: multiarch mempcpy for PPC32.
43058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43059         multiarch objects.
43060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43061         (__libc_ifunc_impl_list): Likewise.
43063         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43064         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43065         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43066         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43067         multiarch bzero for PPC32.
43068         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43069         file.
43070         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43071         file.
43072         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43073         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43074         file: multiarch memset for PPC32.
43075         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43077         memset multiarch objects.
43078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43079         (__libc_ifunc_impl_list): Likewise.
43081         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43082         file.
43083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43084         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43085         memcmp for PPC32.
43086         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43088         multiarch objects.
43089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43090         (__libc_ifunc_impl_list): Likewise.
43092         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43094         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43095         file.
43096         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43097         file.
43098         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43099         file.
43100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43101         multiarch memcpy for PPC32.
43102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43103         multiarch objects.
43104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43105         (__libc_ifunc_impl_list): Likewise.
43107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43108         support multiarch for POWER/PPC32.
43109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43110         Likewise.
43111         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43113         Implies file to make multiarch folder appers before the fpu and
43114         default folder for power4 configuration.
43116 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43118         * scripts/bench.pl: Append volatile keyword to type.
43120 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43122         * sysdeps/sh/sotruss-lib.c: New file.
43123         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43125 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43129 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43131         [BZ #6810]
43132         * math/w_tgamma.c: Include <errno.h>.
43133         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43134         * math/w_tgammaf.c: Include <errno.h>.
43135         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43136         * math/w_tgammal.c: Include <errno.h>.
43137         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43138         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43139         underflow.  Add more tgamma tests.
43140         * math/auto-libm-test-out: Regenerated.
43141         * sysdeps/i386/fpu/libm-test-ulps: Update.
43142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43144         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43145         sin, sinh, tan, tanh, tgamma, y0 and y1.
43146         * math/auto-libm-test-out: Regenerated.
43147         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43148         (TEST_COND_x86): Likewise.
43149         (M_E2l): Remove macro.
43150         (M_E3l): Likewise.
43151         (M_2_SQRT_PIl): Likewise.
43152         (M_SQRT_PIl): Likewise.
43153         (M_1_DIV_El): Likewise.
43154         (log_test_data): Use AUTO_TESTS_f_f.
43155         (log10_test_data): Likewise.
43156         (log1p_test_data): Likewise.
43157         (log2_test_data): Likewise.
43158         (sin_test_data): Likewise.
43159         (sin_tonearest_test_data): Likewise.
43160         (sin_towardzero_test_data): Likewise.
43161         (sin_downward_test_data): Likewise.
43162         (sin_upward_test_data): Likewise.
43163         (sinh_test_data): Likewise.
43164         (sinh_tonearest_test_data): Likewise.
43165         (sinh_towardzero_test_data): Likewise.
43166         (sinh_downward_test_data): Likewise.
43167         (sinh_upward_test_data): Likewise.
43168         (tan_test_data): Likewise.
43169         (tan_tonearest_test_data): Likewise.
43170         (tan_towardzero_test_data): Likewise.
43171         (tan_downward_test_data): Likewise.
43172         (tan_upward_test_data): Likewise.
43173         (tanh_test_data): Likewise.
43174         (tgamma_test_data): Likewise.
43175         (y0_test_data): Likewise.
43176         (y1_test_data): Likewise.
43177         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43178         (special_real_inputs): Add pi/4.
43179         * sysdeps/i386/fpu/libm-test-ulps: Update.
43180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43182 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43184         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43185         "longjmp_target" static probes.
43186         (__longjmp): Rename to __longjmp_symbol.
43187         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43188         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43189         on which longjmp to generate.
43190         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43191         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43192         probe.
43193         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43194         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43195         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43196         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43197         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43198         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43200         __longjmp_symbol based on which __longjmp to generate.
43201         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43202         probe.
43203         (setjmp): Rename to setjmp_symbol.
43204         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43205         (_setjmp): Rename to _setjmp_symbol.
43206         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43207         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43208         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43209         which setjmp to generate.
43210         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43211         "longjmp_target" static probes.
43213 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43215         * benchtests/README: Add note about output arguments.
43216         * benchtests/bench-sincos.c: Remove file.
43217         * benchtests/sincos-inputs: New file.
43218         * scripts/bench.pl: Identify output arguments and define
43219         static variables for them.
43221         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43223         [BZ #15941]
43224         * Makefile (INSTALL): Add install-plain.texi as the primary
43225         dependency.
43226         * manual/install-plain.texi: New file.
43227         * manual/install.texi: Include node directive only for
43228         non-plaintext output.
43230 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43232         * stdlib/longlong.h: Update from GCC.
43234         [BZ #6807]
43235         [BZ #15901]
43236         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43237         * math/w_j0f.c (y0f): Likewise.
43238         * math/w_j0l.c (__y0l): Likewise.
43239         * math/w_j1.c (y1): Likewise.
43240         * math/w_j1f.c (y1f): Likewise.
43241         * math/w_j1l.c (__y1l): Likewise.
43242         * math/w_jn.c (yn): Likewise.
43243         * math/w_jnf.c (ynf): Likewise.
43244         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43245         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43246         value for Bessel function domain errors outside _SVID_ mode.
43247         Adjust sign of return value for yn (negative integer, 0).
43248         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43249         by zero in return for negative x and set sign appropriately for
43250         negative n.
43251         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43252         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43253         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43254         expectations in error cases.
43255         (y1_test_data): Likewise.
43256         (yn_test_data): Likewise.
43257         * sysdeps/i386/fpu/libm-test-ulps: Update.
43258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43260 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43262         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43263         "64" to "64-v1".  Add "64-v2".
43264         (abi-64-options): Rename to ...
43265         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43266         (abi-64-condition): Rename to ...
43267         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43268         (abi-64-ld-soname): Rename to ...
43269         (abi-64-v1-ld-soname): ... this.
43270         (abi-64-v2-options): Define.
43271         (abi-64-v2-condition): Likewise.
43272         (abi-64-v2-ld-soname): Likewise.
43273         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43274         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43279 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43280             Alan Modra  <amodra@gmail.com>
43282         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43283         New versions for use with the ELFv2 ABI.
43284         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43285         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43286         declaration.
43287         (struct La_ppc64v2_retval): Likewise.
43288         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43289         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43290         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43291         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43292         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43293         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43294         Do not save or restore CR.
43295         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43296         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43297         return values for ELFv2 ABI.  Fix location of FPR return registers.
43298         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43299         updated values for _CALL_ELF == 2.
43300         (La_regs, La_retval, int_retval): Likewise.
43302 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43304         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43305         (FRAME_MIN_SIZE_PARM): Likewise.
43306         (FRAME_BACKCHAIN): Likewise.
43307         (FRAME_CR_SAVE): Likewise.
43308         (FRAME_LR_SAVE): Likewise.
43309         (FRAME_TOC_SAVE): Likewise.
43310         (FRAME_PARM_SAVE): Likewise.
43311         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43312         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43313         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43314         (call_mcount_parm_offset): New macro.
43315         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43316         (PROF): Use symbolic stack frame offsets.
43317         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43318         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43319         Redefine in terms of FRAME_MIN_SIZE.
43320         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43321         (_dl_profile_resolve): Likewise.  Update comment.
43322         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43323         symbols stack frame offsets.
43324         (__sigsetjmp): Likewise.
43325         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43326         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43327         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43328         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43331         (FRAME_BACKCHAIN): Remove.
43332         (FRAME_CR_SAVE): Likewise.
43333         (FRAME_LR_SAVE): Likewise.
43334         (FRAME_COMPILER_DW): Likewise.
43335         (FRAME_LINKER_DW): Likewise.
43336         (FRAME_TOC_SAVE): Likewise.
43337         (FRAME_PARM_SAVE): Likewise.
43338         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43339         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43340         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43342         (CHECK_SP): Use symbolic stack frame offsets.
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43344         zone" instead of caller's parameter save area for temp storage.
43345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43346         Likewise.  Also, use symbolic stack frame offsets.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43348         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43349         our own stack frame instead of the caller's.
43350         (__socket): Use symbolic stack frame offsets.
43352 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43353             Alan Modra  <amodra@gmail.com>
43355         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43356         Define.
43357         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43358         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43359         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43360         New function.
43361         (elf_machine_fixup_plt): Call it.
43362         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43363         reloc arguments.
43364         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43365         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43366         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43367         r2 before calling target.
43369 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43370             Alan Modra  <amodra@gmail.com>
43372         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43373         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43374         versions of macros to support ELFv2 ABI.
43375         (LOCALENTRY): New macro.
43376         (ENTRY, EALIGN): Use it.
43377         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43378         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43379         fall through into ENTRY entry point.
43380         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43381         Only define if _CALL_ELF != 2.
43383         (elf_machine_matches_host): Verify ABI version matches.
43384         (RTLD_START): Use LOCALENTRY.
43385         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43386         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43387         (PLT_ENTRY_WORDS): New macro.
43388         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43389         (elf_machine_runtime_setup): Support ELFv2 ABI.
43390         (elf_machine_fixup_plt): Likewise.
43391         (elf_machine_plt_conflict): Likewise.
43392         (resolve_ifunc): Likewise.
43393         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43395         Likewise.
43396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43397         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43399         (makecontext): Support ELFv2 ABI.
43400         * elf/elf.h (EF_PPC64_ABI): Define.
43402 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43404         * sysdeps/powerpc/powerpc64/sysdep.h
43405         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43406         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43407         (ENTRY) [ASSEMBLER]: ... but instead here ...
43408         (EALIGN) [ASSEMBLER]: ... and here.
43409         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43410         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43411         (ENTRY_2) [!ASSEMBLER]: Use it.
43412         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43413         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43414         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43415         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43416         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43418         Use PPC64_LOAD_FUNCPTR.
43420         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43422 2013-12-04  Alan Modra  <amodra@gmail.com>
43424         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43425         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43426         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43427         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43429         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43430         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43431         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43432         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43433         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43434         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43436 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43439         (__makecontext): Fix incorrect CFI when backtracing out of
43440         context created via makecontext.
43441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43442         (__setcontext): Fix incorrect CFI during switch to new context.
43443         (__novec_setcontext): Likewise.
43445 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43447         [BZ #4772]
43448         * time/strptime_l.c (__strptime_internal): Allow modifiers
43449         in strptime.
43450         * time/tst-strptime.c (day_tests): Add testcase.
43452 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43454         * scripts/bench.pl: Skip over blank lines.
43456 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43458         [BZ #926]
43459         * manual/time.texi (Calendar Time): Clarify what timezone functions
43460         use.
43462 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43466 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43468         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43469         implementation.
43470         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43471         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43472         * debug/memset_chk.c (__memset_chk): Likewise.
43473         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43474         * debug/strncpy_chk.c: Likewise.
43476 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43478         [BZ #15268]
43479         [BZ #15425]
43480         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43481         (__ieee754_exp): For possibly underflowing results, check size of
43482         result and force underflow exception if required.
43483         * math/auto-libm-test-in: Add more tests of exp.
43484         * math/auto-libm-test-out: Regenerated.
43485         * sysdeps/i386/fpu/libm-test-ulps: Update.
43486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43488         [BZ #16283]
43489         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43490         * math/w_exp2f.c (__exp2f): Likewise.
43491         * math/w_exp2l.c (__exp2l): Likewise.
43492         * math/auto-libm-test-in: Do not allow missing errno on exp2
43493         underflow.
43494         * math/auto-libm-test-out: Regenerated.
43496 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43498         [BZ #16274]
43499         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43500         handle filename validation.
43501         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43502         (do_open): Delete.
43504 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43506         [BZ #6786]
43507         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43508         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43509         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43510         <float.h>.
43511         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43512         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43513         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43514         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43515         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43516         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43517         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43518         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43519         Add more erfc tests.
43520         * math/auto-libm-test-out: Regenerated.
43521         * sysdeps/i386/fpu/libm-test-ulps: Update.
43522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43524         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43525         exp2, expm1, j0 and j1.
43526         * math/auto-libm-test-out: Regenerated.
43527         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43528         (erfc_test_data): Likewise.
43529         (exp_test_data): Likewise.
43530         (exp_tonearest_test_data): Likewise.
43531         (exp_towardzero_test_data): Likewise.
43532         (exp_downward_test_data): Likewise.
43533         (exp_upward_test_data): Likewise.
43534         (exp10_test_data): Likewise.
43535         (exp2_test_data): Likewise.
43536         (expm1_test_data): Likewise.
43537         (j0_test_data): Likewise.
43538         (j1_test_data): Likewise.
43539         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43540         (input_flag_type): Add flag_xfail_rounding.
43541         (input_flags): Add xfail-rounding.
43542         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43543         (output_for_one_input_case): Handle flag_xfail_rounding.
43544         * sysdeps/i386/fpu/libm-test-ulps: Update.
43545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43547 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43549         [BZ #16289]
43550         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43551         division by 0.
43553 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43555         [BZ #16195]
43556         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43557         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43558         (STAP_PROBE0): New macro.
43559         (STAP_PROBE1): Likewise.
43560         (STAP_PROBE2): Likewise.
43561         (STAP_PROBE3): Likewise.
43562         (STAP_PROBE4): Likewise.
43564 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43566         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43568 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43570         * benchtests/Makefile (bench): Add sqrt.
43571         (LDLIBS-bench-sqrt): New.
43572         * benchtests/sqrt-input: New.
43574 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43576         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43577         (GAIH_EAI): Likewise.
43578         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43579         (gaih_inet): Likewise.
43580         (getaddrinfo): Don't use GAIH_EAI.
43582         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43583         (struct gaih): Remove definition.
43585 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43587         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43588         Use HERRNOP directly.
43590 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43594 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43596         * math/gen-auto-libm-tests.c (test_functions): Add more
43597         single-argument functions.
43598         (special_fill_pi_2): New function.
43599         (special_fill_minus_pi_2): Likewise.
43600         (special_fill_pi_6): Likewise.
43601         (special_fill_minus_pi_6): Likewise.
43602         (special_fill_pi_3): Likewise.
43603         (special_fill_2pi_3): Likewise.
43604         (special_fill_e): Likewise.
43605         (special_fill_1_e): Likewise.
43606         (special_fill_e_minus_1): Likewise.
43607         (special_real_inputs): Add more special inputs.
43608         (output_for_one_input_case): Do not require ERANGE on underflow to
43609         zero if round-to-nearest result does not underflow to zero, unless
43610         exact results required.
43611         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43612         atan, atanh, cbrt, cos and cosh.
43613         * math/auto-libm-test-out: Regenerated.
43614         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43615         (acos_tonearest_test_data): Likewise.
43616         (acos_towardzero_test_data): Likewise.
43617         (acos_downward_test_data): Likewise.
43618         (acos_upward_test_data): Likewise.
43619         (acosh_test_data): Likewise.
43620         (asin_test_data): Likewise.
43621         (asin_tonearest_test_data): Likewise.
43622         (asin_towardzero_test_data): Likewise.
43623         (asin_upward_test_data): Likewise.
43624         (asinh_test_data): Likewise.
43625         (atan_test_data): Likewise.
43626         (atanh_test_data): Likewise.
43627         (cbrt_test_data): Likewise.
43628         (cos_test_data): Likewise.
43629         (cos_tonearest_test_data): Likewise.
43630         (cos_towardzero_test_data): Likewise.
43631         (cos_downward_test_data): Likewise.
43632         (cos_upward_test_data): Likewise.
43633         (cosh_test_data): Likewise.
43634         (cosh_tonearest_test_data): Likewise.
43635         (cosh_towardzero_test_data): Likewise.
43636         (cosh_downward_test_data): Likewise.
43637         (cosh_upward_test_data): Likewise.
43638         * sysdeps/i386/fpu/libm-test-ulps: Update.
43639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43641 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43643         [BZ #6787]
43644         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43645         * math/w_exp10f.c (__exp10f): Likewise.
43646         * math/w_exp10l.c (__exp10l): Likewise.
43647         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43648         errno settings in existing tests.
43650         [BZ #14032]
43651         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43652         precision control set to double precision.
43653         * sysdeps/i386/fpu/w_sqrt.c: New file.
43654         * math/auto-libm-test-in: Add more tests.
43655         * math/auto-libm-test-out: Update.
43657         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43658         (sqrt_test_tonearest): New function.
43659         (sqrt_towardzero_test_data): New variable.
43660         (sqrt_test_towardzero): New function.
43661         (sqrt_downward_test_data): New variable.
43662         (sqrt_test_downward): New function.
43663         (sqrt_upward_test_data): New variable.
43664         (sqrt_test_upward): New function.
43665         (main): Call the new functions.
43667         * math/gen-auto-libm-tests.c: New file.
43668         * math/auto-libm-test-in: Likewise.
43669         * math/auto-libm-test-out: New generated file.
43670         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43671         variables.
43672         (%beautify): Add generated representations of zero.
43673         (top level): Set $auto_input and call parse_auto_input.
43674         (beautify): Remove trailing "f" from hex float constants.
43675         (parse_args): Handle XFAIL_TEST.
43676         (convert_condition): New function.
43677         (or_value): Likewise.
43678         (or_cond_value): Likewise.
43679         (generate_testfile): Handle AUTO_TESTS_* lines.
43680         (parse_auto_input): New function.
43681         * math/libm-test.inc (XFAIL_TEST): New macro.
43682         (ERRNO_UNCHANGED): Update value.
43683         (ERRNO_EDOM): Likewise.
43684         (ERRNO_ERANGE): Likewise.
43685         (IGNORE_RESULT): Likewise.
43686         (TEST_COND_flt_32): New macro.
43687         (TEST_COND_dbl_64): Likewise.
43688         (TEST_COND_ldbl_96_intel): Likewise.
43689         (TEST_COND_ldbl_96_m68k): Likewise.
43690         (TEST_COND_ldbl_128): Likewise.
43691         (TEST_COND_ldbl_128ibm): Likewise.
43692         (TEST_COND_long32): Likewise.
43693         (TEST_COND_long64): Likewise.
43694         (TEST_COND_before_rounding): Likewise.
43695         (TEST_COND_after_rounding): Likewise.
43696         (enable_test): Handle XFAIL_TEST flag.
43697         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43698         with finite results.
43699         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43700         auto-libm-test-out.
43702 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43703             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43705         [BZ #16214]
43706         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43707         __tls_get_addr_internal instead of __tls_get_offset in order to
43708         avoid GOT pointer dependency.  Make rtld export
43709         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43710         __tls_get_addr since we are a __tls_get_offset platform.
43711         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43712         GOT pointer being set up before.
43713         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43715 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43717         * manual/math.texi (Errors in Math Functions): Document accuracy
43718         goals.
43720         [BZ #15004]
43721         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43722         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43723         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43724         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43725         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43726         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43727         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43728         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43729         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43730         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43731         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43732         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43733         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43734         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43735         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43736         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43738         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43739         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43740         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43741         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43742         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43743         Likewise.
43744         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43745         Likewise.
43746         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43747         Likewise.
43748         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43749         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43750         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43751         atomic-feupdateenv and flt-rounds.
43752         * sysdeps/powerpc/nofpu/Versions (libc): Add
43753         __atomic_feholdexcept, __atomic_feclearexcept,
43754         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43756         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43757         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43758         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43759         here.
43760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43761         Update.
43763         * manual/arith.texi (FP Exceptions): Document that exceptions may
43764         not be raised when matherr is used.
43765         (Math Error Reporting): Document overflow in directed rounding
43766         modes.  Document that errno may not be set when finite values are
43767         returned on overflow.  Document intent to set errno on underflow
43768         only for underflow to zero.
43770         [BZ #16271]
43771         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43772         round-to-nearest then adjust result for other rounding modes.
43773         * include/fenv.h (fegetround): Use libm_hidden_proto.
43774         * math/fegetround.c (fegetround): Use libm_hidden_def.
43775         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43776         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43777         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43778         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43779         Likewise.
43780         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43781         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43782         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43783         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43785 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43787         [BZ #16077]
43788         * nss/Versions (libnss_files): Add
43789         _nss_files_gethostbyname3_r.
43790         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43791         New function.
43792         (HOST_DB_LOOKUP): Remove macro.
43793         (_nss_files_gethostbyname_r): Implement function without the
43794         HOST_DB_LOOKUP macro.
43795         (_nss_files_gethostbyname2_r): Likewise.
43797 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43799         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43801 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43803         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43804         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43805         warning.
43807 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43809         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43810         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43811         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43812         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43813         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43814         __fe_nomask_env_priv and attribute_hidden.
43815         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43816         (libc_feupdateenv_test_ppc): Likewise.
43817         (libc_feresetround_ppc): Likewise.
43818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43819         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43820         compat_symbol macro.
43821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43822         (__fe_nomask_env): Likewise.
43823         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43825 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43827         * string/Makefile: Remove ifunc tests.
43828         * string/test-string.h: Define TEST_IFUNC.
43829         * string/test-bcopy-ifunc.c: Remove.
43830         * string/test-bzero-ifunc.c: Likewise.
43831         * string/test-memccpy-ifunc.c: Likewise.
43832         * string/test-memchr-ifunc.c: Likewise.
43833         * string/test-memcmp-ifunc.c: Likewise.
43834         * string/test-memcpy-ifunc.c: Likewise.
43835         * string/test-memmem-ifunc.c: Likewise.
43836         * string/test-memmove-ifunc.c: Likewise.
43837         * string/test-mempcpy-ifunc.c: Likewise.
43838         * string/test-memrchr-ifunc.c: Likewise.
43839         * string/test-memset-ifunc.c: Likewise.
43840         * string/test-rawmemchr-ifunc.c: Likewise.
43841         * string/test-stpcpy-ifunc.c: Likewise.
43842         * string/test-stpncpy-ifunc.c: Likewise.
43843         * string/test-strcasecmp-ifunc.c: Likewise.
43844         * string/test-strcasestr-ifunc.c: Likewise.
43845         * string/test-strcat-ifunc.c: Likewise.
43846         * string/test-strchr-ifunc.c: Likewise.
43847         * string/test-strchrnul-ifunc.c: Likewise.
43848         * string/test-strcmp-ifunc.c: Likewise.
43849         * string/test-strcpy-ifunc.c: Likewise.
43850         * string/test-strcspn-ifunc.c: Likewise.
43851         * string/test-strlen-ifunc.c: Likewise.
43852         * string/test-strncasecmp-ifunc.c: Likewise.
43853         * string/test-strncat-ifunc.c: Likewise.
43854         * string/test-strncmp-ifunc.c: Likewise.
43855         * string/test-strncpy-ifunc.c: Likewise.
43856         * string/test-strnlen-ifunc.c: Likewise.
43857         * string/test-strpbrk-ifunc.c: Likewise.
43858         * string/test-strrchr-ifunc.c: Likewise.
43859         * string/test-strspn-ifunc.c: Likewise.
43860         * string/test-strstr-ifunc.c: Likewise.
43862 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43864         * benchtests/Makefile: Remove ifunc tests.
43865         * benchtests/bench-string.h: Define TEST_IFUNC.
43866         * benchtests/bench-bcopy-ifunc.c: Remove.
43867         * benchtests/bench-bzero-ifunc.c: Likewise.
43868         * benchtests/bench-memccpy-ifunc.c: Likewise.
43869         * benchtests/bench-memchr-ifunc.c: Likewise.
43870         * benchtests/bench-memcmp-ifunc.c: Likewise.
43871         * benchtests/bench-memcpy-ifunc.c: Likewise.
43872         * benchtests/bench-memmem-ifunc.c: Likewise.
43873         * benchtests/bench-memmove-ifunc.c: Likewise.
43874         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43875         * benchtests/bench-memrchr-ifunc.c: Likewise.
43876         * benchtests/bench-memset-ifunc.c: Likewise.
43877         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43878         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43879         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43880         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43881         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43882         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43883         * benchtests/bench-strcat-ifunc.c: Likewise.
43884         * benchtests/bench-strchr-ifunc.c: Likewise.
43885         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43886         * benchtests/bench-strcmp-ifunc.c: Likewise.
43887         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43888         * benchtests/bench-strcpy-ifunc.c: Likewise.
43889         * benchtests/bench-strcspn-ifunc.c: Likewise.
43890         * benchtests/bench-strlen-ifunc.c: Likewise.
43891         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43892         * benchtests/bench-strncat-ifunc.c: Likewise.
43893         * benchtests/bench-strncmp-ifunc.c: Likewise.
43894         * benchtests/bench-strncpy-ifunc.c: Likewise.
43895         * benchtests/bench-strnlen-ifunc.c: Likewise.
43896         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43897         * benchtests/bench-strrchr-ifunc.c: Likewise.
43898         * benchtests/bench-strsep-ifunc.c: Likewise.
43899         * benchtests/bench-strspn-ifunc.c: Likewise.
43900         * benchtests/bench-strstr-ifunc.c: Likewise.
43902 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43904         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43906 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43908         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43909         * rt/aio.h: Likewise.
43910         * sysdeps/gnu/bits/utmp.h: Likewise.
43911         * sysdeps/gnu/bits/utmpx.h: Likewise.
43912         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43913         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43914         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43915         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43916         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43917         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43918         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43919         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43920         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43921         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43922         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43923         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43924         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43926         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43927         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43928         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43929         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43930         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43931         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43932         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43933         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43934         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43935         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43936         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43938         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43939         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43940         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43941         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43942         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43943         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43944         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43945         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43946         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43947         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43948         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43949         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43950         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43951         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43952         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43953         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43955 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43957         [BZ #16245]
43958         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43959         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43961 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43963         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43964         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43965         Likewise.
43967 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43969         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43970         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43971         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43972         (__fesetround): Remove define.
43973         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43974         rounding and exceptions handling.
43975         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43976         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43977         (__fe_nomask_env): Likewise.
43978         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43979         __fegetround instead of fegetround.
43980         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43981         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43983 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43985         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43986         it's there.
43988         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43990 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43992         [BZ #11157]
43993         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43994         (encrypt_r): Likewise.
43995         * malloc/obstack.h (obstack_free): Likewise.
43996         * posix/unistd.h (encrypt): Likewise.
43998 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44000         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44001         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44002         DL_CALL_DT_FINI() that call the functions directly.
44003         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44004         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44005         * elf/dl-fini.c: Likewise.
44007 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44009         * malloc/hooks.c (memalign_check): Add alignment rounding.
44010         * malloc/malloc.c (_mid_memalign): New function.
44011         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44012         Implement by calling _mid_memalign.
44013         * manual/probes.texi (Memory Allocation Probes): Remove
44014         memory_valloc_retry and memory_pvalloc_retry.
44016 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44018         * locale/programs/locarchive.c (open_archive): Add const
44019         qualifier to ARCHIVEFNAME and copy default fname to
44020         DEFAULT_FNAME.
44022         [BZ #15601]
44023         * libio/tst-widetext.input: Rename Oriya to Odia.
44024         * locale/iso-639.def: Likewise.
44026         * manual/probes.texi (Mathematical Function Probes): Add
44027         documentation for sin, cos, asin and acos probes.
44028         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44029         (__sin32): Add slowasin probe.
44030         (__cos32): Add slowacos probe.
44031         (__mpsin): Add slowsin probe.
44032         (__mpcos): Add slowcos probe.
44034 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44036         [BZ #15483]
44037         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44038         thread-local __sim_exceptions_thread and global
44039         __sim_exceptions_global.
44040         (__sim_disabled_exceptions): Change to thread-local
44041         __sim_disabled_exceptions_thread and global
44042         __sim_disabled_exceptions_global.
44043         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44044         and global __sim_round_mode_global.
44045         (__simulate_exceptions): Use thread-local floating-point state and
44046         set global state from it as needed.
44047         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44048         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44049         __sim_round_mode_thread.
44050         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44051         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44052         and global __sim_exceptions_global.
44053         (__sim_disabled_exceptions): Change to thread-local
44054         __sim_disabled_exceptions_thread and global
44055         __sim_disabled_exceptions_global.
44056         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44057         and global __sim_round_mode_global.
44058         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44059         (SIM_SET_GLOBAL): Likewise.
44060         * sysdeps/powerpc/soft-fp/sfp-machine.h
44061         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44062         __sim_round_mode_thread.
44063         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44064         __sim_disabled_exceptions_thread.
44065         (__sim_exceptions): Change to __sim_exceptions_thread.
44066         (__sim_disabled_exceptions): Change to
44067         __sim_disabled_exceptions_thread.
44068         (__sim_round_mode): Change to __sim_round_mode_thread.
44069         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44070         thread-local floating-point state and set global state from it as
44071         needed.
44072         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44073         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44074         (__sim_disabled_exceptions): Remove extern declaration.
44075         (feenableexcept): Use thread-local floating-point state and set
44076         global state from it as needed.
44077         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44078         extern declaration.
44079         (__sim_disabled_exceptions): Likewise.
44080         (__sim_round_mode): Likewise.
44081         (__fegetenv): Use thread-local floating-point state.
44082         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44083         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44084         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44085         floating-point state and set global state from it as needed.
44086         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44087         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44088         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44089         Likewise.
44090         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44091         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44092         Likewise.
44093         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44094         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44095         Use __sim_round_mode_thread.
44096         * math/test-fenv-tls.c: New file.
44097         * math/Makefile (tests): Add test-fenv-tls.
44098         ($(objpfx)test-fenv-tls): Depend on
44099         $(common-objpfx)nptl/libpthread.so.
44101 2013-11-19  Andreas Schwab  <schwab@suse.de>
44103         * locale/programs/locale.c (show_info): Decode wordarray elements.
44104         * locale/categories.def (LC_MONETARY): Add element for
44105         _NL_MONETARY_CRNCYSTR.
44106         * locale/C-monetary.c (conversion_rate): New variable.
44107         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44108         element.
44110 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44112         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44113         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44115 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44117         * elf/Makefile (tst-auxv): New test.
44118         * elf/tst-auxv.c: New
44119         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44121 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44123         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44124         (hidden_proto): Caller changed.
44125         (hidden_tls_proto): New macro.
44126         (libc_hidden_tls_proto): Likewise.
44127         (rtld_hidden_tls_proto): Likewise.
44128         (libm_hidden_tls_proto): Likewise.
44129         (libresolv_hidden_tls_proto): Likewise.
44130         (librt_hidden_tls_proto): Likewise.
44131         (libdl_hidden_tls_proto): Likewise.
44132         (libnss_files_hidden_tls_proto): Likewise.
44133         (libnsl_hidden_tls_proto): Likewise.
44134         (libnss_nisplus_hidden_tls_proto): Likewise.
44135         (libutil_hidden_tls_proto): Likewise.
44137 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44139         [BZ #10253]
44140         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44141         (decompose_rpath): Defer expansion to fillin_rpath.
44142         (_dl_init_paths): Pass linkmap to fillin_rpath.
44144 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44146         * benchtests/Makefile: Add strsep.
44147         * benchtests/bench-strsep.c: New file: strsep benchtest.
44148         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44150 2013-11-18  Andreas Schwab  <schwab@suse.de>
44152         * locale/programs/locale.c (show_info) [case byte]: Check for
44153         '\377' instead of '\177'.
44154         * locale/C-monetary.c (not_available): Always use "\377".
44155         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44156         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44157         detect unavailable sign_posn locale elements.
44158         * locale/localeconv.c (__localeconv): For grouping and
44159         mon_grouping handle "\177" and "\377" like no grouping.
44160         (INT_ELEM): New macro.  Use it to set all numeric members.
44161         * locale/programs/ld-monetary.c (monetary_read)
44162         <tok_mon_grouping>: Normalize single -1 to the empty string.
44163         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44164         Likewise.
44166 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44168         [BZ #16055]
44169         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44170         when we match (nil).
44171         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44173 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44175         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44176         (NO_TEST_INLINE): Update value.
44177         (ERRNO_UNCHANGED): Likewise.
44178         (ERRNO_EDOM): Likewise.
44179         (ERRNO_ERANGE): Likewise.
44180         (IGNORE_RESULT): Likewise.
44181         (check_float_internal): Check signs of NaN results if
44182         TEST_NAN_SIGN used.
44183         (check_complex): Pass TEST_NAN_SIGN flag through to second
44184         check_float_internal call.
44185         (copysign_test_data): Add tests with quiet NaNs as second
44186         argument.  Use TEST_NAN_SIGN.
44187         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44188         TEST_NAN_SIGN.
44189         (signbit_test_data): Add tests of quiet NaN argument.
44190         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44192         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44193         $ignore_result.
44194         (parse_args): Handle function results specified as IGNORE.
44195         * math/libm-test.inc (IGNORE_RESULT): New macro.
44196         (check_float_internal): Do not check numerical result if flag
44197         IGNORE_RESULT set.
44198         (check_complex): Pass through IGNORE_RESULT to second
44199         check_float_internal call.
44200         (check_int): Do not check numerical result if flag IGNORE_RESULT
44201         set.
44202         (check_long): Likewise.
44203         (check_bool): Likewise.
44204         (check_longlong): Likewise.
44205         (lrint_test_data): Add tests of infinite and NaN arguments.
44206         (lrint_tonearest_test_data): Likewise.
44207         (lrint_towardzero_test_data): Likewise.
44208         (lrint_downward_test_data): Likewise.
44209         (lrint_upward_test_data): Likewise.
44210         (llrint_test_data): Likewise.
44211         (llrint_tonearest_test_data): Likewise.
44212         (llrint_towardzero_test_data): Likewise.
44213         (llrint_downward_test_data): Likewise.
44214         (llrint_upward_test_data): Likewise.
44215         (lround_test_data): Likewise.
44216         (llround_test_data): Likewise.
44218         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44219         (ERRNO_UNCHANGED): Update value.
44220         (ERRNO_EDOM): Likewise.
44221         (ERRNO_ERANGE): Likewise.
44222         (NO_TEST_INLINE_FLOAT): New macro.
44223         (NO_TEST_INLINE_DOUBLE): Likewise.
44224         (enable_test): New function.
44225         (RUN_TEST_f_f): Check enable_test before running test.
44226         (RUN_TEST_2_f): Likewise.
44227         (RUN_TEST_fff_f): Likewise.
44228         (RUN_TEST_c_f): Likewise.
44229         (RUN_TEST_f_f1): Likewise.
44230         (RUN_TEST_fF_f1): Likewise.
44231         (RUN_TEST_fI_f1): Likewise.
44232         (RUN_TEST_ffI_f1): Likewise.
44233         (RUN_TEST_c_c): Likewise.
44234         (RUN_TEST_cc_c): Likewise.
44235         (RUN_TEST_f_i): Likewise.
44236         (RUN_TEST_f_i_tg): Likewise.
44237         (RUN_TEST_ff_i_tg): Likewise.
44238         (RUN_TEST_f_b): Likewise.
44239         (RUN_TEST_f_b_tg): Likewise.
44240         (RUN_TEST_f_l): Likewise.
44241         (RUN_TEST_f_L): Likewise.
44242         (RUN_TEST_fFF_11): Likewise.
44243         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44244         conditionals.
44245         (cosh_test_data): Likewise.
44246         (exp_test_data): Likewise.
44247         (expm1_test_data): Likewise.
44248         (hypot_test_data): Likewise.
44249         (pow_test_data): Likewise.
44250         (sinh_test_data): Likewise.
44251         (tanh_test_data): Likewise.
44252         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44253         flags argument.
44255         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44256         tests with quiet NaN input and output.
44257         (acosh_test_data): Likewise.
44258         (asin_test_data): Likewise.
44259         (asinh_test_data): Likewise.
44260         (atan_test_data): Likewise.
44261         (atanh_test_data): Likewise.
44262         (atan2_test_data): Likewise.
44263         (cbrt_test_data): Likewise.
44264         (cos_test_data): Likewise.
44265         (cosh_test_data): Likewise.
44266         (erf_test_data): Likewise.
44267         (erfc_test_data): Likewise.
44268         (exp_test_data): Likewise.
44269         (exp10_test_data): Likewise.
44270         (exp2_test_data): Likewise.
44271         (expm1_test_data): Likewise.
44272         (hypot_test_data): Likewise.
44273         (j0_test_data): Likewise.
44274         (j1_test_data): Likewise.
44275         (jn_test_data): Likewise.
44276         (lgamma_test_data): Likewise.
44277         (log_test_data): Likewise.
44278         (log10_test_data): Likewise.
44279         (log1p_test_data): Likewise.
44280         (log2_test_data): Likewise.
44281         (pow_test_data): Likewise.
44282         (scalb_test_data): Likewise.
44283         (sin_test_data): Likewise.
44284         (sincos_test_data): Likewise.
44285         (sinh_test_data): Likewise.
44286         (tan_test_data): Likewise.
44287         (tanh_test_data): Likewise.
44288         (tgamma_test_data): Likewise.
44289         (y0_test_data): Likewise.
44290         (y1_test_data): Likewise.
44291         (yn_test_data): Likewise.
44293         [BZ #16167]
44294         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44295         argument being NaN and avoid computations with second argument in
44296         that case.
44297         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44298         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44299         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44301 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44303         * locale/iso-639.def: Add Chitwani Tharu (the).
44305 2013-11-14  Andreas Schwab  <schwab@suse.de>
44307         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44308         word instead of empty string.
44310 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44313         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44315         (__fe_nomask_env): Likewise.
44317 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44319         * benchtests/bench-timing.h: Include time.h.
44321 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44323         [BZ #15997]
44324         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44325         to 3.4.0 for x32.
44326         * sysdeps/unix/sysv/linux/configure: Regenerated.
44328 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44330         [BZ #16151]
44331         * stdlib/strtod_l.c (round_and_return): Do not consider
44332         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44333         exponent one less than half the least subnormal exponent.
44334         * stdlib/test-strtod-round-data: Add more tests.
44335         * stdlib/tst-strtod-round.c (tests): Regenerated.
44337 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44339         [BZ #14143]
44340         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44341         (__fe_mask_env): Likewise.
44342         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44343         libm_hidden_proto and add function prototype.
44344         (__fe_mask_env): Add function prototype.
44345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44346         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44348         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44350         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44352 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44354         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44355         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44357 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44359         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44360         of htab_find_slot().
44362 2013-11-11  David S. Miller  <davem@davemloft.net>
44364         [BZ #16150]
44365         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44366         symbol in the non-vis3 case in static builds.
44367         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44368         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44369         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44370         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44372 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44374         [BZ #387]
44375         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44376         it is empty.
44378 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44380         * benchtests/Makefile: Add bench-strtod.
44381         * benchtests/bench-strtod.c: New file: strtod benchtest
44383 2013-11-11  Andreas Schwab  <schwab@suse.de>
44385         [BZ #16153]
44386         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44387         terminating NUL in key length.
44389 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44391         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44392         Add artificial ODP entry for vDSO symbol for PPC64.
44393         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44394         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44396 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44398         [BZ #15374]
44399         * nss/getent.c (services_keys): Recognize services starting with digit.
44401 2013-11-06  David S. Miller  <davem@davemloft.net>
44403         [BZ #15985]
44404         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44405         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44407 2013-11-06  Will Newton  <will.newton@linaro.org>
44409         * manual/memory.texi (Malloc Examples): Remove register
44410         keyword from examples.
44412 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44414         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44416 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44418         [BZ #6981]
44419         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44420         depending on [__GCC_IEC_559 > 0].
44421         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44422         depending on [__GCC_IEC_559_COMPLEX > 0].
44424 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44426         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44427         to iso-639.def.
44429 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44431         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44433 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44435         [BZ #16112]
44436         * malloc/malloc (malloc_info): Do not handle first bin as
44437         special case.
44439 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44441         * locale/iso-639.def: Add Central Nahuatl (nhn).
44443 2013-11-01  Bruno Haible  <bruno@clisp.org>
44445         [BZ #7003]
44446         * manual/math.texi (BSD Random): Specify range upper bound as
44447         in POSIX.
44449 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44451         * locale/iso-639.def: Add Meadow Mari (mhr).
44453 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44455         [BZ #14752], [BZ #15763]
44456         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44457         Validate name.
44458         * rt/tst_shm.c: Add test for escaping directory.
44460 2013-10-31  Andreas Schwab  <schwab@suse.de>
44462         [BZ #15917]
44463         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44464         followed by 'x' as part of digit sequence.
44465         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44467 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44469         [BZ #16037]
44470         * configure.ac: allow GNU Make 4.0 and greater.
44471         * configure: Regenerated.
44473 2013-10-30  Will Newton  <will.newton@linaro.org>
44475         [BZ #16038]
44476         * malloc/hooks.c (memalign_check): Limit alignment to the
44477         maximum representable power of two.
44478         * malloc/malloc.c (__libc_memalign): Likewise.
44479         * malloc/tst-memalign.c (do_test): Add test for very
44480         large alignment values.
44481         * malloc/tst-posix_memalign.c (do_test): Likewise.
44483 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44485         [BZ #11087]
44486         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44487         (munmap_chunk): Likewise.
44488         (mremap_chunk): Likewise.
44490 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44492         [BZ #15799]
44493         * stdlib/div.c (div): Remove obsolete code.
44494         * stdlib/ldiv.c (ldiv): Likewise.
44495         * stdlib/lldiv.c (lldiv): Likewise.
44497 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44499         [BZ #16071]
44500         * nss/nss_files/files-XXX.c (get_contents_ret): New
44501         enumerator.
44502         (get_contents): New function.
44503         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44505 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44507         * configure.in: Moved to ...
44508         * configure.ac: ... here. Change reference to configure.in
44509         to configure.ac.
44510         * sysdeps/arm/preconfigure.ac: ... here.
44511         configure.in to configure.ac.
44512         * sysdeps/gnu/configure.in: Moved to ...
44513         * sysdeps/gnu/configure.ac: ... here.
44514         * sysdeps/i386/configure.in: Moved to ...
44515         * sysdeps/i386/configure.ac: ... here.
44516         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44517         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44518         * sysdeps/mach/configure.in: Moved to ...
44519         * sysdeps/mach/configure.ac: ... here.
44520         * sysdeps/mach/hurd/configure.in: Moved to ...
44521         * sysdeps/mach/hurd/configure.ac: ... here.
44522         * sysdeps/powerpc/configure.in: Moved to ...
44523         * sysdeps/powerpc/configure.ac: ... here.
44524         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44525         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44526         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44527         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44528         * sysdeps/s390/s390-32/configure.in: Moved to ...
44529         * sysdeps/s390/s390-32/configure.ac: ... here.
44530         * sysdeps/s390/s390-64/configure.in: Moved to ...
44531         * sysdeps/s390/s390-64/configure.ac: ... here.
44532         * sysdeps/sh/configure.in: Moved to ...
44533         * sysdeps/sh/configure.ac: ... here.
44534         * sysdeps/sparc/configure.in: Moved to ...
44535         * sysdeps/sparc/configure.ac: ... here.
44536         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44537         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44538         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44539         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44540         * sysdeps/x86_64/configure.in: Moved to ...
44541         * sysdeps/x86_64/configure.ac: ... here.
44542         * sysdeps/x86_64/preconfigure.in: Moved to ...
44543         * sysdeps/x86_64/preconfigure.ac: ... here.
44544         * aclocal.m4: Change reference to configure.in to configure.ac.
44545         * config.h.in: Likewise.
44546         * manual/install.texi: Likewise.
44547         * manual/maint.texi: Likewise.
44548         * Makefile: Likewise.
44549         * malloc/Makefile: Likewise.
44550         * nscd/Makefile: Likewise.
44551         * Makeconfig: Change reference to configure.in and
44552         preconfigure.in to configure.ac and preconfigure.ac
44553         respectively.
44554         * INSTALL: Regenerated.
44555         * configure: Likewise.
44556         * sysdeps/gnu/configure: Likewise.
44557         * sysdeps/i386/configure: Likewise.
44558         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44559         * sysdeps/mach/configure: Likewise.
44560         * sysdeps/mach/hurd/configure: Likewise.
44561         * sysdeps/powerpc/configure: Likewise.
44562         * sysdeps/powerpc/powerpc32/configure: Likewise.
44563         * sysdeps/powerpc/powerpc64/configure: Likewise.
44564         * sysdeps/s390/s390-32/configure: Likewise.
44565         * sysdeps/s390/s390-64/configure: Likewise.
44566         * sysdeps/sh/configure: Likewise.
44567         * sysdeps/sparc/configure: Likewise.
44568         * sysdeps/unix/sysv/linux/configure: Likewise.
44569         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44570         * sysdeps/x86_64/configure: Likewise.
44571         * sysdeps/x86_64/preconfigure: Likewise.
44573 2013-10-29  Andreas Schwab  <schwab@suse.de>
44575         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44577 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44579         * benchtests/pow-inputs: Add new inputs.
44581         * benchtests/exp-inputs: Add new inputs.
44583         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44584         conditional check for return value.
44585         (__cos32): Likewise.
44587 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44589         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44590         to provide a boost for large inputs with word alignment.
44591         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44592         implementation based on optimized PPC64 strcpy.
44593         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44594         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44595         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44596         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44598 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44600         [BZ #2801]
44601         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44603 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44605         [BZ #14876]
44606         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44607         * time/tst-strptime.c (day_tests): Add testcase.
44609 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44611         [BZ #14029]
44612         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44614 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44616         [BZ #16074]
44617         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44618         MAP_FAILED on error.
44620 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44622         [BZ #16072]
44623         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44624         heap for large requests.
44626 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44628         [BZ #9954]
44629         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44630         result if the result has no associated interface.
44631         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44632         interface for all 127.X.Y.Z addresses.
44634 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44636         * locale/iso-639.def: Add Ligurian (lij)
44638 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44640         [BZ #15825]
44641         * sunrpc/rpc_main.c: Document rpcgen -5.
44643 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44645         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44647 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44649         [BZ #10278]
44650         * posix/glob.c: Match only directories when trailing slash is present.
44651         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44652         (main): Add testcase.
44654 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44656         [BZ #15670]
44657         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44659 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44661         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44662         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44663         AUTH_DES and cindex for FIPS 140-2.
44664         (DES Encryption): Add cindex FIPS 46-3.
44666         * locale/locarchive.h (struct locarhandle): Add fname.
44667         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44668         if an optional argument was specified to --list-archive,
44669         otherwise NULL.
44670         * locale/programs/locarchive.c (show_archive_content): Take new
44671         argument fname and pass it via ah.fname to open_archive.
44672         * locale/programs/localedef.h: Update decl.
44673         (open_archive): If AH->fname is non-null, open that file
44674         rather than the default file name, and don't ignore ENOENT.
44675         (create_archive): Set AH.fname to NULL.
44676         (delete_locales_from_archive): Likewise.
44677         (add_locales_to_archive): Likewise.
44678         * locale/programs/locfile.c (write_all_categories): Likewise.
44680 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44681             Aldy Hernandez  <aldyh@redhat.com>
44683         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44684         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44685         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44686         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44687         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44689         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44690         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44691         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44692         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44693         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44694         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44695         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44696         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44697         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44698         Likewise.
44699         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44700         Likewise.
44701         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44702         Likewise.
44703         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44704         Likewise.
44705         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44706         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44707         Likewise.
44708         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44709         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44710         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44711         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44712         Likewise.
44713         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44714         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44715         * sysdeps/powerpc/preconfigure: Likewise.
44716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44717         Likewise.
44718         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44719         Replace contents of file by #include of <fenv_libc.h>.
44720         * sysdeps/powerpc/soft-fp/sfp-machine.h
44721         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44722         and <sys/prctl.h>.
44723         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44724         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44725         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44726         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44727         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44728         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44730         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44731         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44732         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44736         Allow copysignl PLT reference to be missing.
44738 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44739             Joseph Myers  <joseph@codesourcery.com
44741         [BZ #15948]
44742         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44743         single character.
44744         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44746 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44748         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44749         * elf/tst-tls1.c: Likewise.
44750         * elf/tst-tls10.h: Likewise.
44751         * elf/tst-tls14.c: Likewise.
44752         * elf/tst-tls2.c: Likewise.
44753         * elf/tst-tls3.c: Likewise.
44754         * elf/tst-tls4.c: Likewise.
44755         * elf/tst-tls5.c: Likewise.
44756         * elf/tst-tls6.c: Likewise.
44757         * elf/tst-tls7.c: Likewise.
44758         * elf/tst-tls8.c: Likewise.
44759         * elf/tst-tls9.c: Likewise.
44760         * elf/tst-tlsmod1.c: Likewise.
44761         * elf/tst-tlsmod13.c: Likewise.
44762         * elf/tst-tlsmod13a.c: Likewise.
44763         * elf/tst-tlsmod14a.c: Likewise.
44764         * elf/tst-tlsmod16a.c: Likewise.
44765         * elf/tst-tlsmod16b.c: Likewise.
44766         * elf/tst-tlsmod2.c: Likewise.
44767         * elf/tst-tlsmod3.c: Likewise.
44768         * elf/tst-tlsmod4.c: Likewise.
44769         * elf/tst-tlsmod5.c: Likewise.
44770         * elf/tst-tlsmod6.c: Likewise.
44772 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44774         [BZ #12486]
44775         * malloc/malloc.c: remove checks for statistics.
44777 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44779         [BZ #15277]
44780         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44781         * inet/tst-network.c: Add testcase.
44783 2013-10-17  Andreas Schwab  <schwab@suse.de>
44785         [BZ #15218]
44786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44787         to determine canonical name.
44789 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44791         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44792         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44794         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44796         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44797         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44798         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44799         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44800         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44801         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44802         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44803         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44808         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44810         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44815         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44816         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44821         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44822         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44824         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44848         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44850 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44852         [BZ #16041]
44853         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44854         make result into a quiet NaN.
44856 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44858         * soft-fp/adddf3.c: Fix horizontal whitespace.
44859         * soft-fp/addsf3.c: Likewise.
44860         * soft-fp/addtf3.c: Likewise.
44861         * soft-fp/divdf3.c: Likewise.
44862         * soft-fp/divsf3.c: Likewise.
44863         * soft-fp/divtf3.c: Likewise.
44864         * soft-fp/double.h: Likewise.
44865         * soft-fp/eqdf2.c: Likewise.
44866         * soft-fp/eqsf2.c: Likewise.
44867         * soft-fp/eqtf2.c: Likewise.
44868         * soft-fp/extenddftf2.c: Likewise.
44869         * soft-fp/extended.h: Likewise.
44870         * soft-fp/extendsfdf2.c: Likewise.
44871         * soft-fp/extendsftf2.c: Likewise.
44872         * soft-fp/extendxftf2.c: Likewise.
44873         * soft-fp/fixdfdi.c: Likewise.
44874         * soft-fp/fixdfsi.c: Likewise.
44875         * soft-fp/fixdfti.c: Likewise.
44876         * soft-fp/fixsfdi.c: Likewise.
44877         * soft-fp/fixsfsi.c: Likewise.
44878         * soft-fp/fixsfti.c: Likewise.
44879         * soft-fp/fixtfdi.c: Likewise.
44880         * soft-fp/fixtfsi.c: Likewise.
44881         * soft-fp/fixtfti.c: Likewise.
44882         * soft-fp/fixunsdfdi.c: Likewise.
44883         * soft-fp/fixunsdfsi.c: Likewise.
44884         * soft-fp/fixunsdfti.c: Likewise.
44885         * soft-fp/fixunssfdi.c: Likewise.
44886         * soft-fp/fixunssfsi.c: Likewise.
44887         * soft-fp/fixunssfti.c: Likewise.
44888         * soft-fp/fixunstfdi.c: Likewise.
44889         * soft-fp/fixunstfsi.c: Likewise.
44890         * soft-fp/fixunstfti.c: Likewise.
44891         * soft-fp/floatdidf.c: Likewise.
44892         * soft-fp/floatdisf.c: Likewise.
44893         * soft-fp/floatditf.c: Likewise.
44894         * soft-fp/floatsidf.c: Likewise.
44895         * soft-fp/floatsisf.c: Likewise.
44896         * soft-fp/floatsitf.c: Likewise.
44897         * soft-fp/floattidf.c: Likewise.
44898         * soft-fp/floattisf.c: Likewise.
44899         * soft-fp/floattitf.c: Likewise.
44900         * soft-fp/floatundidf.c: Likewise.
44901         * soft-fp/floatundisf.c: Likewise.
44902         * soft-fp/floatunditf.c: Likewise.
44903         * soft-fp/floatunsidf.c: Likewise.
44904         * soft-fp/floatunsisf.c: Likewise.
44905         * soft-fp/floatunsitf.c: Likewise.
44906         * soft-fp/floatuntidf.c: Likewise.
44907         * soft-fp/floatuntisf.c: Likewise.
44908         * soft-fp/floatuntitf.c: Likewise.
44909         * soft-fp/fmadf4.c: Likewise.
44910         * soft-fp/fmasf4.c: Likewise.
44911         * soft-fp/fmatf4.c: Likewise.
44912         * soft-fp/gedf2.c: Likewise.
44913         * soft-fp/gesf2.c: Likewise.
44914         * soft-fp/getf2.c: Likewise.
44915         * soft-fp/ledf2.c: Likewise.
44916         * soft-fp/lesf2.c: Likewise.
44917         * soft-fp/letf2.c: Likewise.
44918         * soft-fp/muldf3.c: Likewise.
44919         * soft-fp/mulsf3.c: Likewise.
44920         * soft-fp/multf3.c: Likewise.
44921         * soft-fp/negdf2.c: Likewise.
44922         * soft-fp/negsf2.c: Likewise.
44923         * soft-fp/negtf2.c: Likewise.
44924         * soft-fp/op-1.h: Likewise.
44925         * soft-fp/op-2.h: Likewise.
44926         * soft-fp/op-4.h: Likewise.
44927         * soft-fp/op-8.h: Likewise.
44928         * soft-fp/op-common.h: Likewise.
44929         * soft-fp/quad.h: Likewise.
44930         * soft-fp/single.h: Likewise.
44931         * soft-fp/soft-fp.h: Likewise.
44932         * soft-fp/sqrtdf2.c: Likewise.
44933         * soft-fp/sqrtsf2.c: Likewise.
44934         * soft-fp/sqrttf2.c: Likewise.
44935         * soft-fp/subdf3.c: Likewise.
44936         * soft-fp/subsf3.c: Likewise.
44937         * soft-fp/subtf3.c: Likewise.
44938         * soft-fp/truncdfsf2.c: Likewise.
44939         * soft-fp/trunctfdf2.c: Likewise.
44940         * soft-fp/trunctfsf2.c: Likewise.
44941         * soft-fp/trunctfxf2.c: Likewise.
44942         * soft-fp/unorddf2.c: Likewise.
44943         * soft-fp/unordsf2.c: Likewise.
44944         * soft-fp/unordtf2.c: Likewise.
44946 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44948         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44949         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44951 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44953         * elf/dl-libc.c: Clear initfini list after freeing.
44955 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44957         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44958         * soft-fp/addsf3.c: Likewise.
44959         * soft-fp/addtf3.c: Likewise.
44960         * soft-fp/divdf3.c: Likewise.
44961         * soft-fp/divsf3.c: Likewise.
44962         * soft-fp/divtf3.c: Likewise.
44963         * soft-fp/double.h: Likewise.
44964         * soft-fp/eqdf2.c: Likewise.
44965         * soft-fp/eqsf2.c: Likewise.
44966         * soft-fp/eqtf2.c: Likewise.
44967         * soft-fp/extenddftf2.c: Likewise.
44968         * soft-fp/extended.h: Likewise.
44969         * soft-fp/extendsfdf2.c: Likewise.
44970         * soft-fp/extendsftf2.c: Likewise.
44971         * soft-fp/extendxftf2.c: Likewise.
44972         * soft-fp/fixdfdi.c: Likewise.
44973         * soft-fp/fixdfsi.c: Likewise.
44974         * soft-fp/fixdfti.c: Likewise.
44975         * soft-fp/fixsfdi.c: Likewise.
44976         * soft-fp/fixsfsi.c: Likewise.
44977         * soft-fp/fixsfti.c: Likewise.
44978         * soft-fp/fixtfdi.c: Likewise.
44979         * soft-fp/fixtfsi.c: Likewise.
44980         * soft-fp/fixtfti.c: Likewise.
44981         * soft-fp/fixunsdfdi.c: Likewise.
44982         * soft-fp/fixunsdfsi.c: Likewise.
44983         * soft-fp/fixunsdfti.c: Likewise.
44984         * soft-fp/fixunssfdi.c: Likewise.
44985         * soft-fp/fixunssfsi.c: Likewise.
44986         * soft-fp/fixunssfti.c: Likewise.
44987         * soft-fp/fixunstfdi.c: Likewise.
44988         * soft-fp/fixunstfsi.c: Likewise.
44989         * soft-fp/fixunstfti.c: Likewise.
44990         * soft-fp/floatdidf.c: Likewise.
44991         * soft-fp/floatdisf.c: Likewise.
44992         * soft-fp/floatditf.c: Likewise.
44993         * soft-fp/floatsidf.c: Likewise.
44994         * soft-fp/floatsisf.c: Likewise.
44995         * soft-fp/floatsitf.c: Likewise.
44996         * soft-fp/floattidf.c: Likewise.
44997         * soft-fp/floattisf.c: Likewise.
44998         * soft-fp/floattitf.c: Likewise.
44999         * soft-fp/floatundidf.c: Likewise.
45000         * soft-fp/floatundisf.c: Likewise.
45001         * soft-fp/floatunsidf.c: Likewise.
45002         * soft-fp/floatunsisf.c: Likewise.
45003         * soft-fp/floatuntidf.c: Likewise.
45004         * soft-fp/floatuntisf.c: Likewise.
45005         * soft-fp/floatuntitf.c: Likewise.
45006         * soft-fp/fmadf4.c: Likewise.
45007         * soft-fp/fmasf4.c: Likewise.
45008         * soft-fp/fmatf4.c: Likewise.
45009         * soft-fp/gedf2.c: Likewise.
45010         * soft-fp/gesf2.c: Likewise.
45011         * soft-fp/getf2.c: Likewise.
45012         * soft-fp/ledf2.c: Likewise.
45013         * soft-fp/lesf2.c: Likewise.
45014         * soft-fp/letf2.c: Likewise.
45015         * soft-fp/muldf3.c: Likewise.
45016         * soft-fp/mulsf3.c: Likewise.
45017         * soft-fp/multf3.c: Likewise.
45018         * soft-fp/negdf2.c: Likewise.
45019         * soft-fp/negsf2.c: Likewise.
45020         * soft-fp/negtf2.c: Likewise.
45021         * soft-fp/op-1.h: Likewise.
45022         * soft-fp/op-2.h: Likewise.
45023         * soft-fp/op-4.h: Likewise.
45024         * soft-fp/op-8.h: Likewise.
45025         * soft-fp/op-common.h: Likewise.
45026         * soft-fp/quad.h: Likewise.
45027         * soft-fp/single.h: Likewise.
45028         * soft-fp/soft-fp.h: Likewise.
45029         * soft-fp/sqrtdf2.c: Likewise.
45030         * soft-fp/sqrtsf2.c: Likewise.
45031         * soft-fp/sqrttf2.c: Likewise.
45032         * soft-fp/subdf3.c: Likewise.
45033         * soft-fp/subsf3.c: Likewise.
45034         * soft-fp/subtf3.c: Likewise.
45035         * soft-fp/truncdfsf2.c: Likewise.
45036         * soft-fp/trunctfdf2.c: Likewise.
45037         * soft-fp/trunctfsf2.c: Likewise.
45038         * soft-fp/trunctfxf2.c: Likewise.
45039         * soft-fp/unorddf2.c: Likewise.
45040         * soft-fp/unordsf2.c: Likewise.
45041         * soft-fp/unordtf2.c: Likewise.
45043 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45045         [BZ #15672]
45046         * misc/error.c (error_tail): Fix possible buffer overflow.
45048 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45050         [BZ #13028]
45051         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45052         address.
45054 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45056         [BZ #832]
45057         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45058         testing pipefail option.
45060 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45062         * soft-fp/double.h: Indent preprocessor directives inside #if.
45063         * soft-fp/extended.h: Likewise.
45064         * soft-fp/op-2.h: Likewise.
45065         * soft-fp/op-4.h: Likewise.
45066         * soft-fp/op-common.h: Likewise.
45067         * soft-fp/quad.h: Likewise.
45068         * soft-fp/single.h: Likewise.
45069         * soft-fp/soft-fp.h: Likewise.
45071 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45073         * iconv/iconv_prog.c: Fix typos.
45074         * stdio-common/psiginfo-data.h: Likewise.
45076 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45078         [BZ #15764]
45079         * locale/setlocale.c: Fix typo.
45081 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45083         [BZ #16036]
45084         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45085         signaling NaN arguments.
45086         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45087         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45089         [BZ #14910]
45090         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45091         unordered operands.
45092         * soft-fp/gesf2.c (__gesf2): Likewise.
45093         * soft-fp/getf2.c (__getf2): Likewise.
45094         * soft-fp/ledf2.c (__ledf2): Likewise.
45095         * soft-fp/lesf2.c (__lesf2): Likewise.
45096         * soft-fp/letf2.c (__letf2): Likewise.
45098         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45099         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45100         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45101         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45102         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45103         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45104         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45105         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45106         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45107         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45108         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45109         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45110         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45111         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45112         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45113         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45114         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45115         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45116         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45117         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45118         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45119         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45120         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45121         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45122         * soft-fp/floattidf.c (__floattidf): Likewise.
45123         * soft-fp/floattisf.c (__floattisf): Likewise.
45124         * soft-fp/floattitf.c (__floattitf): Likewise.
45125         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45126         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45127         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45128         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45129         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45130         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45131         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45132         * soft-fp/gesf2.c (__gesf2): Likewise.
45133         * soft-fp/getf2.c (__getf2): Likewise.
45134         * soft-fp/ledf2.c (__ledf2): Likewise.
45135         * soft-fp/lesf2.c (__lesf2): Likewise.
45136         * soft-fp/letf2.c (__letf2): Likewise.
45138         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45139         Undefine and redefine.
45140         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45141         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45142         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45143         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45144         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45145         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45146         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45147         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45148         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45149         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45150         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45151         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45152         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45153         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45154         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45156         [BZ #16032]
45157         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45158         without decrementing exponent if mantissa >= that for the
45159         denominator, not >.
45160         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45161         denominator, not >.  Decrement exponent in < case instead of
45162         incrementing in >= case.
45163         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45164         without decrementing exponent if mantissa >= that for the
45165         denominator, not >.
45167         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45168         computing saturated result for unsigned overflow.
45170 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45171             Jeff Law  <law@redhat.com>
45173         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45174         (atan2Mp): Add systemtap probe marker.
45175         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45176         (__ieee754_log): Add systemtap probe marker.
45177         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45178         (atanMp): Add systemtap probe marker.
45179         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45180         (tanMp): Add systemtap probe marker.
45181         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45182         (__slowexp): Add systemtap probe marker.
45183         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45184         (__slowpow): Add systemtap probe marker.
45185         * manual/probes.texi: Document probes.
45187 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45189         [BZ #15362]
45190         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45191         written.
45192         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45193         written.
45194         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45195         written to buffer but not flushed.
45196         * libio/iofwrite_u.c:  Likewise.
45197         * libio/iopadn.c:  Return bytes returned even if EOF was
45198         encountered.
45199         * libio/iowpadn.c:  Likewise.
45200         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45201         if _IO_padn does not write the whole buffer.
45202         [!COMPILE_WPRINTF] (PAD): Likewise.
45204 2013-10-10  David S. Miller  <davem@davemloft.net>
45206         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45207         directory block.
45209 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45211         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45212         instead of FSF address.
45213         * soft-fp/fixdfti.c: Likewise.
45214         * soft-fp/fixsfti.c: Likewise.
45215         * soft-fp/fixtfti.c: Likewise.
45216         * soft-fp/fixunsdfti.c: Likewise.
45217         * soft-fp/fixunssfti.c: Likewise.
45218         * soft-fp/fixunstfti.c: Likewise.
45219         * soft-fp/floattidf.c: Likewise.
45220         * soft-fp/floattisf.c: Likewise.
45221         * soft-fp/floattitf.c: Likewise.
45222         * soft-fp/floatuntidf.c: Likewise.
45223         * soft-fp/floatuntisf.c: Likewise.
45224         * soft-fp/floatuntitf.c: Likewise.
45225         * soft-fp/trunctfxf2.c: Likewise.
45227         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45228         * soft-fp/fixdfti.c: Likewise.
45229         * soft-fp/fixsfti.c: Likewise.
45230         * soft-fp/fixtfti.c: Likewise.
45231         * soft-fp/fixunsdfti.c: Likewise.
45232         * soft-fp/fixunssfti.c: Likewise.
45233         * soft-fp/fixunstfti.c: Likewise.
45234         * soft-fp/floattidf.c: Likewise.
45235         * soft-fp/floattisf.c: Likewise.
45236         * soft-fp/floattitf.c: Likewise.
45237         * soft-fp/floatuntidf.c: Likewise.
45238         * soft-fp/floatuntisf.c: Likewise.
45239         * soft-fp/floatuntitf.c: Likewise.
45240         * soft-fp/trunctfxf2.c: Likewise.
45242 2013-10-10  David S. Miller  <davem@davemloft.net>
45244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45246 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45248         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45249         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45250         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45251         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45252         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45253         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45254         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45256         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45257         for NaNs before doing comparisons on argument.
45258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45259         Likewise.
45261 2013-10-10  Will Newton  <will.newton@linaro.org>
45263         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45264         passed to _int_memalign does not overflow.
45266 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45268         * scripts/bench.pl: Add include-sources directive.
45269         * benchtests/README: Update documentation.
45271 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45273         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45274         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45275         instead of FP_INIT_ROUNDMODE.
45276         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45277         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45279         [BZ #16034]
45280         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45281         copy class of input value.
45282         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45283         not handle exceptions.
45284         * soft-fp/negsf2.c (__negsf2): Likewise.
45285         * soft-fp/negtf2.c (__negtf2): Likewise.
45286         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45288 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45290         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45291         semicolon.  From Linux kernel.
45293 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45295         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45297 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45299         [BZ #156]
45300         * manual/socket.texi: Added statement about buffer
45301         for gethostbyname2_r.
45303 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45305         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45306         Use .p2align directive instead, throughout.
45307         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45308         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45309         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45312         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45313         * sysdeps/x86_64/strchr.S: Likewise.
45314         * sysdeps/x86_64/strrchr.S: Likewise.
45316 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45318         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45320         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45322         * sysdeps/generic/math_private.h (__mpsin1): Remove
45323         declaration.
45324         (__mpcos1): Likewise.
45325         (__mpsin): New argument __range_reduce.
45326         (__mpcos): Likewise.
45327         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45328         (slow): Use __mpsin and __mpcos.
45329         (slow1): Likewise.
45330         (slow2): Likewise.
45331         (sloww): Likewise.
45332         (sloww1): Likewise.
45333         (sloww2): Likewise.
45334         (bsloww): Likewise.
45335         (bsloww1): Likewise.
45336         (bsloww2): Likewise.
45337         (cslow2): Likewise.
45338         (csloww): Likewise.
45339         (csloww1): Likewise.
45340         (csloww2): Likewise.
45341         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45342         range_reduce.  Merge in __mpsin1.
45343         (__mpcos): Likewise.
45344         (__mpsin1): Remove.
45345         (__mpcos1): Likewise.
45347 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45349         * locale/loadlocale.c (_nl_intern_locale_data): Use
45350         LOCFILE_ALIGNED_P.
45351         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45352         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45353         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45354         obstack data is appropriately aligned.
45355         (obstack_int32_grow_fast): Likewise.
45356         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45357         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45358         (add_locale_uint32_array): Likewise.
45360 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45362         * benchtests/Makefile: Remove ARGLIST and RET variables.
45363         ($(objpfx)bench-%.c): Pass only function name to the script.
45364         * benchtests/README: Update documentation.
45365         * benchtests/acos-inputs: Add new directives.
45366         * benchtests/acosh-inputs: Likewise.
45367         * benchtests/asin-inputs: Likewise.
45368         * benchtests/asinh-inputs: Likewise.
45369         * benchtests/atan-inputs: Likewise.
45370         * benchtests/atanh-inputs: Likewise.
45371         * benchtests/cos-inputs: Likewise.
45372         * benchtests/cosh-inputs: Likewise.
45373         * benchtests/exp-inputs: Likewise.
45374         * benchtests/log-inputs: Likewise.
45375         * benchtests/pow-inputs: Likewise.
45376         * benchtests/rint-inputs: Likewise.
45377         * benchtests/sin-inputs: Likewise.
45378         * benchtests/sinh-inputs: Likewise.
45379         * benchtests/tan-inputs: Likewise.
45380         * benchtests/tanh-inputs: Likewise.
45381         * scripts/bench.pl: Add support for new directives.
45383 2013-10-07  Alan Modra  <amodra@gmail.com>
45385         * README: Fix careless merge.
45387 2013-10-05  Alan Modra  <amodra@gmail.com>
45389         * NEWS: Mention powerpc64le support and bugs fixed.
45390         * README: Both big-endian and little-endian powerpc64 supported.
45392 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45394         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45395         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45396         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45397         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45399 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45401         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45402         match prototype.
45404 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45406         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45407         Move -mhard-float appending from
45408         ports/sysdeps/powerpc/powerpc32/Makefile.
45409         [$(with-fp) = yes] (ASFLAGS): Likewise.
45410         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45411         * sysdeps/powerpc/nofpu: Move directory from
45412         ports/sysdeps/powerpc/nofpu.
45413         * sysdeps/powerpc/soft-fp: Move directory from
45414         ports/sysdeps/powerpc/soft-fp.
45415         * sysdeps/powerpc/powerpc32/405: Move directory from
45416         ports/sysdeps/powerpc/powerpc32/405.
45417         * sysdeps/powerpc/powerpc32/440: Move directory from
45418         ports/sysdeps/powerpc/powerpc32/440.
45419         * sysdeps/powerpc/powerpc32/464: Move directory from
45420         ports/sysdeps/powerpc/powerpc32/464.
45421         * sysdeps/powerpc/powerpc32/476: Move directory from
45422         ports/sysdeps/powerpc/powerpc32/476.
45423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45424         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45426         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45428         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45430         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45432         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45433         * README: Update for powerpc-*-linux-gnu software floating point
45434         support in libc.
45436         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45437         case to powerpc/powerpc32*.
45438         * sysdeps/unix/sysv/linux/configure: Regenerated.
45440         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45441         (_FPU_MASK_OM): Define as 0x04.
45442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45444         0x00c10080.
45445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45446         0x0000003c.
45447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45450         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45451         getcontext_e500.
45452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45453         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45454         setcontext_e500.
45455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45456         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45457         and setcontext_e500.
45459 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45461         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45463 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45465         * manual/threads.texi (Default Thread Attributes): Fix typo.
45467 2013-10-04  Will Newton  <will.newton@linaro.org>
45469         * malloc/Makefile: Add tst-memalign.
45470         * malloc/tst-memalign.c: New file.
45472         * malloc/tst-posix_memalign.c: Add comments.
45473         (do_test): Add comments and call free on all potentially
45474         allocated pointers. Add space after cast.
45476         * malloc/tst-pvalloc.c: Add comments.
45477         (do_test): Add comments and call free on all potentially
45478         allocated pointers. Remove duplicate check for NULL pointer.
45479         Add space after cast.
45481         * malloc/tst-valloc.c: Add comments.
45482         (do_test): Add comments and call free on all potentially
45483         allocated pointers. Remove duplicate check for NULL pointer.
45484         Add space after cast.
45486 2013-10-04  Alan Modra  <amodra@gmail.com>
45488         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45489         Use stdint types in rather than __attribute__((mode())).
45490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45492 2013-10-04  Alan Modra  <amodra@gmail.com>
45494         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45495         Correct handling of unaligned relocs for little-endian.
45496         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45498 2013-10-04  Alan Modra  <amodra@gmail.com>
45500         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45501         * configure: Regenerate.
45502         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45503         * shlib-versions: Likewise.
45505 2013-10-04  Alan Modra  <amodra@gmail.com>
45507         * string/tester.c (test_memrchr): Increment reported test cycle.
45509 2013-10-04  Alan Modra  <amodra@gmail.com>
45511         * string/test-memcpy.c (do_one_test): When reporting errors, print
45512         string address and don't overrun end of string.
45514 2013-10-04  Alan Modra  <amodra@gmail.com>
45516         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45517         insrdi.  Make better use of reg selection to speed exit slightly.
45518         Schedule entry path a little better.  Remove useless "are we done"
45519         checks on entry to main loop.  Handle wrapping around zero address.
45520         Correct main loop count.  Handle single left-over word from main
45521         loop inline rather than by using loop_small.  Remove extra word
45522         case in loop_small caused by wrong loop count.  Add little-endian
45523         support.
45524         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45525         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45526         cache hint.
45527         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45528         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45529         support.  Avoid rlwimi.
45530         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45532 2013-10-04  Alan Modra  <amodra@gmail.com>
45534         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45535         insrdi.  Formatting.
45536         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45537         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45538         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45539         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45540         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45541         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45543 2013-10-04  Alan Modra  <amodra@gmail.com>
45545         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45546         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45547         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45548         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45549         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45550         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45551         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45552         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45553         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45554         use of regs.  Use power7 mtocrf.  Tidy function tails.
45556 2013-10-04  Alan Modra  <amodra@gmail.com>
45558         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45559         Formatting.  Consistently use rXXX register defines or rN defines.
45560         Use early exit labels that avoid restoring unused non-volatile regs.
45561         Make cr field use more consistent with rWORDn compares.  Rename
45562         regs used as shift registers for unaligned loop, using rN defines
45563         for short lifetime/multiple use regs.
45564         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45565         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45566         addi 1,1,64 to pop stack frame.  Simplify return value code.
45567         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45569 2013-10-04  Alan Modra  <amodra@gmail.com>
45571         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45572         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45573         rather than rlwimi.
45574         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45575         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45576         little-endian support.  Correct typos.
45577         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45578         rather than rlwimi.
45579         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45580         in loop and entry code to keep "and." results.
45581         (strchr): Add little-endian support.  Comment.  Move cntlzd
45582         earlier in tail.
45583         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45585 2013-10-04  Alan Modra  <amodra@gmail.com>
45587         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45588         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45589         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45590         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45592 2013-10-04  Alan Modra  <amodra@gmail.com>
45594         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45595         (rTMP): Define as r11.
45596         (strcmp): Add little-endian support.  Optimise tail.
45597         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45598         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45599         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45600         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45601         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45602         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45603         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45605 2013-10-04  Alan Modra  <amodra@gmail.com>
45607         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45608         little-endian support.  Remove unnecessary "are we done" tests.
45609         Handle "s" wrapping around zero and extremely large "size".
45610         Correct main loop count.  Handle single left-over word from main
45611         loop inline rather than by using small_loop.  Correct comments.
45612         Delete "zero" tail, use "end_max" instead.
45613         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45615 2013-10-04  Alan Modra  <amodra@gmail.com>
45617         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45618         support.  Don't branch over align.
45619         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45620         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45621         support.  Rearrange tmp reg use to suit.  Comment.
45622         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45624 2013-10-04  Alan Modra  <amodra@gmail.com>
45626         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45628 2013-10-04  Alan Modra  <amodra@gmail.com>
45630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45631         conditional form of branch and link when obtaining pc.
45632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45634 2013-10-04  Alan Modra  <amodra@gmail.com>
45636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45637         HIWORD/LOWORD.
45638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45641 2013-10-04  Alan Modra  <amodra@gmail.com>
45643         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45644         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45645         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45646         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45647         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45648         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45649         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45650         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45651         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45652         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45654 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45655             Alistair Popple <alistair@ozlabs.au.ibm.com>
45656             Alan Modra <amodra@gmail.com>
45658         [BZ #15723]
45659         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45660         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45661         _dl_hwcap access for little-endian.
45662         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45663         destroy vmx regs when saving unaligned.
45664         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45665         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45666         destroy vmx regs when saving unaligned.
45668 2013-10-04  Alan Modra  <amodra@gmail.com>
45670         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45671         Don't use a union to pack hi/low value.
45673 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45675         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45676         for little-endian.
45677         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45678         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45679         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45680         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45681         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45683 2013-10-04  Alan Modra  <amodra@gmail.com>
45685         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45686         constants to usual value for .cst8 section, and remove redundant
45687         high address load.
45688         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45689         constant for 0x1p52.  Load little-endian words of double from
45690         correct stack offsets.
45692 2013-10-04  Alan Modra  <amodra@gmail.com>
45694         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45695         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45696         words of double from correct stack offsets.
45697         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45698         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45699         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45701         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45702         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45703         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45704         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45705         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45706         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45707         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45708         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45709         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45710         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45711         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45712         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45713         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45715 2013-10-04  Alan Modra  <amodra@gmail.com>
45717         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45718         64-bit int/double union.
45719         (_FPU_SETCW): Likewise.
45720         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45721         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45723 2013-10-04  Alan Modra  <amodra@gmail.com>
45725         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45726         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45728 2013-10-04  Alan Modra  <amodra@gmail.com>
45730         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45731         use vector int constants.
45732         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45734 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45736         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45737         array with long long.
45738         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45739         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45740         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45741         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45742         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45743         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45744         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45745         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45746         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45747         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45748         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45749         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45750         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45752 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45754         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45755         (__signbit): Likewise.  Correct for little-endian.
45756         (__signbitl): Call __signbit.
45757         (lrint): Correct for little-endian.
45758         (lrintf): Call lrint.
45760 2013-10-04  Alan Modra  <amodra@gmail.com>
45762         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45763         union 32-bit int array member with 64-bit int array.
45764         (t515, tm256): Double rather than long double.
45765         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45767 2013-10-04  Alan Modra  <amodra@gmail.com>
45769         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45770         Delete.
45771         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45773         version of math_ldbl.h.
45775 2013-10-04  Alan Modra  <amodra@gmail.com>
45777         [BZ #15734], [BZ #15735]
45778         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45779         all uses of ieee875 long double macros and unions.  Simplify test
45780         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45781         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45782         normalize after ldbl_extract_mantissa, and don't add hidden bit
45783         already handled.  Don't treat low word of ieee854 mantissa like
45784         low word of IBM long double and mask off bit when testing for
45785         zero.
45786         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45787         all uses of ieee875 long double macros and unions.  Simplify tests
45788         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45789         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45790         two1022, instead use their values.  Recognise that tests for large
45791         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45792         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45793         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45794         test for 0.0L and nan.  Correct negation.
45795         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45796         ieee875 long double macros and unions.  Correct output for large
45797         magnitude x.  Correct absolute value calculation.
45798         (__erfcl): Likewise.
45799         * math/libm-test.inc: Add tests for errors discovered in IBM long
45800         double versions of fmodl, remainderl, erfl and erfcl.
45802 2013-10-04  Alan Modra  <amodra@gmail.com>
45804         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45805         all uses of ieee854 long double macros and unions.  Simplify tests
45806         for long doubles that are fully specified by the high double.
45807         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45808         Likewise.
45809         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45810         Remove dead code too.
45811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45812         (__ieee754_ynl): Likewise.
45813         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45814         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45815         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45816         Remove dead code too.
45817         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45818         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45820         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45821         Simplify.
45822         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45823         Simplify.
45824         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45825         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45826         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45827         Comment on variable precision.
45828         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45829         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45830         Likewise.
45831         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45834         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45835         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45837 2013-10-04  Alan Modra  <amodra@gmail.com>
45839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45840         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45841         all uses of ieee854 long double macros and unions.
45842         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45843         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45844         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45845         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45846         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45847         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45848         Likewise.
45849         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45850         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45851         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45852         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45853         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45854         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45855         Simplify sign and nan test too.
45856         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45857         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45858         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45859         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45860         Likewise.
45861         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45862         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45863         Likewise.
45864         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45865         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45866         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45867         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45868         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45871 2013-10-04  Alan Modra  <amodra@gmail.com>
45873         * stdio-common/printf_size.c (__printf_size): Don't use
45874         union ieee854_long_double in fpnum union.
45875         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45876         signbit macro to retrieve sign from long double.
45877         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45878         retrieve sign from long double.
45879         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45880         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45881         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45882         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45883         * math/test-misc.c (main): Don't use union ieee854_long_double.
45885 2013-10-04  Alan Modra  <amodra@gmail.com>
45887         [BZ #15680]
45888         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45889         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45890         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45891         calculation.  Remove unnecessary test for denormal exponent.
45892         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45893         Correct handling of denormals.  Avoid undefined shift behaviour.
45894         Correct normalisation of low mantissa when low double is denormal.
45895         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45896         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45897         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45898         Correct normalisation of low mantissa.  Test for overflow of high
45899         mantissa and normalise.
45900         (ldbl_nearbyint): Use more readable constant for two52.
45901         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45902         (__mpn_construct_long_double): Fix test for overflow of high
45903         mantissa and correct normalisation.  Avoid undefined shift.
45905 2013-10-04  Alan Modra  <amodra@gmail.com>
45907         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45908         (union ibm_extended_long_double): Define as an array of ieee754_double.
45909         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45910         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45911         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45912         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45914         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45915         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45916         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45917         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45918         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45919         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45921 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45923         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45924         page size instead of calling getpagesize.
45926         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45927         (LOCFILE_ALIGN_MASK): Likewise.
45928         (LOCFILE_ALIGN_UP): Likewise.
45929         (LOCFILE_ALIGNED_P): Likewise.
45930         * locale/programs/ld-collate.c (collate_output): Use the new
45931         macros instead of __alignof__ (int32_t).
45932         * locale/weight.h (findidx): Likewise.
45934 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45936         [BZ #431]
45937         * manual/string.texi: Fix strncat and wcsncat.
45939 2013-10-03  Brooks Moses  <bmoses@google.com>
45941         [BZ #15915]
45942         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45943         * Makerules: ...here, and adjust associated comments.
45945 2013-10-02  Will Newton  <will.newton@linaro.org>
45947         * malloc/Makefile: Add tst-pvalloc.
45948         * malloc/tst-pvalloc.c: New file.
45950 2013-10-02  Will Newton  <will.newton@linaro.org>
45952         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45953         improve test coverage.
45955 2013-10-02  Will Newton  <will.newton@linaro.org>
45957         * malloc/Makefile: Add tst-posix_memalign.
45958         * malloc/tst-posix_memalign.c: New file.
45960 2013-10-01  Eric Blake  <eblake@redhat.com>
45962         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45963         Use __THROWNL rather than __THROW on static functions.
45965 2013-09-30  Petr Machata  <pmachata@redhat.com>
45967         * elf/elf.h (R_AARCH64_ABS16): New macro.
45968         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45969         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45970         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45971         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45972         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45973         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45974         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45975         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45976         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45977         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45978         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45979         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45980         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45981         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45982         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45983         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45984         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45985         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45986         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45987         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45988         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45989         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45990         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45991         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45992         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45993         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45994         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45995         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45996         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45997         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45998         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45999         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46000         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46001         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46002         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46003         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46004         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46005         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46006         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46007         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46008         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46009         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46010         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46011         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46012         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46013         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46014         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46015         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46016         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46017         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46018         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46019         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46020         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46021         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46022         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46023         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46024         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46025         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46026         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46027         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46028         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46029         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46030         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46031         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46032         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46033         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46034         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46035         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46036         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46037         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46038         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46039         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46040         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46041         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46042         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46043         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46044         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46045         (R_AARCH64_TLSDESC_LDR): Likewise.
46046         (R_AARCH64_TLSDESC_ADD): Likewise.
46047         (R_AARCH64_TLSDESC_CALL): Likewise.
46049 2013-09-30  Andreas Schwab  <schwab@suse.de>
46051         [BZ #15048]
46052         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46053         the nss database lookup.
46054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46057 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46059         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46061 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46063         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46064         ${Bash-specific parameter/pattern/string} parameter expansion.
46065         * sysdeps/unix/make-syscalls.sh: Likewise.
46067 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46069         * sysdeps/sh/stackguard-macros.h: New file.
46071 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46074         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46075         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46076         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46077         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46078         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46080 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46082         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46083         Fix thread ID register.
46085 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46087         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46088         [POSIX || UNIX98]: Require rather than permitting all symbols from
46089         <time.h>.
46090         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46091         element of struct sched_param.
46092         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46093         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46094         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46095         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46096         constant.
46098 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46100         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46101         argument calculation.
46103 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46105         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46106         Expect macro.
46107         [POSIX] (pthread_attr_t): Do not require type.
46108         [POSIX] (pthread_cond_t): Likewise.
46109         [POSIX] (pthread_condattr_t): Likewise.
46110         [POSIX] (pthread_key_t): Likewise.
46111         [POSIX] (pthread_mutex_t): Likewise.
46112         [POSIX] (pthread_mutexattr_t): Likewise.
46113         [POSIX] (pthread_once_t): Likewise.
46114         [POSIX] (pthread_t): Likewise.
46115         [POSIX-based standards] (pthread_atfork): Expect function.
46117 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46118             Richard Sandiford  <richard@codesourcery.com>
46120         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46121         (swap_endianness_p): New extern variable.
46122         (set_big_endian): New inline function.
46123         (maybe_swap_uint32): Likewise.
46124         (maybe_swap_uint32_array): Likewise.
46125         (maybe_swap_uint32_obstack): Likewise.
46126         * locale/programs/locfile.c: Include <stdbool.h>.
46127         (swap_endianness_p): New variable.
46128         (add_locale_uint32): Call maybe_swap_uint32.
46129         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46130         (write_locale_data): Call maybe_swap_uint32_array.
46131         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46132         maybe_swap_uint32.
46133         (obstack_int32_grow_fast): Likewise.
46134         (output_weightwc): Call maybe_swap_uint32_obstack.
46135         (collate_output): Likewise.
46136         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46137         (OPT_LITTLE_ENDIAN): Likewise.
46138         (options): Add --little-endian and --big-endian options.
46139         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46140         * locale/programs/locarchive.c: Include "locfile.h".
46141         (GET): New macro.
46142         (SET): Likewise.
46143         (INC): Likewise.
46144         (create_archive): Use the new macros to access fields of
46145         structures directly mapped from or written to locale archives.
46146         (oldlocrecentcmp): Likewise.
46147         (enlarge_archive): Likewise.
46148         (insert_name): Likewise.
46149         (add_alias): Likewise.
46150         (add_locale): Likewise.
46151         (delete_locales_from_archive): Likewise.
46152         (show_archive_content): Likewise.
46153         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46154         locale data.
46156 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46158         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46159         http://www.gnu.org/doc/freemanuals.texi.
46160         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46162 2013-09-24  Will Newton  <will.newton@linaro.org>
46164         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46165         macro.
46167 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46169         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46170         unsigned char.
46172 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46174         * manual/threads.texi (POSIX Threads): Fix a typo.
46176 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46178         [BZ #14547]
46179         * string/tst-strcoll-overflow.c: New test case.
46180         * string/Makefile (xtests): Add tst-strcoll-overflow.
46181         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46182         cache if string sizes may cause integer overflow.
46184         [BZ #14547]
46185         * string/strcoll_l.c (coll_seq): New members rule, idx,
46186         save_idx and back_us.
46187         (get_next_seq_nocache): New function.
46188         (do_compare_nocache): New function.
46189         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46190         when malloc fails.
46192 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46194         [BZ #15754]
46195         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46196         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46197         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46199         [BZ #15754]
46200         * elf/Makefile (tests): Add tst-ptrguard1.
46201         (tests-static): Add tst-ptrguard1-static.
46202         (tst-ptrguard1-ARGS): Define.
46203         (tst-ptrguard1-static-ARGS): Define.
46204         * elf/tst-ptrguard1.c: New file.
46205         * elf/tst-ptrguard1-static.c: New file.
46206         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46207         * sysdeps/i386/stackguard-macros.h: Likewise.
46208         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46209         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46210         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46211         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46212         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46213         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46215 2013-09-23  Hector Marco  <hecmargi@upv.es>
46216             Ismael Ripoll  <iripoll@disca.upv.es>
46217             Carlos O'Donell  <carlos@redhat.com>
46219         [BZ #15754]
46220         * sysdeps/generic/stackguard-macros.h: Define
46221         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46222         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46223         Define __pointer_chk_guard_local.
46224         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46225         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46227 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46229         [BZ #15859]
46230         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46232 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46234         * include/string.h (__ffs): Declare as hidden.
46235         * string/ffs.c (__ffs): Define as hidden.
46236         * sysdeps/i386/ffs.c (__ffs): Likewise.
46237         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46238         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46239         * sysdeps/s390/ffs.c (__ffs): Likewise.
46240         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46242 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46244         * NEWS: Mention malloc probes.
46246         * malloc/arena.c (new_heap): New memory_heap_new probe.
46247         (grow_heap): New memory_heap_more probe.
46248         (shrink_heap): New memory_heap_less probe.
46249         (heap_trim): New memory_heap_free probe.
46250         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46251         (systrim): New memory_sbrk_less probe.
46252         * manual/probes.texi: Document them.
46254         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46255         * manual/probes.texi: Document it.
46257         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46258         (__libc_realloc): Add memory_realloc_retry probe.
46259         (__libc_memalign): Add memory_memalign_retry probe.
46260         (__libc_valloc): Add memory_valloc_retry probe.
46261         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46262         (__libc_calloc): Add memory_calloc_retry probe.
46263         * manual/probes.texi: Document them.
46265         * malloc/arena.c (get_free_list): Add probe
46266         memory_arena_reuse_free_list.
46267         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46268         and memory_arena_reuse.
46269         (arena_get2) [!PER_THREAD]: Likewise.
46270         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46271         memory_arena_reuse_realloc.
46272         * manual/probes.texi: Document them.
46274         * malloc/malloc.c (__libc_free): Add
46275         memory_mallopt_free_dyn_thresholds probe.
46276         (__libc_mallopt): Add multiple memory_mallopt probes.
46277         * manual/probes.texi: Document them.
46279         * malloc/malloc.c: Include stap-probe.h.
46280         (__libc_mallopt): Add memory_mallopt probe.
46281         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46282         * manual/probes.texi: New.
46283         * manual/Makefile (chapters): Add probes.
46284         * manual/threads.texi: Set next node.
46286 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46288         [BZ #15963, #13985]
46289         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46290         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46291         Add `Chinese' to `nan' entry name.
46293 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46295         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46296         (POLYNOMIAL): Likewise.
46297         (TAYLOR_SINCOS): Likewise.
46298         (TAYLOR_SLOW): Likewise.
46299         (__sin): Use TAYLOR_SINCOS.
46300         (__cos): Likewise.
46301         (slow): Use TAYLOR_SLOW.
46302         (sloww): Likewise.
46303         (bsloww): Likewise.
46304         (csloww): Likewise.
46306 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46308         * stdlib/strtod_l.c: Fix buffer overrun.
46310 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46312         * benchtests/Makefile (bench): Add sincos.
46313         * benchtests/bench-sincos.c: New file.
46315         * math/libm-test.inc (cos_test_data): New test inputs.
46316         (sin_test_data): Likewise.
46318         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46319         macro.
46320         (__sin): Use it.
46321         (__cos): Likewise.
46322         (slow1): Likewise.
46323         (slow2): Likewise.
46324         (sloww1): Likewise.
46325         (sloww2): Likewise.
46326         (bsloww1): Likewise.
46327         (bsloww2): Likewise.
46328         (cslow2): Likewise.
46329         (csloww1): Likewise.
46330         (csloww2): Likewise.
46332         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46333         function.
46334         (__sin): Use it.
46335         (__cos): Likewise.
46337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46338         gotos.
46339         (__cos): Likewise.
46341 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46343         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46344         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46345         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46346         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46347         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46348         * elf/cache.c (print_entry): Handle the new cache flags.
46350 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46351             Aldy Hernandez  <aldyh@redhat.com>
46353         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46354         Change condition to [_SOFT_FLOAT].
46355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46357         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46367         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46370         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46371         declaration.
46373 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46375         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46376         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46377         (__longjmp): Use LOAD_GP to load saved GPRs.
46378         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46379         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46380         (__sigsetjmp): Use SAVE_GP to save GPRs.
46382         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46383         Do not append -msoft-float.
46384         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46386 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46388         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46390 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46392         [BZ #15966]
46393         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46394         (_FPU_GETCW): Use initial "__" on variable and field names but not
46395         on macro parameter name.
46396         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46397         parentheses around reference to macro parameter.
46399 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46401         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46402         prototype.
46403         (ctype_startup): Use uint32_t in cast and sizeof for
46404         ctype->charnames.
46406 2013-09-11  Jia Liu  <proljc@gmail.com>
46408         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46409         __daddr_t_defined.
46410         [__FreeBSD__]: Likewise.
46412 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46415         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46416         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46417         (strchr): Remove __strchr_sse42 ifunc selection.
46418         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46419         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46421 2013-09-11  Will Newton  <will.newton@linaro.org>
46423         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46424         parameter to RES. Remove hardcoded 1000 value.
46425         * benchtests/bench-skeleton.c (main): Pass RES parameter
46426         to TIMING_INIT and multiply result by 1000.
46428 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46432 2013-09-11  Andreas Schwab  <schwab@suse.de>
46434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46435         if not defined.
46436         (O_TMPFILE) [__USE_GNU]: Define.
46437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46438         Define.
46440 2013-09-11  Will Newton  <will.newton@linaro.org>
46442         [BZ #15857]
46443         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46444         does not overflow.
46446 2013-09-11  Will Newton  <will.newton@linaro.org>
46448         [BZ #15856]
46449         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46450         does not overflow.
46452 2013-09-11  Will Newton  <will.newton@linaro.org>
46454         [BZ #15855]
46455         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46456         does not overflow.
46458 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46460         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46461         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46462         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46463         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46464         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46466 2013-09-10  Allan McRae  <allan@archlinux.org>
46468         [BZ #15748]
46469         * manual/arith.texi (Parsing of Floats): Clarify
46470         cross-reference.
46472         [BZ #15849]
46473         * manual/install.texi (Running make install): Mention
46474         --enable-pt-chown.
46475         * INSTALL: Regenerated.
46477 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46479         * csu/init-first.c (_init): Remove the !SHARED condition around
46480         FPU control word initialization.
46481         * elf/dl-support.c (_dl_fpu_control): New variable.
46482         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46483         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46484         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46485         * math/test-fpucw-static.c: New file.
46486         * math/test-fpucw-ieee.c: New file.
46487         * math/test-fpucw-ieee-static.c: New file.
46488         * math/Makefile (tests): Add `test-fpucw-ieee' and
46489         `$(tests-static)'.
46490         (tests-static): New variable.
46491         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46492         dependency to...
46493         [($(build-shared),yes)]
46494         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46495         ... this.
46496         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46497         New dependency.
46499 2013-09-09  Allan McRae  <allan@archlinux.org>
46501         [BZ #15939]
46502         * manual/string.texi (Collation Functions): Fix typo in
46503         strcoll example.
46504         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46506         [BZ #15893]
46507         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46509         [BZ #15892]
46510         * libio/memstream.c (open_memstream): Fix memory leak.
46511         * libio/wmemstream.c (open_wmemstream): Likewise.
46513         [BZ #15895]
46514         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46516 2013-09-09  Will Newton  <will.newton@linaro.org>
46518         * malloc/Makefile: Add tst-realloc to tests.
46519         * malloc/tst-realloc.c: New file.
46521 2013-09-09  Allan McRae  <allan@archlinux.org>
46523         [BZ #15844]
46524         * COPYING: Update from GNU website to fix FSF address.
46525         * COPYING.LIB: Likewise.
46527 2013-09-06  David S. Miller  <davem@davemloft.net>
46529         * po/zh_TW.po: Update Chinese (traditional) translation from
46530         translation project.
46532 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46533             Joseph Myers  <joseph@codesourcery.com>
46535         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46536         "localeinfo.h".
46537         (obstack_chunk_alloc): New macro.
46538         (obstack_chunk_free): Likewise.
46539         (record_offset): New function.
46540         (init_locale_data): Likewise.
46541         (align_locale_data): Likewise.
46542         (add_locale_empty): Likewise.
46543         (add_locale_raw_data): Likewise.
46544         (add_locale_raw_obstack): Likewise.
46545         (add_locale_string): Likewise.
46546         (add_locale_wstring): Likewise.
46547         (add_locale_uint32): Likewise.
46548         (add_locale_uint32_array): Likewise.
46549         (add_locale_char): Likewise.
46550         (start_locale_structure): Likewise.
46551         (end_locale_structure): Likewise.
46552         (start_locale_prelude): Likewise.
46553         (end_locale_prelude): Likewise.
46554         (write_locale_data): Take locale_file structure rather than an
46555         iovec.
46556         * locale/programs/locfile.h: Include "obstack.h".
46557         (struct locale_file): Change to store locale file contents instead
46558         of header.
46559         (init_locale_data): New prototype.
46560         (align_locale_data): Likewise.
46561         (add_locale_empty): Likewise.
46562         (add_locale_raw_data): Likewise.
46563         (add_locale_raw_obstack): Likewise.
46564         (add_locale_string): Likewise.
46565         (add_locale_wstring): Likewise.
46566         (add_locale_uint32): Likewise.
46567         (add_locale_uint32_array): Likewise.
46568         (add_locale_char): Likewise.
46569         (start_locale_structure): Likewise.
46570         (end_locale_structure): Likewise.
46571         (start_locale_prelude): Likewise.
46572         (end_locale_prelude): Likewise.
46573         (write_locale_data): Update prototype.
46574         * locale/programs/3level.h (struct TABLE): Remove result field.
46575         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46576         Use new locale_file interface.
46577         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46578         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46579         * locale/programs/ld-address.c (address_output): Use new
46580         locale_file interface.
46581         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46582         NO_ADD_LOCALE.
46583         (collate_finish): Don't call collseq_table_finalize.
46584         (collate_output): Use new locale_file interface.
46585         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46586         in file.
46587         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46588         (TABLE): Move defines earlier in file.
46589         (ELEMENT): Likewise.
46590         (DEFAULT): Likewise.
46591         (wctrans_table_add): Move macro and inline function earlier in
46592         file.
46593         (struct wctype_table): Move type earlier in file.
46594         (add_locale_wctype_table): New static prototype.
46595         (struct locale_ctype_t): Use logical types instead of struct iovec
46596         pointers for members.
46597         (ctype_output): Use new locale_file interface.
46598         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46599         new locale_file interface.
46600         (allocate_arrays): Update for use of new locale_file interface.
46601         * locale/programs/ld-identification.c (identification_output): Use
46602         new locale_file interface.
46603         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46604         * locale/programs/ld-messages.c (messages_output): Likewise.
46605         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46606         * locale/programs/ld-name.c (name_output): Likewise.
46607         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46608         * locale/programs/ld-paper.c (paper_output): Likewise.
46609         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46610         * locale/programs/ld-time.c (time_output): Likewise.
46612 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46614         * benchtests/Makefile: Add memrchr benchmark.
46615         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46616         benchmark as memrchr.
46617         * benchtests/bench-memrchr-ifunc.c: New file.
46618         * benchtests/bench-memrchr.c: New file.
46620 2013-09-06   Will Newton  <will.newton@linaro.org>
46622         * benchtests/Makefile (string-bench): Add memcpy.
46624 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46625             Cong Wang  <amwang@redhat.com>
46627         [BZ #15850]
46628         * sysdeps/unix/sysv/linux/bits/in.h
46629         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46630         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46631         before __USE_KERNEL_IPV6_DEFS uses.
46632         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46633         IPPROTO_BEETPH.
46634         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46635         sockaddr_in6, or ipv6_mreq.
46637 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46639         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46640         memory access for final bytes in some large inputs.
46641         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46643 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46645         * string/test-memrchr.c: New file.
46646         * string/test-memrchr-ifunc.c: New file.
46647         * string/Makefile: Add new memrchr testcase.
46649 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46651         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46652         fanotify_init returns EPERM.
46654 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46656         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46657         errors.
46658         (top level): Treat second token from macro or constant entries for
46659         allowed headers as allowed.
46660         * include/complex.h: Condition internal declarations on
46661         [!_ISOMAC].
46662         * include/fenv.h: Condition include of <stdbool.h> and internal
46663         declarations on [!_ISOMAC].
46665 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46667         [BZ #15923]
46668         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46670 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46672         * configure.in (--enable-versioning): Remove configure option.
46673         (libc_cv_asm_symver_directive): Remove configure test.
46674         (libc_cv_ld_version_script_option): Likewise.
46675         (VERSIONING): Remove variable and AC_SUBST.
46676         (DO_VERSIONING): Remove AC_DEFINE.
46677         * configure: Regenerated.
46678         * config.h.in (DO_VERSIONING): Remove macro.
46679         * Makerules [$(versioning) = yes]: Change conditionals to
46680         [$(build-shared) = yes].
46681         * config.make.in (versioning): Remove variable.
46682         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46683         [$(build-shared) = yes].
46684         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46685         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46686         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46687         [$(build-shared) = yes].
46688         * extra-lib.mk [$(versioning) = yes]: Likewise.
46689         * hurd/Makefile [$(versioning) = yes]: Likewise.
46690         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46691         [SHARED].
46692         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46693         [SHARED].
46694         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46695         [SHARED && !NO_HIDDEN].
46696         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46697         [SHARED].
46698         [SHARED && DO_VERSIONING]: Likewise..
46699         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46700         [$(build-shared) = yes].
46701         * manual/install.texi (--disable-versioning): Remove
46702         documentation.
46703         * INSTALL: Regenerated.
46704         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46705         to [SHARED].
46706         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46707         [$(build-shared) = yes].
46708         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46709         * sysdeps/i386/i686/multiarch/strstr-c.c
46710         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46711         [SHARED && !NO_HIDDEN].
46712         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46713         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46714         * sysdeps/powerpc/powerpc32/dl-machine.c
46715         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46716         * sysdeps/powerpc/powerpc32/sysdep.h
46717         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46718         to [SHARED && PIC && !NO_HIDDEN].
46719         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46720         conditional to [SHARED].
46722 2013-09-04   Will Newton  <will.newton@linaro.org>
46724         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46725         * benchtests/bench-string.h: Include bench-timing.h instead
46726         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46727         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46728         call to HP_TIMING_DIFF_INIT.
46729         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46730         instead of hp-timing.h macros.
46731         * benchtests/bench-memchr.c: Likewise.
46732         * benchtests/bench-memcmp.c: Likewise.
46733         * benchtests/bench-memcpy.c: Likewise.
46734         * benchtests/bench-memmem.c: Likewise.
46735         * benchtests/bench-memmove.c: Likewise.
46736         * benchtests/bench-memset.c: Likewise.
46737         * benchtests/bench-rawmemchr.c: Likewise.
46738         * benchtests/bench-strcasecmp.c: Likewise.
46739         * benchtests/bench-strcasestr.c: Likewise.
46740         * benchtests/bench-strcat.c: Likewise.
46741         * benchtests/bench-strchr.c: Likewise.
46742         * benchtests/bench-strcmp.c: Likewise.
46743         * benchtests/bench-strcpy.c: Likewise.
46744         * benchtests/bench-strcpy_chk.c: Likewise.
46745         * benchtests/bench-strlen.c: Likewise.
46746         * benchtests/bench-strncasecmp.c: Likewise.
46747         * benchtests/bench-strncat.c: Likewise.
46748         * benchtests/bench-strncmp.c: Likewise.
46749         * benchtests/bench-strncpy.c: Likewise.
46750         * benchtests/bench-strnlen.c: Likewise.
46751         * benchtests/bench-strpbrk.c: Likewise.
46752         * benchtests/bench-strrchr.c: Likewise.
46753         * benchtests/bench-strspn.c: Likewise.
46754         * benchtests/bench-strstr.c: Likewise.
46756 2013-09-04  Will Newton  <will.newton@linaro.org>
46758         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46760 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46762         [BZ #15427]
46763         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46764         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46765         * math/libm-test.inc (lgamma_test_data): Add more tests.
46766         * sysdeps/i386/fpu/libm-test-ulps: Update.
46767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46769 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46771         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46773         Add ifunc.
46774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46775         Add strcmp-sse2-unaligned
46776         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46778 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46780         * Versions.def (libc): Add GLIBC_2.19.
46782 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46784         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46785         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46787 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46789         [BZ #14155]
46790         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46791         intermediate calculations in recurrence.
46792         (__ieee754_ynf): Likewise.
46793         * math/libm-test.inc (jn_test_data): Do not allow spurious
46794         underflow exception.  Add more tests.
46795         (yn_test_data): Add more tests.
46796         * sysdeps/i386/fpu/libm-test-ulps: Update.
46797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46799 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46801         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46803 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46805         * csu/init-first.c: Fix then/than typos.
46806         * locale/programs/ld-collate.c: Likewise.
46807         * locale/programs/linereader.h: Likewise.
46808         * manual/charset.texi: Likewise.
46809         * manual/filesys.texi: Likewise.
46810         * manual/stdio.texi: Likewise.
46811         * manual/string.texi: Likewise.
46812         * stdlib/fmtmsg.c: Likewise.
46813         * sysdeps/i386/stpncpy.S: Likewise.
46814         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46815         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46817         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46819 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46821         * elf/dl-open.c: Fix typos.
46822         * iconvdata/gbbig5.c: Likewise.
46823         * iconvdata/iso-2022-jp.c: Likewise.
46824         * iconv/gconv_int.h: Likewise.
46825         * iconv/loop.c: Likewise.
46826         * nis/rpcsvc/nis.h: Likewise.
46827         * resolv/ns_name.c: Likewise.
46828         * stdio-common/vfscanf.c: Likewise.
46829         * streams/stropts.h: Likewise.
46830         * sunrpc/rpc_thread.c: Likewise.
46831         * sysdeps/i386/strpbrk.S: Likewise.
46832         * sysdeps/ieee754/k_standard.c: Likewise.
46833         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46834         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46835         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46836         * sysdeps/mach/hurd/profil.c: Likewise.
46837         * sysdeps/s390/dl-procinfo.h: Likewise.
46838         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46839         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46840         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46841         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46842         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46844 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46846         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46849 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46851         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46852         aix specific files.
46853         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46854         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46855         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46856         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46857         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46858         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46859         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46860         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46862 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46863             Roland McGrath  <roland@hack.frob.com>
46865         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46866         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46868 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46870         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46871         __executable_start symbol instead of _start.
46873 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46875         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46876         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46877         Move macros to...
46878         * sysdeps/gnu/ldsodefs.h: ... this new file.
46880         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46881         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46882         instead of ELFOSABI_LINUX.
46884         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46885         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46886         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46887         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46888         Likewise.
46889         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46890         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46891         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46892         Likewise.
46893         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46894         (ibm_extended_long_double): Add ieee_nan member.
46895         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46896         (do_test): New function.
46898         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46899         TEST_TRUNC.
46900         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46901         functions, renamed from truncdfsf_test, trunctfsf_test,
46902         trunctfdf_test.
46903         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46904         functions.
46905         (do_test): Run all these.
46907 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46909         * argp/argp-help.c: Fix typos.
46910         * argp/argp-parse.c: Likewise.
46911         * debug/backtracesyms.c: Likewise.
46912         * elf/elf.h: Likewise.
46913         * malloc/malloc.c: Likewise.
46914         * nis/nis_print.c: Likewise.
46915         * resolv/res_comp.c: Likewise.
46916         * stdlib/stdlib.h: Likewise.
46917         * sunrpc/clnt_tcp.c: Likewise.
46918         * sunrpc/clnt_udp.c: Likewise.
46919         * sunrpc/clnt_unix.c: Likewise.
46920         * sysdeps/unix/bsd/ptsname.c: Likewise.
46921         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46922         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46924         Likewise.
46925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46926         Likewise.
46927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46928         Likewise.
46929         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46931 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46933         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46936 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46938         [BZ #15897]
46939         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46940         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46941         ($(objpfx)bug-dl-leaf): New rule.
46942         ($(objpfx)bug-dl-leaf.so): Likewise.
46943         ($(objpfx)bug-dl-leaf.out): Likewise.
46944         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46945         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46946         * dlfcn/bug-dl-leaf.c: New test.
46947         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46948         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46949         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46950         (dlclose): Likewise.
46951         (dlmopen): Likewise.
46953 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46955         * include/netdb.h [!_ISOMAC]:
46956         Don't include <tls.h>.
46957         (h_errno, __libc_h_errno): Move declaration and macros out of
46958         [_LIBC_REENTRANT].
46960         * include/resolv.h [_RESOLV_H_]:
46961         Don't include <tls.h>.
46962         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46963         * resolv/res_libc.c: Don't include <tls.h>.
46964         (_res): Use __attribute__ ((nocommon)) in place of
46965         __attribute__ ((section (".bss"))).
46967         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46968         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46970         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46972         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46973         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46975         * resolv/res_mkquery.c: Include <sys/time.h>.
46977         * inet/ifreq.c: Moved to ...
46978         * sysdeps/unix/ifreq.c: ... here.
46979         * inet/ifreq.c: New file, true stub version.
46981         * socket/sa_len.c: New file.
46982         * socket/Makefile (aux): Add it.
46983         * sysdeps/unix/sysv/linux/Makefile
46984         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46985         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46986         and #include <socket/sa_len.c>.
46987         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46988         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46990         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46991         * bits/socket.h: ... here.
46993         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46994         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46995         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46997 2013-08-27  Andreas Schwab  <schwab@suse.de>
46999         [BZ #15736]
47000         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47001         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47002         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47003         * string/test-strcasecmp.c (test_main): Run tests in several
47004         locales.
47005         * string/test-strncasecmp.c (test_main): Likewise.
47007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47008         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47009         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47011         (__strncasecmp_ssse3) [PIC]: Likewise.
47013 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47015         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47017         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47018         instead of explicitly declaring xdecrypt.
47019         * nis/nss_nis/nis-publickey.c: Likewise.
47021 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47023         [BZ #15890]
47024         * nscd/aicache.c: Include res_hconf.h.
47025         (addhstaiX): Initialize res_hconf.
47027 2013-08-26  Andreas Schwab  <schwab@suse.de>
47029         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47030         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47032 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47034         * nscd/aicache.c (addhstaiX): Fix indentation.
47036 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47038         * configure.ac: Quote $build_pt_chown test.
47039         * configure: Regenerated.
47041 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47043         [BZ #15532]
47044         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47045         * math/s_cexpf.c (__cexpf): Likewise.
47046         * math/s_cexpl.c (__cexpl): Likewise.
47047         * math/libm-test.inc (cexp_test_data): Correct expected return
47048         value for NaN + i0.  Add another test.
47050 2013-08-22  David S. Miller  <davem@davemloft.net>
47052         * po/ca.po: Update Catalan translation from translation project.
47053         * po/uk.po: Add Ukrainian translations from translation project.
47055 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47057         [BZ #15797]
47058         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47059         is infinite, not alongside NaN test.
47060         * math/s_fdimf.c (__fdimf): Likewise.
47061         * math/s_fdiml.c (__fdiml): Likewise.
47062         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47063         errno is unchanged.
47065 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47067         * argp/argp-help.c: Fix typos.
47068         * crypt/speeds.c: Likewise.
47069         * csu/check_fds.c: Likewise.
47070         * elf/dl-load.c: Likewise.
47071         * elf/dl-open.c: Likewise.
47072         * elf/reldep3.c: Likewise.
47073         * elf/reldep.c: Likewise.
47074         * elf/sprof.c: Likewise.
47075         * iconv/iconv_charmap.c: Likewise.
47076         * iconv/skeleton.c: Likewise.
47077         * iconv/strtab.c: Likewise.
47078         * io/lockf64.c: Likewise.
47079         * libio/libioP.h: Likewise.
47080         * resolv/gai_notify.c: Likewise.
47081         * resolv/ns_name.c: Likewise.
47082         * resolv/ns_samedomain.c: Likewise.
47083         * resolv/res_send.c: Likewise.
47084         * stdlib/random.c: Likewise.
47085         * sunrpc/rpc/xdr.h: Likewise.
47086         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47087         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47088         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47089         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47090         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47091         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47092         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47093         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47094         * sysdeps/mach/hurd/check_fds.c: Likewise.
47095         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47096         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47097         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47098         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47099         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47100         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47101         * sysdeps/pthread/aio_notify.c: Likewise.
47102         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47103         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47104         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47105         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47106         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47108 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47110         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47111         version if bit_Slow_SSE4_2 is set.
47112         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47113         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47115 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47117         [BZ #15867]
47118         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47119         trampoline stack frame information.
47120         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47121         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47122         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47123         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47124         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47125         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47126         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47127         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47128         sa_flags value.
47129         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47130         interrupting a syscall and set with option SA_SIGINFO.
47132 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47134         [BZ #15531]
47135         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47136         argument is infinite.
47137         * math/s_cprojf.c (__cprojf): Likewise.
47138         * math/s_cprojl.c (__cprojl): Likewise.
47139         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47140         * math/libm-test.inc (cproj_test_data): Add more tests.
47142         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47144         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47145         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47146         size.  Use __ffs to determine corresponding shift.
47148 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47149             Roland McGrath  <roland@hack.frob.com>
47151         * Makefile (INSTALL): Remove trailing blank lines from output of
47152         makeinfo.
47154 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47156         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47157         Align 32 bit compat elf_greg to 8 bytes.
47159 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47161         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47163 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47165         * string/strcoll_l.c (coll_seq): New structure.
47166         (get_next_seq_cached): New function.
47167         (get_next_seq): New function.
47168         (do_compare): New function.
47169         (STRCOLL): Use GNU style definition.  Simplify implementation
47170         by using get_next_seq, get_next_seq_cached and do_compare.
47172 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47174         [BZ #14699]
47175         CVE-2013-4237
47176         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47177         member.
47178         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47179         member.
47180         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47181         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47182         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47183         conditional.
47184         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47185         GETDENTS_64BIT_ALIGNED.
47186         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47187         * manual/filesys.texi (Reading/Closing Directory): Document
47188         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47189         strongly.
47190         * manual/conf.texi (Limits for Files): Add portability note to
47191         NAME_MAX, PATH_MAX.
47192         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47194 2013-08-13  Andreas Schwab  <schwab@suse.de>
47196         [BZ #15749]
47197         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47198         of fabs.
47199         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47200         LDBL_MAX_EXP >= 16384]: Add tests for it.
47202 2013-08-12  David S. Miller  <davem@davemloft.net>
47204         * version.h (RELEASE): Set to "development".
47205         (VERSION): Set to "2.18.90".
47206         * NEWS: Add 2.19 section.
47208 2013-08-03  David S. Miller  <davem@davemloft.net>
47210         * po/ko.po: Update Korean translation from translation project.
47212 2013-08-01  David S. Miller  <davem@davemloft.net>
47214         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47215         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47216         Bilka.
47218 2013-07-30  David S. Miller  <davem@davemloft.net>
47220         * po/fr.po: Update French translation from translation project.
47222 2013-07-28  David S. Miller  <davem@davemloft.net>
47224         * po/cs.po: Update Czech translation from translation project.
47226         * po/sv.po: Update Swedish translation from translation project.
47228 2013-07-27  David S. Miller  <davem@davemloft.net>
47230         * po/eo.po: Update Esperanto translation from translation project.
47232         * po/vi.po: Update Vietnamese translation from translation project.
47234         * po/de.po: Update German translation from translation project.
47236 2013-07-26  David S. Miller  <davem@davemloft.net>
47238         * po/bg.po: Update Bulgarian translation from translation project.
47240         * po/nl.po: Update Dutch translation from translation project.
47241         * po/pl.po: Update Polish translation from translation project.
47242         * po/ru.po: Update Russian translation from translation project.
47244 2013-07-24  David S. Miller  <davem@davemloft.net>
47246         * po/libc.pot: Update.
47248 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47250         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47251         variable page size.
47252         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47253         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47254         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47256 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47258         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47260 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47261             Andreas Schwab  <schwab@suse.de>
47262             Roland McGrath  <roland@hack.frob.com>
47263             Joseph Myers  <joseph@codesourcery.com>
47264             Carlos O'Donell  <carlos@redhat.com>
47266         [BZ #15755]
47267         * config.h.in: Define HAVE_PT_CHOWN.
47268         * config.make.in (build-pt-chown): New variable.
47269         * configure.in (--enable-pt_chown): New configure option.
47270         * configure: Regenerate.
47271         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47272         build-pt-chown is enabled.
47273         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47274         pt_chown to fix pty ownership.
47275         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47276         CLOSE_ALL_FDS.
47277         * manual/install.texi (Configuring and compiling): Mention
47278         --enable-pt_chown. Add @findex for grantpt.
47279         * INSTALL: Regenerate.
47281 2013-07-20  David S. Miller  <davem@davemloft.net>
47283         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47284         difference between 32-bit and 64-bit.
47286 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47288         [BZ #15711]
47289         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47290         Avoid system header dependency with -ffreestanding.
47291         ($(objpfx)bits/syscall%d): Likewise.
47293 2013-07-13  David S. Miller  <davem@davemloft.net>
47295         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47296         underflows from atanl/atan2l due to bug 15319.
47297         (casinh_test_data): Likewise.
47299 2013-07-07  David S. Miller  <davem@davemloft.net>
47301         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47303 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47305         * sysdeps/i386/fpu/libm-test-ulps: Update.
47306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47308 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47310         * configure.in (--enable-lock-elision): Fix message text.
47311         * INSTALL: Regenerate.
47312         * configure: Regenerate.
47314 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47318 2013-07-03  Andreas Jaeger  <aj@suse.de>
47320         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47321         define.
47322         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47323         (ptrace_peeksiginfo_args): Add.
47324         (__ptrace_peeksiginfo_flags): Add.
47325         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47326         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47327         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47329 2013-07-03  Allan McRae  <allan@archlinux.org>
47331         * sysdeps/i386/fpu/libm-test-ulps: Update.
47333 2013-07-02  David S. Miller  <davem@davemloft.net>
47335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47337 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47341 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47343         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47346 2013-07-02  Andi Kleen <ak@linux.intel.com>
47348         * config.h.in (ENABLE_LOCK_ELISION): Add.
47349         * configure.in (--enable-lock-elision): Add option.
47350         * manual/install.texi: Document --enable lock elision.
47351         * configure: Regenerate
47352         * INSTALL: Regenerate.
47354 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47356         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47357         SSE4.2 strcasecmp for libc.a.
47358         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47360 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47362         [BZ #13304]
47363         * soft-fp/op-common.h (_FP_FMA): New macro.
47364         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47365         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47366         (_FP_MUL_MEAT_1_imm): ... here.
47367         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47368         (_FP_MUL_MEAT_1_wide): ... here.
47369         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47370         (_FP_MUL_MEAT_1_hard): ... here.
47371         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47372         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47373         (_FP_MUL_MEAT_2_wide): ... here.
47374         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47375         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47376         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47377         (_FP_MUL_MEAT_2_gmp): ... here.
47378         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47379         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47380         (_FP_MUL_MEAT_4_wide): ... here.
47381         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47382         (_FP_MUL_MEAT_4_gmp): ... here.
47383         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47384         (_FP_WFRACBITS_DW_S): Likewise.
47385         (_FP_WFRACXBITS_DW_S): Likewise.
47386         (_FP_HIGHBIT_DW_S): Likewise.
47387         (FP_FMA_S): Likewise.
47388         (_FP_FRAC_HIGH_DW_S): Likewise.
47389         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47390         (_FP_WFRACBITS_DW_D): Likewise.
47391         (_FP_WFRACXBITS_DW_D): Likewise.
47392         (_FP_HIGHBIT_DW_D): Likewise.
47393         (FP_FMA_D): Likewise.
47394         (_FP_FRAC_HIGH_DW_D): Likewise.
47395         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47396         (_FP_WFRACBITS_DW_E): Likewise.
47397         (_FP_WFRACXBITS_DW_E): Likewise.
47398         (_FP_HIGHBIT_DW_E): Likewise.
47399         (FP_FMA_E): Likewise.
47400         (_FP_FRAC_HIGH_DW_E): Likewise.
47401         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47402         (_FP_WFRACBITS_DW_Q): Likewise.
47403         (_FP_WFRACXBITS_DW_Q): Likewise.
47404         (_FP_HIGHBIT_DW_Q): Likewise.
47405         (FP_FMA_Q): Likewise.
47406         (_FP_FRAC_HIGH_DW_Q): Likewise.
47407         * soft-fp/fmasf4.c: New file.
47408         * soft-fp/fmadf4.c: Likewise.
47409         * soft-fp/fmatf4.c: Likewise.
47411 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47414         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47415         Silvermont.
47416         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47417         macro.
47418         (index_Slow_SSE4_2): Likewise.
47419         (index_Prefer_PMINUB_for_stringop): Likewise.
47420         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47421         bit_Slow_SSE4_2 is set.
47422         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47423         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47425 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47427         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47428         rtld_global._dl_hwcap2.
47429         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47430         POWER8.
47431         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47432         POWER8 feature descriptions defined in _dl_hwcap2.
47433         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47434         string handling for POWER8 feature bits.
47435         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47436         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47437         _dl_powerpc_cap_flags.
47438         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47439         * sysdeps/powerpc/rtld-global-offsets.sym
47440         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47441         _dl_hwcap2 in the rtld_global_ro structure.
47443 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47445         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47446         hardware capabilities in support of AT_HWCAP2.
47447         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47448         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47449         GLRO(dl_hwcap2).
47450         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47451         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47452         explicitly the unknown a_type display mechanism is used.
47453         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47454         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47455         struct member.
47456         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47457         to macro prototype for AT_HWCAP2 support.
47458         * sysdeps/i386/dl-procinfo.h: Likewise.
47459         * sysdeps/s390/dl-procinfo.h: Likewise.
47460         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47461         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47462         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47463         return -1 for unknown a_type display fallback.
47464         * sysdeps/sparc/dl-procinfo.h: Likewise.
47465         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47466         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47468 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47470         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47471         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47473 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47475         [BZ #12492]
47476         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47477         mprotect making __stack_prot writable.
47479 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47480             Joseph Myers  <joseph@codesourcery.com>
47482         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47483         as being properly aligned.
47485 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47487         * dlfcn/modstatic5.c: New file.
47488         * dlfcn/tststatic5.c: New file.
47489         * dlfcn/Makefile (tests): Add tststatic5.
47490         (tests-static): Likewise.
47491         (modules-names): Add modstatic5.
47492         (tststatic5-ENV): New variable.
47493         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47495         [BZ #15022]
47496         * elf/dl-support.c (_dl_main_map): New variable.
47497         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47498         (_dl_nns, _dl_load_adds): Set to 1.
47499         (_dl_initial_searchlist): Refer to _dl_main_map.
47500         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47501         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47502         call to _dl_get_origin.
47503         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47504         around call_map.
47505         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47506         * dlfcn/modstatic3.c: New file.
47507         * dlfcn/tststatic3.c: New file.
47508         * dlfcn/tststatic4.c: New file.
47509         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47510         (tests-static): Likewise.
47511         (modules-names): Add modstatic3.
47512         (tststatic3-ENV, tststatic4-ENV): New variables.
47513         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47514         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47516 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47518         * configure.in (CC): Require GCC version 4.4 or later.
47519         * configure: Regenerated.
47520         * manual/install.texi (Tools for Compilation): Update GCC version
47521         requirement.
47522         * INSTALL: Regenerated.
47524 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47526         [BZ #15674]
47527         * string/test-memcmp.c (check2): New.
47528         (main): Call check2.
47530         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47532 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47534         [BZ #15022]
47535         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47536         over to...
47537         (dl_open_worker) [!SHARED]: ... here.
47539 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47541         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47543 2013-06-25  Richard Henderson  <rth@redhat.com>
47545         * locale/programs/locarchive.c: Include <libc-internal.h>
47547 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47549         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47550         trailing whitespace removed.
47552 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47554         [BZ #10283]
47555         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47556         * locale/programs/locarchive.c: Include libc-mmap.h.
47557         (prepare_address_space): Take two new outputs (the mmap base and len).
47558         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47559         values.
47560         (create_archive): Declare new mmap base and len values for
47561         prepare_address_space, and store the result in ah.
47562         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47563         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47564         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47565         Declare new mmap base and len values for
47566         prepare_address_space, and store the result in new_ah.
47567         (open_archive): Declare new mmap base and len values for
47568         prepare_address_space, and store the result in ah.
47569         (close_archive): If ah->mmap_base is not NULL, use that and
47570         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47571         * sysdeps/generic/libc-mmap.h: New file.
47573 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47575         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47576         (ALIGN_UP): Likewise.
47577         (PTR_ALIGN_DOWN): Likewise.
47578         (PTR_ALIGN_UP): Likewise.
47580 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47582         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47583         entry mapped to PPC_PLATFORM_POWER8.
47584         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47585         POWER8.
47586         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47587         (_dl_string_platform): Add case for exporting platform position for
47588         POWER8.
47589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47590         search path to sysdeps/powerpc/powerpc32/power8 directory.
47591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47592         search path to sysdeps/powerpc/powerpc64/power8 directory.
47593         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47594         power7 directories.
47595         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47596         power7 directories.
47598 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47600         * INSTALL: Regenerate.
47602         * nscd/connections.c (nscd_init): Fix comment.
47604 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47606         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47608         [BZ #15667]
47609         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47610         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47612 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47614         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47615         DL_DST_REQ_STATIC.
47616         (DL_DST_REQ_STATIC): Remove macro.
47618 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47620         [BZ #7006]
47621         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47622         with a shift of 0 bits.
47624 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47626         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47627         $(tststatic-ENV).
47629 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47631         [BZ #15655]
47632         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47634 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47636         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47637         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47638         accepts -fno-tree-loop-distribute-patterns.
47639         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47640         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47641         recursive call.
47642         * string/memset.c (memset): Likewise.
47643         * string/test-memmove.c (simple_memmove): Disable loop transformation
47644         to library calls.
47645         * string/test-memset.c (simple_memset): Likewise.
47646         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47647         * benchtests/bench-memset.c (simple_memset): Likewise.
47648         * configure: Regenerated.
47650 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47652         * math/test-misc.c (main): Ignore fesetround failure when failures
47653         of subsequent rounding tests would be ignored.
47655         [BZ #15654]
47656         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47657         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47658         * math/fegetenv.c (__fegetenv): Return 0.
47659         * math/fegetexcept.c (fegetexcept): Return 0.
47660         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47661         FE_TONEAREST.
47662         * math/feholdexcpt.c (feholdexcept): Return 0.
47663         * math/fesetenv.c (__fesetenv): Return 0.
47664         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47665         argument FE_TONEAREST.
47666         * math/feupdateenv.c (__feupdateenv): Return 0.
47667         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47669 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47671         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47672         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47673         ($(objpfx)rtld-%.os rules): Use them.
47675 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47677         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47678         fields.
47680 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47682         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47683         length of target pattern, then descending length of dependency pattern.
47684         * configure.in (AWK): Require gawk 3.1.2 or newer.
47685         * manual/install.texi (Tools for Compilation): Say that we do.
47686         * configure: Regenerated.
47688         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47689         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47690         * scripts/sysd-rules.awk: ... this new script.
47691         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47692         than a glob-style pattern.
47694 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47696         * math/test-misc.c (main): Do not treat incorrectly rounded
47697         conversions as failure unless ROUNDING_TESTS passes.
47699 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47701         [BZ #15631]
47702         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47703         restore exception state around main square root computation, then
47704         check for inexactness explicitly.
47706         * math/libm-test.inc (fma_test_data): Add another test.
47708 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47710         * manual/threads.texi (Non-POSIX Extensions): New document
47711         node.  Document pthread_getattr_default_np and
47712         pthread_setattr_default_np.
47714         * Versions.def (libpthread): Add GLIBC_2.18.
47715         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47717         Likewise.
47718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47719         Likewise.
47720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47721         Likewise.
47722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47723         Likewise.
47724         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47725         Likewise.
47726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47727         Likewise.
47728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47729         Likewise.
47730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47731         Likewise.
47732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47733         Likewise.
47735 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47738         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47740 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47741             H.J. Lu  <hjl.tools@gmail.com>
47743         [BZ #15627]
47744         * sysdeps/x86_64/rtld-memset.c: Remove file.
47745         * sysdeps/x86_64/rtld-memset.S: New file.
47747 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47749         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47750         (test_in_one_mode): Take arguments for whether the rounding mode
47751         is supported for each floating-point type.
47752         (do_test): Pass new arguments to test_in_one_mode using
47753         ROUNDING_TESTS.
47755 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47757         * posix/tst-waitid.c (do_test): Distinguish different instances of
47758         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47759         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47760         before entering the kernel for waitpid.
47762 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47764         * NEWS: Fix note on clock function precision.  Text by Roland
47765         McGrath.
47767 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47769         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47770         it into place only when and if the sanity check passes.
47772 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47774         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47775         output for whether conversion result is exact.  Take argument
47776         indicating whether type is IBM long double.
47777         (round_for_all): Change need_exact field to ibm_ld.
47778         * stdlib/tst-strtod-round.c (struct exactness): New type.
47779         (struct test): Change bool ld_ok field to struct exactness exact.
47780         (TEST): Update all definitions for change to field.
47781         (tests): Regenerate array contents.
47782         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47783         field value.  Check for IBM long double here.
47784         (do_test): Update calls to test_in_one_mode.
47786 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47788         [BZ #12515]
47789         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47790         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47792 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47794         [BZ #15605]
47795         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47796         generated by the compiler on loop optimizations.
47797         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47798         general definitions.
47800 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47802         * math/bug-nextafter.c: Include <math-tests.h>.
47803         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47804         the relevant type.
47805         * math/bug-nexttoward.c: Include <math-tests.h>.
47806         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47807         the relevant type.
47808         * math/test-misc.c: Include <math-tests.h>.
47809         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47810         the relevant type.
47812 2013-06-12  Andreas Jaeger  <aj@suse.de>
47814         * po/ia.po: Update Interlingua translation from translation
47815         project.
47817 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47819         * include/fenv.h: Include stdbool.h.
47820         (struct rm_ctx): New structure.
47821         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47822         Define macro.
47823         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47824         (SET_RESTORE_ROUNDF): Likewise.
47825         (SET_RESTORE_ROUNDL): Likewise.
47826         (SET_RESTORE_ROUND_NOEX): Likewise.
47827         (SET_RESTORE_ROUND_NOEXF): Likewise.
47828         (SET_RESTORE_ROUND_NOEXL): Likewise.
47829         (SET_RESTORE_ROUND_53BIT): Likewise.
47830         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47831         (libc_feresetround_noexf_ctx): Likewise.
47832         (libc_feresetround_noexl_ctx): Likewise.
47833         (libc_feholdsetround_53bit_ctx): Likewise.
47834         (libc_feresetround_53bit_ctx): Likewise.
47835         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47836         (libc_feholdexcept_setround_sse_ctx): New function.
47837         (libc_fesetenv_sse_ctx): Likewise.
47838         (libc_feupdateenv_sse_ctx): Likewise.
47839         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47840         (libc_feholdexcept_setround_387_ctx): Likewise.
47841         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47842         (libc_feholdsetround_387_prec_ctx): Likewise.
47843         (libc_feholdsetround_387_ctx): Likewise.
47844         (libc_feholdsetround_387_53bit_ctx): Likewise.
47845         (libc_feholdsetround_sse_ctx): Likewise.
47846         (libc_feresetround_sse_ctx): Likewise.
47847         (libc_feresetround_387_ctx): Likewise.
47848         (libc_feupdateenv_387_ctx): Likewise.
47849         (libc_feholdexcept_setroundf_ctx): Define macro.
47850         (libc_fesetenvf_ctx): Likewise.
47851         (libc_feupdateenvf_ctx): Likewise.
47852         (libc_feholdsetroundf_ctx): Likewise.
47853         (libc_feresetroundf_ctx): Likewise.
47854         (libc_feholdexcept_setround_ctx): Likewise.
47855         (libc_fesetenv_ctx): Likewise.
47856         (libc_feupdateenv_ctx): Likewise.
47857         (libc_feholdsetround_ctx): Likewise.
47858         (libc_feresetround_ctx): Likewise.
47859         (libc_feholdexcept_setroundl_ctx): Likewise.
47860         (libc_feupdateenvl_ctx): Likewise.
47861         (libc_feholdsetroundl_ctx): Likewise.
47862         (libc_feresetroundl_ctx): Likewise.
47863         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47864         (libc_feresetround_53bit_ctx): Likewise.
47866 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47868         * locale/iso-639.def: Convert to UTF-8.
47870 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47872         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47873         (EXCEPTION_TESTS_double): Likewise.
47874         (EXCEPTION_TESTS_long_double): Likewise.
47875         (EXCEPTION_TESTS): Likewise.
47876         * math/libm-test.inc (test_exceptions): Only test exceptions if
47877         EXCEPTION_TESTS (FLOAT).
47879 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47881         * benchtests/Makefile (string-bench): Add strcpy_chk and
47882         stpcpy_chk.
47883         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47884         * benchtests/bench-stpcpy_chk.c: New file.
47885         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47886         * benchtests/bench-strcpy_chk.c: New file.
47887         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47888         code.
47889         (do_test): Likewise.
47891 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47893         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47894         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47895         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47896         with tabs where appropriate.
47897         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47898         dl-procinfo.h.
47899         [PPC_PLATFORM_PPC440]: Likewise.
47900         [PPC_PLATFORM_PPC464]: Likewise.
47901         [PPC_PLATFORM_PPC476]: Likewise.
47902         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47903         ppc464, and ppc476 platform strings merging from ports/
47904         dl-procinfo.h.
47906 2013-06-11  Andreas Schwab  <schwab@suse.de>
47908         [BZ #14991]
47909         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47910         (from_ucs4_idx): Regenerate.
47911         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47912         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47913         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47914         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47915         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47916         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47917         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47918         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47919         from FROM_LOOP and TO_LOOP specific macros.
47920         (BODY): Handle combining characters.
47921         * iconvdata/BIG5HKSCS.irreversible: Update.
47922         * iconvdata/BIG5HKSCS.precomposed: New file.
47923         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47924         characters.
47925         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47927 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47929         * include/sys/time.h: Fix indentation and add copyright header.
47931         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47932         (do_test): Likewise.
47933         * string/test-memchr.c (do_one_test): Likewise.
47934         (do_test): Likewise.
47935         * string/test-memcmp.c (do_one_test): Likewise.
47936         (do_test): Likewise.
47937         * string/test-memcpy.c (do_one_test): Likewise.
47938         (do_test): Likewise.
47939         * string/test-memmem.c (do_one_test): Likewise.
47940         (do_test): Likewise.
47941         (do_random_tests): Likewise.
47942         * string/test-memmove.c (do_one_test): Likewise.
47943         (do_test): Likewise.
47944         * string/test-memset.c (do_one_test): Likewise.
47945         (do_test): Likewise.
47946         * string/test-rawmemchr.c (do_one_test): Likewise.
47947         (do_test): Likewise.
47948         * string/test-strcasecmp.c (do_one_test): Likewise.
47949         (do_test): Likewise.
47950         * string/test-strcasestr.c (do_one_test): Likewise.
47951         (do_test): Likewise.
47952         * string/test-strcat.c (do_one_test): Likewise.
47953         (do_test): Likewise.
47954         * string/test-strchr.c (do_one_test): Likewise.
47955         (do_test): Likewise.
47956         * string/test-strcmp.c (do_one_test): Likewise.
47957         (do_test): Likewise.
47958         * string/test-strcpy.c (do_one_test): Likewise.
47959         (do_test): Likewise.
47960         * string/test-string.h: Likewise.
47961         (test_init): Likewise.
47962         * string/test-strlen.c (do_one_test): Likewise.
47963         (do_test): Likewise.
47964         * string/test-strncasecmp.c (do_one_test): Likewise.
47965         (do_test): Likewise.
47966         * string/test-strncat.c (do_one_test): Likewise.
47967         (do_test): Likewise.
47968         * string/test-strncmp.c (do_one_test): Likewise.
47969         (do_test_limit): Likewise.
47970         (do_test): Likewise.
47971         * string/test-strncpy.c (do_one_test): Likewise.
47972         (do_test): Likewise.
47973         * string/test-strnlen.c (do_one_test): Likewise.
47974         (do_test): Likewise.
47975         * string/test-strpbrk.c (do_one_test): Likewise.
47976         (do_test): Likewise.
47977         * string/test-strrchr.c (do_one_test): Likewise.
47978         (do_test): Likewise.
47979         * string/test-strspn.c (do_one_test): Likewise.
47980         (do_test): Likewise.
47981         * string/test-strstr.c (do_one_test): Likewise.
47982         (do_test): Likewise.
47984         * benchtests/Makefile (string-bench): Add string benchmarks.
47985         * benchtests/bench-bcopy-ifunc.c: New file.
47986         * benchtests/bench-bcopy.c: New file.
47987         * benchtests/bench-bzero-ifunc.c: New file.
47988         * benchtests/bench-bzero.c: New file.
47989         * benchtests/bench-memccpy-ifunc.c: New file.
47990         * benchtests/bench-memccpy.c: New file.
47991         * benchtests/bench-memchr-ifunc.c: New file.
47992         * benchtests/bench-memchr.c: New file.
47993         * benchtests/bench-memcmp-ifunc.c: New file.
47994         * benchtests/bench-memcmp.c: New file.
47995         * benchtests/bench-memmem-ifunc.c: New file.
47996         * benchtests/bench-memmem.c: New file.
47997         * benchtests/bench-memmove-ifunc.c: New file.
47998         * benchtests/bench-memmove.c: New file.
47999         * benchtests/bench-mempcpy-ifunc.c: New file.
48000         * benchtests/bench-mempcpy.c: New file.
48001         * benchtests/bench-memset-ifunc.c: New file.
48002         * benchtests/bench-memset.c: New file.
48003         * benchtests/bench-rawmemchr-ifunc.c: New file.
48004         * benchtests/bench-rawmemchr.c: New file.
48005         * benchtests/bench-stpcpy-ifunc.c: New file.
48006         * benchtests/bench-stpcpy.c: New file.
48007         * benchtests/bench-stpncpy-ifunc.c: New file.
48008         * benchtests/bench-stpncpy.c: New file.
48009         * benchtests/bench-strcasecmp-ifunc.c: New file.
48010         * benchtests/bench-strcasecmp.c: New file.
48011         * benchtests/bench-strcasestr-ifunc.c: New file.
48012         * benchtests/bench-strcasestr.c: New file.
48013         * benchtests/bench-strcat-ifunc.c: New file.
48014         * benchtests/bench-strcat.c: New file.
48015         * benchtests/bench-strchr-ifunc.c: New file.
48016         * benchtests/bench-strchr.c: New file.
48017         * benchtests/bench-strchrnul-ifunc.c: New file.
48018         * benchtests/bench-strchrnul.c: New file.
48019         * benchtests/bench-strcmp-ifunc.c: New file.
48020         * benchtests/bench-strcmp.c: New file.
48021         * benchtests/bench-strcpy-ifunc.c: New file.
48022         * benchtests/bench-strcpy.c: New file.
48023         * benchtests/bench-strcspn-ifunc.c: New file.
48024         * benchtests/bench-strcspn.c: New file.
48025         * benchtests/bench-strlen-ifunc.c: New file.
48026         * benchtests/bench-strlen.c: New file.
48027         * benchtests/bench-strncasecmp-ifunc.c: New file.
48028         * benchtests/bench-strncasecmp.c: New file.
48029         * benchtests/bench-strncat-ifunc.c: New file.
48030         * benchtests/bench-strncat.c: New file.
48031         * benchtests/bench-strncmp-ifunc.c: New file.
48032         * benchtests/bench-strncmp.c: New file.
48033         * benchtests/bench-strncpy-ifunc.c: New file.
48034         * benchtests/bench-strncpy.c: New file.
48035         * benchtests/bench-strnlen-ifunc.c: New file.
48036         * benchtests/bench-strnlen.c: New file.
48037         * benchtests/bench-strpbrk-ifunc.c: New file.
48038         * benchtests/bench-strpbrk.c: New file.
48039         * benchtests/bench-strrchr-ifunc.c: New file.
48040         * benchtests/bench-strrchr.c: New file.
48041         * benchtests/bench-strspn-ifunc.c: New file.
48042         * benchtests/bench-strspn.c: New file.
48043         * benchtests/bench-strstr-ifunc.c: New file.
48044         * benchtests/bench-strstr.c: New file.
48046         * benchtests/Makefile: Disable parallel execution of targets.
48047         (string-bench): Add memcpy.
48048         (benchset): New variable to store a list of benchmark sets.
48049         (bench-func): Renamed from bench.
48050         (bench-set): New target.
48051         (bench): Depend on bench-func and bench-set.
48052         * benchtests/README: Add section on benchmark sets.
48053         * benchtests/bench-memcpy-ifunc.c: New file.
48054         * benchtests/bench-memcpy.c: New file.
48055         * benchtests/bench-string.h: New file.
48057 2013-06-11  Andreas Schwab  <schwab@suse.de>
48059         [BZ #15577]
48060         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48061         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48062         values in the triple.
48063         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48064         terminator in the group key.
48066 2013-06-11  Andreas Jaeger  <aj@suse.de>
48068         * po/zh_TW.po: Update Chinese (traditional) translation from
48069         translation project.
48071 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48073         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48074         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48075         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48076         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48077         (clock_getcpuclockid): Likewise.
48078         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48079         Add weak_alias and libc_hidden_def.
48080         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48081         * rt/clock_gettime.c (clock_gettime): Rename to
48082         __clock_gettime.  Add weak_alias and libc_hidden_def.
48083         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48084         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48085         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48086         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48087         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48088         Likewise.
48089         * rt/clock_settime.c (clock_settime): Rename to
48090         __clock_settime.  Add weak_alias and libc_hidden_def.
48091         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48093 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48095         * mach/err_boot.sub: Remove trailing whitespace.
48096         * mach/err_ipc.sub: Likewise.
48097         * mach/err_mach.sub: Likewise.
48099         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48100         (ROUNDING_TESTS_double): Likewise.
48101         (ROUNDING_TESTS_long_double): Likewise.
48102         (ROUNDING_TESTS): Likewise.
48103         * math/libm-test.inc: Include <math-tests.h>.
48104         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48105         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48106         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48107         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48109 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48111         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48112         of assigning.
48114 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48116         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48117         otherwise empty TRANS lines.
48118         * sysdeps/gnu/errlist.c: Regenerated.
48120         * catgets/gencat.c (error_print): Use (void) in function
48121         definition.
48122         * crypt/crypt_util.c (__init_des): Likewise.
48123         * crypt/speeds.c (Stop): Likewise.
48124         (main): Likewise.
48125         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48126         * inet/ruserpass.c (token): Likewise.
48127         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48128         * intl/localealias.c (extend_alias_table): Likewise.
48129         * intl/plural-exp.c (init_germanic_plural): Likewise.
48130         * libio/fcloseall.c (__fcloseall): Likewise.
48131         * libio/genops.c (_IO_flush_all): Likewise.
48132         (_IO_flush_all_linebuffered): Likewise.
48133         (_IO_cleanup): Likewise.
48134         (_IO_iter_begin): Likewise.
48135         (_IO_iter_end): Likewise.
48136         (_IO_list_lock): Likewise.
48137         (_IO_list_unlock): Likewise.
48138         (_IO_list_resetlock): Likewise.
48139         * libio/getchar.c (getchar): Likewise.
48140         * libio/getchar_u.c (getchar_unlocked): Likewise.
48141         * libio/getwchar.c (getwchar): Likewise.
48142         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48143         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48144         * login/getpt.c (__getpt): Likewise.
48145         * login/tst-utmp.c (main): Likewise.
48146         * malloc/hooks.c (__malloc_check_init): Likewise.
48147         * malloc/malloc.c (__malloc_stats): Likewise.
48148         * malloc/mtrace.c (tr_break): Likewise.
48149         (mtrace): Likewise.
48150         (muntrace): Likewise.
48151         * misc/fstab.c (endfsent): Likewise.
48152         * misc/getclktck.c (__getclktck): Likewise.
48153         * misc/getdtsz.c (__getdtablesize): Likewise.
48154         * misc/gethostid.c (gethostid): Likewise.
48155         * misc/getpagesize.c (__getpagesize): Likewise.
48156         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48157         (__get_nprocs): Likewise.
48158         (__get_phys_pages): Likewise.
48159         (__get_avphys_pages): Likewise.
48160         * misc/getttyent.c (getttyent): Likewise.
48161         (setttyent): Likewise.
48162         (endttyent): Likewise.
48163         * misc/getusershell.c (getusershell): Likewise.
48164         (endusershell): Likewise.
48165         (setusershell): Likewise.
48166         (initshells): Likewise.
48167         * misc/hsearch.c (__hdestroy): Likewise.
48168         * misc/sync.c (sync): Likewise.
48169         * misc/syslog.c (closelog_internal): Likewise.
48170         (closelog): Likewise.
48171         * misc/ttyslot.c (ttyslot): Likewise.
48172         * misc/vhangup.c (vhangup): Likewise.
48173         * posix/fork.c (__fork): Likewise.
48174         * posix/getegid.c (__getegid): Likewise.
48175         * posix/geteuid.c (__geteuid): Likewise.
48176         * posix/getgid.c (__getgid): Likewise.
48177         * posix/getpid.c (__getpid): Likewise.
48178         * posix/getppid.c (__getppid): Likewise.
48179         * posix/getuid.c (__getuid): Likewise.
48180         * posix/pause.c (pause): Likewise.
48181         * posix/setpgrp.c (setpgrp): Likewise.
48182         * posix/setsid.c (__setsid): Likewise.
48183         * posix/test-vfork.c (noop): Likewise.
48184         * resolv/gethnamaddr.c (_endhtent): Likewise.
48185         (_gethtent): Likewise.
48186         (ht_endhostent): Likewise.
48187         (gethostent): Likewise.
48188         (dns_service): Likewise.
48189         * stdlib/drand48.c (drand48): Likewise.
48190         * stdlib/lrand48.c (lrand48): Likewise.
48191         * stdlib/mrand48.c (mrand48): Likewise.
48192         * stdlib/rand.c (rand): Likewise.
48193         * stdlib/random.c (__random): Likewise.
48194         * stdlib/setenv.c (clearenv): Likewise.
48195         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48196         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48197         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48198         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48199         (__get_nprocs): Likewise.
48200         (__get_phys_pages): Likewise.
48201         (__get_avphys_pages): Likewise.
48202         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48203         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48204         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48205         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48206         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48207         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48208         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48209         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48210         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48211         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48212         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48213         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48214         * sysdeps/posix/clock.c (clock): Likewise.
48215         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48216         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48217         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48218         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48219         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48220         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48221         (__get_nprocs_conf): Likewise.
48222         (__get_phys_pages): Likewise.
48223         (__get_avphys_pages): Likewise.
48224         * time/clock.c (clock): Likewise.
48225         * time/tzset.c (__tzname_max): Likewise.
48227 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48229         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48230         (__bswap_32): Do not use "register".
48231         * crypt/crypt.c (_ufc_doit_r): Likewise.
48232         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48233         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48234         * gmon/gmon.c (__monstartup): Likewise.
48235         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48236         * hurd/hurdmalloc.c (more_memory): Likewise.
48237         (malloc): Likewise.
48238         (free): Likewise.
48239         (realloc): Likewise.
48240         (malloc_fork_prepare): Likewise.
48241         (malloc_fork_parent): Likewise.
48242         (malloc_fork_child): Likewise.
48243         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48244         (_svcauth_des): Likewise.
48245         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48246         * inet/inet_net.c (inet_network): Likewise.
48247         * inet/inet_netof.c (inet_netof): Likewise.
48248         * inet/rcmd.c (__validuser2_sa): Likewise.
48249         * io/fts.c (fts_open): Likewise.
48250         (fts_load): Likewise.
48251         (fts_close): Likewise.
48252         (fts_read): Likewise.
48253         (fts_children): Likewise.
48254         (fts_build): Likewise.
48255         (fts_stat): Likewise.
48256         (fts_sort): Likewise.
48257         (fts_alloc): Likewise.
48258         (fts_lfree): Likewise.
48259         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48260         (_IO_file_xsgetn): Likewise.
48261         (_IO_file_xsgetn_mmap): Likewise.
48262         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48263         (_IO_cookie_write): Likewise.
48264         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48265         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48266         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48267         * malloc/obstack.c (_obstack_begin): Likewise.
48268         (_obstack_begin_1): Likewise.
48269         (_obstack_newchunk): Likewise.
48270         (_obstack_allocated_p): Likewise.
48271         (obstack_free): Likewise.
48272         (_obstack_memory_used): Likewise.
48273         * misc/getttyent.c (getttynam): Likewise.
48274         (getttyent): Likewise.
48275         (skip): Likewise.
48276         (value): Likewise.
48277         * misc/getusershell.c (initshells): Likewise.
48278         * misc/syslog.c (__vsyslog_chk): Likewise.
48279         * misc/ttyslot.c (ttyslot): Likewise.
48280         * nis/nis_hash.c (__nis_hash): Likewise.
48281         * posix/fnmatch_loop.c (FCT): Likewise.
48282         * posix/getconf.c (print_all): Likewise.
48283         (main): Likewise.
48284         * posix/getopt.c (exchange): Likewise.
48285         * posix/glob.c (globfree): Likewise.
48286         (prefix_array): Likewise.
48287         (__glob_pattern_type): Likewise.
48288         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48289         (NS_GET32): Likewise.
48290         (NS_PUT16): Likewise.
48291         (NS_PUT32): Likewise.
48292         * resolv/gethnamaddr.c (getanswer): Likewise.
48293         (gethostbyname2): Likewise.
48294         (gethostbyaddr): Likewise.
48295         (_gethtent): Likewise.
48296         (_gethtbyname2): Likewise.
48297         (_gethtbyaddr): Likewise.
48298         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48299         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48300         * resolv/res_init.c (__res_vinit): Likewise.
48301         (net_mask): Likewise.
48302         * resolv/res_mkquery.c (outchar): Likewise.
48303         (PRINT): Likewise.
48304         * stdio-common/printf_fp.c (outchar): Likewise.
48305         (PRINT): Likewise.
48306         * stdio-common/printf_fphex.c (outchar): Likewise.
48307         (PRINT): Likewise.
48308         * stdio-common/printf_size.c (outchar): Likewise.
48309         (PRINT): Likewise.
48310         * stdio-common/test_rdwr.c (main): Likewise.
48311         * stdio-common/tfformat.c (matches): Likewise.
48312         * stdio-common/vfprintf.c (outchar): Likewise.
48313         (printf_unknown): Likewise.
48314         (buffered_vfprintf): Likewise.
48315         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48316         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48317         (ReadFile): Likewise.
48318         * stdlib/qsort.c (SWAP): Likewise.
48319         (_quicksort): Likewise.
48320         * stdlib/setenv.c (__add_to_environ): Likewise.
48321         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48322         * stdlib/strtol_l.c (__strtol_l): Likewise.
48323         * stdlib/tst-strtod.c (main): Likewise.
48324         * stdlib/tst-strtol.c (main): Likewise.
48325         * stdlib/tst-strtoll.c (main): Likewise.
48326         * string/bits/string2.h (__strcmp_cc): Likewise.
48327         (__strcmp_cg): Likewise.
48328         (__strcspn_c1): Likewise.
48329         (__strcspn_c2): Likewise.
48330         (__strcspn_c3): Likewise.
48331         (__strspn_c1): Likewise.
48332         (__strspn_c2): Likewise.
48333         (__strspn_c3): Likewise.
48334         (__strsep_1c): Likewise.
48335         (__strsep_2c): Likewise.
48336         (__strsep_3c): Likewise.
48337         * string/memccpy.c (__memccpy): Likewise.
48338         * string/stpcpy.c (__stpcpy): Likewise.
48339         * string/strcmp.c (strcmp): Likewise.
48340         * string/strrchr.c (strrchr): Likewise.
48341         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48342         Likewise.
48343         * sysdeps/mach/hurd/getcwd.c
48344         (_hurd_canonicalize_directory_name_internal): Likewise.
48345         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48346         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48347         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48348         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48349         Likewise, in both definitions.
48350         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48351         definitions.
48352         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48353         64] (__bswap_64): Likewise.
48354         * time/test_time.c (main): Likewise.
48355         * time/tzfile.c (__tzfile_read): Likewise.
48356         (__tzfile_compute): Likewise.
48357         * time/tzset.c (__tzset_parse_tz): Likewise.
48358         (tzset_internal): Likewise.
48359         (compute_change): Likewise.
48360         * wcsmbs/wcscat.c (__wcscat): Likewise.
48361         * wcsmbs/wcschr.c (wcschr): Likewise.
48362         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48363         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48364         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48365         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48366         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48367         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48368         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48369         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48370         * wcsmbs/wmemset.c (wmemset): Likewise.
48372 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48374         * scripts/config.guess: Update to version 2013-05-16.
48375         * scripts/config.sub: Update to version 2013-04-24.
48376         * scripts/install-sh: Update to version 2011-11-20.07.
48377         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48378         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48380 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48382         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48383         * elf/sln.c: Likewise.
48384         * hurd/hurd/ioctl.h: Likewise.
48385         * hurd/hurdmalloc.c: Likewise.
48386         * hurd/xattr.c: Likewise.
48387         * include/shlib-compat.h: Likewise.
48388         * inet/ruserpass.c: Likewise.
48389         * libio/iofgets_u.c: Likewise.
48390         * libio/iofgetws_u.c: Likewise.
48391         * locale/programs/ld-identification.c: Likewise.
48392         * locale/programs/ld-time.c: Likewise.
48393         * mach/msg-destroy.c: Likewise.
48394         * nss/nss_files/files-netgrp.c: Likewise.
48395         * resolv/res_data.c: Likewise.
48396         * soft-fp/op-1.h: Likewise.
48397         * soft-fp/op-2.h: Likewise.
48398         * soft-fp/op-4.h: Likewise.
48399         * soft-fp/op-common.h: Likewise.
48400         * stdio-common/printf_fphex.c: Likewise.
48401         * stdlib/strtod_l.c: Likewise.
48402         * sunrpc/rpc/clnt.h: Likewise.
48403         * sysdeps/generic/framestate.c: Likewise.
48404         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48405         * sysdeps/i386/bsd-setjmp.S: Likewise.
48406         * sysdeps/i386/__longjmp.S: Likewise.
48407         * sysdeps/i386/setjmp.S: Likewise.
48408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48409         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48410         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48411         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48412         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48413         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48414         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48415         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48416         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48417         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48418         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48419         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48420         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48421         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48422         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48423         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48424         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48425         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48426         * sysdeps/ieee754/support.c: Likewise.
48427         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48428         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48429         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48430         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48431         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48432         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48433         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48434         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48435         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48436         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48437         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48438         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48439         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48440         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48441         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48442         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48443         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48446 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48448         * posix/transbug.c: Remove executable mode.
48450 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48452         * crypt/speeds.c: Remove trailing whitespace.
48453         * dlfcn/default.c: Likewise.
48454         * elf/ifuncdep2.c: Likewise.
48455         * elf/ifuncmain1.c: Likewise.
48456         * elf/ifuncmain1vis.c: Likewise.
48457         * elf/testobj.h: Likewise.
48458         * elf/tst-stackguard1.c: Likewise.
48459         * gmon/sys/gmon.h: Likewise.
48460         * hurd/hurdmsg.c: Likewise.
48461         * hurd/new-fd.c: Likewise.
48462         * hurd/ports-get.c: Likewise.
48463         * iconvdata/ibm1008_420.c: Likewise.
48464         * inet/tst-getni1.c: Likewise.
48465         * inet/tst-getni2.c: Likewise.
48466         * libio/ioungetc.c: Likewise.
48467         * libio/wfiledoalloc.c: Likewise.
48468         * manual/libm-err-tab.pl: Likewise.
48469         * math/w_dremf.c: Likewise.
48470         * misc/ftruncate.c: Likewise.
48471         * posix/bug-glob2.c: Likewise.
48472         * posix/tst-pcre.c: Likewise.
48473         * posix/wait4.c: Likewise.
48474         * resolv/README: Likewise.
48475         * resolv/res_debug.h: Likewise.
48476         * resolv/tst-inet_ntop.c: Likewise.
48477         * setjmp/bug269-setjmp.c: Likewise.
48478         * soft-fp/extended.h: Likewise.
48479         * soft-fp/op-1.h: Likewise.
48480         * soft-fp/op-2.h: Likewise.
48481         * soft-fp/op-4.h: Likewise.
48482         * soft-fp/op-8.h: Likewise.
48483         * soft-fp/testit.c: Likewise.
48484         * stdio-common/bug16.c: Likewise.
48485         * stdlib/random.c: Likewise.
48486         * sunrpc/rpcsvc/rquota.x: Likewise.
48487         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48488         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48489         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48490         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48491         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48492         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48493         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48494         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48495         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48496         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48497         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48498         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48499         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48500         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48501         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48502         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48503         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48504         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48505         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48506         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48507         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48508         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48509         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48510         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48511         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48512         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48513         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48514         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48515         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48516         * sysdeps/ieee754/s_lib_version.c: Likewise.
48517         * sysdeps/mach/hurd/check_fds.c: Likewise.
48518         * sysdeps/mach/hurd/getsockname.c: Likewise.
48519         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48520         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48521         * sysdeps/powerpc/bits/link.h: Likewise.
48522         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48523         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48524         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48525         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48526         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48527         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48528         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48529         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48530         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48531         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48532         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48533         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48534         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48535         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48536         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48537         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48538         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48539         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48540         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48541         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48542         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48543         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48544         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48545         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48546         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48547         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48548         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48549         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48550         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48551         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48552         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48553         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48554         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48555         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48556         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48557         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48558         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48559         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48560         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48561         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48562         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48563         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48564         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48565         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48566         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48567         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48568         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48569         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48570         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48571         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48572         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48573         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48574         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48575         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48576         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48577         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48578         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48580         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48581         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48582         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48583         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48584         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48585         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48586         * sysdeps/powerpc/sysdep.h: Likewise.
48587         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48588         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48589         * sysdeps/sh/dl-trampoline.S: Likewise.
48590         * sysdeps/sh/memset.S: Likewise.
48591         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48592         * sysdeps/sh/strlen.S: Likewise.
48593         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48594         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48595         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48596         * sysdeps/sparc/sparc32/rem.S: Likewise.
48597         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48598         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48599         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48600         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48601         * sysdeps/sparc/sparc32/urem.S: Likewise.
48602         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48603         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48604         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48605         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48606         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48607         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48608         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48609         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48610         * sysdeps/unix/bsd/times.c: Likewise.
48611         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48612         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48616         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48617         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48618         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48619         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48620         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48621         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48622         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48623         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48624         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48625         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48626         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48627         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48628         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48629         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48630         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48631         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48632         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48633         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48634         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48635         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48636         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48637         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48638         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48639         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48640         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48641         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48642         * sysdeps/x86_64/strcspn.S: Likewise.
48644 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48646         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48647         generated file.  Regenerate properly from gen-translit.pl.
48648         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48649         locale/C-translit.h.
48651 2013-06-05  Andreas Schwab  <schwab@suse.de>
48653         [BZ #15100]
48654         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48655         week as 6 instead of -1.
48656         * time/tst-strptime.c (day_tests): Add test case.
48658 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48660         * sysdeps/generic/math_private.h
48661         (libc_feholdexcept_setround_53bit): Replace with
48662         libc_feholdsetround_53bit.
48663         (libc_feupdateenv_53bit): Replace with
48664         libc_feresetround_53bit.
48665         (SET_RESTORE_ROUND_53BIT): Adjust.
48667 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48669         * string/test-strchrnul.c: Add copyright header.
48671         * posix/tst-getaddrinfo4.c: Increase test timeout.
48673 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48675         [BZ #15536]
48676         * math/libm-test.inc (MAX_EXP): Remove
48677         (MIN_EXP): Define.
48678         (ulp): Use MIN_EXP - MANT_DIG.
48679         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48681 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48683         * po/be.po: Revert last change.
48684         * po/zh_CN.po: Likewise.
48685         * po/header.pot: Likewise.
48687 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48689         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48690         link-libc-deps to empty as target-specific variable.
48691         * Makerules (link-libc-args): New variable.
48692         (libc-for-link): Likewise.
48693         (link-libc-deps): Likewise.
48694         (lib%.so): Depend on $(link-libc-deps).  Link with
48695         $(link-libc-args).
48696         (build-module): Link with $(link-libc-args).
48697         (build-module-asneeded): Likewise.
48698         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48699         list of objects.
48700         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48701         target-specific variable.
48702         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48703         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48704         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48705         libc.
48706         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48707         libc and ld.so.
48708         ($(objpfx)libpcprofile.so): Likewise.
48709         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48710         libc_nonshared.a.
48711         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48712         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48713         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48714         $(link-libc-deps).
48715         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48716         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48717         * login/Makefile ($(objpfx)libutil.so): Likewise.
48718         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48719         * math/Makefile ($(objpfx)libm.so): Likewise.
48720         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48721         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48722         variable instead of depending directly on libc.
48723         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48724         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48725         $(link-libc-deps).
48726         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48727         libc.
48728         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48729         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48730         ($(objpfx)libanl.so): Likewise.
48731         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48732         ld.so.
48733         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48734         $(link-libc-deps).
48735         * sysdeps/i386/fpu/Makefile: Remove file.
48736         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48737         ($(objpfx)libm.so): Remove dependency on ld.so.
48739 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48741         [BZ # 15553]
48742         * nis/yp_xdr.c (XDRMAXNAME): Define.
48743         (XDRMAXRECORD): Define.
48744         (xdr_domainname): Use XDRMAXNAME.
48745         (xdr_mapname): Likewise.
48746         (xdr_peername): Likewise.
48747         (xdr_keydat): Use XDRMAXRECORD.
48748         (xdr_valdat): Likewise.
48750 2013-05-30  Jeff Law  <law@redhat.com>
48752         [BZ #14256]
48753         * manual/errno.texi (ESTALE): Update to account for more than
48754         just NFS file systems.
48755         * sysdeps/gnu/errlist.c: Regenerated.
48757 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48759         [BZ #15465]
48760         * elf/Makefile (tests): Add tst-null-argv.
48761         (modules-names):  Add tst-null-argv-lib.
48762         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48763         (tst-null-argv-ENV): Set environment for tst-null-argv.
48764         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48765         (RTLD_PROGNAME): New macro.
48766         * elf/tst-null-argv.c: New test case.
48767         * elf/tst-null-argv-lib.c: Library for test case.
48768         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48769         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48770         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48771         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48772         * elf/dl-init.c (call_init): Likewise.
48773         (_dl_init): Likewise.
48774         * elf/dl-load.c (print_search_path): Likewise.
48775         (_dl_map_object): Likewise.
48776         * elf/dl-lookup.c (do_lookup_x): Likewise.
48777         (add_dependency): Likewise.
48778         (_dl_lookup_symbol_x): Likewise.
48779         (_dl_debug_bindings): Likewise.
48780         * elf/dl-open.c (_dl_show_scope): Likewise.
48781         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48782         * elf/dl-version.c (match_symbol): Likewise.
48783         (_dl_check_map_versions): Likewise.
48784         * elf/rtld.c (dl_main): Likewise.
48785         (print_unresolved): Use RTLD_PROGNAME.
48786         (print_missing_version): Likewise.
48787         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48788         (elf_machine_rela): Likewise.
48789         * sysdeps/powerpc/powerpc32/dl-machine.c
48790         (__process_machine_rela): Likewise.
48791         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48792         Likewise.
48793         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48794         Likewise.
48795         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48796         Likewise.
48797         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48798         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48799         Likewise.
48800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48801         Likewise.
48802         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48804 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48806         * po/be.po: Add descriptive title.
48807         * po/zh_CN.po: Likewise.
48808         * po/header.pot: Likewise.
48810 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48812         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48813         error message.
48814         (enlarge_archive): Likewise.
48816 2013-05-28  Ben North  <ben@redfrontdoor.org>
48818         * manual/arith.texi (frexp): It is the magnitude of the return
48819         value which lies in [0.5, 1), not the return value itself.
48821 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48825 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48827         * stdio-common/bug26.c (main): Correct fscanf template.
48829         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48830         declare _dl_skip_args.
48832         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48833         Don't declare.
48835         * manual/platform.texi: Add missing @end deftypefun.
48837 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48839         [BZ #15529]
48840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48841         bit of mantissa of 2^16382.
48842         * math/libm-test.inc (hypot_test_data): Add more tests.
48844         * math/libm-test.inc: Add drem and pow10 to list of tested
48845         functions.
48846         (pow10_test): New function.
48847         (drem_test): Likewise.
48848         (drem_test_tonearest): Likewise.
48849         (drem_test_towardzero): Likewise.
48850         (drem_test_downward): Likewise.
48851         (drem_test_upward): Likewise.
48852         (main): Call the new functions.
48854         * math/libm-test.inc (finite_test_data): Remove.
48855         (finite_test): Run tests from isfinite_test_data.
48856         (gamma_test_data): Remove.
48857         (gamma_test): Run tests from lgamma_test_data.
48858         * sysdeps/i386/fpu/libm-test-ulps: Update.
48859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48861 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48863         * manual/platform.texi: Add PowerPC PPR function set documentation.
48864         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48865         implementation.
48867 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48869         * math/libm-test.inc (MAX_EXP): Define.
48870         (ULPDIFF): Define.
48871         (ulp): New function.
48872         (check_float_internal): Use ULPDIFF.
48873         (cpow_test): Disable failing test.
48874         (check_ulp): Test ulp() implemetnation.
48875         (main): Call check_ulp before starting tests.
48877 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48879         * math/gen-libm-test.pl (generate_testfile): Do not handle
48880         START_DATA and END_DATA.
48881         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48882         END_DATA.
48883         (acos_tonearest_test_data): Likewise.
48884         (acos_towardzero_test_data): Likewise.
48885         (acos_downward_test_data): Likewise.
48886         (acos_upward_test_data): Likewise.
48887         (acosh_test_data): Likewise.
48888         (asin_test_data): Likewise.
48889         (asin_tonearest_test_data): Likewise.
48890         (asin_towardzero_test_data): Likewise.
48891         (asin_downward_test_data): Likewise.
48892         (asin_upward_test_data): Likewise.
48893         (asinh_test_data): Likewise.
48894         (atan_test_data): Likewise.
48895         (atanh_test_data): Likewise.
48896         (atan2_test_data): Likewise.
48897         (cabs_test_data): Likewise.
48898         (cacos_test_data): Likewise.
48899         (cacosh_test_data): Likewise.
48900         (carg_test_data): Likewise.
48901         (casin_test_data): Likewise.
48902         (casinh_test_data): Likewise.
48903         (catan_test_data): Likewise.
48904         (catanh_test_data): Likewise.
48905         (cbrt_test_data): Likewise.
48906         (ccos_test_data): Likewise.
48907         (ccosh_test_data): Likewise.
48908         (ceil_test_data): Likewise.
48909         (cexp_test_data): Likewise.
48910         (cimag_test_data): Likewise.
48911         (clog_test_data): Likewise.
48912         (clog10_test_data): Likewise.
48913         (conj_test_data): Likewise.
48914         (copysign_test_data): Likewise.
48915         (cos_test_data): Likewise.
48916         (cos_tonearest_test_data): Likewise.
48917         (cos_towardzero_test_data): Likewise.
48918         (cos_downward_test_data): Likewise.
48919         (cos_upward_test_data): Likewise.
48920         (cosh_test_data): Likewise.
48921         (cosh_tonearest_test_data): Likewise.
48922         (cosh_towardzero_test_data): Likewise.
48923         (cosh_downward_test_data): Likewise.
48924         (cosh_upward_test_data): Likewise.
48925         (cpow_test_data): Likewise.
48926         (cproj_test_data): Likewise.
48927         (creal_test_data): Likewise.
48928         (csin_test_data): Likewise.
48929         (csinh_test_data): Likewise.
48930         (csqrt_test_data): Likewise.
48931         (ctan_test_data): Likewise.
48932         (ctan_tonearest_test_data): Likewise.
48933         (ctan_towardzero_test_data): Likewise.
48934         (ctan_downward_test_data): Likewise.
48935         (ctan_upward_test_data): Likewise.
48936         (ctanh_test_data): Likewise.
48937         (ctanh_tonearest_test_data): Likewise.
48938         (ctanh_towardzero_test_data): Likewise.
48939         (ctanh_downward_test_data): Likewise.
48940         (ctanh_upward_test_data): Likewise.
48941         (erf_test_data): Likewise.
48942         (erfc_test_data): Likewise.
48943         (exp_test_data): Likewise.
48944         (exp_tonearest_test_data): Likewise.
48945         (exp_towardzero_test_data): Likewise.
48946         (exp_downward_test_data): Likewise.
48947         (exp_upward_test_data): Likewise.
48948         (exp10_test_data): Likewise.
48949         (exp2_test_data): Likewise.
48950         (expm1_test_data): Likewise.
48951         (fabs_test_data): Likewise.
48952         (fdim_test_data): Likewise.
48953         (finite_test_data): Likewise.
48954         (floor_test_data): Likewise.
48955         (fma_test_data): Likewise.
48956         (fma_towardzero_test_data): Likewise.
48957         (fma_downward_test_data): Likewise.
48958         (fma_upward_test_data): Likewise.
48959         (fmax_test_data): Likewise.
48960         (fmin_test_data): Likewise.
48961         (fmod_test_data): Likewise.
48962         (fpclassify_test_data): Likewise.
48963         (frexp_test_data): Likewise.
48964         (gamma_test_data): Likewise.
48965         (hypot_test_data): Likewise.
48966         (ilogb_test_data): Likewise.
48967         (isfinite_test_data): Likewise.
48968         (isgreater_test_data): Likewise.
48969         (isgreaterequal_test_data): Likewise.
48970         (isinf_test_data): Likewise.
48971         (isless_test_data): Likewise.
48972         (islessequal_test_data): Likewise.
48973         (islessgreater_test_data): Likewise.
48974         (isnan_test_data): Likewise.
48975         (isnormal_test_data): Likewise.
48976         (issignaling_test_data): Likewise.
48977         (isunordered_test_data): Likewise.
48978         (j0_test_data): Likewise.
48979         (j1_test_data): Likewise.
48980         (jn_test_data): Likewise.
48981         (ldexp_test_data): Likewise.
48982         (lgamma_test_data): Likewise.
48983         (lrint_test_data): Likewise.
48984         (lrint_tonearest_test_data): Likewise.
48985         (lrint_towardzero_test_data): Likewise.
48986         (lrint_downward_test_data): Likewise.
48987         (lrint_upward_test_data): Likewise.
48988         (llrint_test_data): Likewise.
48989         (llrint_tonearest_test_data): Likewise.
48990         (llrint_towardzero_test_data): Likewise.
48991         (llrint_downward_test_data): Likewise.
48992         (llrint_upward_test_data): Likewise.
48993         (log_test_data): Likewise.
48994         (log10_test_data): Likewise.
48995         (log1p_test_data): Likewise.
48996         (log2_test_data): Likewise.
48997         (logb_test_data): Likewise.
48998         (logb_downward_test_data): Likewise.
48999         (lround_test_data): Likewise.
49000         (llround_test_data): Likewise.
49001         (modf_test_data): Likewise.
49002         (nearbyint_test_data): Likewise.
49003         (nextafter_test_data): Likewise.
49004         (nexttoward_test_data): Likewise.
49005         (pow_test_data): Likewise.
49006         (pow_tonearest_test_data): Likewise.
49007         (pow_towardzero_test_data): Likewise.
49008         (pow_downward_test_data): Likewise.
49009         (pow_upward_test_data): Likewise.
49010         (remainder_test_data): Likewise.
49011         (remainder_tonearest_test_data): Likewise.
49012         (remainder_towardzero_test_data): Likewise.
49013         (remainder_downward_test_data): Likewise.
49014         (remainder_upward_test_data): Likewise.
49015         (remquo_test_data): Likewise.
49016         (rint_test_data): Likewise.
49017         (rint_tonearest_test_data): Likewise.
49018         (rint_towardzero_test_data): Likewise.
49019         (rint_downward_test_data): Likewise.
49020         (rint_upward_test_data): Likewise.
49021         (round_test_data): Likewise.
49022         (scalb_test_data): Likewise.
49023         (scalbn_test_data): Likewise.
49024         (scalbln_test_data): Likewise.
49025         (signbit_test_data): Likewise.
49026         (sin_test_data): Likewise.
49027         (sin_tonearest_test_data): Likewise.
49028         (sin_towardzero_test_data): Likewise.
49029         (sin_downward_test_data): Likewise.
49030         (sin_upward_test_data): Likewise.
49031         (sincos_test_data): Likewise.
49032         (sinh_test_data): Likewise.
49033         (sinh_tonearest_test_data): Likewise.
49034         (sinh_towardzero_test_data): Likewise.
49035         (sinh_downward_test_data): Likewise.
49036         (sinh_upward_test_data): Likewise.
49037         (sqrt_test_data): Likewise.
49038         (tan_test_data): Likewise.
49039         (tan_tonearest_test_data): Likewise.
49040         (tan_towardzero_test_data): Likewise.
49041         (tan_downward_test_data): Likewise.
49042         (tan_upward_test_data): Likewise.
49043         (tanh_test_data): Likewise.
49044         (tgamma_test_data): Likewise.
49045         (trunc_test_data): Likewise.
49046         (y0_test_data): Likewise.
49047         (y1_test_data): Likewise.
49048         (yn_test_data): Likewise.
49049         (significand_test_data): Likewise.
49051         * math/gen-libm-test.pl (@functions): Remove variable.
49052         (generate_testfile): Don't handle START and END lines.
49053         * math/libm-test.inc (START): New macro.
49054         (END): Likewise.
49055         (END_COMPLEX): Likewise.
49056         (acos_test): Use END macro without arguments.
49057         (acos_test_tonearest): Likewise.
49058         (acos_test_towardzero): Likewise.
49059         (acos_test_downward): Likewise.
49060         (acos_test_upward): Likewise.
49061         (acosh_test): Likewise.
49062         (asin_test): Likewise.
49063         (asin_test_tonearest): Likewise.
49064         (asin_test_towardzero): Likewise.
49065         (asin_test_downward): Likewise.
49066         (asin_test_upward): Likewise.
49067         (asinh_test): Likewise.
49068         (atan_test): Likewise.
49069         (atanh_test): Likewise.
49070         (atan2_test): Likewise.
49071         (cabs_test): Likewise.
49072         (cacos_test): Use END_COMPLEX macro without arguments.
49073         (cacosh_test): Likewise.
49074         (carg_test): Use END macro without arguments.
49075         (casin_test): Use END_COMPLEX macro without arguments.
49076         (casinh_test): Likewise.
49077         (catan_test): Likewise.
49078         (catanh_test): Likewise.
49079         (cbrt_test): Use END macro without arguments.
49080         (ccos_test): Use END_COMPLEX macro without arguments.
49081         (ccosh_test): Likewise.
49082         (ceil_test): Use END macro without arguments.
49083         (cexp_test): Use END_COMPLEX macro without arguments.
49084         (cimag_test): Use END macro without arguments.
49085         (clog_test): Use END_COMPLEX macro without arguments.
49086         (clog10_test): Likewise.
49087         (conj_test): Likewise.
49088         (copysign_test): Use END macro without arguments.
49089         (cos_test): Likewise.
49090         (cos_test_tonearest): Likewise.
49091         (cos_test_towardzero): Likewise.
49092         (cos_test_downward): Likewise.
49093         (cos_test_upward): Likewise.
49094         (cosh_test): Likewise.
49095         (cosh_test_tonearest): Likewise.
49096         (cosh_test_towardzero): Likewise.
49097         (cosh_test_downward): Likewise.
49098         (cosh_test_upward): Likewise.
49099         (cpow_test): Use END_COMPLEX macro without arguments.
49100         (cproj_test): Likewise.
49101         (creal_test): Use END macro without arguments.
49102         (csin_test): Use END_COMPLEX macro without arguments.
49103         (csinh_test): Likewise.
49104         (csqrt_test): Likewise.
49105         (ctan_test): Likewise.
49106         (ctan_test_tonearest): Likewise.
49107         (ctan_test_towardzero): Likewise.
49108         (ctan_test_downward): Likewise.
49109         (ctan_test_upward): Likewise.
49110         (ctanh_test): Likewise.
49111         (ctanh_test_tonearest): Likewise.
49112         (ctanh_test_towardzero): Likewise.
49113         (ctanh_test_downward): Likewise.
49114         (ctanh_test_upward): Likewise.
49115         (erf_test): Use END macro without arguments.
49116         (erfc_test): Likewise.
49117         (exp_test): Likewise.
49118         (exp_test_tonearest): Likewise.
49119         (exp_test_towardzero): Likewise.
49120         (exp_test_downward): Likewise.
49121         (exp_test_upward): Likewise.
49122         (exp10_test): Likewise.
49123         (exp2_test): Likewise.
49124         (expm1_test): Likewise.
49125         (fabs_test): Likewise.
49126         (fdim_test): Likewise.
49127         (finite_test): Likewise.
49128         (floor_test): Likewise.
49129         (fma_test): Likewise.
49130         (fma_test_towardzero): Likewise.
49131         (fma_test_downward): Likewise.
49132         (fma_test_upward): Likewise.
49133         (fmax_test): Likewise.
49134         (fmin_test): Likewise.
49135         (fmod_test): Likewise.
49136         (fpclassify_test): Likewise.
49137         (frexp_test): Likewise.
49138         (gamma_test): Likewise.
49139         (hypot_test): Likewise.
49140         (ilogb_test): Likewise.
49141         (isfinite_test): Likewise.
49142         (isgreater_test): Likewise.
49143         (isgreaterequal_test): Likewise.
49144         (isinf_test): Likewise.
49145         (isless_test): Likewise.
49146         (islessequal_test): Likewise.
49147         (islessgreater_test): Likewise.
49148         (isnan_test): Likewise.
49149         (isnormal_test): Likewise.
49150         (issignaling_test): Likewise.
49151         (isunordered_test): Likewise.
49152         (j0_test): Likewise.
49153         (j1_test): Likewise.
49154         (jn_test): Likewise.
49155         (ldexp_test): Likewise.
49156         (lgamma_test): Likewise.
49157         (lrint_test): Likewise.
49158         (lrint_test_tonearest): Likewise.
49159         (lrint_test_towardzero): Likewise.
49160         (lrint_test_downward): Likewise.
49161         (lrint_test_upward): Likewise.
49162         (llrint_test): Likewise.
49163         (llrint_test_tonearest): Likewise.
49164         (llrint_test_towardzero): Likewise.
49165         (llrint_test_downward): Likewise.
49166         (llrint_test_upward): Likewise.
49167         (log_test): Likewise.
49168         (log10_test): Likewise.
49169         (log1p_test): Likewise.
49170         (log2_test): Likewise.
49171         (logb_test): Likewise.
49172         (logb_test_downward): Likewise.
49173         (lround_test): Likewise.
49174         (llround_test): Likewise.
49175         (modf_test): Likewise.
49176         (nearbyint_test): Likewise.
49177         (nextafter_test): Likewise.
49178         (nexttoward_test): Likewise.
49179         (pow_test): Likewise.
49180         (pow_test_tonearest): Likewise.
49181         (pow_test_towardzero): Likewise.
49182         (pow_test_downward): Likewise.
49183         (pow_test_upward): Likewise.
49184         (remainder_test): Likewise.
49185         (remainder_test_tonearest): Likewise.
49186         (remainder_test_towardzero): Likewise.
49187         (remainder_test_downward): Likewise.
49188         (remainder_test_upward): Likewise.
49189         (remquo_test): Likewise.
49190         (rint_test): Likewise.
49191         (rint_test_tonearest): Likewise.
49192         (rint_test_towardzero): Likewise.
49193         (rint_test_downward): Likewise.
49194         (rint_test_upward): Likewise.
49195         (round_test): Likewise.
49196         (scalb_test): Likewise.
49197         (scalbn_test): Likewise.
49198         (scalbln_test): Likewise.
49199         (signbit_test): Likewise.
49200         (sin_test): Likewise.
49201         (sin_test_tonearest): Likewise.
49202         (sin_test_towardzero): Likewise.
49203         (sin_test_downward): Likewise.
49204         (sin_test_upward): Likewise.
49205         (sincos_test): Likewise.
49206         (sinh_test): Likewise.
49207         (sinh_test_tonearest): Likewise.
49208         (sinh_test_towardzero): Likewise.
49209         (sinh_test_downward): Likewise.
49210         (sinh_test_upward): Likewise.
49211         (sqrt_test): Likewise.
49212         (tan_test): Likewise.
49213         (tan_test_tonearest): Likewise.
49214         (tan_test_towardzero): Likewise.
49215         (tan_test_downward): Likewise.
49216         (tan_test_upward): Likewise.
49217         (tanh_test): Likewise.
49218         (tgamma_test): Likewise.
49219         (trunc_test): Likewise.
49220         (y0_test): Likewise.
49221         (y1_test): Likewise.
49222         (yn_test): Likewise.
49223         (significand_test): Likewise.
49225 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49227         [BZ #15381]
49228         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49230 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49232         [BZ #14894]
49233         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49234         __ppc_mdoio and __ppc_mdoom.
49235         * manual/platform.texi: Document new functions __ppc_yield,
49236         __ppc_mdoio and __ppc_mdoom.
49238 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49240         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49241         (main): Mention "tls" pseudo-hwcap is legacy.
49242         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49244 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49246         * math/gen-libm-test.pl (parse_args): Output only string of
49247         arguments as text for test name, not full call or descriptions of
49248         tests for extra outputs.
49249         (generate_testfile): Do not pass function name to parse_args.
49250         Generate this_func variable from START.
49251         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49252         field to arg_str.
49253         (struct test_ff_f_data): Likewise.
49254         (test_ff_f_data_nexttoward): Likewise.
49255         (struct test_fi_f_data): Likewise.
49256         (struct test_fl_f_data): Likewise.
49257         (struct test_if_f_data): Likewise.
49258         (struct test_fff_f_data): Likewise.
49259         (struct test_c_f_data): Likewise.
49260         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49261         (struct test_fF_f1_data): Likewise.
49262         (struct test_ffI_f1_data): Likewise.
49263         (struct test_c_c_data): Rename test_name field to arg_str.
49264         (struct test_cc_c_data): Likewise.
49265         (struct test_f_i_data): Likewise.
49266         (struct test_ff_i_data): Likewise.
49267         (struct test_f_l_data): Likewise.
49268         (struct test_f_L_data): Likewise.
49269         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49270         and extra2_name.
49271         (COMMON_TEST_SETUP): New macro.
49272         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49273         (COMMON_TEST_CLEANUP): Likewise.
49274         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49275         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49276         macros.
49277         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49278         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49279         macros.
49280         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49281         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49282         cleanup macros.
49283         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49284         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49285         macros.
49286         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49287         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49288         macros.
49289         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49290         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49291         cleanup macros.
49292         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49293         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49294         cleanup macros.
49295         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49296         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49297         cleanup macros.
49298         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49299         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49300         macros.
49301         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49302         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49303         macros.
49304         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49305         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49306         macros.
49307         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49308         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49309         cleanup macros.
49310         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49311         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49312         cleanup macros.
49313         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49314         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49315         macros.
49316         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49317         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49318         cleanup macros.
49319         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49320         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49321         macros.
49322         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49323         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49324         macros.
49325         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49326         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49327         cleanup macros.
49328         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49330 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49332         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49333         to _sifields.sigfault.
49334         (si_addr_lsb): Define new macro.
49335         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49336         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49337         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49339 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49341         [BZ #15441]
49342         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49343         returns -1.
49344         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49345         null return -1.
49346         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49347         loading the domain.
49349 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49351         * math/gen-libm-test.pl (parse_args): Do not include expected
49352         result in test name.
49353         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49354         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49355         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49356         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49357         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49360 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49362         * benchtests/Makefile: Sort function entries.
49364         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49365         tanh, asinh, acosh, atanh.
49366         * benchtests/acos-inputs: New file.
49367         * benchtests/acosh-inputs: New file.
49368         * benchtests/asin-inputs: New file.
49369         * benchtests/asinh-inputs: New file.
49370         * benchtests/atanh-inputs: New file.
49371         * benchtests/cosh-inputs: New file.
49372         * benchtests/log-inputs: New file.
49373         * benchtests/sinh-inputs: New file.
49374         * benchtests/tanh-inputs: New file.
49376 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49378         [BZ #15339]
49379         * posix/tst-getaddrinfo4.c: New test.
49380         * posix/Makefile (tests): Add it.
49382 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49384         [BZ #15339]
49385         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49386         when no services were used.
49387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49388         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49390 2013-05-21  Andreas Schwab  <schwab@suse.de>
49392         [BZ #15014]
49393         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49394         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49395         successful.
49396         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49397         redundant variable declarations and reallocation of buffer when
49398         parsing as IPv6 address.  Always set NSS status when called from
49399         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49400         buffer too small.  Correct computation of needed size.
49401         * nss/Makefile (tests): Add test-digits-dots.
49402         * nss/test-digits-dots.c: New test.
49404 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49406         * benchtests/Makefile: Remove instructions for adding
49407         benchmark tests.
49408         * benchtests/README: New file to explain how to execute and
49409         enhance the benchmark tests.
49411 2013-05-21  Andreas Schwab  <schwab@suse.de>
49413         [BZ #15493]
49414         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49415         * setjmp/tst-sigsetjmp.c: New test.
49417 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49419         * sysdeps/x86_64/memset.S (memset): New implementation.
49420         (__bzero): Likewise.
49421         (__memset_tail): New function.
49423 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49425         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49426         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49427         __memcpy_sse2_unaligned ifunc selection.
49428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49429         Add memcpy-sse2-unaligned.S.
49430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49431         Add: __memcpy_sse2_unaligned.
49433 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49435         [BZ #15490]
49436         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49437         math_force_eval before restoring floating-point envrionment.
49438         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49439         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49440         Likewise.
49441         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49442         <math_private.h>.
49443         (__nearbyintl): Use math_force_eval before restoring
49444         floating-point environment.
49445         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49447         * math/gen-libm-test.pl (special_functions): Remove.
49448         (parse_args): Don't handle TEST_extra.  Handle functions with no
49449         return value.
49450         * math/libm-test.inc (struct test_sincos_data): Replace with
49451         struct test_fFF_11_data.
49452         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49453         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49454         (sincos_test_data): Change element type to struct
49455         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49456         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49457         RUN_TEST_LOOP_sincos.
49458         * math/README.libm-test: Don't mention special handling of
49459         individual functions.
49460         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49461         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49462         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49463         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49464         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49467         * math/gen-libm-test.pl (get_variable): Remove function.
49468         (parse_args): Don't show pointer parameters to call in test
49469         names.  Use "extra output N" in test names for extra outputs
49470         rather than naming variables.
49472 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49474         [BZ #15488]
49475         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49476         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49477         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49478         double tests.
49479         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49480         disable.
49481         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49482         check_long_double.
49484         * math/gen-libm-test.pl (@tests): Remove variable.
49485         ($count): Likewise.
49486         (new_test): Remove function.
49487         (show_exceptions): New function.
49488         (special_functions): Use show_exceptions instead of new_test.
49489         (parse_args): Likewise.
49490         (generate_testfile): Pass only function name in generated call to
49491         print_max_error or print_complex_max_error.
49492         (get_ulps): Do not handle complex tests specially.
49493         (output_test): Rename to ...
49494         (get_all_ulps_for_test): ... this.  Return a string rather than
49495         printing to a file.  Require ulps to be present.
49496         (output_ulps): Generate arrays rather than #defines.
49497         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49498         (struct ulp_data): New type.
49499         (BUILD_COMPLEX_ULP): Remove macro.
49500         (compare_ulp_data): New function.
49501         (find_ulps): Likewise.
49502         (find_test_ulps): Likewise.
49503         (find_function_ulps): Likewise.
49504         (find_complex_function_ulps): Likewise.
49505         (print_max_error): Determine allowed ulps using
49506         find_function_ulps.
49507         (print_complex_max_error): Determine allowed ulps using
49508         find_complex_function_ulps.
49509         (check_float_internal): Determine max ulps using find_test_ulps.
49510         (check_float): Do not take max_ulp parameter.  Update call to
49511         check_float_internal.
49512         (check_complex): Likewise.
49513         (check_int): Do not take max_ulp parameter.
49514         (check_long): Likewise.
49515         (check_bool): Likewise.
49516         (check_longlong): Likewise.
49517         (struct test_f_f_data): Remove max_ulp field.
49518         (struct test_ff_f_data): Likewise.
49519         (struct test_ff_f_data_nexttoward): Likewise.
49520         (struct test_fi_f_data): Likewise.
49521         (struct test_fl_f_data): Likewise.
49522         (struct test_if_f_data): Likewise.
49523         (struct test_fff_f_data): Likewise.
49524         (struct test_c_f_data): Likewise.
49525         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49526         (struct test_fF_f1_data): Likewise.
49527         (struct test_ffI_f1_data): Likewise.
49528         (struct test_c_c_data): Remove max_ulp field.
49529         (struct test_cc_c_data): Likewise.
49530         (struct test_f_i_data): Likewise.
49531         (struct test_ff_i_data): Likewise.
49532         (struct test_f_l_data): Likewise.
49533         (struct test_f_L_data): Likewise.
49534         (struct test_sincos_data): Likewise.
49535         (RUN_TEST_f_f): Do not handle ulps.
49536         (RUN_TEST_LOOP_f_f): Likewise.
49537         (RUN_TEST_2_f): Likewise.
49538         (RUN_TEST_LOOP_2_f): Likewise.
49539         (RUN_TEST_fff_f): Likewise.
49540         (RUN_TEST_LOOP_fff_f): Likewise.
49541         (RUN_TEST_c_f): Likewise.
49542         (RUN_TEST_LOOP_c_f): Likewise.
49543         (RUN_TEST_f_f1): Likewise.
49544         (RUN_TEST_LOOP_f_f1): Likewise.
49545         (RUN_TEST_fF_f1): Likewise.
49546         (RUN_TEST_LOOP_fF_f1): Likewise.
49547         (RUN_TEST_fI_f1): Likewise.
49548         (RUN_TEST_LOOP_fI_f1): Likewise.
49549         (RUN_TEST_ffI_f1): Likewise.
49550         (RUN_TEST_LOOP_ffI_f1): Likewise.
49551         (RUN_TEST_c_c): Likewise.
49552         (RUN_TEST_LOOP_c_c): Likewise.
49553         (RUN_TEST_cc_c): Likewise.
49554         (RUN_TEST_LOOP_cc_c): Likewise.
49555         (RUN_TEST_f_i): Likewise.
49556         (RUN_TEST_LOOP_f_i): Likewise.
49557         (RUN_TEST_f_i_tg): Likewise.
49558         (RUN_TEST_LOOP_f_i_tg): Likewise.
49559         (RUN_TEST_ff_i_tg): Likewise.
49560         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49561         (RUN_TEST_f_b): Likewise.
49562         (RUN_TEST_LOOP_f_b): Likewise.
49563         (RUN_TEST_f_b_tg): Likewise.
49564         (RUN_TEST_LOOP_f_b_tg): Likewise.
49565         (RUN_TEST_f_l): Likewise.
49566         (RUN_TEST_LOOP_f_l): Likewise.
49567         (RUN_TEST_f_L): Likewise.
49568         (RUN_TEST_LOOP_f_L): Likewise.
49569         (RUN_TEST_sincos): Likewise.
49570         (RUN_TEST_LOOP_sincos): Likewise.
49572 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49574         [BZ #15480]
49575         [BZ #15485]
49576         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49577         main case of finite arguments, set rounding mode to FE_TONEAREST
49578         and discard exceptions.
49579         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49580         exceptions.
49581         (remainder_tonearest_test_data): New variable.
49582         (remainder_test_tonearest): New function.
49583         (remainder_towardzero_test_data): New variable.
49584         (remainder_test_towardzero): New function.
49585         (remainder_downward_test_data): New variable.
49586         (remainder_test_downward): New function.
49587         (remainder_upward_test_data): New variable.
49588         (remainder_test_upward): New function.
49589         (main): Call the new test functions.
49591         * math/libm-test.inc (struct test_f_f1_data): Remove field
49592         extra_init.
49593         (struct test_fF_f1_data): Likewise.
49594         (struct test_ffI_f1_data): Likewise.
49595         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49596         based on value of EXTRA_EXPECTED.
49597         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49598         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49599         EXTRA_VAR based on value of EXTRA_EXPECTED.
49600         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49601         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49602         EXTRA_VAR based on value of EXTRA_EXPECTED.
49603         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49604         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49605         EXTRA_VAR based on value of EXTRA_EXPECTED.
49606         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49607         * math/gen-libm-test.pl (parse_args): Don't output initializers
49608         for extra output values.
49610         * math/libm-test.inc (check_int): Expect result to be exactly
49611         equal to expected value and do not handle ulps.
49612         (check_long): Likewise.
49613         (check_longlong): Likewise.
49615         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49616         exceptions.
49617         (cimag_test_data): Likewise.
49618         (conj_test_data): Likewise.
49619         (copysign_test_data): Likewise.
49620         (cproj_test_data): Likewise.
49621         (creal_test_data): Likewise.
49622         (fabs_test_data): Likewise.
49623         (fdim_test_data): Likewise.
49624         (finite_test_data): Likewise.
49625         (floor_test_data): Likewise.
49626         (fmax_test_data): Likewise.
49627         (fmin_test_data): Likewise.
49628         (fmod_test_data): Likewise.
49629         (fpclassify_test_data): Likewise.
49630         (frexp_test_data): Likewise.
49631         (ilogb_test_data): Likewise.
49632         (isfinite_test_data): Likewise.
49633         (isgreater_test_data): Likewise.
49634         (isgreaterequal_test_data): Likewise.
49635         (isinf_test_data): Likewise.
49636         (isless_test_data): Likewise.
49637         (islessequal_test_data): Likewise.
49638         (islessgreater_test_data): Likewise.
49639         (isnan_test_data): Likewise.
49640         (isnormal_test_data): Likewise.
49641         (issignaling_test_data): Likewise.
49642         (isunordered_test_data): Likewise.
49643         (ldexp_test_data): Likewise.
49644         (lrint_test_data): Likewise.
49645         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49646         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49647         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49648         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49649         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49650         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49651         test input.
49652         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49653         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49654         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49655         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49656         that test input.
49657         (lrint_downward_test_data): Test for "inexact" exceptions.
49658         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49659         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49660         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49661         test input.
49662         (lrint_upward_test_data): Test for "inexact" exceptions.
49663         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49664         test input.
49665         (llrint_test_data): Test for "inexact" exceptions.
49666         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49667         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49668         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49669         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49670         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49671         (llrint_downward_test_data): Test for "inexact" exceptions.
49672         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49673         (llrint_upward_test_data): Test for "inexact" exceptions.
49674         (logb_test_data): Likewise.
49675         (logb_downward_test_data): Likewise.
49676         (nextafter_test_data): Likewise.
49677         (nexttoward_test_data): Likewise.
49678         (remainder_test_data): Likewise.
49679         (remquo_test_data): Likewise.
49680         (scalbn_test_data): Likewise.
49681         (scalbln_test_data): Likewise.
49682         (signbit_test_data): Likewise.
49683         (sqrt_test_data): Likewise.
49684         (significand_test_data): Likewise.
49686 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49688         [BZ #15424]
49689         * benchtests/bench-modf.c (struct args): Mark arg0 as
49690         volatile.
49691         * scripts/bench.pl: Mark members of struct args as volatile.
49693 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49695         [BZ # 15497]
49696         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49697         negative infinity on POWER6 or lower.
49698         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49700 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49702         [BZ #15442]
49703         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49704         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49705         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49706         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49707         (_FP_SETQNAN): New macro.
49708         (_FP_SETQNAN_SEMIRAW): Likewise.
49709         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49710         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49711         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49712         (FP_EXTEND): Use _FP_FRAC_SNANP.
49713         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49714         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49715         into account.
49716         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49717         New macro.
49718         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49719         Likewise.
49721 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49723         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49724         with DIVIDE_BY_ZERO_EXCEPTION.
49725         (gamma_test_data): Likewise.
49726         (lgamma_test_data): Likewise.
49727         (log_test_data): Likewise.
49728         (log10_test_data): Likewise.
49729         (log2_test_data): Likewise.
49730         (tgamma_test_data): Likewise.
49732         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49733         (acos_test_tonearest): Likewise.
49734         (acos_test_towardzero): Likewise.
49735         (acos_test_downward): Likewise.
49736         (acos_test_upward): Likewise.
49737         (acosh_test): Likewise.
49738         (asin_test): Likewise.
49739         (asin_test_tonearest): Likewise.
49740         (asin_test_towardzero): Likewise.
49741         (asin_test_downward): Likewise.
49742         (asin_test_upward): Likewise.
49743         (asinh_test): Likewise.
49744         (atan_test): Likewise.
49745         (atanh_test): Likewise.
49746         (atan2_test): Likewise.
49747         (cabs_test): Likewise.
49748         (cacos_test): Likewise.
49749         (cacosh_test): Likewise.
49750         (casin_test): Likewise.
49751         (casinh_test): Likewise.
49752         (catan_test): Likewise.
49753         (catanh_test): Likewise.
49754         (cbrt_test): Likewise.
49755         (ccos_test): Likewise.
49756         (ccosh_test): Likewise.
49757         (cexp_test): Likewise.
49758         (clog_test): Likewise.
49759         (clog10_test): Likewise.
49760         (cos_test): Likewise.
49761         (cos_test_tonearest): Likewise.
49762         (cos_test_towardzero): Likewise.
49763         (cos_test_downward): Likewise.
49764         (cos_test_upward): Likewise.
49765         (cosh_test): Likewise.
49766         (cosh_test_tonearest): Likewise.
49767         (cosh_test_towardzero): Likewise.
49768         (cosh_test_downward): Likewise.
49769         (cosh_test_upward): Likewise.
49770         (cpow_test): Likewise.
49771         (csin_test): Likewise.
49772         (csinh_test): Likewise.
49773         (csqrt_test): Likewise.
49774         (ctan_test): Likewise.
49775         (ctan_test_tonearest): Likewise.
49776         (ctan_test_towardzero): Likewise.
49777         (ctan_test_downward): Likewise.
49778         (ctan_test_upward): Likewise.
49779         (ctanh_test): Likewise.
49780         (ctanh_test_tonearest): Likewise.
49781         (ctanh_test_towardzero): Likewise.
49782         (ctanh_test_downward): Likewise.
49783         (ctanh_test_upward): Likewise.
49784         (erf_test): Likewise.
49785         (erfc_test): Likewise.
49786         (exp_test): Likewise.
49787         (exp_test_tonearest): Likewise.
49788         (exp_test_towardzero): Likewise.
49789         (exp_test_downward): Likewise.
49790         (exp_test_upward): Likewise.
49791         (exp10_test): Likewise.
49792         (exp2_test): Likewise.
49793         (expm1_test): Likewise.
49794         (fmod_test): Likewise.
49795         (gamma_test): Likewise.
49796         (hypot_test): Likewise.
49797         (j0_test): Likewise.
49798         (j1_test): Likewise.
49799         (jn_test): Likewise.
49800         (lgamma_test): Likewise.
49801         (log_test): Likewise.
49802         (log10_test): Likewise.
49803         (log1p_test): Likewise.
49804         (log2_test): Likewise.
49805         (logb_test_downward): Likewise.
49806         (pow_test): Likewise.
49807         (pow_test_tonearest): Likewise.
49808         (pow_test_towardzero): Likewise.
49809         (pow_test_downward): Likewise.
49810         (pow_test_upward): Likewise.
49811         (remainder_test): Likewise.
49812         (remquo_test): Likewise.
49813         (sin_test): Likewise.
49814         (sin_test_tonearest): Likewise.
49815         (sin_test_towardzero): Likewise.
49816         (sin_test_downward): Likewise.
49817         (sin_test_upward): Likewise.
49818         (sincos_test): Likewise.
49819         (sinh_test): Likewise.
49820         (sinh_test_tonearest): Likewise.
49821         (sinh_test_towardzero): Likewise.
49822         (sinh_test_downward): Likewise.
49823         (sinh_test_upward): Likewise.
49824         (sqrt_test): Likewise.
49825         (tan_test): Likewise.
49826         (tan_test_tonearest): Likewise.
49827         (tan_test_towardzero): Likewise.
49828         (tan_test_downward): Likewise.
49829         (tan_test_upward): Likewise.
49830         (tanh_test): Likewise.
49831         (tgamma_test): Likewise.
49832         (y0_test): Likewise.
49833         (y1_test): Likewise.
49834         (yn_test): Likewise.
49836         * math/gen-libm-test.pl (adjust_arg): Remove function.
49837         (special_function): Remove argument $in_func.  Only handle
49838         generating output for tables of tests, not inside functions.
49839         (parse_args): Likewise.
49840         (generate_testfile): Remove variable $in_func.  Update call to
49841         parse_args.
49842         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49843         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49844         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49845         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49846         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49847         (MAX_VALUE_INIT): Rename macro to max_value.
49848         (MIN_VALUE_INIT): Rename macro to min_value.
49849         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49850         (plus_zero): Remove variable.
49851         (minus_zero): Likewise.
49852         (plus_infty): Likewise.
49853         (minus_infty): Likewise.
49854         (qnan_value): Likewise.
49855         (max_value): Likewise.
49856         (min_value): Likewise.
49857         (min_subnorm_value): Likewise.
49859 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49861         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49862         uint64_t or uint32_t usage.
49863         * crypt/sha256-block.c: Likewise.
49864         * crypt/sha256-crypt.c: Likewise.
49865         * crypt/sha256.c: Likewise.
49866         * crypt/sha512-block.c: Likewise.
49867         * crypt/sha512-crypt.c: Likewise.
49868         * crypt/sha512.c: Likewise.
49869         * debug/backtrace-tst.c: Likewise.
49870         * debug/pcprofiledump.c: Likewise.
49871         * elf/cache.c: Likewise.
49872         * elf/dl-cache.c: Likewise.
49873         * elf/dl-misc.c: Likewise.
49874         * elf/dl-profile.c: Likewise.
49875         * elf/dl-support.c: Likewise.
49876         * elf/ldconfig.c: Likewise.
49877         * elf/sprof.c: Likewise.
49878         * iconv/dummy-repertoire.c: Likewise.
49879         * iconv/iconv_charmap.c: Likewise.
49880         * iconv/skeleton.c: Likewise.
49881         * iconvdata/8bit-generic.c: Likewise.
49882         * iconvdata/cp737.h: Likewise.
49883         * iconvdata/cp775.h: Likewise.
49884         * iconvdata/ibm1008.h: Likewise.
49885         * iconvdata/ibm1025.h: Likewise.
49886         * iconvdata/ibm1046.h: Likewise.
49887         * iconvdata/ibm1097.h: Likewise.
49888         * iconvdata/ibm1112.h: Likewise.
49889         * iconvdata/ibm1122.h: Likewise.
49890         * iconvdata/ibm1123.h: Likewise.
49891         * iconvdata/ibm1124.h: Likewise.
49892         * iconvdata/ibm1129.h: Likewise.
49893         * iconvdata/ibm1130.h: Likewise.
49894         * iconvdata/ibm1132.h: Likewise.
49895         * iconvdata/ibm1133.h: Likewise.
49896         * iconvdata/ibm1137.h: Likewise.
49897         * iconvdata/ibm1140.h: Likewise.
49898         * iconvdata/ibm1141.h: Likewise.
49899         * iconvdata/ibm1142.h: Likewise.
49900         * iconvdata/ibm1143.h: Likewise.
49901         * iconvdata/ibm1144.h: Likewise.
49902         * iconvdata/ibm1145.h: Likewise.
49903         * iconvdata/ibm1146.h: Likewise.
49904         * iconvdata/ibm1147.h: Likewise.
49905         * iconvdata/ibm1148.h: Likewise.
49906         * iconvdata/ibm1149.h: Likewise.
49907         * iconvdata/ibm1153.h: Likewise.
49908         * iconvdata/ibm1154.h: Likewise.
49909         * iconvdata/ibm1155.h: Likewise.
49910         * iconvdata/ibm1156.h: Likewise.
49911         * iconvdata/ibm1157.h: Likewise.
49912         * iconvdata/ibm1158.h: Likewise.
49913         * iconvdata/ibm1160.h: Likewise.
49914         * iconvdata/ibm1161.h: Likewise.
49915         * iconvdata/ibm1162.h: Likewise.
49916         * iconvdata/ibm1163.h: Likewise.
49917         * iconvdata/ibm1164.h: Likewise.
49918         * iconvdata/ibm1166.h: Likewise.
49919         * iconvdata/ibm1167.h: Likewise.
49920         * iconvdata/ibm12712.h: Likewise.
49921         * iconvdata/ibm1390.h: Likewise.
49922         * iconvdata/ibm1399.h: Likewise.
49923         * iconvdata/ibm16804.h: Likewise.
49924         * iconvdata/ibm4517.h: Likewise.
49925         * iconvdata/ibm4899.h: Likewise.
49926         * iconvdata/ibm4909.h: Likewise.
49927         * iconvdata/ibm4971.h: Likewise.
49928         * iconvdata/ibm5347.h: Likewise.
49929         * iconvdata/ibm803.h: Likewise.
49930         * iconvdata/ibm856.h: Likewise.
49931         * iconvdata/ibm901.h: Likewise.
49932         * iconvdata/ibm902.h: Likewise.
49933         * iconvdata/ibm9030.h: Likewise.
49934         * iconvdata/ibm9066.h: Likewise.
49935         * iconvdata/ibm921.h: Likewise.
49936         * iconvdata/ibm922.h: Likewise.
49937         * iconvdata/ibm9448.h: Likewise.
49938         * iconvdata/isiri-3342.h: Likewise.
49939         * iconvdata/jis0201.h: Likewise.
49940         * include/link.h: Likewise.
49941         * include/netdb.h: Likewise.
49942         * inet/check_native.c: Likewise.
49943         * inet/check_pf.c: Likewise.
49944         * inet/getipv4sourcefilter.c: Likewise.
49945         * inet/getnameinfo.c: Likewise.
49946         * inet/getsourcefilter.c: Likewise.
49947         * inet/htonl.c: Likewise.
49948         * inet/setipv4sourcefilter.c: Likewise.
49949         * inet/setsourcefilter.c: Likewise.
49950         * inet/test-inet6_opt.c: Likewise.
49951         * inet/tst-network.c: Likewise.
49952         * locale/C-collate.c: Likewise.
49953         * locale/C-ctype.c: Likewise.
49954         * locale/C-time.c: Likewise.
49955         * locale/C-translit.h: Likewise.
49956         * locale/loadarchive.c: Likewise.
49957         * locale/programs/3level.h: Likewise.
49958         * locale/programs/charmap.c: Likewise.
49959         * locale/programs/charmap.h: Likewise.
49960         * locale/programs/ld-address.c: Likewise.
49961         * locale/programs/ld-collate.c: Likewise.
49962         * locale/programs/ld-ctype.c: Likewise.
49963         * locale/programs/ld-identification.c: Likewise.
49964         * locale/programs/ld-measurement.c: Likewise.
49965         * locale/programs/ld-messages.c: Likewise.
49966         * locale/programs/ld-monetary.c: Likewise.
49967         * locale/programs/ld-name.c: Likewise.
49968         * locale/programs/ld-numeric.c: Likewise.
49969         * locale/programs/ld-paper.c: Likewise.
49970         * locale/programs/ld-telephone.c: Likewise.
49971         * locale/programs/ld-time.c: Likewise.
49972         * locale/programs/linereader.c: Likewise.
49973         * locale/programs/locale.c: Likewise.
49974         * locale/programs/locarchive.c: Likewise.
49975         * locale/programs/locfile.h: Likewise.
49976         * locale/programs/repertoire.c: Likewise.
49977         * locale/programs/simple-hash.c: Likewise.
49978         * locale/programs/simple-hash.h: Likewise.
49979         * malloc/memusage.c: Likewise.
49980         * malloc/memusagestat.c: Likewise.
49981         * nis/nis_defaults.c: Likewise.
49982         * nis/nis_hash.c: Likewise.
49983         * nis/nis_print.c: Likewise.
49984         * nis/nis_xdr.c: Likewise.
49985         * nscd/connections.c: Likewise.
49986         * nscd/hstcache.c: Likewise.
49987         * nscd/nscd_gethst_r.c: Likewise.
49988         * nscd/nscd_getserv_r.c: Likewise.
49989         * nscd/nscd_helper.c: Likewise.
49990         * nscd/servicescache.c: Likewise.
49991         * nss/makedb.c: Likewise.
49992         * nss/nss_db/db-XXX.c: Likewise.
49993         * nss/nss_db/db-initgroups.c: Likewise.
49994         * nss/nss_db/db-netgrp.c: Likewise.
49995         * nss/nss_files/files-network.c: Likewise.
49996         * nss/nss_files/files-parse.c: Likewise.
49997         * posix/bug-regex5.c: Likewise.
49998         * posix/fnmatch_loop.c: Likewise.
49999         * posix/regcomp.c: Likewise.
50000         * posix/regexec.c: Likewise.
50001         * posix/tst-rfc3484-2.c: Likewise.
50002         * posix/tst-rfc3484-3.c: Likewise.
50003         * posix/tst-rfc3484.c: Likewise.
50004         * resolv/nss_dns/dns-canon.c: Likewise.
50005         * resolv/nss_dns/dns-network.c: Likewise.
50006         * resolv/res_init.c: Likewise.
50007         * resolv/res_mkquery.c: Likewise.
50008         * resolv/tst-aton.c: Likewise.
50009         * stdlib/cxa_atexit.c: Likewise.
50010         * stdlib/cxa_finalize.c: Likewise.
50011         * stdlib/gen-fpioconst.c: Likewise.
50012         * stdlib/strtol_l.c: Likewise.
50013         * string/tst-endian.c: Likewise.
50014         * sunrpc/auth_des.c: Likewise.
50015         * sunrpc/clnt_udp.c: Likewise.
50016         * sunrpc/rtime.c: Likewise.
50017         * sunrpc/svcauth_des.c: Likewise.
50018         * sunrpc/xdr.c: Likewise.
50019         * sunrpc/xdr_intXX_t.c: Likewise.
50020         * sunrpc/xdr_rec.c: Likewise.
50021         * sysdeps/generic/ldconfig.h: Likewise.
50022         * sysdeps/generic/ldsodefs.h: Likewise.
50023         * sysdeps/generic/memusage.h: Likewise.
50024         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50025         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50026         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50027         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50028         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50029         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50030         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50031         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50032         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50033         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50034         * sysdeps/posix/getaddrinfo.c: Likewise.
50035         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50036         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50037         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50038         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50039         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50040         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50041         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50042         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50043         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50044         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50045         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50046         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50047         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50048         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50049         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50050         * sysdeps/x86_64/dl-tls.h: Likewise.
50051         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50052         * time/alt_digit.c: Likewise.
50053         * time/era.c: Likewise.
50054         * wcsmbs/tst-c16c32-1.c: Likewise.
50056 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50058         * math/libm-test.inc (struct test_sincos_data): New type.
50059         (RUN_TEST_LOOP_sincos): New macro.
50060         (sincos_test_data): New variable.
50061         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50063 2013-05-16  Richard Henderson  <rth@redhat.com>
50065         * math/atest-exp2.c (LIMB64): New macro.
50066         (CONSTSZ): New macro.
50067         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50068         (hexdig): Move ...
50069         (print_mpn_fp): ... to function scope.
50070         (read_mpn_hex): Remove.
50071         (get_log2): Remove.
50072         (exp2_mpn): Use mp_log2.
50073         (main): Use mp_exp1.
50075 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50077         * math/libm-test.inc: Remove comment about not testing "inexact"
50078         exceptions.
50079         (INEXACT_EXCEPTION): New macro.
50080         (NO_INEXACT_EXCEPTION): Likewise.
50081         (INVALID_EXCEPTION_OK): Update value.
50082         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50083         (OVERFLOW_EXCEPTION_OK): Likewise.
50084         (UNDERFLOW_EXCEPTION_OK): Likewise.
50085         (IGNORE_ZERO_INF_SIGN): Likewise.
50086         (ERRNO_UNCHANGED): Likewise.
50087         (ERRNO_EDOM): Likewise.
50088         (ERRNO_ERANGE): Likewise.
50089         (test_exceptions): Handle testing "inexact" exceptions.
50090         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50091         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50092         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50093         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50094         INEXACT_EXCEPTION.
50095         (rint_towardzero_test_data): Likewise.
50096         (rint_downward_test_data): Likewise.
50097         (rint_upward_test_data): Likewise.
50099         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50100         with OVERFLOW_EXCEPTION.
50101         (exp10_test_data): Likewise.
50102         (exp2_test_data): Likewise.
50103         (expm1_test_data): Likewise.
50104         (lgamma_test_data): Likewise.
50105         (pow_test_data): Likewise.
50106         (tgamma_test_data): Likewise.
50107         (yn_test_data): Remove duplicate test of overflow.
50109         * math/libm-test.inc (struct test_cc_c_data): New type.
50110         (RUN_TEST_LOOP_cc_c): New macro.
50111         (cpow_test_data): New variable.
50112         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50114         * math/libm-test.inc (struct test_f_L_data): New type.
50115         (RUN_TEST_LOOP_f_L): New macro.
50116         (llrint_test_data): New variable.
50117         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50118         (llrint_tonearest_test_data): New variable.
50119         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50120         (llrint_towardzero_test_data): New variable.
50121         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50122         (llrint_downward_test_data): New variable.
50123         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50124         (llrint_upward_test_data): New variable.
50125         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50126         (llround_test_data): New variable.
50127         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50129 2013-05-13  Peter Collingbourne  <pcc@google.com>
50131         * math/atest-exp2.c (get_log2): Remove const attribute.
50133 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50135         * math/libm-test.inc (struct test_f_l_data): New type.
50136         (RUN_TEST_LOOP_f_l): New macro.
50137         (lrint_test_data): New variable.
50138         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50139         (lrint_tonearest_test_data): New variable.
50140         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50141         (lrint_towardzero_test_data): New variable.
50142         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50143         (lrint_downward_test_data): New variable.
50144         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50145         (lrint_upward_test_data): New variable.
50146         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50147         (lround_test_data): New variable.
50148         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50150 2013-05-15  Peter Collingbourne  <pcc@google.com>
50152         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50153         (EXTRACT_WORDS64) Use where appropriate.
50154         (INSERT_WORDS64) Likewise.
50156         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50157         constraints with x constraints.
50158         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50160         * malloc/obstack.c (_obstack_compat): Add initializer.
50162 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50164         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50165         si_trapno and add si_addr_lsb to _sifields.sigfault.
50166         (si_trapno): Remove macro.
50167         (si_addr_lsb): Define new macro.
50168         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50170 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50172         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50173         instead of TEST_f_l.
50174         (llrint_test_tonearest): Likewise.
50175         (llrint_test_towardzero): Likewise.
50176         (llrint_test_downward): Likewise.
50177         (llrint_test_upward): Likewise.
50178         (llround_test): Likewise.
50180         * math/libm-test.inc (struct test_f_i_data): Add comment.
50181         (RUN_TEST_LOOP_f_b): New macro.
50182         (RUN_TEST_LOOP_f_b_tg): Likewise.
50183         (finite_test_data): New variable.
50184         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50185         (isfinite_test_data): New variable.
50186         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50187         (isinf_test_data): New variable.
50188         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50189         (isnan_test_data): New variable.
50190         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50191         (isnormal_test_data): New variable.
50192         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50193         (issignaling_test_data): New variable.
50194         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50195         (signbit_test_data): New variable.
50196         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50198         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50199         with INVALID_EXCEPTION.
50200         (acosh_test_data): Likewise.
50201         (asin_test_data): Likewise.
50202         (atanh_test_data): Likewise.
50203         (fmod_test_data): Likewise.
50204         (log_test_data): Likewise.
50205         (log10_test_data): Likewise.
50206         (log2_test_data): Likewise.
50207         (pow_test_data): Likewise.
50208         (sqrt_test_data): Likewise.
50209         (y0_test_data): Likewise.
50210         (y1_test_data): Likewise.
50211         (yn_test_data): Likewise.
50213         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50214         function contents.
50216         * math/libm-test.inc (struct test_ff_i_data): New type.
50217         (RUN_TEST_LOOP_ff_i_tg): New macro.
50218         (isgreater_test_data): New variable.
50219         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50220         (isgreaterequal_test_data): New variable.
50221         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50222         (isless_test_data): New variable.
50223         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50224         (islessequal_test_data): New variable.
50225         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50226         (islessgreater_test_data): New variable.
50227         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50228         (isunordered_test_data): New variable.
50229         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50231 2013-05-14  David S. Miller  <davem@davemloft.net>
50233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50235 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50237         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50239         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50240         extra_test to int.
50241         (struct test_f_i_data): Change type of max_ulp to int.
50243         * math/libm-test.inc (test_ffI_f1_data): New type.
50244         (RUN_TEST_LOOP_ffI_f1): New macro.
50245         (remquo_test_data): New variable.
50246         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50248         * setjmp/tst-setjmp-fp.c: New file.
50249         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50250         (link-libm): New variable.
50251         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50253         * math/libm-test.inc (struct test_f_i_data): New type.
50254         (RUN_TEST_LOOP_f_i): New macro.
50255         (RUN_TEST_LOOP_f_i_tg): Likewise.
50256         (fpclassify_test_data): New variable.
50257         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50258         (ilogb_test_data): New variable.
50259         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50261         * math/libm-test.inc (scalbln_test): Correct function name in END
50262         call.
50264         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50265         (RUN_TEST_LOOP_fI_f1): New macro.
50266         (frexp_test_data): New variable.
50267         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50269         * math/libm-test.inc (struct test_fF_f1_data): New type.
50270         (RUN_TEST_LOOP_fF_f1): New macro.
50271         (modf_test_data): New variable.
50272         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50274         * math/libm-test.inc (struct test_f_f1_data): New type.
50275         (RUN_TEST_LOOP_f_f1): New macro.
50276         (gamma_test_data): New variable.
50277         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50278         (lgamma_test_data): New variable.
50279         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50281 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50283         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50284         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50285         (main): Comment "tls" pseudo-hwcap.
50287 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50289         * math/libm-test.inc (struct test_fl_f_data): New type.
50290         (RUN_TEST_LOOP_fl_f): New variable.
50291         (scalbln_test_data): New variable.
50292         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50294         * math/libm-test.inc (struct test_fi_f_data): New type.
50295         (RUN_TEST_LOOP_fi_f): New macro.
50296         (ldexp_test_data): New variable.
50297         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50298         (scalbn_test_data): New variable.
50299         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50301         * math/libm-test.inc (struct test_c_f_data): New type.
50302         (RUN_TEST_LOOP_c_f): New macro.
50303         (cabs_test_data): New variable.
50304         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50305         (carg_test_data): New variable.
50306         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50307         (cimag_test_data): New variable.
50308         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50309         (creal_test_data): New variable.
50310         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50312         * math/libm-test.inc (struct test_if_f_data): New type.
50313         (RUN_TEST_LOOP_if_f): New macro.
50314         (jn_test_data): New variable.
50315         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50316         (yn_test_data): New variable.
50317         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50319         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50321 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50323         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50324         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50326 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50328         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50329         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50330         (bench-deps): Add bench-timing.h.
50331         * benchtests-bench-skeleton.c: Include bench-timing.h.
50332         (main): Use TIMING_* macros instead of clock_gettime.
50333         * benchtests/bench-timing.h: New file.
50335         [BZ #14582]
50336         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50337         Renamed from _LIB_VERSION.
50338         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50340 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50342         * math/libm-test.inc (struct test_fff_f_data): New type.
50343         (RUN_TEST_LOOP_fff_f): New macro.
50344         (fma_test_data): New variable.
50345         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50346         (fma_towardzero_test_data): New variable.
50347         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50348         (fma_downward_test_data): New variable.
50349         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50350         (fma_upward_test_data): New variable.
50351         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50353         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50354         (struct test_c_c_data): New type.
50355         (RUN_TEST_LOOP_c_c): New macro.
50356         (cacos_test_data): New variable.
50357         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50358         (cacosh_test_data): New variable.
50359         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50360         (casin_test_data): New variable.
50361         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50362         (casinh_test_data): New variable.
50363         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50364         (catan_test_data): New variable.
50365         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50366         (catanh_test_data): New variable.
50367         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50368         (ccos_test_data): New variable.
50369         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50370         (ccosh_test_data): New variable.
50371         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50372         (cexp_test_data): New variable.
50373         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50374         (clog_test_data): New variable.
50375         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50376         (clog10_test_data): New variable.
50377         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50378         (conj_test_data): New variable.
50379         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50380         (cproj_test_data): New variable.
50381         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50382         (csin_test_data): New variable.
50383         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50384         (csinh_test_data): New variable.
50385         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50386         (csqrt_test_data): New variable.
50387         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50388         (ctan_test_data): New variable.
50389         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50390         (ctan_tonearest_test_data): New variable.
50391         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50392         (ctan_towardzero_test_data): New variable.
50393         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50394         (ctan_downward_test_data): New variable.
50395         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50396         (ctan_upward_test_data): New variable.
50397         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50398         (ctanh_test_data): New variable.
50399         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50400         (ctanh_tonearest_test_data): New variable.
50401         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50402         (ctanh_towardzero_test_data): New variable.
50403         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50404         (ctanh_downward_test_data): New variable.
50405         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50406         (ctanh_upward_test_data): New variable.
50407         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50408         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50409         of BUILD_COMPLEX.
50411         * math/libm-test.inc (struct test_ff_f_data): New type.
50412         (struct test_ff_f_data_nexttoward): Likewise.
50413         (RUN_TEST_LOOP_2_f): New macro.
50414         (RUN_TEST_LOOP_ff_f): Likewise.
50415         (atan2_test_data): New variable.
50416         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50417         (copysign_test_data): New variable.
50418         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50419         (fdim_test_data): New variable.
50420         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50421         (fmax_test_data): New variable.
50422         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50423         (fmin_test_data): New variable.
50424         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50425         (fmod_test_data): New variable.
50426         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50427         (hypot_test_data): New variable.
50428         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50429         (nextafter_test_data): New variable.
50430         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50431         (nexttoward_test_data): New variable.
50432         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50433         (pow_test_data): New variable.
50434         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50435         (pow_tonearest_test_data): New variable.
50436         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50437         (pow_towardzero_test_data): New variable.
50438         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50439         (pow_downward_test_data): New variable.
50440         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50441         (pow_upward_test_data): New variable.
50442         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50443         (remainder_test_data): New variable.
50444         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50445         (scalb_test_data): New variable.
50446         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50447         * sysdeps/i386/fpu/libm-test-ulps: Update.
50449 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50451         * math/libm-test.inc (fma_test): Use max_value instead of local
50452         variable fltmax.
50453         (nextafter_test): Likewise.
50455         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50456         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50457         (acos_downward_test_data): New variable.
50458         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50459         (acos_upward_test_data): New variable.
50460         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50461         (acosh_test_data): New variable.
50462         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50463         (asin_test_data): New variable.
50464         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50465         (asin_tonearest_test_data): New variable.
50466         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50467         (asin_towardzero_test_data): New variable.
50468         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50469         (asin_downward_test_data): New variable.
50470         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50471         (asin_upward_test_data): New variable.
50472         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50473         (asinh_test_data): New variable.
50474         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50475         (atan_test_data): New variable.
50476         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50477         (atanh_test_data): New variable.
50478         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50479         (cbrt_test_data): New variable.
50480         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50481         (ceil_test_data): New variable.
50482         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50483         (cos_test_data): New variable.
50484         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50485         (cos_tonearest_test_data): New variable.
50486         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50487         (cos_towardzero_test_data): New variable.
50488         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50489         (cos_downward_test_data): New variable.
50490         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50491         (cos_upward_test_data): New variable.
50492         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50493         (cosh_test_data): New variable.
50494         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50495         (cosh_tonearest_test_data): New variable.
50496         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50497         (cosh_towardzero_test_data): New variable.
50498         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50499         (cosh_downward_test_data): New variable.
50500         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50501         (cosh_upward_test_data): New variable.
50502         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50503         (erf_test_data): New variable.
50504         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50505         (erfc_test_data): New variable.
50506         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50507         (exp_test_data): New variable.
50508         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50509         (exp_tonearest_test_data): New variable.
50510         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50511         (exp_towardzero_test_data): New variable.
50512         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50513         (exp_downward_test_data): New variable.
50514         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50515         (exp_upward_test_data): New variable.
50516         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50517         (exp10_test_data): New variable.
50518         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50519         (exp2_test_data): New variable.
50520         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50521         (expm1_test_data): New variable.
50522         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50523         (fabs_test_data): New variable.
50524         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50525         (floor_test_data): New variable.
50526         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50527         (j0_test_data): New variable.
50528         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50529         (j1_test_data): New variable.
50530         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50531         (log_test_data): New variable.
50532         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50533         (log10_test_data): New variable.
50534         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50535         (log1p_test_data): New variable.
50536         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50537         (log2_test_data): New variable.
50538         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50539         (logb_test_data): New variable.
50540         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50541         (logb_downward_test_data): New variable.
50542         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50543         (nearbyint_test_data): New variable.
50544         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50545         (rint_test_data): New variable.
50546         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50547         (rint_tonearest_test_data): New variable.
50548         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50549         (rint_towardzero_test_data): New variable.
50550         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50551         (rint_downward_test_data): New variable.
50552         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50553         (rint_upward_test_data): New variable.
50554         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50555         (round_test_data): New variable.
50556         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50557         (sin_test_data): New variable.
50558         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50559         (sin_tonearest_test_data): New variable.
50560         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50561         (sin_towardzero_test_data): New variable.
50562         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50563         (sin_downward_test_data): New variable.
50564         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50565         (sin_upward_test_data): New variable.
50566         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50567         (sinh_test_data): New variable.
50568         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50569         (sinh_tonearest_test_data): New variable.
50570         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50571         (sinh_towardzero_test_data): New variable.
50572         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50573         (sinh_downward_test_data): New variable.
50574         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50575         (sinh_upward_test_data): New variable.
50576         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50577         (sqrt_test_data): New variable.
50578         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50579         (tan_test_data): New variable.
50580         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50581         (tan_tonearest_test_data): New variable.
50582         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50583         (tan_towardzero_test_data): New variable.
50584         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50585         (tan_downward_test_data): New variable.
50586         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50587         (tan_upward_test_data): New variable.
50588         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50589         (tanh_test_data): New variable.
50590         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50591         (tgamma_test_data): New variable.
50592         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50593         (trunc_test_data): New variable.
50594         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50595         (y0_test_data): New variable.
50596         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50597         (y1_test_data): New variable.
50598         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50599         (significand_test_data): New variable.
50600         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50602 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50604         [BZ #12387]
50605         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50607 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50609         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50611 2013-05-10  Andreas Jaeger  <aj@suse.de>
50613         [BZ #15448]
50614         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50615         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50617 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50619         * math/gen-libm-test.pl (adjust_arg): New function.
50620         (special_functions): Handle generating output in both functions
50621         and arrays.
50622         (parse_args): Likewise.
50623         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50624         $in_func argument to parse_args.
50625         * math/libm-test.inc (struct test_f_f_data): New type.
50626         (IF_ROUND_INIT_): New macro.
50627         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50628         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50629         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50630         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50631         (ROUND_RESTORE_): Likewise.
50632         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50633         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50634         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50635         (ROUND_RESTORE_FE_UPWARD): Likewise.
50636         (RUN_TEST_LOOP_f_f): New macro.
50637         (acos_test_data): New variable.
50638         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50639         (acos_tonearest_test_data): New variable.
50640         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50642 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50644         * benchtests/bench-skeleton.c (startup): Fix coding style.
50646 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50648         [BZ #6809]
50649         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50650         negative infinity argument.
50651         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50652         negative infinity argument.
50653         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50654         negative infinity argument.
50655         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50656         domain errors.
50658 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50660         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50661         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50662         * iconv/iconv_prog.c (main): Likewise.
50663         * locale/programs/charmap-dir.c (charmap_readdir)
50664         (fopen_uncompressed): Likewise.
50665         * locale/programs/locfile.c (siblings_uncached)
50666         (write_locale_data): Use lstat64 instead of lstat.
50667         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50668         stat.
50670 2013-05-10  Andreas Jaeger  <aj@suse.de>
50672         [BZ #15395]
50673         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50674         localization.
50675         Include <locale.h>.
50677 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50679         * elf/dl-close.c (_dl_close_worker): Add comments.
50681 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50683         [BZ #15359]
50684         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50685         high part of pi/2.
50686         (__ieee754_rem_pio2l): Update comments.
50688         [BZ #15429]
50689         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50690         high part of pi/2.
50691         (__ieee754_rem_pio2l): Update comments.
50693         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50694         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50696         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50697         M_PI_4l.
50699         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50700         (M_PI_34_LOG10El): Likewise.
50701         (M_PI2_LOG10El): Likewise.
50702         (M_PI4_LOG10El): Likewise.
50703         (M_PI_LOG10El): Likewise.
50705 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50709 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50711         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50712         (MINUS_ZERO_INIT): Likewise.
50713         (PLUS_INFTY_INIT): Likewise.
50714         (MINUS_INFTY_INIT): Likewise.
50715         (QNAN_VALUE_INIT): Likewise.
50716         (MAX_VALUE_INIT): Likewise.
50717         (MIN_VALUE_INIT): Likewise.
50718         (MIN_SUBNORM_VALUE_INIT): Likewise.
50719         (plus_zero): Initialize with PLUS_ZERO_INIT.
50720         (minus_zero): Initialize with MINUS_ZERO_INIT.
50721         (plus_infty): Initialize with PLUS_INFTY_INIT.
50722         (minus_infty): Initialize with MINUS_INFTY_INIT.
50723         (qnan_value): Initialize with QNAN_VALUE_INIT.
50724         (max_value): Initialize with MAX_VALUE_INIT.
50725         (min_value): Initialize with MIN_VALUE_INIT.
50726         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50728         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50729         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50730         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50731         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50733         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50734         (RUN_TEST_2_f): Likewise.
50735         (RUN_TEST_ff_f): Likewise.
50736         (RUN_TEST_fi_f): Likewise.
50737         (RUN_TEST_fl_f): Likewise.
50738         (RUN_TEST_fff_f): Likewise.
50739         (RUN_TEST_c_f): Likewise.
50740         (RUN_TEST_f_f1): Likewise.
50741         (RUN_TEST_fF_f1): Likewise.
50742         (RUN_TEST_fI_f1): Likewise.
50743         (RUN_TEST_ffI_f1): Likewise.
50744         (RUN_TEST_c_c): Likewise.
50745         (RUN_TEST_cc_c): Likewise.
50746         (RUN_TEST_f_i): Likewise.
50747         (RUN_TEST_f_i_tg): Likewise.
50748         (RUN_TEST_ff_i_tg): Likewise.
50749         (RUN_TEST_f_b): Likewise.
50750         (RUN_TEST_f_b_tg): Likewise.
50751         (RUN_TEST_f_l): Likewise.
50752         (RUN_TEST_f_L): Likewise.
50753         (RUN_TEST_sincos): Likewise.
50754         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50755         whether to show exceptions.  Do not include ");\n" in return
50756         value.
50757         (special_functions): Output call to RUN_TEST_sincos instead of
50758         check_float calls.  Update calls to new_test.
50759         (parse_args): Output call to single RUN_TEST_* macro instead of
50760         check_* calls and other assignments.  Update calls to new_test.
50762         [BZ #2546]
50763         [BZ #2560]
50764         [BZ #5159]
50765         [BZ #15426]
50766         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50767         input to result for tgamma overflow.
50768         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50769         (gamma_coeff): New variable.
50770         (NCOEFF): New macro.
50771         (gamma_positive): New function.
50772         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50773         underflow here.  Use gamma_positive instead of exp (lgamma) for
50774         other arguments.
50775         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50776         (gamma_coeff): New variable.
50777         (NCOEFF): New macro.
50778         (gammaf_positive): New function.
50779         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50780         underflow here.  Use gamma_positive instead of exp (lgamma) for
50781         other arguments.
50782         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50783         (gamma_coeff): New variable.
50784         (NCOEFF): New macro.
50785         (gammal_positive): New function.
50786         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50787         underflow here.  Use gamma_positive instead of exp (lgamma) for
50788         other arguments.
50789         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50790         (gamma_coeff): New variable.
50791         (NCOEFF): New macro.
50792         (gammal_positive): New function.
50793         (__ieee754_gammal_r): Handle positive infinity, overflow and
50794         underflow here.  Handle NaN the same as positive infinity.  Remove
50795         check x < 0xffffffff for negative integers.  Use gamma_positive
50796         instead of exp (lgamma) for other arguments.
50797         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50798         (gamma_coeff): New variable.
50799         (NCOEFF): New macro.
50800         (gammal_positive): New function.
50801         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50802         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50803         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50804         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50805         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50806         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50807         * sysdeps/generic/math_private.h (__gamma_productf): New
50808         prototype.
50809         (__gamma_product): Likewise.
50810         (__gamma_productl): Likewise.
50811         * math/Makefile (libm-calls): Add gamma_product.
50812         * math/libm-test.inc (tgamma_test): Add more tests.
50813         * sysdeps/i386/fpu/libm-test-ulps: Update.
50814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50816 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50818         * benchtests/bench-skeleton.c (main): Preheat CPU.
50820 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50822         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50824 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50826         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50827         and _dl_skip_args_internal.
50829 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50831         * manual/message.texi (Message Translation): Talk about users.
50832         Message to key mapping impacts design.
50834 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50836         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50838         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50840         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50841         * sysdeps/wordsize-64/glob64.c: ... here.
50843         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50844         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50845         New macros.
50847         * debug/getlogin_r_chk.c: Moved to ...
50848         * login/getlogin_r_chk.c: ... here.
50849         * debug/Makefile (routines): Move getlogin_r_chk to ...
50850         * login/Makefile (routines): ... here.
50851         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50852         * login/Versions (libc: GLIBC_2.4): ... here.
50854         * io/poll.c (__poll): Renamed from poll.
50855         Add libc_hidden_def.
50856         (poll): Define as weak alias.
50858         * debug/ptsname_r_chk.c: Moved to ...
50859         * login/ptsname_r_chk.c: ... here.
50860         * debug/Makefile (routines): Move ptsname_r_chk to ...
50861         * login/Makefile (routines): ... here.
50862         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50863         * login/Versions (libc: GLIBC_2.4): ... here.
50865         * posix/getlogin.c: Moved to ...
50866         * login/getlogin.c: ... here.
50867         * posix/getlogin_r.c: Moved to ...
50868         * login/getlogin_r.c: ... here.
50869         * posix/getlogin_r.c: Moved to ...
50870         * login/getlogin_r.c: ... here.
50871         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50872         * login/Makefile (routines): ... here.
50873         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50874         * login/Versions (libc: GLIBC_2.0): ... here.
50876         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50877         (setrlimit): Define as weak alias.
50879         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50880         Call __ names for open, ftruncate, and close.
50881         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50882         (truncate): Define as weak alias.
50884 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50886         * math/gen-libm-test.pl (parse_args): Initialize x before each
50887         test of frexp, modf and remquo.
50889         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50890         test signgam value.
50892 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50894         [BZ #15418]
50895         [BZ #15419]
50896         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50897         internal tests.
50898         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50900 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50902         * elf/dl-writev.h: New file.
50903         * elf/dl-misc.c: Include it.
50904         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50905         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50907 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50909         * math/libm-test.inc (noXFails): Remove variable.
50910         (noXPasses): Likewise.
50911         (BUILD_COMPLEX_INT): Remove macro.
50912         (print_screen): Remove xfail argument.
50913         (print_screen_max_error): Likewise.
50914         (update_stats): Likewise.
50915         (print_max_error): Likewise.  Update calls to other affected
50916         functions.
50917         (print_complex_max_error): Likewise.
50918         (test_single_exception): Update calls to print_screen.
50919         (test_single_errno): Likewise.
50920         (check_float_internal): Remove xfail argument.  Update calls to
50921         other affected functions.
50922         (check_float): Likewise.
50923         (check_complex): Likewise.
50924         (check_int): Likewise.
50925         (check_long): Likewise.
50926         (check_bool): Likewise.
50927         (check_longlong): Likewise.
50928         (main): Don't print noXFails and noXPasses.
50929         * math/gen-libm-test.pl (top level): Don't mention expected
50930         failure handling in comment.
50931         (new_test): Don't handle expected failures.
50932         (parse_args): Don't mention expected failure handling in comment.
50933         (generate_testfile): Don't handle expected failures.
50934         (parse_ulps): Likewise.
50935         (print_ulps_file): Likewise.
50936         (get_failure): Remove function.
50937         (output_test): Don't handle expected failures.
50938         * make/README.libm-test: Don't mention expected failure handling.
50940         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50941         (minus_zero): Likewise.
50942         (plus_infty): Likewise.
50943         (minus_infty): Likewise.
50944         (qnan_value): Likewise.
50945         (max_value): Likewise.
50946         (min_value): Likewise.
50947         (min_subnorm_value): Likewise.
50948         (initialize): Do not initialize those variables dynamically.
50950 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50952         * io/open.c (__open_2): Moved to ...
50953         * io/open_2.c: ... this new file.
50954         * io/open64.c (__open64_2): Moved to ...
50955         * io/open64_2.c: ... this new file.
50956         * io/openat.c (__openat_2): Moved to ...
50957         * io/openat_2.c: ... this new file.
50958         * io/openat64.c (__openat64_2): Moved to ...
50959         * io/openat64_2.c: ... this new file.
50960         * io/Makefile (routines): Add them.
50961         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50962         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50963         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50964         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50965         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50966         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50967         (__openat64): Add hidden_ver.
50968         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50969         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50971         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50972         Separately conditionalize setting of GLRO(dl_sysinfo) so
50973         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50974         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50976 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50978         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50979         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50980         definition.
50981         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50982         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50983         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50984         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50985         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50987 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50989         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50990         test signgam value.
50992         * math/libm-test.inc (hypot_test): Do not use
50993         IGNORE_ZERO_INF_SIGN.
50995 2013-05-03  Andreas Jaeger  <aj@suse.de>
50997         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50998         Linux 3.9.
50999         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51000         (PF_MAX): Adjust for VSOCK change.
51002 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51006 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51008         [BZ #15264]
51009         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51010         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51011         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51013 2013-05-02  David S. Miller  <davem@davemloft.net>
51015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51017 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51019         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51021 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51023         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51025 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51027         [BZ #14952]
51028         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51029         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51030         Use __attribute__ ((__gnu_inline__)).
51031         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51032         Don't use __attribute__ ((__gnu_inline__)).
51034 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51036         [BZ #15423]
51037         * math/s_catan.c (__catan): Handle small real or imaginary part of
51038         input specially to avoid spurious underflow.
51039         * math/s_catanf.c (__catanf): Likewise.
51040         * math/s_catanh.c (__catanh): Likewise.
51041         * math/s_catanhf.c (__catanhf): Likewise.
51042         * math/s_catanhl.c (__catanhl): Likewise.
51043         * math/s_catanl.c (__catanl): Likewise.
51044         * math/libm-test.inc (catan_test): Add more tests.
51045         (catanh_test): Likewise.
51046         * sysdeps/i386/fpu/libm-test-ulps: Update.
51047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51049 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51053 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51055         [BZ #15416]
51056         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51057         accurately for denominator in atan2.
51058         * math/s_catanf.c (__catanf): Likewise.
51059         * math/s_catanh.c (__catanh): Likewise.
51060         * math/s_catanhf.c (__catanhf): Likewise.
51061         * math/s_catanhl.c (__catanhl): Likewise.
51062         * math/s_catanl.c (__catanl): Likewise.
51063         * math/libm-test.inc (catan_test): Add more tests.
51064         (catanh_test): Likewise.
51065         * sysdeps/i386/fpu/libm-test-ulps: Update.
51066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51068 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51070         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51072         * benchtests/Makefile (bench): Remove slow benchmarks.
51073         * benchtests/atan-inputs: Add slow benchmark inputs.
51074         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51075         (BENCH_FUNC): Accept variant offset.
51076         (VARIANT): Define.
51077         * benchtests/bench-skeleton.c (main): Run benchmark for each
51078         variant.
51079         * benchtests/cos-inputs: Add slow benchmark inputs.
51080         * benchtests/exp-inputs: Likewise.
51081         * benchtests/pow-inputs: Likewise.
51082         * benchtests/sin-inputs: Likewise.
51083         * benchtests/slowatan-inputs: Remove.
51084         * benchtests/slowatan.c: Remove.
51085         * benchtests/slowcos-inputs: Remove.
51086         * benchtests/slowcos.c: Remove.
51087         * benchtests/slowexp-inputs: Remove.
51088         * benchtests/slowexp.c: Remove.
51089         * benchtests/slowpow-inputs: Remove.
51090         * benchtests/slowpow.c: Remove.
51091         * benchtests/slowsin-inputs: Remove.
51092         * benchtests/slowsin.c: Remove.
51093         * benchtests/slowtan-inputs: Remove.
51094         * benchtests/slowtan.c: Remove.
51095         * benchtests/tan-inputs: Add slow benchmark inputs.
51096         * scripts/bench.pl: Parse comments and directives.
51098         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51099         in CPPFLAGS.
51100         ($(objpfx)bench-%.c): Remove *-ITER.
51101         * benchtests/bench-modf.c: Remove definition of ITER.
51102         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51103         (main): Loop for DURATION seconds instead of fixed number of
51104         iterations.
51105         * scripts/bench.pl: Don't expect iterations in parameters.
51107 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51109         * io/fchdir.c (__fchdir): Renamed from fchdir.
51110         (fchdir): Define as weak alias.
51112 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51114         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51115         (ERRNO_EDOM): Likewise.
51116         (ERRNO_ERANGE): Likewise.
51117         (noErrnoTests): New variable.
51118         (init_max_error): Set errno to 0.
51119         (test_single_errno): New function.
51120         (test_errno): Likewise.
51121         (check_float_internal): Call test_errno.  Set errno to 0.
51122         (check_complex): Refer to errno tests in comment.
51123         (check_int): Call test_errno.  Set errno to 0.
51124         (check_long): Likewise.
51125         (check_bool): Likewise.
51126         (check_longlong): Likewise.
51127         (cos_test): Use ERRNO_* flags for errno tests instead of
51128         check_int.
51129         (expm1_test): Likewise.
51130         (fmod_test): Likewise.
51131         (ilogb_test): Likewise.
51132         (lgamma_test): Likewise.
51133         (pow_test): Likewise.
51134         (remainder_test): Likewise.
51135         (sin_test): Likewise.
51136         (tan_test): Likewise.
51137         (yn_test): Likewise.
51138         (initialize): Set errno to 0.
51139         (main): Print number of errno tests.
51140         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51142 2013-04-29  Andreas Jaeger  <aj@suse.de>
51144         [BZ #15084]
51145         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51146         and RES_USEVC.
51148         [BZ #15085]
51149         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51150         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51151         unimplemented.
51153         [BZ #15380]
51154         * stdlib/random.c (__initstate): Return NULL if
51155         __initstate fails.
51157         [BZ #15086]
51158         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51159         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51160         RES_SNGLKUPREOP.
51162 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51166 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51168         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51169         of individual tests.
51170         (casin_test): Likewise.
51171         (casinh_test): Likewise.
51173 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51175         [BZ #15409]
51176         * math/s_catan.c (__catan): Handle arguments with large real or
51177         imaginary part separately without squaring.
51178         * math/s_catanf.c (__catanf): Likewise.
51179         * math/s_catanh.c (__catanh): Likewise.
51180         * math/s_catanhf.c (__catanhf): Likewise.
51181         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51182         and redefine.
51183         (__catanhl): Handle arguments with large real or imaginary part
51184         separately without squaring.
51185         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51186         and redefine.
51187         (__catanl): Handle arguments with large real or imaginary part
51188         separately without squaring.
51189         * math/libm-test.inc (catan_test): Add more tests.
51190         (catanh_test): Likewise.
51191         * sysdeps/i386/fpu/libm-test-ulps: Update.
51192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51194 2013-04-27  Andreas Jaeger  <aj@suse.de>
51196         [BZ #15007]
51197         * stdlib/stdlib.h: Update guards for qecvt.
51198         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51199         <stdlib.h>.
51201 2013-04-27  Allan McRae  <allan@archlinux.org>
51203         * sysdeps/i386/fpu/libm-test-ulps: Update.
51205 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51207         [BZ #15406]
51208         * math/s_catan.c: Include <float.h>.
51209         (__catan): Ensure underflow exception occurs for underflowed
51210         result.
51211         * math/s_catanf.c: Include <float.h>.
51212         (__catanf): Ensure underflow exception occurs for underflowed
51213         result.
51214         * math/s_catanh.c: Include <float.h>.
51215         (__catanh): Ensure underflow exception occurs for underflowed
51216         result.
51217         * math/s_catanhf.c: Include <float.h>.
51218         (__catanhf): Ensure underflow exception occurs for underflowed
51219         result.
51220         * math/s_catanhl.c: Include <float.h>.
51221         (__catanhl): Ensure underflow exception occurs for underflowed
51222         result.
51223         * math/s_catanl.c: Include <float.h>.
51224         (__catanl): Ensure underflow exception occurs for underflowed
51225         result.
51226         * math/libm-test.inc (catan_test): Add more tests.
51227         (catanh_test): Likewise.
51229         [BZ #15405]
51230         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51231         underflowed result.
51232         * math/s_ccoshf.c (__ccoshf): Likewise.
51233         * math/s_ccoshl.c (__ccoshl): Likewise.
51234         * math/s_csin.c (__csin): Likewise.
51235         * math/s_csinf.c (__csinf): Likewise.
51236         * math/s_csinh.c (__csinh): Likewise.
51237         * math/s_csinhf.c (__csinhf): Likewise.
51238         * math/s_csinhl.c (__csinhl): Likewise.
51239         * math/s_csinl.c (__csinl): Likewise.
51240         * math/libm-test.inc (ccos_test): Add more tests.
51241         (ccosh_test): Likewise.
51242         (csin_test): Likewise.
51243         (csinh_test): Likewise.
51245 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51247         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51248         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51249         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51250         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51251         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51252         powerpc/power5+/fpu folders.
51253         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51256 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51260 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51262         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51263         additions to variable.
51264         [$(config-machine) = x86_64] (modules-names): Likewise.
51265         ($(objpfx)tst-audit3): Remove dependency.
51266         ($(objpfx)tst-audit3.out): Likewise.
51267         ($(objpfx)tst-audit4): Likewise.
51268         ($(objpfx)tst-audit4.out): Likewise.
51269         ($(objpfx)tst-audit5): Likewise.
51270         ($(objpfx)tst-audit5.out): Likewise.
51271         ($(objpfx)tst-audit6): Likewise.
51272         ($(objpfx)tst-audit6.out): Likewise.
51273         ($(objpfx)tst-audit7): Likewise.
51274         ($(objpfx)tst-audit7.out): Likewise.
51275         (tst-audit3-ENV): Remove variable.
51276         (tst-audit4-ENV): Likewise.
51277         (tst-audit5-ENV): Likewise.
51278         (tst-audit6-ENV): Likewise.
51279         (tst-audit7-ENV): Likewise.
51280         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51281         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51282         addition to variable.
51283         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51284         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51285         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51286         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51287         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51288         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51289         tst-audit3, tst-audit4 and tst-audit5.
51290         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51291         tst-audit6 and tst-audit7.
51292         [$(subdir) = elf] (modules-names): Add audit modules for those
51293         tests.
51294         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51295         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51296         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51297         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51298         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51299         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51300         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51301         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51302         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51303         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51304         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51305         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51306         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51307         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51308         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51309         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51310         Likewise.
51311         [$(subdir) = elf && $(config-cflags-avx) = yes]
51312         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51313         [$(subdir) = elf && $(config-cflags-avx) = yes]
51314         (CFLAGS-tst-auditmod4a.c): Likewise.
51315         [$(subdir) = elf && $(config-cflags-avx) = yes]
51316         (CFLAGS-tst-auditmod4b.c): Likewise.
51317         [$(subdir) = elf && $(config-cflags-avx) = yes]
51318         (CFLAGS-tst-auditmod6b.c): Likewise.
51319         [$(subdir) = elf && $(config-cflags-avx) = yes]
51320         (CFLAGS-tst-auditmod6c.c): Likewise.
51321         [$(subdir) = elf && $(config-cflags-avx) = yes]
51322         (CFLAGS-tst-auditmod7b.c): Likewise.
51323         * elf/tst-audit3.c: Move to ...
51324         * sysdeps/x86_64/tst-audit3.c: ... here.
51325         * elf/tst-audit4.c: Move to ...
51326         * sysdeps/x86_64/tst-audit4.c: ... here.
51327         * elf/tst-audit5.c: Move to ...
51328         * sysdeps/x86_64/tst-audit5.c: ... here.
51329         * elf/tst-audit6.c: Move to ...
51330         * sysdeps/x86_64/tst-audit6.c: ... here.
51331         * elf/tst-audit7.c: Move to ...
51332         * sysdeps/x86_64/tst-audit7.c: ... here.
51333         * elf/tst-auditmod3a.c: Move to ...
51334         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51335         * elf/tst-auditmod3b.c: Move to ...
51336         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51337         * elf/tst-auditmod4a.c: Move to ...
51338         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51339         * elf/tst-auditmod4b.c: Move to ...
51340         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51341         * elf/tst-auditmod5a.c: Move to ...
51342         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51343         * elf/tst-auditmod5b.c: Move to ...
51344         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51345         * elf/tst-auditmod6a.c: Move to ...
51346         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51347         * elf/tst-auditmod6b.c: Move to ...
51348         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51349         * elf/tst-auditmod6c.c: Move to ...
51350         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51351         * elf/tst-auditmod7a.c: Move to ...
51352         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51353         * elf/tst-auditmod7b.c: Move to ...
51354         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51356 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51358         [BZ #15366]
51359         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51360         define unconditionally.
51361         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51362         define unconditionally.
51363         (INT8_C, INT16_C, etc.): Likewise.
51365 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51367         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51368         __ehdr_start with hidden visibility.
51370         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51372 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51374         * math/libm-test.inc (cos_test): Use accurate hex constants.
51375         (sincost_test): Likewise.
51377 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51379         * math/libm-test.inc (catan_test): Add more tests.
51380         (catanh_test): Likewise.
51382         * math/s_catanf.c (__catanf): Use suffixed floating-point
51383         constants.
51384         * math/s_catanhf.c (__catanhf): Likewise.
51385         * math/s_catanhl.c (__catanhl): Likewise.
51386         * math/s_catanl.c (__catanl): Likewise.
51388         [BZ #15394]
51389         * math/s_catan.c (__catan): Calculate imaginary part of result
51390         with log1p not log unless computing log of number close to 0.
51391         * math/s_catanf.c (__catanf): Likewise.
51392         * math/s_catanl.c (__catanl): Likewise.
51393         * math/s_catanh.c (__catanh): Calculate real part of result with
51394         log1p not log unless computing log of number close to 0.
51395         * math/s_catanhf.c (__catanhf): Likewise.
51396         * math/s_catanhl.c (__catanhl): Likewise.
51397         * math/libm-test.inc (catan_test): Add more tests.
51398         (catanh_test): Likewise.
51399         * sysdeps/i386/fpu/libm-test-ulps: Update.
51400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51402 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51404         * benchtests/Makefile: Mention files in which fast and slow
51405         paths of math functions are implemented.
51407 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51409         * sysdeps/posix/timespec_get.c: New file.
51411 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51413         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51414         POWER.
51415         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51416         for POWER.
51417         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51418         powerpc/power5/fpu folders.
51419         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51420         * benchtests/Makefile: Add modf testcase.
51421         * benchtests/bench-modf.c: New file: Benchmark test for mo
51423 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51425         [BZ #14888]
51426         * time/Makefile (tests): Add tst-strptime-whitespace.
51427         * time/strptime_l.c (get_number): Use ISSPACE.
51428         (__strptime_internal): Likewise.
51429         * time/tst-strptime-whitespace.c: New test case.
51431 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51433         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51434         member.
51435         (_nss_files_init): Set it here.
51437 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51439         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51440         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51441         unsigned.
51443 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51445         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51447 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51449         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51450         size just once.
51452 2013-04-21  David S. Miller  <davem@davemloft.net>
51454         * po/ru.po: Update Russion translation from translation project.
51456 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51458         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51459         and setfsgid.
51461 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51463         * configure.in: Remove i386 configure warning. Remove i386 case.
51464         * configure: Regenerate.
51465         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51466         Add example to error message.
51467         * sysdeps/i386/configure: Regenerate.
51469 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51471         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51472         slowtan.
51473         * benchtests/cos-inputs: New file.
51474         * benchtests/slowcos-inputs: New file.
51475         * benchtests/slowcos.c: New file.
51476         * benchtests/slowtan-inputs: New file.
51477         * benchtests/slowtan.c: New file.
51478         * benchtests/tan-inputs: New file.
51480 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51482         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51483         considered kosher.
51485 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51487         * benchtests/Makefile: Include cppflags-iterator.mk to add
51488         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51490         * Makefile.in (bench-clean): New target.
51491         * benchtests/Makefile (bench-clean): Likewise.
51493 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51495         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51497 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51499         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51501 2013-04-15  Andreas Schwab  <schwab@suse.de>
51503         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51504         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51505         * nscd/pwdcache.c (cache_addpw): Likewise.
51506         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51507         more than recsize.
51509 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51511         * benchtests/Makefile (bench): Write all output to
51512         bench-out.tmp together.
51514 2013-04-15  Andreas Schwab  <schwab@suse.de>
51516         * nscd/nscd.c (main): Don't fork again after closing files.
51518 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51520         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51522         * benchtests/Rules (bench-deps): Collect dependencies into a
51523         single variable.  Add Makefile to dependencies.
51524         ($(objpfx)bench-%.c): Depend on bench-deps.
51526 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51527             Xavier Roche  <roche+kml2@exalead.com>
51529         [BZ #15361]
51530         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51531         just that it's a file descriptor.
51532         * manual/llio.texi (Synchronizing AIO Operations): Update description
51533         for EBADF error from aio_fsync.
51535 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51537         * Rules (bench): Move target definition...
51538         * benchtests/Makefile: ... here.
51540 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51542         * math/libm-test.inc (cos_test): Fix PI/2 test.
51543         (sincos_test): Likewise.
51544         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51545         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51547 2013-04-11  Andreas Schwab  <schwab@suse.de>
51549         [BZ #13988]
51550         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51551         accept exponent character only when digits were seen.
51552         * stdio-common/Makefile (tests): Add bug26.
51553         * stdio-common/bug26.c: New file.
51555         [BZ #14293]
51556         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51557         non-freeable.
51559 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51561         * Makeconfig (rtld-prefix): Define built linker prefix.
51562         * Rules (run-bench): Use it.
51563         * math/Makefile (run-regen-ulps): Likewise.
51565         * Rules (bench): Remove eval.
51567 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51568             Roland McGrath  <roland@hack.frob.com>
51569             Ondrej Bilka  <neleai@seznam.cz>
51571         [BZ #15346]
51572         * time/getdate.c: Include ctype.h and alloca.h.
51573         (__getdate_r): Trim leading and trailing spaces of input.
51574         * time/tst-getdate.c (tests): Add tests with leading and
51575         trailing spaces.
51577 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51579         [BZ #14280]
51580         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51581         when computing value.
51583 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51585         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51586         Use testrun.sh to run libm tests.
51588         [BZ #15309]
51589         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51591 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51593         [BZ #15264]
51594         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51596 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51598         * Makefile.in (regen-ulps): New target.
51599         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51600         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51601         [ifneq (no,$(PERL)] (regen-ulps): New target.
51602         [ifeq (no,$(PERL)] (regen-ulps): New target.
51603         * math/libm-test.inc (ulps_file_name): Define.
51604         (output_dir): New variable.
51605         (options): Add "output-dir" option.
51606         (parse_opt): Handle 'o' case.
51607         (main): If output_dir is non-NULL use it as a prefix
51608         otherwise use "".
51609         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51611 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51613         [BZ #10060, #10062]
51614         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51615         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51616         fail configure if __sync_val_compare_and_swap is not inlined.
51617         * sysdeps/i386/configure: Regenerate.
51618         * configure.in: Build for i686 when configured for i386.
51619         * configure: Regenerate.
51620         * README: Remove i386 reference.
51622 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51624         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51625         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51627 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51629         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51630         (lmsnanval): New variables.
51631         (F): Add conversion tests.
51632         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51633         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51635         * stdio-common/tstdiomisc.c (F): Properly collect individual
51636         tests' results.
51638         [BZ #14686, #15336]
51639         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51640         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51641         Instead, use input NaN values or generate a qNaN by arithmetic
51642         operation.  Also fix bugs to comply with the standard.
51643         * math/libm-test.inc (remainder_test): Add more tests.
51645         [BZ #15335, #15342]
51646         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51647         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51648         input NaN values or generate a qNaN by arithmetic operation.
51650         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51651         unreachable code.
51653         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51654         definitions.
51656 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51658         [BZ #14478]
51659         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51660         underflowed result.
51661         * math/s_cexpf.c (__cexpf): Likewise.
51662         * math/s_cexpl.c (__cexpl): Likewise.
51663         * math/libm-test.inc (cexp_test): Add more tests.
51665 2013-04-03  Andreas Schwab  <schwab@suse.de>
51667         [BZ #15330]
51668         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51669         order arrays from heap if bigger than alloca cutoff.
51671 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51673         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51674         (SNAN_TESTS_double): Refer to GCC PR56831.
51675         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51676         GCC PR56828.
51678 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51680         * Rules (bench): Move bench.out after the run is complete.
51682         * Rules (bench): Echo currently running benchmark.
51684         * benchtests/Makefile (bench): Add atan and slowatan.
51685         * benchtests/atan-inputs: New file.
51686         * benchtests/slowatan-inputs: New file.
51687         * benchtests/slowatan.c: New file.
51689         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51690         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51691         its value.
51693         [BZ #15305]
51694         * sysdeps/unix/sysv/linux/kernel-features.h
51695         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51696         __ASSUME_XFS_RESTRICTED_CHOWN.
51697         * sysdeps/unix/sysv/linux/pathconf.c
51698         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51699         Save and restore errno.
51701 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51703         [BZ #15327]
51704         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51705         arguments using __kernel_casinh.
51706         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51707         arguments using __kernel_casinhf.
51708         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51709         arguments using __kernel_casinhl.
51710         * math/libm-test.inc (cacosh_test): Add more tests.
51711         * sysdeps/i386/fpu/libm-test-ulps: Update.
51712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51714 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51716         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51719         * bench/Makefile (bench): Add sin and slowsin.
51720         * benchtests/sin-inputs: New file.
51721         * benchtests/slowsin-inputs: New file.
51722         * benchtests/slowsin.c: New file.
51724         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51725         (bench): Add slowexp and slowpow.
51726         (exp-ITER): Increase iterations.
51727         (pow-ITER): Likewise.
51728         * benchtests/exp-inputs: Change input.
51729         * benchtests/pow-inputs: Likewise.
51730         * benchtests/slowexp-inputs: New file.
51731         * benchtests/slowexp.c: New file.
51732         * benchtests/slowpow-inputs: New file.
51733         * benchtests/slowpow.c: New file.
51735 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51737         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51738         instructions.
51739         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51740         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51741         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51742         * benchtests/Makefile: Add rint benchtest.
51743         * benchtests/rint-inputs: Input for rint benchtest.
51745 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51747         * Versions.def (libm): Add GLIBC_2.18.
51748         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51749         hidden libm prototypes.
51750         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51751         * math/Makefile (libm-calls): Add s_issignaling.
51752         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51753         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51754         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51755         declaration.
51756         * math/math.h [__USE_GNU] (issignaling): New macro.
51757         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51758         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51759         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51760         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51761         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51762         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51763         * manual/arith.texi (issignaling): New section.
51764         * manual/libm-err-tab.pl (@all_functions): Update comment.
51765         * math/gen-libm-test.pl (parse_args): Apply special handling for
51766         issignaling.
51767         * math/libm-test.inc (print_float, issignaling_test): New
51768         functions.
51769         (check_float_internal): Add issignaling checks.
51770         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51771         default definition.
51772         * sysdeps/powerpc/math-tests.h: New file.
51773         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51774         tests.
51775         * math/test-snan.c (TEST_FUNC): Likewise.
51777 2013-03-30  David S. Miller  <davem@davemloft.net>
51779         * po/de.po: Update from translation team.
51781 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51783         [BZ #10357]
51784         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51785         imaginary part less than 1.0 and real part less than 0.5
51786         specially.
51787         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51788         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51789         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51790         (cacos_test): Add more tests.
51791         (casin_test): Likewise.
51792         (casinh_test): Likewise.
51793         * sysdeps/i386/fpu/libm-test-ulps: Update.
51794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51796 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51798         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51799         ONE with its value.
51801         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51802         (__pow_mp): Replace ONE and MONE with their values.
51803         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51804         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51805         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51806         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51807         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51808         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51810         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51812         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51813         (__pow_mp): Replace ZERO and MZERO with their values.
51814         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51815         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51816         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51818         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51819         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51820         (__sqr): Likewise.
51822         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51824         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51826 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51828         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51829         Declare with __attribute__ ((weak)).
51830         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51831         Call __call_tls_dtors only if it's not NULL.
51833 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51835         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51836         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51837         magic __ehdr_start linker symbol if it's defined.
51838         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51839         them up here if it was already done.
51841         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51842         (_dl_aux_init): Use const in cast when setting it.
51843         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51844         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51845         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51847         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51848         Declare them here.
51849         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51850         * csu/libc-tls.c: Nor here.
51851         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51853         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51854         (__libc_message): Never call vsyslog.
51856 2013-03-28  Alan Modra  <amodra@gmail.com>
51858         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51859         Define as empty.
51860         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51861         Likewise.
51863 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51865         [BZ #15214]
51866         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51867         underflow.
51868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51870 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51872         [BZ #15304]
51873         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51874         Don't add gid passed as argument.
51876         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51878 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51880         [BZ #15307]
51881         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51882         imaginary part between 1.0 and 1.5 and real part less than 0.5
51883         specially.
51884         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51885         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51886         * math/libm-test.inc (cacos_test): Add more tests.
51887         (casin_test): Likewise.
51888         (casinh_test): Likewise.
51889         * sysdeps/i386/fpu/libm-test-ulps: Update.
51890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51892 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51894         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51895         constants.
51896         (norm): Likewise.
51897         (denorm): Likewise.
51898         (__dbl_mp): Likewise.
51899         (add_magnitudes): Likewise.
51900         (sub_magnitudes): Likewise.
51901         (__add): Likewise.
51902         (__sub): Likewise.
51903         (__mul): Likewise.
51904         (__sqr): Likewise.
51905         (__inv): Likewise.
51906         (__dvd): Likewise.
51908         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51909         commented code.
51910         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51911         (__dubcos): Likewise.
51912         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51913         (__ieee754_acos): Likewise.
51914         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51915         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51916         (__exp1): Likewise.
51917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51919         (log1): Likewise.
51920         (my_log2): Likewise.
51921         (checkint): Likewise.
51922         * sysdeps/ieee754/dbl-64/e_remainder.c
51923         (__ieee754_remainder): Likewise.
51924         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51925         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51926         (bsloww): Likewise.
51927         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51929         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51930         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51931         MANTISSA_STORE_T to store computations on mantissa.  Use
51932         macros for rounding and division.
51933         (denorm): Likewise.
51934         (__dbl_mp): Likewise.
51935         (add_magnitudes): Likewise.
51936         (sub_magnitudes): Likewise.
51937         (__mul): Likewise.
51938         (__sqr): Likewise.
51939         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51940         powers of two in terms of TWOPOW macro.
51941         (mp_no): Make type of mantissa as MANTISSA_T.
51942         [!RADIXI]: Define RADIXI.
51943         [!TWO52]: Define TWO52.
51944         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51946 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51948         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51949         llroundl symbol when building for PPC32.
51951 2013-03-24  Mark H Weaver  <mhw@netris.org>
51953         * manual/arith.texi (Normalization Functions): Fix prototypes for
51954         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51956 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51958         [BZ #13889]
51959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51960         high value to check if expl overflow.
51961         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51962         to check for underflow and overflow.
51963         * math/libm-test.inc: Add exp test.
51965 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51967         [BZ #11120]
51968         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51969         with NOT_IN_libc.
51971 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51973         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51974         symbol.
51976 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51978         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51979         wrap blocks consisting of several statements.
51981         * sysdeps/generic/math-tests.h: New file.
51982         * sysdeps/i386/fpu/math-tests.h: Likewise.
51983         * math/test-snan.c: Include it.
51984         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51986 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51988         [BZ #15285]
51989         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51990         (__ieee754_j0l): Do not improve calculations using cos of twice
51991         input for inputs above LDBL_MAX / 2.0L.
51992         (__ieee754_y0l): Likewise.
51993         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51994         (__ieee754_j1l): Do not improve calculations using cos of twice
51995         input for inputs above LDBL_MAX / 2.0L.
51996         (__ieee754_y1l): Likewise.
51997         * math/libm-test.inc (j0_test): Add another test.
51998         (j1_test): Likewise.
51999         (y0_test): Likewise.
52000         (y1_test): Likewise.
52001         * sysdeps/i386/fpu/libm-test-ulps: Update.
52003 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52005         * Rules ($(objpfx)bench-%.c): Include code from a C source
52006         file.
52008 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52010         [BZ #15287]
52011         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52012         imaginary part 1.0 and real part less than 0.5 specially.
52013         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52014         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52015         * math/libm-test.inc (cacos_test): Add more tests.
52016         (casin_test): Likewise.
52017         (casinh_test): Likewise.
52018         * sysdeps/i386/fpu/libm-test-ulps: Update.
52019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52021 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52023         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52024         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52026 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52028         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52029         * config.make.in (config-cflags-sse4): Remove variable.
52030         (config-cflags-avx): Likewise.
52031         (config-cflags-sse2avx): Likewise.
52032         (config-cflags-novzeroupper): Likewise.
52033         (config-asflags-i686): Likewise.
52034         (have-mfma4): Likewise.
52035         (have-as-vis3): Likewise.
52036         (MIG): Likewise.
52037         * configure.in (MIG): Do not AC_SUBST.
52038         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52039         (libc_cv_cc_sse4): Do not AC_SUBST.
52040         (libc_cv_cc_avx): Likewise.
52041         (libc_cv_cc_sse2avx): Likewise.
52042         (libc_cv_cc_novzeroupper): Likewise.
52043         (libc_cv_cc_fma4): Likewise.
52044         (libc_cv_as_i686): Likewise.
52045         (libc_cv_sparc_as_vis3): Likewise.
52046         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52047         LIBC_CONFIG_VAR.
52048         (config-asflags-i686): Likewise.
52049         (config-cflags-avx): Likewise.
52050         (config-cflags-sse2avx): Likewise.
52051         (have-mfma4): Likewise.
52052         (config-cflags-novzeroupper): Likewise.
52053         * sysdeps/mach/configure.in (MIG): Likewise.
52054         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52055         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52056         LIBC_CONFIG_VAR.
52057         (config-cflags-avx): Likewise.
52058         (config-cflags-sse2avx): Likewise.
52059         (have-mfma4): Likewise.
52060         (config-cflags-novzeroupper): Likewise.
52061         * configure: Regenerated.
52062         * sysdeps/i386/configure: Likewise.
52063         * sysdeps/mach/configure: Likewise.
52064         * sysdeps/sparc/configure: Likewise.
52065         * sysdeps/x86_64/configure: Likewise.
52067 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52069         [BZ #14812]
52070         * locale/programs/localedef.c (options): Put N_ translation marker
52071         on argument names, not just descriptions.
52073 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52075         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52077 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52079         [BZ #14176]
52080         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52082 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52084         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52085         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52086         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52087         [!BEFORE_ABORT] (before_abort): New function.
52088         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52089         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52090         (writev_for_fatal): New function.
52091         (WRITEV_FOR_FATAL): New macro; call that.
52092         (backtrace_and_maps): New function.
52093         (BEFORE_ABORT): New macro; call that.
52094         (struct str_list): Type removed.
52095         (__libc_message, __libc_fatal): Functions removed.
52096         Include <sysdeps/posix/libc_fatal.c> instead.
52098 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52100         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52101         constants.
52102         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52103         double constants.
52105 2013-03-19  Andreas Schwab  <schwab@suse.de>
52107         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52108         * sysdeps/gnu/configure: Regenerate.
52110         * configure.in: Substitute libc_cv_rtlddir.
52111         * configure: Regenerate.
52112         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52113         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52114         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52115         * elf/Makefile (install-others, CFLAGS-interp.c)
52116         (ldso_install, common-ldd-rewrite): Likewise.
52117         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52118         $(inst_slibdir)/$(rtld-installed-name).
52119         * scripts/rellns-sh: Add -p option.
52120         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52121         for source.
52123 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52125         * manual/nptl.texi: Renamed to ...
52126         * manual/threads.texi: ... this.
52127         * manual/Makefile (chapters): Update.
52129 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52131         [BZ #14812]
52132         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52133         on argument names, not just descriptions.
52134         * malloc/memusagestat.c (options): Likewise.
52135         * nss/getent.c (options): Likewise.
52137 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52139         [BZ #14812]
52140         * iconv/iconv_prog.c (options): Put N_ translation marker
52141         on argument names, not just descriptions.
52142         * iconv/iconvconfig.c (options): Likewise.
52144 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52146         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52147         implementation which is faster on all x86_64 architectures.
52148         Tested on AMD, Intel Nehalem, SNB, IVB.
52149         * sysdeps/x86_64/strnlen.S: Likewise.
52151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52152         Remove all multiarch strlen and strnlen versions.
52153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52154         Remove strlen and strnlen related parts.
52156         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52157         Inline strlen part.
52158         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52160         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52161         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52162         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52163         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52164         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52165         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52167 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52169         * manual/memory.texi (Malloc Tunable Parameters):
52170         Sort parameters alphabetically. Add comments for missing entries.
52172 2013-03-17  David S. Miller  <davem@davemloft.net>
52174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52176 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52178         [BZ #15283]
52179         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52180         for arguments at most half maximum finite value.
52181         * math/libm-test.inc (j0_test): Add more tests.
52182         (j1_test): Likewise.
52183         (y0_test): Likewise.
52184         (y1_test): Likewise.
52185         * sysdeps/i386/fpu/libm-test-ulps: Update.
52186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52188         [BZ #14155]
52189         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52190         1 / x and functions P and Q for arguments above 0x1p256L.
52191         (__ieee754_y0l): Likewise.
52192         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52193         (__ieee754_y1l): Likewise.
52194         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52195         (j1_test): Likewise.
52196         (y0_test): Likewise.
52197         (y1_test): Likewise.
52199 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52201         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52202         variable.
52204 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52206         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52207         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52208         zero since it's initialized to EXEC_PAGESIZE.
52210         * sysdeps/unix/sysv/linux/ldsodefs.h
52211         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52212         * sysdeps/generic/ldsodefs.h: ... here.
52214 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52216         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52218         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52219         math/test-snan.c.
52220         * math/test-snan.c: Renamed from
52221         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52222         * math/Makefile (tests): Add test-snan.
52223         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52224         test-powerpc-snan.
52226         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52227         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52228         functions.
52229         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52230         __builtin_nan family of functions.
52231         * math/libm-test.inc (initialize): Initialize qnan_value with
52232         __builtin_nan family of functions.
52233         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52234         Remove variables.
52235         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52236         Remove functions.
52237         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52238         storage class.  Initialize qNaN_var and sNaN_var with
52239         __builtin_nan and __builtin_nans families of functions,
52240         respectively.
52242         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52243         (sqrt_test): Remove duplicate test with qNaN input.
52244         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52245         (round_test, signbit_test, significand_test): Note missing +/-Inf
52246         as well as qNaN tests.
52248         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52249         qNaN_var.  Fix a few strings, too.
52250         * math/libm-test.inc (nan_value): Rename to qnan_value.
52251         * math/gen-libm-test.pl (%beautify): Adjust to that.
52252         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52253         * math/test-misc.c (main): Likewise.
52254         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52255         to __qnan_bytes, and __qnan_union, respectively.
52256         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52257         Likewise.
52258         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52259         and lqnanval, respectively.
52260         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52261         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52262         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52263         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52265         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52266         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52267         doubles.
52269         * math/test-misc.c (main): Fix copy'n'pastos.
52270         * misc/tst-efgcvt.c (special): Likewise.
52272         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52273         Remove declarations.
52275 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52277         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52278         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52279         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52280         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52282 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52284         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52285         macro to return vdso values correctly in IFUNC implementations.
52286         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52287         Optimization by using IFUNC.
52289 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52290             Richard Henderson  <rth@redhat.com>
52291             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52293         * Makefile.in (bench): New target.
52294         * NEWS: Mention the benchmark framework.
52295         * Rules (bench): Likewise.
52296         (binaries-bench): Generate binaries for functions to
52297         benchmark.
52298         * benchtests/Makefile: New makefile for benchmark tests.
52299         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52300         programs.
52301         * benchtests/exp-inputs: New input file for EXP function.
52302         * benchtests/pow-inputs: New input file for POW function.
52303         * scripts/bench.pl: New script to generate source files for
52304         benchmark programs.
52306 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52308         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52309         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52310         computations on mantissa.  Use macros for rounding and
52311         division.
52312         (denorm): Likewise.
52313         (__dbl_mp): Likewise.
52314         (add_magnitudes): Likewise.
52315         (sub_magnitudes): Likewise.
52316         (__mul): Likewise.
52317         (__sqr): Likewise.
52318         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52319         powers of two in terms of TWOPOW macro.
52320         (mp_no): Make type of mantissa as MANTISSA_T.
52321         [!RADIXI]: Define RADIXI.
52322         [!TWO52]: Define TWO52.
52323         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52325         * manual/nptl.texi (cindex): Modify threads to pthreads.
52327 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52329         * sysdeps/x86_64/preconfigure: Regenerated.
52331 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52333         [BZ #14155]
52334         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52335         0x1p28 and above.
52336         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52337         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52338         0x1p28 and above.
52339         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52340         * math/libm-test.inc (j0_test): Do not allow one spurious
52341         underflow exception.
52342         (y1_test): Likewise.
52344 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52346         * manual/Makefile (chapters): Add nptl.
52347         * manual/debug.texi (Debugging Support): Add link to Threads
52348         chapter.
52349         * manual/nptl.texi: New file.
52351         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52353 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52355         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52356         for non-NULL pointer before the memory validity test. Pointed
52357         out by Holger Brunck <holger.brunck@keymile.com>.
52359 2013-03-13  Andreas Schwab  <schwab@suse.de>
52361         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52362         instead of .os.
52364 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52366         * timezone/zic.c: Update from tzcode 2013b.
52368 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52370         * manual/install.texi (Configuring and compiling):
52371         Mention i686 and i586.
52372         * INSTALL: Regenerate.
52374 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52376         * sysdeps/init_array/elf-init.c: New file.
52377         * csu/elf-init.c
52378         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52379         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52381         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52382         __gmon_start__ as global, but as static with a .preinit_array pointer.
52383         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52384         * sysdeps/init_array/crti.S: New file, empty except for comments.
52385         * sysdeps/init_array/crtn.S: Likewise.
52387 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52389         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52390         definining bcopy.
52391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52392         Remove Prefer_SSE_for_memop.
52393         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52394         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52395         HAS_PREFER_SSE_FOR_MEMOP.
52396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52397         memset-x86-64.
52398         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52399         Remove bzero, memset ifunc support.
52400         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52401         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52402         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52403         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52405 2013-03-11  Andreas Schwab  <schwab@suse.de>
52407         [BZ #15234]
52408         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52409         by SHLIB_COMPAT.
52410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52411         (GLIBC_2.16): Remove pthread_atfork.
52413 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52415         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52416         (ptestcases.h): Likewise.
52418 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52420         * Makeconfig ($(common-objpfx)config.status): Depend on
52421         sysdeps/*/preconfigure{,.in} too.
52423 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52425         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52426         (__free_hook): Use void * instead of __malloc_ptr_t.
52427         (__malloc_hook): Likewise.
52428         (__realloc_hook): Likewise.
52429         (__memalign_hook): Likewise.
52430         (__after_morecore_hook): Likewise.
52431         * malloc/arena.c (save_malloc_hook): Likewise.
52432         (save_free_hook): Likewise.
52433         * malloc/hooks.c (malloc_hook_ini): Likewise.
52434         (realloc_hook_ini): Likewise.
52435         (memalign_hook_ini): Likewise.
52436         * malloc/malloc.c (malloc_hook_ini): Likewise.
52437         (realloc_hook_ini): Likewise.
52438         (memalign_hook_ini): Likewise.
52439         (__free_hook): Likewise.
52440         (__malloc_hook): Likewise.
52441         (__realloc_hook): Likewise.
52442         (__memalign_hook): Likewise.
52443         (__libc_malloc): Likewise.
52444         (__libc_free): Likewise.
52445         (__libc_realloc): Likewise.
52446         (__libc_memalign): Likewise.
52447         (__libc_valloc): Likewise.
52448         (__libc_pvalloc): Likewise.
52449         (__libc_calloc): Likewise.
52450         (__posix_memalign): Likewise.
52451         * malloc/morecore.c (__sbrk): Likewise.
52452         (__default_morecore): Likewise.
52454         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52456         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52457         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52458         __malloc_ptrdiff_t.
52460         * malloc/malloc.h (__malloc_size_t): Remove macro.
52461         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52462         __malloc_size_t.
52463         (old_memalign_hook): Likewise.
52464         (old_realloc_hook): Likewise.
52465         (struct hdr): Likewise.
52466         (flood): Likewise.
52467         (mallochook): Likewise.
52468         (memalignhook): Likewise.
52469         (reallochook): Likewise.
52470         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52471         (tr_old_realloc_hook): Likewise.
52472         (tr_old_memalign_hook): Likewise.
52473         (tr_mallochook): Likewise.
52474         (tr_reallochook): Likewise.
52475         (tr_memalignhook): Likewise.
52477 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52479         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52480         default_ldbl_pack and using as default implementation.
52481         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52482         implementation.
52483         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52484         redundant definition.
52485         (ldbl_insert_mantissa): Likewise.
52486         (ldbl_canonicalize): Likewise.
52487         (ldbl_nearbyint): Likewise.
52488         (ldbl_pack): Rename to ldbl_pack_ppc.
52489         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52490         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52491         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52493 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52496         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52497         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52498         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52500         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52501         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52502         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52504 2013-03-07  Andreas Jaeger  <aj@suse.de>
52506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52507         bits/mman-linux.h.
52509 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52511         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52512         Include mpa.h and declare __MPEXP.
52513         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52514         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52515         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52516         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52517         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52518         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52519         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52521         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52522         (__slowpow): Use long double EXPL and LOGL functions to
52523         compute POW.
52524         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52525         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52526         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52527         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52528         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52529         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52532         intermediate variable to calculate exponent.
52533         (__sqr): Likewise.
52534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52535         Likewise.
52536         (__sqr): Likewise.
52538         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52539         [!NO__SQR]: Define __sqr.
52540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52541         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52542         sysdeps/ieee754/dbl-64/mpa.c.
52543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52545         [BZ #12723]
52546         * posix/Makefile (tests): Add tst-pathconf.
52547         * posix/tst-pathconf.c: New test case.
52548         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52549         _PC_PIPE_BUF.
52550         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52552 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52554         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52556 2013-03-06  Andreas Jaeger  <aj@suse.de>
52558         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52559         definition via __MAP_ANONYMOUS.
52561         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52562         it's not part of Linux headers.
52564         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52565         (MAP_HUGE_MASK): Define.
52567         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52568         Define.
52569         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52570         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52571         Define.
52572         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52573         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52574         Define.
52575         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52576         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52577         Define.
52578         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52580         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52581         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52582         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52583         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52584         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52585         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52587         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52588         Handle f2fs.
52590         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52591         Handle f2fs and efivarfs.
52593         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52594         f2fs.
52596         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52597         (EFIVARFS_MAGIC): Add.
52598         (F2FS_LINK_MAX): Add.
52600 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52602         * stdio-common/vfprintf.c: Replace __builtin_expect with
52603         __glibc_unlikely.
52605 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52607         [BZ #13550]
52608         * sysdeps/generic/bp-sym.h: Remove file.
52609         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52610         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52611         <bp-sym.h> and <bp-asm.h>.
52612         (__longjmp): Don't use BP_SYM.
52613         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52614         and <bp-asm.h>.
52615         (memcpy): Don't use BP_SYM.
52616         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52617         <bp-sym.h> and <bp-asm.h>.
52618         (memcpy): Don't use BP_SYM.
52619         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52620         <bp-asm.h>.
52621         (memcpy): Don't use BP_SYM.
52622         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52623         <bp-asm.h>.
52624         (memset): Don't use BP_SYM.
52625         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52626         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52627         (__bzero): Don't use BP_SYM.
52628         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52629         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52630         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52631         <bp-sym.h> and <bp-asm.h>.
52632         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52633         pointers.
52634         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52635         <bp-sym.h> and <bp-asm.h>.
52636         (memcpy): Don't use BP_SYM.
52637         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52638         <bp-sym.h> and <bp-asm.h>.
52639         (memset): Don't use BP_SYM.
52640         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52641         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52642         (__bzero): Don't use BP_SYM.
52643         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52644         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52645         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52646         <bp-sym.h> and <bp-asm.h>.
52647         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52648         pointers.
52649         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52650         <bp-sym.h> and <bp-asm.h>.
52651         (memcpy): Don't use BP_SYM.
52652         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52653         <bp-sym.h> and <bp-asm.h>.
52654         (memset): Don't use BP_SYM.
52655         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52656         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52657         (__bzero): Don't use BP_SYM.
52658         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52659         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52660         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52661         <bp-sym.h> and <bp-asm.h>.
52662         (__memchr): Don't use BP_SYM.
52663         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52664         <bp-sym.h> and <bp-asm.h>.
52665         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52666         pointers.
52667         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52668         <bp-sym.h> and <bp-asm.h>.
52669         (memcpy): Don't use BP_SYM.
52670         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52671         <bp-sym.h> and <bp-asm.h>.
52672         (__mempcpy): Don't use BP_SYM.
52673         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52674         <bp-sym.h> and <bp-asm.h>.
52675         (__memrchr): Don't use BP_SYM.
52676         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52677         <bp-sym.h> and <bp-asm.h>.
52678         (memset): Don't use BP_SYM.
52679         (__bzero): Likewise.
52680         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52681         <bp-sym.h> and <bp-asm.h>.
52682         (__rawmemchr): Don't use BP_SYM.
52683         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52684         <bp-sym.h> and <bp-asm.h>.
52685         (__STRCMP): Don't use BP_SYM.
52686         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52687         <bp-sym.h> and <bp-asm.h>.
52688         (strchr): Don't use BP_SYM.
52689         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52690         <bp-sym.h> and <bp-asm.h>.
52691         (__strchrnul): Don't use BP_SYM.
52692         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52693         <bp-sym.h> and <bp-asm.h>.
52694         (strlen): Don't use BP_SYM.
52695         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52696         <bp-sym.h> and <bp-asm.h>.
52697         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52698         pointers.
52699         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52700         <bp-sym.h> and <bp-asm.h>.
52701         (__strnlen): Don't use BP_SYM.
52702         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52703         <bp-sym.h> and <bp-asm.h>.
52704         (__GI__setjmp): Don't use BP_SYM.
52705         (_setjmp): Likewise.
52706         (__sigsetjmp): Likewise.
52707         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52708         (L(start_addresses)): Don't use BP_SYM.
52709         (_start): Likewise.
52710         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52711         <bp-asm.h>.
52712         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52713         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52714         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52715         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52716         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52717         <bp-asm.h>.
52718         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52719         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52720         about bounded pointers.
52721         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52722         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52723         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52724         <bp-asm.h>.
52725         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52726         about bounded pointers.  Remove GKM FIXME comments.
52727         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52728         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52729         <bp-asm.h>.
52730         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52731         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52732         Remove GKM FIXME comments.
52733         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52734         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52735         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52736         <bp-asm.h>.
52737         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52738         about bounded pointers.  Remove GKM FIXME comment.
52739         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52740         and <bp-asm.h>.
52741         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52742         pointers.
52743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52744         <bp-sym.h> and <bp-asm.h>.
52745         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52747         <bp-sym.h> and <bp-asm.h>.
52748         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52749         comment.
52751 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52753         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52754         call free(NULL).
52756 2013-03-05  David S. Miller  <davem@davemloft.net>
52758         * po/es.po: Update from translation team.
52760 2013-03-05  Andreas Jaeger  <aj@suse.de>
52762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52763         <bits/mman-linux.h>.
52764         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52765         is fine.
52766         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52767         <bits/mman-linux.h> to end of file.
52768         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52769         is fine.
52770         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52771         <bits/mman-linux.h> to end of file.
52772         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52773         is fine.
52774         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52775         <bits/mman-linux.h> to end of file.
52777         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52778         (MCL_CURRENT, MCL_FUTURE): Define here.
52780 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52782         [BZ #15232]
52783         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52784         attribute_hidden.
52785         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52787 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52789         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52790         fourth parameter needed for rt_sigprocmask syscall.
52791         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52792         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52793         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52794         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52795         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52796         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52798 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52800         [BZ #13550]
52801         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52802         comment about bounded pointers.
52803         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52804         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52806 2013-03-04  Andreas Jaeger  <aj@suse.de>
52808         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52809         common definitions.
52811         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52812         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52813         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52814         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52815         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52816         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52818 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52820         [BZ #15055]
52821         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52822         __ieee754_sqrl instead of __sqrl.
52824 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52826         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52827         * sysdeps/powerpc/fpu_control.h: ... here.
52828         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52829         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52830         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52831         * sysdeps/powerpc/bits/mathinline.h: ... here.
52833 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52835         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52836         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52837         to just [NEED_DL_SYSINFO_DSO].
52838         * elf/dl-support.c: Likewise.
52839         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52840         * elf/rtld.c (dl_main): Likewise.
52841         * elf/setup-vdso.h (setup_vdso): Likewise.
52842         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52843         * sysdeps/unix/sysv/linux/dl-sysdep.c
52844         (_dl_discover_osversion): Likewise.
52846 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52848         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52849         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52851 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52853         * NEWS: Mention libm performance improvements and non-x86 PI
52854         futex support.
52856         * csu/libc-start.c (__pthread_initialize_minimal): Change
52857         function arguments.
52858         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52860 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52862         [BZ #13550]
52863         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52864         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52865         <bp-sym.h> and <bp-asm.h>.
52866         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52867         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52868         and <bp-asm.h>.
52869         (memcpy): Don't use BP_SYM.
52870         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52871         <bp-asm.h>.
52872         (__mpn_add_n): Don't use BP_SYM.
52873         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52874         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52875         and <bp-asm.h>.
52876         (__mpn_addmul_1): Don't use BP_SYM.
52877         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52878         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52879         <bp-sym.h>.
52880         (_setjmp): Don't use BP_SYM.
52881         (__novmx_setjmp): Likewise.
52882         (__GI__setjmp): Likewise.
52883         (__vmx_setjmp): Likewise.
52884         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52885         <bp-sym.h>.
52886         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52887         (__bzero): Don't use BP_SYM.
52888         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52889         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52890         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52891         <bp-sym.h> and <bp-asm.h>.
52892         (memcpy): Don't use BP_SYM.
52893         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52894         <bp-sym.h> and <bp-asm.h>.
52895         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52896         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52897         <bp-sym.h> and <bp-asm.h>.
52898         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52899         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52900         <bp-asm.h>.
52901         (__mpn_lshift): Don't use BP_SYM.
52902         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52903         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52904         <bp-asm.h>.
52905         (memset): Don't use BP_SYM.
52906         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52907         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52908         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52909         <bp-asm.h>.
52910         (__mpn_mul_1): Don't use BP_SYM.
52911         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52913         <bp-sym.h> and <bp-asm.h>.
52914         (memcmp): Don't use BP_SYM.
52915         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52916         <bp-sym.h> and <bp-asm.h>.
52917         (memcpy): Don't use BP_SYM.
52918         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52919         <bp-sym.h> and <bp-asm.h>.
52920         (memset): Don't use BP_SYM.
52921         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52922         <bp-sym.h> and <bp-asm.h>.
52923         (strncmp): Don't use BP_SYM.
52924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52925         <bp-sym.h> and <bp-asm.h>.
52926         (memcpy): Don't use BP_SYM.
52927         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52928         <bp-sym.h> and <bp-asm.h>.
52929         (memset): Don't use BP_SYM.
52930         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52931         <bp-sym.h> and <bp-asm.h>.
52932         (__memchr): Don't use BP_SYM.
52933         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52934         <bp-sym.h> and <bp-asm.h>.
52935         (memcmp): Don't use BP_SYM.
52936         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52937         <bp-sym.h> and <bp-asm.h>.
52938         (memcpy): Don't use BP_SYM.
52939         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52940         <bp-sym.h> and <bp-asm.h>.
52941         (__mempcpy): Don't use BP_SYM.
52942         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52943         <bp-sym.h> and <bp-asm.h>.
52944         (__memrchr): Don't use BP_SYM.
52945         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52946         <bp-sym.h> and <bp-asm.h>.
52947         (memset): Don't use BP_SYM.
52948         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52949         <bp-sym.h> and <bp-asm.h>.
52950         (__rawmemchr): Don't use BP_SYM.
52951         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52952         <bp-sym.h> and <bp-asm.h>.
52953         (__STRCMP): Don't use BP_SYM.
52954         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52955         <bp-sym.h> and <bp-asm.h>.
52956         (strchr): Don't use BP_SYM.
52957         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52958         <bp-sym.h> and <bp-asm.h>.
52959         (__strchrnul): Don't use BP_SYM.
52960         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52961         <bp-sym.h> and <bp-asm.h>.
52962         (strlen): Don't use BP_SYM.
52963         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52964         <bp-sym.h> and <bp-asm.h>.
52965         (strncmp): Don't use BP_SYM.
52966         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52967         <bp-sym.h> and <bp-asm.h>.
52968         (__strnlen): Don't use BP_SYM.
52969         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52970         <bp-asm.h>.
52971         (__mpn_rshift): Don't use BP_SYM.
52972         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52973         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52974         <bp-sym.h> and <bp-asm.h>.
52975         (__sigsetjmp): Don't use BP_SYM.
52976         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52977         (L(start_addresses)): Don't use BP_SYM.
52978         (_start): Likewise.
52979         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52980         <bp-asm.h>.
52981         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52982         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52983         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52984         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52985         <bp-asm.h>.
52986         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52987         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52988         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52989         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52990         <bp-asm.h>.
52991         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52992         comments.
52993         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52994         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52995         <bp-asm.h>.
52996         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52997         FIXME comments.
52998         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52999         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53000         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53001         <bp-asm.h>.
53002         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53003         comment.
53004         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53005         and <bp-asm.h>.
53006         (strncmp): Don't use BP_SYM,
53007         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53008         <bp-asm.h>.
53009         (__mpn_sub_n): Don't use BP_SYM.
53010         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53011         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53012         and <bp-asm.h>.
53013         (__mpn_submul_1): Don't use BP_SYM.
53014         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53016         <bp-sym.h> and <bp-asm.h>.
53017         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53019         <bp-sym.h> and <bp-asm.h>.
53020         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53021         comment.
53023 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53026         Use ZK to minimize writes to Z.
53027         (sub_magnitudes): Simplify code a bit.
53028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53029         Use ZK to minimize writes to Z.
53030         (sub_magnitudes): Simplify code a bit.
53032 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53034         * csu/gmon-start.c: Add special exception to license text.
53036 2013-02-27  Richard Henderson  <rth@redhat.com>
53038         * scripts/config.guess: Update from config.git.
53039         * scripts/config.sub: Likewise.
53041 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53043         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53045         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53047         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53049         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53051         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53053 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53055         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53056         [$(build-shared = yes].
53058 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53060         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53061         (__mul): Reduce iterations for calculating mantissa.
53063         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53064         MPTWO.
53065         (__mpranred): Likewise.
53067         [BZ #15160]
53068         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53069         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53071 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53073         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53074         Define __attribute__.
53076 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53078         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53079         unused.
53080         * posix/regex_internal.h (__attribute): Remove.
53081         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53082         (re_string_context_at): Likewise.
53083         (bitset_not): Use __attribute__ and mark function as possibly
53084         unused.
53085         (bitset_merge): Likewise.
53086         (bitset_mask): Likewise.
53087         (re_string_char_size_at): Likewise.
53088         (re_string_wchar_at): Likewise.
53089         (re_string_elem_size_at): Likewise.
53091 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53093         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53094         code.
53095         (cc32): Likewise.
53097         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53098         (__acr): Likewise.
53099         (__cpy): Likewise.
53100         (norm): Likewise.
53101         (denorm): Likewise.
53102         (__dbl_mp): Likewise.
53103         (add_magnitudes): Likewise.
53104         (sub_magnitudes): Likewise.
53105         (__mul): Likewise.
53106         (__inv): Likewise.
53108         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53109         style.
53111         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53112         style.
53114         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53115         code.
53117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53118         up changes with default code.
53119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53120         Likewise.
53122 2013-02-24  Allan McRae  <allan@archlinux.org>
53124         * manual/socket.texi (The Internet Namespace): Order menu items
53125         to match that in the file.
53127         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53128         node listing of the info page menu.
53130 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53132         [BZ #13550]
53133         * sysdeps/i386/bp-asm.h: Remove file.
53134         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53135         (PARMS): Do not use macros from bp-asm.h.
53136         (S1): Likewise.
53137         (S2): Likewise.
53138         (SIZE): Likewise.
53139         (__mpn_add_n): Do not use BP_SYM
53140         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53141         "bp-asm.h".
53142         (PARMS): Do not use macros from bp-asm.h.
53143         (S1): Likewise.
53144         (SIZE): Likewise.
53145         (__mpn_addmul_1): Do not use BP_SYM
53146         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53147         "bp-asm.h".
53148         (PARMS): Do not use macros from bp-asm.h.
53149         (SIGMSK): Likewise.
53150         (_setjmp): Likewise.  Do not use BP_SYM.
53151         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53152         "bp-asm.h".
53153         (PARMS): Do not use macros from bp-asm.h.
53154         (SIGMSK): Likewise.
53155         (setjmp): Likewise.  Do not use BP_SYM.
53156         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53157         "bp-asm.h".
53158         (PARMS): Do not use macros from bp-asm.h.
53159         (__frexp): Do not use BP_SYM.
53160         (frexp): Likewise.
53161         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53162         "bp-asm.h".
53163         (PARMS): Do not use macros from bp-asm.h.
53164         (__frexpf): Do not use BP_SYM.
53165         (frexpf): Likewise.
53166         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53167         "bp-asm.h".
53168         (PARMS): Do not use macros from bp-asm.h.
53169         (__frexpl): Do not use BP_SYM.
53170         (frexpl): Likewise.
53171         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53172         "bp-asm.h".
53173         (PARMS): Do not use macros from bp-asm.h.
53174         (__remquo): Do not use BP_SYM.
53175         (remquo): Likewise.
53176         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53177         "bp-asm.h".
53178         (PARMS): Do not use macros from bp-asm.h.
53179         (__remquof): Do not use BP_SYM.
53180         (remquof): Likewise.
53181         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53182         "bp-asm.h".
53183         (PARMS): Do not use macros from bp-asm.h.
53184         (__remquol): Do not use BP_SYM.
53185         (remquol): Likewise.
53186         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53187         "bp-asm.h".
53188         (PARMS): Do not use macros from bp-asm.h.
53189         (DEST): Likewise.
53190         (SRC): Likewise.
53191         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53192         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53193         "bp-asm.h".
53194         (PARMS): Do not use macros from bp-asm.h.
53195         (strlen): Do not use BP_SYM.
53196         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53197         "bp-asm.h".
53198         (PARMS): Do not use macros from bp-asm.h.
53199         (S1): Likewise.
53200         (S2): Likewise.
53201         (SIZE): Likewise.
53202         (__mpn_add_n): Do not use BP_SYM.
53203         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53204         "bp-asm.h".
53205         (PARMS): Do not use macros from bp-asm.h.
53206         (S1): Likewise.
53207         (SIZE): Likewise.
53208         (__mpn_addmul_1): Do not use BP_SYM.
53209         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53210         weak_alias.
53211         (bzero): Likewise.
53212         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53213         "bp-asm.h".
53214         (PARMS): Do not use macros from bp-asm.h.
53215         (S): Likewise.
53216         (SIZE): Likewise.
53217         (__mpn_lshift): Do not use BP_SYM.
53218         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53219         "bp-asm.h".
53220         (PARMS): Do not use macros from bp-asm.h.
53221         (DEST): Likewise.
53222         (SRC): Likewise.
53223         (LEN): Likewise.
53224         (memcpy): Likewise.  Do not use BP_SYM.
53225         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53226         libc_hidden_def and weak_alias.
53227         (mempcpy): Do not use BP_SYM in weak_alias.
53228         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53229         "bp-asm.h".
53230         (PARMS): Do not use macros from bp-asm.h.
53231         (DEST): Likewise.
53232         (LEN): Likewise.
53233         [!BZERO_P] (CHR): Likewise.
53234         (memset): Likewise.  Do not use BP_SYM.
53235         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53236         "bp-asm.h".
53237         (PARMS): Do not use macros from bp-asm.h.
53238         (S1): Likewise.
53239         (SIZE): Likewise.
53240         (__mpn_mul_1): Do not use BP_SYM.
53241         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53242         "bp-asm.h".
53243         (PARMS): Do not use macros from bp-asm.h.
53244         (S): Likewise.
53245         (SIZE): Likewise.
53246         (__mpn_rshift): Do not use BP_SYM.
53247         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53248         "bp-asm.h".
53249         (PARMS): Do not use macros from bp-asm.h.
53250         (STR): Likewise.
53251         (CHR): Likewise.
53252         (strchr): Likewise.  Do not use BP_SYM.
53253         (index): Do not use BP_SYM in weak_alias.
53254         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53255         "bp-asm.h".
53256         (PARMS): Do not use macros from bp-asm.h.
53257         (DEST): Likewise.
53258         (SRC): Likewise.
53259         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53260         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53261         "bp-asm.h".
53262         (PARMS): Do not use macros from bp-asm.h.
53263         (strlen): Do not use BP_SYM.
53264         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53265         "bp-asm.h".
53266         (PARMS): Do not use macros from bp-asm.h.
53267         (S1): Likewise.
53268         (S2): Likewise.
53269         (SIZE): Likewise.
53270         (__mpn_sub_n): Do not use BP_SYM.
53271         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53272         "bp-asm.h".
53273         (PARMS): Do not use macros from bp-asm.h.
53274         (S1): Likewise.
53275         (SIZE): Likewise.
53276         (__mpn_submul_1): Do not use BP_SYM.
53277         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53278         "bp-asm.h".
53279         (PARMS): Do not use macros from bp-asm.h.
53280         (S1): Likewise.
53281         (S2): Likewise.
53282         (SIZE): Likewise.
53283         (__mpn_add_n): Do not use BP_SYM.
53284         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53285         weak_alias.
53286         (bzero): Likewise.
53287         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53288         "bp-asm.h".
53289         (PARMS): Do not use macros from bp-asm.h.
53290         (BLK2): Likewise.
53291         (LEN): Likewise.
53292         (memcmp): Do not use BP_SYM.
53293         (bcmp): Do not use BP_SYM in weak_alias.
53294         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53295         "bp-asm.h".
53296         (PARMS): Do not use macros from bp-asm.h.
53297         (DEST): Likewise.
53298         (SRC): Likewise.
53299         (LEN): Likewise.
53300         (memcpy): Likewise.  Do not use BP_SYM.
53301         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53302         "bp-asm.h".
53303         (PARMS): Do not use macros from bp-asm.h.
53304         (DEST): Likewise.
53305         (SRC): Likewise.
53306         (LEN): Likewise.
53307         (memmove): Likewise.  Do not use BP_SYM.
53308         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53309         "bp-asm.h".
53310         (PARMS): Do not use macros from bp-asm.h.
53311         (DEST): Likewise.
53312         (SRC): Likewise.
53313         (LEN): Likewise.
53314         (__mempcpy): Likewise.  Do not use BP_SYM.
53315         (mempcpy): Do not use BP_SYM in weak_alias.
53316         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53317         "bp-asm.h".
53318         (PARMS): Do not use macros from bp-asm.h.
53319         (DEST): Likewise.
53320         (LEN): Likewise.
53321         [!BZERO_P] (CHR): Likewise.
53322         (memset): Likewise.  Do not use BP_SYM.
53323         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53324         "bp-asm.h".
53325         (PARMS): Do not use macros from bp-asm.h.
53326         (STR2): Likewise.
53327         (strcmp): Do not use BP_SYM.
53328         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53329         "bp-asm.h".
53330         (PARMS): Do not use macros from bp-asm.h.
53331         (STR): Likewise.
53332         (DELIM): Likewise.
53333         [USE_AS_STRTOK_R] (SAVE): Likewise.
53334         (FUNCTION): Likewise.  Do not use BP_SYM.
53335         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53336         aliases.
53337         (strtok_r): Likewise.
53338         (__GI___strtok_r): Likewise.
53339         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53340         (PARMS): Do not use macros from bp-asm.h.
53341         (S): Likewise.
53342         (SIZE): Likewise.
53343         (__mpn_lshift): Do not use BP_SYM.
53344         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53345         (PARMS): Do not use macros from bp-asm.h.
53346         (STR): Likewise.
53347         (CHR): Likewise.
53348         (__memchr): Do not use BP_SYM.
53349         (memchr): Do not use BP_SYM in weak_alias.
53350         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53351         (PARMS): Do not use macros from bp-asm.h.
53352         (BLK2): Likewise.
53353         (LEN): Likewise.
53354         (memcmp): Do not use BP_SYM.
53355         (bcmp): Do not use BP_SYM in weak_alias.
53356         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53357         (PARMS): Do not use macros from bp-asm.h.
53358         (S1): Likewise.
53359         (SIZE): Likewise.
53360         (__mpn_mul_1): Do not use BP_SYM.
53361         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53362         "bp-asm.h".
53363         (PARMS): Do not use macros from bp-asm.h.
53364         (STR): Likewise.
53365         (CHR): Likewise.
53366         (__rawmemchr): Do not use BP_SYM.
53367         (rawmemchr): Do not use BP_SYM in weak_alias.
53368         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53369         (PARMS): Do not use macros from bp-asm.h.
53370         (S): Likewise.
53371         (SIZE): Likewise.
53372         (__mpn_rshift): Do not use BP_SYM.
53373         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53374         (PARMS): Do not use macros from bp-asm.h.
53375         (SIGMSK): Likewise.
53376         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53377         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53378         (_start): Do not use BP_SYM.
53379         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53380         (PARMS): Do not use macros from bp-asm.h.
53381         (DEST): Likewise.
53382         (SRC): Likewise.
53383         (__stpcpy): Likewise.  Do not use BP_SYM.
53384         (stpcpy): Do not use BP_SYM in weak_alias.
53385         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53386         "bp-asm.h".
53387         (PARMS): Do not use macros from bp-asm.h.
53388         (DEST): Likewise.
53389         (SRC): Likewise.
53390         (LEN): Likewise.
53391         (__stpncpy): Likewise.  Do not use BP_SYM.
53392         (stpncpy): Do not use BP_SYM in weak_alias.
53393         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53394         (PARMS): Do not use macros from bp-asm.h.
53395         (STR): Likewise.
53396         (CHR): Likewise.
53397         (strchr): Likewise.  Do not use BP_SYM.
53398         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53399         "bp-asm.h".
53400         (PARMS): Do not use macros from bp-asm.h.
53401         (STR): Likewise.
53402         (CHR): Likewise.
53403         (__strchrnul): Likewise.  Do not use BP_SYM.
53404         (strchrnul): Do not use BP_SYM in weak_alias.
53405         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53406         "bp-asm.h".
53407         (PARMS): Do not use macros from bp-asm.h.
53408         (STOP): Likewise.
53409         (strcspn): Do not use BP_SYM.
53410         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53411         "bp-asm.h".
53412         (PARMS): Do not use macros from bp-asm.h.
53413         (STR): Likewise.
53414         (STOP): Likewise.
53415         (strpbrk): Likewise.  Do not use BP_SYM.
53416         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53417         "bp-asm.h".
53418         (PARMS): Do not use macros from bp-asm.h.
53419         (STR): Likewise.
53420         (CHR): Likewise.
53421         (strrchr): Likewise.  Do not use BP_SYM.
53422         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53423         (PARMS): Do not use macros from bp-asm.h.
53424         (SKIP): Likewise.
53425         (strspn): Do not use BP_SYM.
53426         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53427         (PARMS): Do not use macros from bp-asm.h.
53428         (STR): Likewise.
53429         (DELIM): Likewise.
53430         (SAVE): Likewise.
53431         (FUNCTION): Likewise.  Do not use BP_SYM.
53432         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53433         aliases.
53434         (strtok_r): Likewise.
53435         (__GI___strtok_r): Likewise.
53436         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53437         (PARMS): Do not use macros from bp-asm.h.
53438         (S1): Likewise.
53439         (S2): Likewise.
53440         (SIZE): Likewise.
53441         (__mpn_sub_n): Do not use BP_SYM.
53442         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53443         "bp-asm.h".
53444         (PARMS): Do not use macros from bp-asm.h.
53445         (S1): Likewise.
53446         (SIZE): Likewise.
53447         (__mpn_submul_1): Do not use BP_SYM.
53448         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53449         <bp-sym.h>.
53450         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53451         and <bp-asm.h>.
53452         (PARMS): Do not use macros from bp-asm.h.
53453         (FLAGS): Likewise.
53454         (PTID): Likewise.
53455         (TLS): Likewise.
53456         (CTID): Likewise.
53457         (__clone): Do not use BP_SYM.
53458         (clone): Do not use BP_SYM in weak_alias.
53459         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53460         and <bp-asm.h>.
53461         (PARMS): Do not use macros from bp-asm.h.
53462         (LEN): Likewise.
53463         (__mmap64): Do not use BP_SYM.
53464         (mmap64): Do not use BP_SYM in weak_alias.
53465         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53466         <bp-sym.h> and <bp-asm.h>.
53467         (PARMS): Do not use macros from bp-asm.h.
53468         (__posix_fadvise64_l64): Do not use BP_SYM.
53469         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53470         (PARMS): Do not use macros from bp-asm.h.
53471         (NSOPS): Likewise.
53472         (semtimedop): Do not use BP_SYM.
53473         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53474         and <bp-asm.h>.
53476 2013-02-21  Allan McRae  <allan@archlinux.org>
53478         * manual/message.texi (Charset conversion in gettext):
53479         Move @end statement to beginning of line.
53481 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53484         static.
53485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53486         Likewise.
53488         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53489         (denorm): Likewise.
53490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53493 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53495         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53496         tail-call to the resolved function if pltexit isn't needed.
53498 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53501         or Y being zero as being unlikely.
53502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53503         Likewise.
53505 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53507         * manual/nss.texi (System Databases and Name Service Switch):
53508         Remove frobnicate @pxref.
53510 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53512         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53513         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53515 2013-02-20  Petr Machata  <pmachata@redhat.com>
53517         * elf/elf.h (R_ARM_TARGET1): New macro.
53518         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53519         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53520         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53521         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53522         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53523         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53524         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53525         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53526         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53527         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53528         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53529         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53530         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53531         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53532         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53533         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53534         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53535         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53536         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53537         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53538         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53539         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53540         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53541         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53542         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53543         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53544         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53545         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53546         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53547         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53548         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53549         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53550         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53551         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53552         (R_ARM_THM_GOT_BREL12): Likewise.
53553         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53554         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53555         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53556         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53557         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53558         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53559         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53560         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53561         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53563 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53565         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53566         __attribute_used__ to __attribute__ ((unused)).
53568 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53570         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53571         powerpc mpa.c.
53572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53573         comment formatting.
53574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53576 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53578         [BZ #13550]
53579         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53580         Remove macro.
53581         (ENTER): Remove both macro definitions.
53582         (LEAVE): Likewise.
53583         (CHECK_BOUNDS_LOW): Likewise.
53584         (CHECK_BOUNDS_HIGH): Likewise.
53585         (CHECK_BOUNDS_BOTH): Likewise.
53586         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53587         (RETURN_BOUNDED_POINTER): Likewise.
53588         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53589         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53590         (POP_ERRNO_LOCATION_RETURN): Likewise.
53591         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53592         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53593         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53594         macros.
53595         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53596         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53597         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53598         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53599         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53600         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53601         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53602         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53603         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53604         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53605         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53606         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53607         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53608         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53609         removed macros.
53610         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53611         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53612         macros.
53613         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53614         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53615         * sysdeps/i386/i586/memset.S (memset): Likewise.
53616         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53617         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53618         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53619         macros.
53620         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53621         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53622         Change uses of L(2) to L(out).
53623         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53624         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53625         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53626         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53627         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53628         removed macros.
53629         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53630         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53631         macros.
53632         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53633         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53634         (RETURN): Do not use macro LEAVE.
53635         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53636         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53637         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53638         * sysdeps/i386/i686/memset.S (memset): Likewise.
53639         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53640         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53641         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53642         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53643         Likewise.
53644         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53645         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53646         L(1_2) and L(1_3) into L(1).
53647         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53648         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53649         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53650         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53651         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53652         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53653         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53654         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53655         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53656         macros.
53657         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53659         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53660         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53661         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53662         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53663         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53664         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53665         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53666         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53667         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53668         * sysdeps/i386/strspn.S (strspn): Likewise.
53669         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53670         conditional code.
53671         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53672         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53673         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53674         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53675         L(1_3) into L(1_1).
53676         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53677         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53678         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53679         macros.
53680         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53682 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53684         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53685         macro.
53687 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53689         * math/atest-exp.c (exp_mpn): Remove ROUND.
53690         * math/atest-exp2.c (exp_mpn): Likewise.
53691         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53693         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53694         * stdlib/tst-tls-atexit-lib.c: Likewise.
53695         * stdlib/tst-tls-atexit.c: Likewise.
53697 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53699         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53700         and __attribute_alloc_size__.
53702 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53704         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53705         __attribute_alloc_size__.
53706         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53707         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53709 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53711         * include/programs/xmalloc.h: New file.
53712         * catgets/gencat.c: Include it.
53713         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53714         * elf/pldd.c: Likewise.
53715         * iconv/iconv_charmap.c: Likewise.
53716         * iconv/iconvconfig.c: Likewise.
53717         * iconv/strtab.c: Likewise.
53718         * locale/programs/locale.c: Likewise.
53719         * locale/programs/localedef.h: Likewise.
53720         * locale/programs/simple-hash.c: Likewise.
53721         * nscd/nscd.h: Likewise.
53722         * nss/makedb.c: Likewise.
53723         * sysdeps/generic/ldconfig.h: Likewise.
53725 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53727         * Versions.def: Add GLIBC_2.18.
53728         * include/link.h (struct link_map): New member l_tls_dtor_count.
53729         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53730         (__call_tls_dtors): Likewise.
53731         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53732         __cxa_thread_atexit_impl.
53733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53734         Likewise.
53735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53736         Likewise.
53737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53738         Likewise.
53739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53740         Likewise.
53741         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53743         Likewise.
53744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53745         Likewise.
53746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53748         Likewise.
53749         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53750         (tests): Add test case tst-tls-atexit.
53751         (modules-names): Add shared library for tst-tls-atexit.
53752         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53753         (GLIBC_PRIVATE): Add __call_tls_dtors.
53754         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53755         for libstdc++.
53756         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53757         * stdlib/tst-tls-atexit.c: New test case.
53758         * stdlib/tst-tls-atexit-lib.c: New test case.
53760         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53762         * elf/Versions (ld): Add _dl_find_dso_for_object.
53763         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53764         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53765         (dl_open_worker): Use _dl_find_dso_for_object.
53766         * elf/dl-sym.c (do_sym): Likewise.
53767         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53769 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53771         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53772         Syntactic changes only.
53773         (_dl_runtime_profile): Do a tail-call to the resolved function.
53775 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53777         [BZ #13550]
53778         * sysdeps/x86_64/bp-asm.h: Remove file.
53779         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53780         <bp-sym.h> and <bp-asm.h>.
53781         (__clone): Do not use BP_SYM.
53782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53783         <bp-sym.h> and <bp-asm.h>.
53784         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53785         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53786         "bp-asm.h".
53787         (_setjmp): Do not use BP_SYM.
53788         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53789         "bp-asm.h".
53790         (setjmp): Do not use BP_SYM.
53791         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53792         libc_hidden_def.
53793         (mempcpy): Do not use BP_SYM in weak_alias.
53794         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53795         "bp-asm.h".
53796         (strchr): Do not use BP_SYM.
53797         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53798         "bp-asm.h".
53799         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53800         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53801         (_start): Do not use BP_SYM.
53802         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53803         "bp-asm.h".
53804         (strcat): Do not use BP_SYM.
53805         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53806         "bp-asm.h".
53807         (STRCMP): Do not use BP_SYM.
53808         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53809         "bp-asm.h".
53810         (STRCPY): Do not use BP_SYM.
53811         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53812         "bp-asm.h".
53813         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53814         "bp-asm.h".
53815         (FUNCTION): Do not use BP_SYM.
53816         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53817         weak_alias.
53818         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53820 2013-02-17  Andreas Jaeger  <aj@suse.de>
53822         * time/Versions: Sort entries.
53823         * string/Versions: Likewise.
53824         * resolv/Versions: Likewise.
53825         * posix/Versions: Likewise.
53826         * iconv/Versions: Likewise.
53827         * elf/Versions: Likewise.
53828         * wcsmbs/Versions: Likewise.
53830 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53832         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53833         loop termination condition.
53835         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53836         variable to calculate EZ.
53837         (__sqr): Likewise.
53839         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53840         the lower precision input.
53842 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53844         [BZ #13550]
53845         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53846         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53847         (run-via-rtld-prefix): Do not handle %-bp tests.
53848         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53849         (all-object-suffixes): Remove .ob.
53850         (bppfx): Remove variable.
53851         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53852         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53853         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53854         [$(build-bounded) = yes] (libtype.ob): Likewise.
53855         * Makerules (elide-routines.ob): Remove variable.
53856         (do-tests-clean): Do not handle *-bp.out.
53857         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53858         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53859         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53860         (tests): Do not include $(tests-bp.out).
53861         (xtests): Do not include $(xtests-bp.out).
53862         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53863         [$(build-bounded) = yes] ($(addprefix
53864         $(objpfx),$(binaries-bounded))): Remove rule.
53865         ($(objpfx)%-bp.out): Remove rule.
53866         * config.make.in (build-bounded): Remove variable.
53867         * crypt/Makefile [$(build-bounded) = yes]
53868         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53869         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53870         append to variable.
53871         [$(build-bounded) = yes] (install-lib): Likewise.
53872         [$(build-bounded) = yes] (generated): Likewise.
53873         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53874         Remove rule.
53875         * intl/Makefile [$(build-bounded) = yes]
53876         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53877         * math/Makefile [$(build-bounded) = yes]
53878         ($(tests:%=$(objpfx)%-bp): Likewise.
53879         * misc/Makefile [$(build-bounded) = yes]
53880         ($(objpfx)tst-tsearch-bp): Likewise.
53881         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53882         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53883         Remove dependency.
53884         * string/Makefile (o-objects.ob): Remove variable.
53885         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53886         (CFLAGS-.ob): Remove variable.
53887         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53888         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53889         both definitions of variable.
53890         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53891         (ASFLAGS-.ob): Remove variable.
53893 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53895         [BZ #13550]
53896         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53897         Remove __BOUNDED_POINTERS__ from condition.
53898         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53899         * string/bits/string2.h [!__NO_STRING_INLINES &&
53900         !__BOUNDED_POINTERS__]: Likewise.
53901         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53902         Likewise.
53903         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53904         Remove conditional code.
53905         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53906         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53907         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53908         condition.
53910         [BZ #13550]
53911         * csu/libc-start.c: Do not include <bp-sym.h>.
53912         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53913         * elf/dl-open.c: Do not include <bp-sym.h>.
53914         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53915         * math/fegetenv.c: Do not include <bp-sym.h>.
53916         (fegetenv): Do not use BP_SYM in versioned symbols.
53917         * nptl/sysdeps/pthread/bits/libc-lockP.h
53918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53919         <bp-sym.h>.
53920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53921         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53923         (__pthread_mutex_destroy): Likewise.
53924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53925         (__pthread_mutex_lock): Likewise.
53926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53927         (__pthread_mutex_trylock): Likewise.
53928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53929         (__pthread_mutex_unlock): Likewise.
53930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53931         (__pthread_mutexattr_init): Likewise.
53932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53933         (__pthread_mutexattr_destroy): Likewise.
53934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53935         (__pthread_mutexattr_settype): Likewise.
53936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53937         (__pthread_rwlock_init): Likewise.
53938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53939         (__pthread_rwlock_destroy): Likewise.
53940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53941         (__pthread_rwlock_rdlock): Likewise.
53942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53943         (__pthread_rwlock_tryrdlock): Likewise.
53944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53945         (__pthread_rwlock_wrlock): Likewise.
53946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53947         (__pthread_rwlock_trywrlock): Likewise.
53948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53949         (__pthread_rwlock_unlock): Likewise.
53950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53951         (__pthread_key_create): Likewise.
53952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53953         (__pthread_setspecific): Likewise.
53954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53955         (__pthread_getspecific): Likewise.
53956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53957         Likewise.
53958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53959         (_pthread_cleanup_push_defer): Likewise.
53960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53961         (_pthread_cleanup_pop_restore): Likewise.
53962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53963         (pthread_setcancelstate): Likewise.
53964         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53965         <bp-sym.h>.
53966         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53967         (memchr): Do not use BP_SYM in weak_alias.
53968         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53969         (fegetenv): Do not use BP_SYM in versioned symbols.
53970         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53971         (fesetenv): Do not use BP_SYM in versioned symbols.
53972         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53973         (feupdateenv): Do not use BP_SYM in versioned symbols.
53974         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53975         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53976         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53977         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53978         (open64): Do not use BP_SYM in weak_alias.
53979         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53980         (fegetenv): Do not use BP_SYM in versioned symbols.
53981         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53982         (fesetenv): Do not use BP_SYM in versioned symbols.
53983         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53984         (feupdateenv): Do not use BP_SYM in versioned symbols.
53985         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53986         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53987         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53988         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53989         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53990         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53991         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53992         <bp-sym.h>.
53993         (__libc_start_main): Do not use BP_SYM.
53995 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53998         redundant return line.
53999         (norm): Likewise.
54000         (denorm): Likewise.
54001         (dbl_mp): Likewise.
54002         (sub_magnitudes): Likewise.
54003         (__add): Likewise.
54004         (__sub): Likewise.
54005         (__mul): Likewise.
54006         (__inv): Likewise.
54007         (__dvd): Likewise.
54008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54009         (norm): Likewise.
54010         (denorm): Likewise.
54011         (dbl_mp): Likewise.
54012         (sub_magnitudes): Likewise.
54013         (__add): Likewise.
54014         (__sub): Likewise.
54015         (__mul): Likewise.
54016         (__inv): Likewise.
54017         (__dvd): Likewise.
54019         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54020         instead of __mul.
54021         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54022         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54023         (cc32): Likewise.
54025         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54026         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54028         of __mul for squares.
54029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54030         function
54031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54032         Likewise.
54033         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54034         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54036 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54038         [BZ #13550]
54039         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54040         code.
54041         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54042         prototype or function definition.  Rename ubp_* variables and
54043         parameters.  Remove argv definitions conditional on
54044         [__BOUNDED_POINTERS__].
54045         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54046         * elf/dl-runtime.c (_dl_fixup): Likewise.
54047         * include/set-hooks.h (RUN_HOOK): Likewise.
54048         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54049         definition.
54050         * string/strcpy.c (strcpy): Do not use __unbounded.
54051         * sysdeps/generic/frame.h (struct layout): Likewise.
54052         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54053         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54054         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54055         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54056         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54057         (__backtrace): Likewise.
54058         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54059         use __ptrvalue.
54060         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54061         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54062         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54063         Likewise.
54064         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54065         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54066         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54067         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54068         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54069         Do not use __unbounded.
54070         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54071         Rename __unboundedrlimits parameter to rlimits in prototype.
54072         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54073         Do not use __unbounded.
54074         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54075         not use __ptrvalue.
54076         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54077         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54078         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54079         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54080         __ptrvalue or __unbounded.
54081         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54082         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54083         use __unbounded.
54084         (__new_msgctl): Do not use __ptrvalue.
54085         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54086         __unbounded.
54087         (__libc_msgrcv): Do not use __ptrvalue.
54088         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54089         startup_info): Do not use __unbounded.
54090         (__libc_start_main): Likewise.  Rename ubp_* variables and
54091         parameters.  Remove argv definitions conditional on
54092         [__BOUNDED_POINTERS__].
54093         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54094         __ptrvalue.
54095         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54096         use __unbounded.
54097         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54098         or __ptrvalue.
54099         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54100         use __unbounded.
54101         (__new_shmctl): Do not use __ptrvalue.
54102         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54103         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54104         Likewise.
54105         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54106         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54107         (__libc_sigaction): Likewise.
54108         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54109         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54110         Likewise.
54111         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54113 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54115         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54117         * string/mempcpy.c: Implement by calling memcpy.
54119 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54123         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54124         evaluation.
54126         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54127         values in the mantissa.
54129         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54130         minimize writes to Z.
54131         (sub_magnitudes): Simplify code a bit.
54133 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54135         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54136         from the message.  The linker prefixes all warnings with that already.
54138 2013-02-12  Andreas Schwab  <schwab@suse.de>
54140         [BZ #15078]
54141         * posix/regexec.c (extend_buffers): Add parameter min_len.
54142         (check_matching): Pass minimum needed length.
54143         (clean_state_log_if_needed): Likewise.
54144         (get_subexp): Likewise.
54145         * posix/Makefile (tests): Add bug-regex34.
54146         (bug-regex34-ENV): Define.
54147         * posix/bug-regex34.c: New file.
54149         [BZ #11561]
54150         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54151         elements compare against the byte sequence of it, not its name.
54152         * posix/Makefile (tests): Add bug-regex35.
54153         (bug-regex35-ENV): Define.
54154         * posix/bug-regex35.c: New file.
54156 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54158         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54159         comment.
54160         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54161         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54162         (CHECK_EOL): Add undef.
54164 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54166         * bits/stdlib-bsearch.h: New file.
54167         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54168         * stdlib/stdlib.h: Likewise.
54170 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54172         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54173         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54174         declaration.
54175         * manual/search.texi (Array Search Function): Add missing const in
54176         lfind prototype.
54177         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54178         declaration to use rlim_t.
54179         (Basic Scheduling Functions): Remove erroneous const from
54180         sched_getparam prototype.  Remove erroneous * from
54181         sched_get_priority_max and sched_get_priority_min prototypes.
54182         (Resource Usage): Fix summary @comment on vtimes to refer to
54183         sys/vtimes.h rather than vtimes.h.
54184         Add missing *s in vtimes prototype.
54185         (Limits on Resources): Fix ulimit prototype to return long int.
54186         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54187         prototypes to use long int rather than double.
54188         (BSD Random): Fix initstate and setstate to use char *, not void *.
54189         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54190         prototype to make second argument 'struct aiocb64 *const[]'.
54191         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54192         (Status of AIO Operations): Remove erroneous const in aio_return and
54193         aio_return64 prototypes.
54194         (Synchronizing I/O): Fix sync prototype to return void.
54195         * manual/startup.texi (Suboptions): Remove an erroneous const in
54196         getsubopt prototype.
54197         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54198         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54199         use size_t rather than int.
54200         (Scanning All Users): Likewise for getpwent_r.
54201         (Setting Groups): Add missing const to setgroups prototype.
54202         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54203         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54204         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54205         'const void *' rather than 'const char *'.
54206         (Host Address Functions): Likewise for inet_ntop.
54207         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54208         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54209         ssize_t for return value.
54210         (Sending Data): Likewise for send, sendto, sendmsg.
54211         (Socket Option Functions): Add a missing const in setsockopt prototype.
54212         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54213         use wchar_t for the argument.
54214         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54215         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54216         take no arguments.
54217         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54218         double/float/long double for second argument.
54219         Fix return types of significand, significandf, significandl.
54220         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54221         argument in fchmod prototype.
54222         (File Owner): Use uid_t and gid_t in fchown prototype.
54223         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54224         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54225         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54226         use 'const struct dirent **' as argument types to CMP function pointer
54227         argument.
54228         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54229         (File Times): Fix summary magic @comment for struct utimbuf and utime
54230         to refer to utime.h, not time.h.
54231         * manual/string.texi (Argz Functions): Add missing const in
54232         argz_extract and argz_next prototypes.
54233         (Finding Tokens in a String): Likewise for basename.
54234         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54235         (Copying and Concatenation): Fix typo in wmemmove prototype.
54236         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54237         (Signal Stack): Remove erroneous const in sigstack prototype.
54238         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54239         prototype.
54240         (Simple Calendar Time): Likewise for stime.
54241         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54242         prototype.
54243         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54244         say sys/sysctl.h instead.
54245         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54246         and vsyslog prototypes.
54248 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54250         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54251         Remove.
54253 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54255         * misc/sys/mman.h: Fix typo in mremap comment.
54257 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54259         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54260         the '\0' terminator.
54262 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54264         [BZ #13550]
54265         * debug/segfault.c: Don't include <bp-checks.h>.
54266         * sysdeps/generic/bp-checks.h: Remove file.
54267         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54268         (__GETDENTS): Don't use CHECK_N.
54269         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54270         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54271         (__getgroups): Don't use CHECK_N.
54272         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54273         (setgroups): Don't use CHECK_N.
54274         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54275         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54276         (__libc_msgrcv): Don't use CHECK_N.
54277         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54278         (__libc_msgsnd): Don't use CHECK_N.
54279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54280         <bp-checks.h>.
54281         (__libc_pread): Don't use CHECK_N.
54282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54283         include <bp-checks.h>.
54284         (__libc_pread64): Don't use CHECK_N.
54285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54286         include <bp-checks.h>.
54287         (__libc_pwrite): Don't use CHECK_N.
54288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54289         include <bp-checks.h>.
54290         (__libc_pwrite64): Don't use CHECK_N.
54291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54292         <bp-checks.h>.
54293         (__libc_pread): Don't use CHECK_N.
54294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54295         include <bp-checks.h>.
54296         (__libc_pread64): Don't use CHECK_N.
54297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54298         include <bp-checks.h>.
54299         (__libc_pwrite): Don't use CHECK_N.
54300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54301         include <bp-checks.h>.
54302         (__libc_pwrite64): Don't use CHECK_N.
54303         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54304         (do_pread): Don't use CHECK_N.
54305         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54306         (do_pread64): Don't use CHECK_N.
54307         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54308         (do_pwrite): Don't use CHECK_N.
54309         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54310         (do_pwrite64): Don't use CHECK_N.
54311         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54312         (__libc_readv): Don't use CHECK_N.
54313         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54314         (semop): Don't use CHECK_N.
54315         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54316         <bp-checks.h>.
54317         (semtimedop): Don't use CHECK_N.
54318         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54319         (__libc_pread): Don't use CHECK_N.
54320         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54321         <bp-checks.h>.
54322         (__libc_pread64): Don't use CHECK_N.
54323         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54324         <bp-checks.h>.
54325         (__libc_pwrite): Don't use CHECK_N.
54326         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54327         <bp-checks.h>.
54328         (__libc_pwrite64): Don't use CHECK_N.
54329         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54330         <bp-checks.h>.
54331         (__libc_msgrcv): Don't use CHECK_N.
54332         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54333         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54334         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54335         (__libc_writev): Don't use CHECK_N.
54337 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54339         * string/strcpy.c: Removed unused variable.
54341         * Makeconfig (+sysdep-includes): Define with := rather than =.
54342         Use an existing include/ subdir of each sysdeps dir before it.
54344 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54346         * nscd/connection.c (register_traced_file): Comment function.
54347         [HAVE_INOTIFY] (union __inev): Define.
54348         [HAVE_INOTIFY] (inotify_check_files): New function.
54349         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54350         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54351         clear_db_cache.
54352         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54354 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54356         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54357         loaded if not already and that a failure is permanent.
54359 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54361         [BZ #15006]
54362         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54363         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54365 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54367         [BZ #13550]
54368         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54369         (CHECK_1_NULL_OK): Likewise.
54370         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54371         (__fxstat): Do not use CHECK_1.
54372         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54373         <bp-checks.h>.
54374         (___fxstat64): Do not use CHECK_1.
54375         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54376         <bp-checks.h>.
54377         (__fxstatat): Do not use CHECK_1.
54378         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54379         <bp-checks.h>.
54380         (__fxstatat64): Do not use CHECK_1.
54381         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54382         <bp-checks.h>.
54383         (__fxstat): Do not use CHECK_1.
54384         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54385         <bp-checks.h>.
54386         (__fxstatat): Do not use CHECK_1.
54387         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54388         <bp-checks.h>.
54389         (__getresgid): Do not use CHECK_1.
54390         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54391         <bp-checks.h>.
54392         (__getresuid): Do not use CHECK_1.
54393         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54394         <bp-checks.h>.
54395         (__lxstat): Do not use CHECK_1.
54396         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54397         <bp-checks.h>.
54398         (__old_msgctl): Do not use CHECK_1.
54399         (__new_msgctl): Likewise.
54400         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54401         <bp-checks.h>.
54402         (__new_setrlimit): Do not use CHECK_1.
54403         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54404         <bp-checks.h>.
54405         (__old_shmctl): Do not use CHECK_1.
54406         (__new_shmctl): Likewise.
54407         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54408         <bp-checks.h>.
54409         (__xstat): Do not use CHECK_1.
54410         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54411         (__lxstat): Do not use CHECK_1.
54412         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54413         <bp-checks.h>.
54414         (___lxstat64): Do not use CHECK_1.
54415         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54416         (__old_msgctl): Do not use CHECK_1.
54417         (__new_msgctl): Likewise.
54418         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54419         <bp-checks.h>.
54420         (__gettimeofday): Do not use CHECK_1.
54421         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54422         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54423         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54424         <bp-checks.h>.
54425         (__gettimeofday): Do not use CHECK_1.
54426         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54427         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54428         (__new_shmctl): Do not use CHECK_1.
54429         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54430         <bp-checks.h>.
54431         (do_sigtimedwait): Do not use CHECK_1.
54432         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54433         <bp-checks.h>.
54434         (do_sigwaitinfo): Do not use CHECK_1.
54435         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54436         <bp-checks.h>.
54437         (msgctl): Do not use CHECK_1.
54438         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54439         <bp-checks.h>.
54440         (shmctl): Do not use CHECK_1.
54441         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54442         (ustat): Do not use CHECK_1.
54443         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54444         <bp-checks.h>.
54445         (__fxstat): Do not use CHECK_1.
54446         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54447         <bp-checks.h>.
54448         (__fxstatat): Do not use CHECK_1.
54449         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54450         <bp-checks.h>.
54451         (__lxstat): Do not use CHECK_1.
54452         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54453         <bp-checks.h>.
54454         (__xstat): Do not use CHECK_1.
54455         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54456         (__xstat): Do not use CHECK_1.
54457         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54458         (___xstat64): Do not use CHECK_1.
54460         [BZ #13550]
54461         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54462         definitions.
54463         (CHECK_BOUNDS_HIGH): Likewise.
54464         * string/strcpy.c: Do not include <bp-checks.h>.
54465         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54467 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54469         * nscd/nscd-client.h (__nscd_drop_map_ref):
54470         Add __attribute__ ((unused)).
54471         * nis/nss-nisplus.h (niserr2nss): Likewise.
54473         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54474         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54476         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54477         Remove inline keyword.
54478         * include/rounding-mode.h (round_away): Likewise.
54479         * libio/wfileops.c (adjust_wide_data): Likewise.
54480         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54481         (__m128i_strloadu_tolower): Likewise.
54482         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54483         (__m128i_strloadu_tolower): Likewise.
54484         * time/mktime.c (ydhms_diff): Likewise.
54485         * locale/elem-hash.h (elem_hash): Likewise.
54486         * locale/setlocale.c (setdata): Likewise.
54487         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54488         (re_string_wchar_at): Likewise.
54489         (bitset_not, bitset_merge, bitset_mask): Likewise.
54490         [!(__GNUC__ > 3)] (inline): Remove macro.
54491         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54492         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54493         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54494         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54495         * string/memcmp.c (memcmp_bytes): Likewise.
54496         * locale/programs/locarchive.c (compute_hashval): Likewise.
54497         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54498         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54499         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54500         * nss/getent.c (print_rpc, print_protocols): Likewise.
54501         (print_passwd, print_group, print_aliases): Likewise.
54502         * nis/nss-nisplus.h (niserr2nss): Likewise.
54503         * nscd/connections.c (restart_p): Likewise.
54504         Change return type to bool.
54506 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54508         * Makeconfig (all-Depend-files): Add existing
54509         $(sorted-subdirs:=/Depend) files.
54510         (all-subdirs): Remove nss.
54511         * sysdeps/unix/inet/Subdirs: Add it here instead.
54512         * hesiod/Depend: New file.
54514         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54515         instead of calling alloca.
54517         * io/lseek.c (__lseek): Rename to __libc_lseek.
54518         Define __lseek as an alias.
54520         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54522 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54524         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54525         else clause and remove check for non-standard endianness.
54527 2013-02-04  David S. Miller  <davem@davemloft.net>
54529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54531 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54533         [BZ #13550]
54534         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54535         (__ubp_memchr): Remove prototype.
54536         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54537         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54538         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54539         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54540         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54541         Remove alias.
54542         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54543         (__ubp_memchr): Likewise.
54544         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54545         (__ubp_memchr): Likewise.
54546         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54547         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54548         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54549         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54550         CHECK_STRING.
54551         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54552         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54553         (__getcwd): Do not use CHECK_STRING.
54554         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54555         <bp-checks.h>.
54556         (__real_chown): Do not use CHECK_STRING.
54557         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54558         <bp-checks.h>.
54559         (fchownat): Do not use CHECK_STRING.
54560         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54561         CHECK_STRING.
54562         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54563         <bp-checks.h>.
54564         (__lchown): Do not use CHECK_STRING.
54565         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54566         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54567         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54568         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54570         include <bp-checks.h>.
54571         (truncate64): Do not use CHECK_STRING.
54572         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54573         <bp-checks.h>.
54574         (__real_chown): Do not use CHECK_STRING.
54575         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54576         <bp-checks.h>.
54577         (__lchown): Do not use CHECK_STRING.
54578         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54579         <bp-checks.h>.
54580         (__chown): Do not use CHECK_STRING.
54581         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54582         <bp-checks.h>.
54583         (truncate64): Do not use CHECK_STRING.
54584         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54585         Likewise.
54586         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54587         (__xmknod): Do not use CHECK_STRING.
54588         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54589         <bp-checks.h>.
54590         (__xmknodat): Do not use CHECK_STRING.
54591         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54592         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54594 2013-02-04  Andreas Schwab  <schwab@suse.de>
54596         [BZ #14142]
54597         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54598         * include/netdb.h: Likewise for h_errno.
54599         * elf/tst-stackguard1.c: Include <tls.h>.
54601 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54603         * elf/link.h (struct link_map): Extend the l_addr comment.
54604         * include/link.h (struct link_map): Likewise.
54606 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54608         [BZ #13550]
54609         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54610         (BOUNDED_1): Remove macro.
54611         * debug/backtrace.c: Don't include <bp-checks.h>.
54612         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54613         (__backtrace): Likewise.
54614         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54615         <bp-checks.h>.
54616         (__backtrace): Don't use BOUNDED_1.
54617         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54618         <bp-checks.h>.
54619         (__backtrace): Don't use BOUNDED_1.
54620         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54621         (__backtrace): Don't use BOUNDED_1.
54622         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54623         (shmat): Don't use BOUNDED_N.
54625 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54627         [BZ #13550]
54628         * sysdeps/generic/bp-start.h: Remove file.
54629         * csu/libc-start.c: Don't include <bp-start.h>.
54630         (LIBC_START_MAIN): Set up __environ directly instead of using
54631         INIT_ARGV_and_ENVIRON.
54632         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54633         <bp-start.h>.
54635         [BZ #13550]
54636         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54637         definitions.
54638         (CHECK_FCNTL): Likewise.
54639         (CHECK_N_PAGES): Likewise.
54641         [BZ #13550]
54642         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54643         definitions.
54644         (CHECK_SIGSET_NULL_OK): Likewise.
54645         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54646         <bp-checks.h>.
54647         (sigpending): Don't use CHECK_SIGSET.
54648         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54649         <bp-checks.h>.
54650         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54651         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54652         <bp-checks.h>.
54653         (do_sigsuspend): Don't use CHECK_SIGSET.
54654         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54655         use CHECK_SIGSET.
54656         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54657         (do_sigwait): Don't use CHECK_SIGSET.
54658         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54659         use CHECK_SIGSET.
54660         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54661         include <bp-checks.h>.
54662         (sigpending): Don't use CHECK_SIGSET.
54663         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54664         include <bp-checks.h>.
54665         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54666         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54667         <bp-checks.h>.
54668         (sigpending): Don't use CHECK_SIGSET.
54669         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54670         <bp-checks.h>.
54671         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54673         [BZ #13550]
54674         * sysdeps/generic/bp-semctl.h: Remove file.
54675         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54676         <bp-checks.h> and <bp-semctl.h>.
54677         (__old_semctl): Don't use CHECK_SEMCTL.
54678         (__new_semctl): Likewise.
54679         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54680         and <bp-semctl.h>.
54681         (__old_semctl): Don't use CHECK_SEMCTL.
54682         (__new_semctl): Likewise.
54683         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54684         <bp-checks.h> and <bp-semctl.h>.
54685         (__old_semctl): Don't use CHECK_SEMCTL.
54686         (__new_semctl): Likewise.
54687         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54688         <bp-checks.h> and <bp-semctl.h>.
54689         (semctl): Don't use CHECK_SEMCTL.
54691         [BZ #13550]
54692         * Makerules (elide-bp-thunks): Remove variable.
54693         (elide-routines.oS): Don't use $(elide-bp-thunks).
54694         (elide-routines.os): Likewise.
54695         (elide-routines.o): Likewise.
54696         (elide-routines.op): Likewise.
54697         (elide-routines.og): Likewise.
54698         (objects): Don't use $(bp-thunks).
54699         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54700         include.
54701         (common-generated): Do not add s-proto-bp.d.
54702         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54703         (int): Likewise.
54704         (typ): Likewise.
54705         Do not generate makefile rules for bounded-pointer thunks.
54706         * sysdeps/generic/bp-thunks.h: Remove file.
54707         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54708         * sysdeps/unix/s-proto-bp.S: Likewise.
54710         [BZ #15062]
54711         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54712         parts of result separately when argument is not close to line from
54713         -i to i and one part of argument is small.
54714         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54715         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54716         * math/libm-test.inc (cacos_test): Add more tests.
54717         (casin_test): Likewise.
54718         (casinh_test): Likewise.
54719         * sysdeps/i386/fpu/libm-test-ulps: Update.
54720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54722 2013-01-31  David S. Miller  <davem@davemloft.net>
54724         * po/de.po: Update from translation team.
54726 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54728         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54730 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54732         * configure.in (_AC_PROG_CC_C89): New definition.
54733         * configure: Regenerate.
54735         * configure.in (AC_PROG_CPP): New definition.
54736         * configure: Regenerate.
54738 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54740         * debug/tst-backtrace.h: New file.
54741         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54742         (ret): Remove variable.
54743         (x): Likewise.
54744         (FAIL): Remove macro.
54745         (NO_INLINE): Likewise.
54746         (fn1): Use match function instead of strstr.
54747         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54748         (ret): Remove variable.
54749         (x): Likewise.
54750         (FAIL): Remove macro.
54751         (NO_INLINE): Likewise.
54752         (fn): Use match function instead of strstr.
54753         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54754         (ret): Remove variable.
54755         (x): Likewise.
54756         (FAIL): Remove macro.
54757         (NO_INLINE): Likewise.
54758         (handle_signal): Use match function instead of strstr.
54759         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54760         (ret): Remove variable.
54761         (x): Likewise.
54762         (FAIL): Remove macro.
54763         (NO_INLINE): Likewise.
54764         (handle_signal): Use match function instead of strstr.
54766 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54768         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54770 2013-01-23  David S. Miller  <davem@davemloft.net>
54772         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54773         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54774         argument of CAS if possible.
54775         * sysdeps/sparc/sparc64/bits/atomic.h
54776         (__arch_compare_and_exchange_val_32_acq): Likewise.
54777         (__arch_compare_and_exchange_val_64_acq): Likewise.
54779 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54781         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54782         * sysdeps/posix/ulimit.c: ... this.
54783         Include <limits.h>.
54784         * sysdeps/unix/bsd/ulimit.c: Remove file.
54786 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54788         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54789         (LDFLAGS-tst-array5): Likewise.
54791 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54793         [BZ #15036]
54794         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54795         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54796         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54797         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54799 2013-01-21  David S. Miller  <davem@davemloft.net>
54801         * sysdeps/sparc/backtrace.c: New file.
54802         * sysdeps/sparc/sparc32/backtrace.h: New file.
54803         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54804         * sysdeps/sparc/sparc64/backtrace.h: New file.
54805         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54806         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54807         -funwind-tables.
54809 2013-01-21  Andreas Schwab  <schwab@suse.de>
54811         [BZ #15020]
54812         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54813         closed its stdout.
54815 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54818         "mpa2.h".
54819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54821 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54822             Mark Mitchell  <mark@codesourcery.com>
54823             Tom de Vries  <tom@codesourcery.com>
54824             Paul Pluzhnikov  <ppluzhnikov@google.com>
54826         * debug/tst-backtrace2.c: New file.
54827         * debug/tst-backtrace3.c: Likewise.
54828         * debug/tst-backtrace4.c: Likewise.
54829         * debug/tst-backtrace5.c: Likewise.
54830         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54831         (CFLAGS-tst-backtrace3.c): Likewise.
54832         (CFLAGS-tst-backtrace4.c): Likewise.
54833         (CFLAGS-tst-backtrace5.c): Likewise.
54834         (LDFLAGS-tst-backtrace2): Likewise.
54835         (LDFLAGS-tst-backtrace3): Likewise.
54836         (LDFLAGS-tst-backtrace4): Likewise.
54837         (LDFLAGS-tst-backtrace5): Likewise.
54838         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54839         tst-backtrace4 and tst-backtrace5.
54841 2013-01-18  Anton Blanchard  <anton@samba.org>
54842             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54844         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54845         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54846         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54847         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54849         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54850         "+r" and remove output regs list as redundant.  Add explicit inline
54851         asm to specify register of return val to work around compiler codegen
54852         bug.  Remove (int) cast on return value.  Add return type parameter to
54853         use in macro so that this macro does not truncate return value for
54854         64-bit values.
54855         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54856         pass to INTERNAL_VSYSCALL_NCS.
54857         (INLINE_VSYSCALL): Add 'long int' as return type to
54858         INTERNAL_VSYSCALL_NCS macro invocation.
54859         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54860         INTERNAL_VSYSCALL_NCS macro invocation.
54861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54863 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54865         [BZ #14496]
54866         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54867         Fix application of SIMD FP exception mask.
54869         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54870         mp_no from a power of two.
54871         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54872         __mpexp_twomm1.  Use __pow_mp.
54874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54875         multiplication.
54877 2013-01-17  David S. Miller  <davem@davemloft.net>
54879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54881 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54883         [BZ #15023]
54884         * include/complex.h: Condition contents on [!_COMPLEX_H].
54885         (__kernel_casinhf): New prototype.
54886         (__kernel_casinh): Likewise.
54887         (__kernel_casinhl): Likewise.
54888         * math/Makefile (libm_calls): Add k_casinh.
54889         * math/k_casinh.c: New file.
54890         * math/k_casinhf.c: Likewise.
54891         * math/k_casinhl.c: Likewise.
54892         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54893         finite nonzero arguments.
54894         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54895         finite nonzero arguments.
54896         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54897         finite nonzero arguments.
54898         * math/s_casinh.c: Do not include <float.h>.
54899         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54900         * math/s_casinhf.c: Do not include <float.h>.
54901         (__casinhf): Move code for finite nonzero arguments to
54902         k_casinhf.c.
54903         * math/s_casinhl.c: Do not include <float.h>.
54904         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54905         redefine.
54906         (__casinhl): Move code for finite nonzero arguments to
54907         k_casinhl.c.
54908         * math/libm-test.inc (cacos_test): Add more tests.
54909         * sysdeps/i386/fpu/libm-test-ulps: Update.
54910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54912 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54914         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54915         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54916         [!HAVE_MREMAP]: Remove [defined linux] case.
54917         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54919 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54921         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54923 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54925         * elf/elf.h (R_386_SIZE32): New relocation.
54926         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54927         R_386_SIZE32.
54928         (elf_machine_rela): Likewise.
54929         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54930         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54932 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54934         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54935         (FP_FAST_FMA): Do not define.
54936         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54937         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54938         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54939         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54940         !_SOFT_FLOAT]: Likewise.
54941         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54942         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54943         value.
54944         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54945         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54946         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54947         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54948         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54949         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54950         file.
54952 2013-01-16  Andreas Schwab  <schwab@suse.de>
54954         [BZ #14327]
54955         * include/stdlib.h (__mktemp): Add declaration.
54956         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54957         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54959 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54961         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54962         definitions.
54963         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54964         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54965         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54966         definitions here.
54967         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54968         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54969         definitions.
54970         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54971         and ONE.
54972         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54973         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54974         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54975         definitions.
54976         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54977         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54978         definitions.
54979         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54981         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54983 2013-01-15  David S. Miller  <davem@davemloft.net>
54985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54986         trunc{,f} to libm-sysdep_routes.
54987         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54989         file.
54990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54992         file.
54993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54994         file.
54995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54997         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54998         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54999         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55000         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55001         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55002         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55005         nearbyint{,f} to libm-sysdep_routes.
55006         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55008         New file.
55009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55010         file.
55011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55012         New file.
55013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55014         file.
55015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55017         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55018         file.
55019         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55020         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55021         file.
55022         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55023         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55024         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55026         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55027         libc_feholdexcept and libc_fesetenv.
55029 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55031         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55033 2013-01-14  David S. Miller  <davem@davemloft.net>
55035         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55036         (SPARC_ASM_VIS2_IFUNC): Likewise.
55037         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55039         use of 'siam' instruction.
55040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55041         Likewise.
55042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55043         Likewise.
55044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55045         Likewise.
55046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55049         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55051         file.
55052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55053         file.
55054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55055         file.
55056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55057         file.
55058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55063         new VIS2 routines.
55064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55067         Likewise.
55068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55073         routines to libm-sysdep_routines.
55074         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55077         fdim/fdimf to libm-sysdep_routines.
55078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55079         file.
55080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55082         file.
55083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55086         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55087         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55088         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55089         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55091 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55094         to optimize copies.
55096         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55101         local variable MPTWO.
55102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55103         Likewise.
55105 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55107         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55108         GLOB_NOESCAPE.
55110 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55112         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55114 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55116         * manual/pattern.texi (glob_t): Document gl_flags.
55117         (glob64_t): Likewise.
55119 2013-01-11  David S. Miller  <davem@davemloft.net>
55121         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55122         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55123         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55124         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55125         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55126         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55127         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55128         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55129         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55130         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55131         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55132         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55133         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55135         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55136         sparc V9 rather than using V8 code.
55137         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55138         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55140         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55141         Move to...
55142         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55143         Here.
55145 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55147         [BZ #14941]
55148         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55149         not in the main loop.
55150         * configure: Regenerated.
55152 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55154         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55155         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55156         to just #else.
55157         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55158         [!__GLIBC_HAVE_LONG_LONG] case.
55159         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55160         condition to just #else.
55161         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55162         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55163         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55164         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55165         unconditional.
55166         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55167         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55168         #elif condition to just #else.
55169         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55170         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55171         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55172         #elif condition to just #else.
55174 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55176         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55177         (EF_MIPS_ARCH_64): Fix value.
55178         (EF_MIPS_ARCH_32R2): New.
55179         (EF_MIPS_ARCH_64R2): New.
55181 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55183         * Makeconfig (+link-pie-before-libc): New.
55184         (+link-pie-after-libc): Likewise.
55185         (+link-pie-tests): Likewise.
55186         (+link-pie): Rewritten.
55187         (link-before-libc): Remove $(config-LDFLAGS).
55188         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55189         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55190         (config-LDFLAGS): Renamed to ...
55191         (rtld-LDFLAGS): This.
55192         (rtld-tests-LDFLAGS): New macro.
55193         (link-libc-rpath-link): Likewise.
55194         (link-libc-tests-rpath-link): Likewise.
55195         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55196         (link-libc): Prepand $(link-libc-rpath-link).
55197         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55198         (test-program-prefix): New macro.
55199         (test-via-rtld-prefix): Likewise.
55200         (test-program-cmd): Likewise.
55201         (host-test-program-cmd): Likewise.
55202         * Makefile ($(common-objpfx)testrun.sh): Replace
55203         $(run-program-prefix) with $(test-program-prefix).
55204         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55205         $(rtld-LDFLAGS).
55206         ($(common-objpfx)shlib.lds): Likewise.
55207         (build-module-helper): Likewise.
55208         ($(common-objpfx)format.lds): Likewise.
55209         * Rules (binaries-pie-tests): New.
55210         (binaries-pie-notests): Likewise.
55211         (binaries-pie): Rewritten.
55212         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55213         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55214         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55215         (make-test-out): Replace $(host-built-program-cmd) with
55216         $(host-test-program-cmd).
55217         * config.make.in (build-hardcoded-path-in-tests): New variable.
55218         * configure.in (--enable-hardcoded-path-in-tests): New configure
55219         option.
55220         (hardcoded_path_in_tests): New AC_SUBST.
55221         * configure: Regenerated.
55222         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55223         $(built-program-cmd) with $(test-program-cmd).
55224         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55225         (test_program_cmd): This.
55226         * elf/Makefile ($(objpfx)order.out): Run test with
55227         $(test-program-prefix).
55228         ($(objpfx)order2.out): Likewise.
55229         ($(objpfx)tst-initorder.out): Likewise.
55230         ($(objpfx)tst-initorder2.out): Likewise.
55231         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55232         $(test-program-cmd).
55233         ($(objpfx)tst-array1-static.out): Likewise.
55234         ($(objpfx)tst-array2.out): Likewise.
55235         ($(objpfx)tst-array3.out): Likewise.
55236         ($(objpfx)tst-array4.out): Likewise.
55237         ($(objpfx)tst-array5.out): Likewise.
55238         ($(objpfx)tst-array5-static.out): Likewise.
55239         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55240         $(test-program-cmd).
55241         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55242         $(run-program-prefix) with $(test-program-prefix).
55243         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55244         (test_program_prefix): This.
55245         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55246         $(run-program-prefix) with $(test-program-prefix).
55247         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55248         (test_program_prefix): This.
55249         * iconvdata/tst-tables.sh: Likewise.
55250         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55251         $(run-program-prefix) with $(test-program-prefix).
55252         ($(objpfx)tst-translit.out): Likewise.
55253         ($(objpfx)tst-gettext2.out): Likewise.
55254         ($(objpfx)tst-gettext4.out): Likewise.
55255         ($(objpfx)tst-gettext6.out): Likewise.
55256         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55257         (test_program_prefix): This.
55258         * intl/tst-gettext2.sh: Likewise.
55259         * intl/tst-gettext4.sh  Likewise.
55260         * intl/tst-gettext6.sh: Likewise.
55261         * intl/tst-translit.sh: Likewise.
55262         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55263         with $(test-program-cmd).
55264         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55265         $(run-program-prefix) with $(test-program-prefix).
55266         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55267         (test_program_prefix): This.
55268         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55269         $(run-program-prefix) with $(test-program-prefix).
55270         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55271         (test_program_prefix): This.
55272         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55273         * posix/Makefile ($(objpfx)globtest.out): Replace
55274         $(run-via-rtld-prefix) and $(test-wrapper) with
55275         $(test-program-prefix) and $(test-via-rtld-prefix).
55276         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55277         $(test-program-prefix).
55278         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55279         $(host-test-program-cmd).
55280         (tst-spawn-ARGS): Likewise.
55281         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55282         $(test-program-prefix).
55283         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55284         (test_via_rtld_prefix): This.
55285         (test_wrapper): Renamed to ...
55286         (test_program_prefix): This.
55287         (run_program_prefix): Replaced by test_program_prefix.
55288         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55289         (test_program_prefix): This.
55290         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55291         with $(host-test-program-cmd).
55292         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55293         $(run-program-prefix) with $(test-program-prefix).
55294         ($(objpfx)tst-printf.out): Likewise.
55295         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55296         $(test-program-cmd).
55297         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55298         (test_program_prefix): This.
55299         * stdio-common/tst-unbputc.sh: Likewise.
55300         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55301         $(run-program-prefix) with $(test-program-prefix).
55302         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55303         (test_program_prefix): This.
55304         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55305         $(built-program-cmd) with $(test-program-cmd).
55307 2013-01-11  Andreas Jaeger  <aj@suse.de>
55309         [BZ #15003]
55310         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55311         value. Sync with Linux 3.7.
55313 2013-01-10  David S. Miller  <davem@davemloft.net>
55315         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55316         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55317         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55319 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55321         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55322         never set.
55323         * configure: Regenerated.
55325 2013-01-10  David S. Miller  <davem@davemloft.net>
55327         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55328         sparc V9 rather than using V8 code.
55329         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55330         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55332 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55334         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55335         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55336         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55337         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55338         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55339         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55340         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55341         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55342         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55343         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55344         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55345         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55346         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55347         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55348         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55349         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55350         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55351         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55352         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55353         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55354         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55355         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55356         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55357         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55358         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55359         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55360         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55362 2013-01-10  David S. Miller  <davem@davemloft.net>
55364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55366 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55368         * posix/Makefile (tests-static): New variable.
55369         (tests): Add $(tests-static).
55370         (tst-exec-static-ARGS): New variable.
55371         (tst-spawn-static-ARGS): Likewise.
55372         * posix/tst-exec-static.c: New file.
55373         * posix/tst-spawn-static.c: Likewise.
55374         * posix/tst-exec.c: Support run directly.
55375         * posix/tst-spawn.c: Likewise.
55377 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55379         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55380         long.
55381         * math/bits/mathcalls.h (llrint): Likewise.
55382         (llround): Likewise.
55383         * stdlib/stdlib.h (struct drand48_data): Likewise.
55384         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55385         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55386         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55387         Likewise.
55388         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55389         Likewise.
55390         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55391         (elf_greg_t): Likewise.
55392         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55393         (__jmp_buf): Likewise.
55394         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55395         definitions.
55396         (llrint): Likewise, for all definitions.
55397         (llrintl): Likewise.
55399         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55400         Remove [__GNUC__] condition.
55401         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55402         condition to just [__USE_ISOC99].
55403         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55405 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55407         [BZ #14200]
55408         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55409         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55410         defined.
55411         (_POSIX_V6_ILP32_OFF32): Likewise.
55412         (_XBS5_ILP32_OFF32): Likewise.
55413         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55414         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55416 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55418         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55421         doubles __mpexp_twomm1.  Adjust usage.
55422         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55423         Remove.
55425 2013-01-10  Andreas Schwab  <schwab@suse.de>
55427         [BZ #14964]
55428         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55429         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55431 2013-01-09  David S. Miller  <davem@davemloft.net>
55433         [BZ #15003]
55434         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55435         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55436         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55437         (TCP_FASTOPEN): Define.
55438         (tcp_repair_opt): New structure.
55439         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55440         enum values.
55441         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55442         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55443         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55444         (tcp_cookie_transactions): New structure.
55446 2013-01-09  Anton Blanchard  <anton@samba.org>
55448         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55449         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55450         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55451         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55453 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55455         * include/features.h (__USE_ANSI): Remove.
55457 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55459         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55461         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55463 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55465         * sysdeps/s390/fpu/libm-test-ulps: Update.
55467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55469         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55470         (__acr): Likewise.
55471         (__cpy): Likewise.
55472         (norm): Likewise.
55473         (denorm): Likewise.
55474         (__mp_dbl): Likewise.
55475         (__dbl_mp): Likewise.
55476         (add_magnitudes): Likewise.
55477         (sub_magnitudes): Likewise.
55478         (__add): Likewise.
55479         (__sub): Likewise.
55480         (__mul): Likewise.
55481         (__inv): Likewise.
55482         (__dvd): Likewise.
55483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55484         (__acr): Likewise.
55485         (__cpy): Likewise.
55486         (norm): Likewise.
55487         (denorm): Likewise.
55488         (__mp_dbl): Likewise.
55489         (__dbl_mp): Likewise.
55490         (add_magnitudes): Likewise.
55491         (sub_magnitudes): Likewise.
55492         (__add): Likewise.
55493         (__sub): Likewise.
55494         (__mul): Likewise.
55495         (__inv): Likewise.
55496         (__dvd): Likewise.
55497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55498         (__acr): Likewise.
55499         (__cpy): Likewise.
55500         (norm): Likewise.
55501         (denorm): Likewise.
55502         (__mp_dbl): Likewise.
55503         (__dbl_mp): Likewise.
55504         (add_magnitudes): Likewise.
55505         (sub_magnitudes): Likewise.
55506         (__add): Likewise.
55507         (__sub): Likewise.
55508         (__mul): Likewise.
55509         (__inv): Likewise.
55510         (__dvd): Likewise.
55512 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55514         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55515         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55516         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55517         2 && __USE_EXTERN_INLINES]: Likewise.
55519 2013-01-08  Andreas Jaeger  <aj@suse.de>
55521         [BZ# 14985]
55522         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55523         Remove.
55524         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55525         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55527 2013-01-07  Anton Blanchard  <anton@samba.org>
55529         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55530         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55531         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55532         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55533         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55534         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55535         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55536         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55538         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55539         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55540         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55541         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55542         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55543         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55544         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55545         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55546         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55547         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55548         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55549         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55550         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55551         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55552         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55553         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55554         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55555         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55556         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55557         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55558         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55559         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55561         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55562         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55563         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55564         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55565         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55566         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55567         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55568         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55569         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55570         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55571         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55573 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55575         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55576         (__MALLOC_PMT): Likewise.
55577         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55578         [__GNUC__], only on [_LIBC].
55579         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55580         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55581         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55582         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55583         forward declaration.
55584         (realloc_hook_ini): Likewise.
55585         (memalign_hook_ini): Likewise.
55586         (__libc_memalign): Do not use __MALLOC_PMT in variable
55587         declaration.
55588         (__libc_valloc): Likewise.
55589         (__libc_pvalloc): Likewise.
55590         (__libc_calloc): Likewise.
55591         (__posix_memalign): Likewise.
55593         [BZ #14996]
55594         * math/s_casinh.c: Include <float.h>.
55595         (__casinh): Do not do computation with squaring and square root
55596         for large arguments.
55597         * math/s_casinhf.c: Include <float.h>.
55598         (__casinhf): Do not do computation with squaring and square root
55599         for large arguments.
55600         * math/s_casinhl.c: Include <float.h>.
55601         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55602         (__casinhl): Do not do computation with squaring and square root
55603         for large arguments.
55604         * math/libm-test.inc (casin_test): Add more tests.
55605         (casinh_test): Likewise.
55606         * sysdeps/i386/fpu/libm-test-ulps: Update.
55607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55609 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55611         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55612         (__x86_64_raw_data_cache_size): Likewise.
55613         (__x86_64_data_cache_size_half): Likewise.
55614         (__x86_64_raw_data_cache_size_half): Likewise.
55615         (__x86_64_shared_cache_size): Likewise.
55616         (__x86_64_raw_shared_cache_size): Likewise.
55617         (__x86_64_shared_cache_size_half): Likewise.
55618         (__x86_64_raw_shared_cache_size_half): Likewise.
55619         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55620         to ...
55621         (__x86_data_cache_size): This.
55622         (__x86_64_raw_data_cache_size): Renamed to ...
55623         (__x86_raw_data_cache_size): This.
55624         (__x86_64_data_cache_size_half): Renamed to ...
55625         (__x86_data_cache_size_half): This.
55626         (__x86_64_raw_data_cache_size_half): Renamed to ...
55627         (__x86_raw_data_cache_size_half): This.
55628         (__x86_64_shared_cache_size): Renamed to ...
55629         (__x86_shared_cache_size): This.
55630         (__x86_64_raw_shared_cache_size): Renamed to ...
55631         (__x86_raw_shared_cache_size): This.
55632         (__x86_64_shared_cache_size_half): Renamed to ...
55633         (__x86_shared_cache_size_half): This.
55634         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55635         (__x86_raw_shared_cache_size_half): This.
55636         * sysdeps/x86_64/memcpy.S: Updated.
55637         * sysdeps/x86_64/memset.S: Likewise.
55638         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55639         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55640         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55642 2013-01-04  David S. Miller  <davem@davemloft.net>
55644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55646 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55648         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55649         1 to avoid redefinition warning.
55650         (__USE_GNU): Don't define.
55651         (init_signaling_nan): Protoize.
55653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55655 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55657         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55659         (__cpymn): Likewise.
55660         (norm): Remove commented code.
55661         (denorm): Likewise.
55662         (__mp_dbl): Likewise.
55663         (__inv): Likewise.
55664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55665         (__cpymn): Likewise.
55666         (norm): Remove commented code.
55667         (denorm): Likewise.
55668         (__mp_dbl): Likewise.
55669         (__inv): Likewise.
55671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55672         mp_no value for 1.0 and 2.0.
55673         (norm): Use RADIXI instead of radixi.d.
55674         (denorm): Likewise.
55675         (__mul): Use 0.0 instead of zero.d.
55676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55677         mp_no value for 1.0 and 2.0.
55678         (norm): Use RADIXI instead of radixi.d.
55679         (denorm): Likewise.
55680         (__mul): Use 0.0 instead of zero.d.
55682 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55684         [BZ #14994]
55685         * math/s_casinh.c (__casinh): Reduce finite argument to first
55686         quadrant then set signs of results at the end.
55687         * math/s_casinhf.c (__casinhf): Likewise.
55688         * math/s_casinhl.c (__casinhl): Likewise.
55689         * math/libm-test.inc (casin_test): Add more tests.
55690         (casinh_test): Likewise.
55691         * sysdeps/i386/fpu/libm-test-ulps: Update.
55692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55694 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55696         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55698         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55700         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55701         declarations.
55702         (denorm): Likewise.
55703         (__mp_dbl): Likewise.
55704         (__inv): Likewise.
55706         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55707         and adjust the header comment.
55709         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55710         variable name from declaration.
55712 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55715         Initialize COMMON_CPUID_INDEX_7 element.
55716         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55717         (CPUID_RTM): Likewise.
55718         (HAS_RTM): Likewise.
55719         (COMMON_CPUID_INDEX_7): New enum.
55721 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55723         [BZ #14981]
55724         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55725         size is zero, record memory as freed.
55727 2013-01-03  Andreas Jaeger  <aj@suse.de>
55729         * po/ia.po: Add new Interlingua translation.
55731 2012-01-03  Allan McRae  <allan@archlinux.org>
55733         * locale/programs/localedef.c: Fix description of '--posix' flag.
55735 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55737         * NEWS: Update dates in second copyright notice.
55738         * README: Update copyright dates in example.
55739         * manual/libc.texinfo: Update copyright dates.
55740         * scripts/test-installation.pl: Update copyright date in --version
55741         output.
55743         * hurd/ctty-input.c: Fix copyright notice formatting.
55744         * hurd/ctty-output.c: Likewise.
55745         * hurd/dtable.c: Likewise.
55746         * hurd/hurd-raise.c: Likewise.
55747         * hurd/hurdprio.c: Likewise.
55748         * hurd/msgportdemux.c: Likewise.
55749         * misc/sys/file.h: Likewise.
55750         * misc/sys/ioctl.h: Likewise.
55751         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55752         * sysdeps/mach/hurd/chdir.c: Likewise.
55753         * sysdeps/mach/hurd/fchdir.c: Likewise.
55754         * sysdeps/mach/hurd/rename.c: Likewise.
55755         * sysdeps/mach/hurd/rmdir.c: Likewise.
55756         * sysdeps/mach/hurd/seekdir.c: Likewise.
55757         * sysdeps/mach/hurd/setsid.c: Likewise.
55758         * sysdeps/posix/wait3.c: Likewise.
55760         * All files with FSF copyright notices: Update copyright dates
55761         using scripts/update-copyrights.
55762         * intl/plural.c: Regenerated.
55763         * locale/programs/charmap-kw.h: Likewise.
55764         * locale/programs/locfile-kw.h: Likewise.
55766 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55768         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55769         four values.
55771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55772         calculation loop and add branch prediction.
55774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55775         check access beyond bounds of m1np.
55777         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55778         MPTWO.
55779         (__inv): Remove local variable MPTWO to use the global
55780         constant.
55781         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55783         variable MPTWO.
55784         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55785         MP3HALFS static const.
55787 2013-01-01  David S. Miller  <davem@davemloft.net>
55789         * po/ca.po: Update from translation team.
55791 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55793         * scripts/update-copyrights: New file.
55794         * Makeconfig: Reformat copyright notice.
55795         * ctype/ctype.h: Likewise.
55796         * debug/swprintf_chk.c: Likewise.
55797         * elf/dl-cache.c: Likewise.
55798         * elf/dl-debug.c: Likewise.
55799         * elf/dl-object.c: Likewise.
55800         * grp/initgroups.c: Likewise.
55801         * hurd/Makefile: Likewise.
55802         * hurd/hurd/signal.h: Likewise.
55803         * hurd/hurdfault.c: Likewise.
55804         * hurd/hurdioctl.c: Likewise.
55805         * hurd/hurdlookup.c: Likewise.
55806         * hurd/intr-msg.c: Likewise.
55807         * iconv/gconv_open.c: Likewise.
55808         * libio/swprintf.c: Likewise.
55809         * locale/lc-ctype.c: Likewise.
55810         * locale/nl_langinfo.c: Likewise.
55811         * mach/Machrules: Likewise.
55812         * mach/Makefile: Likewise.
55813         * malloc/obstack.h: Likewise.
55814         * manual/Makefile: Likewise.
55815         * manual/tsort.awk: Likewise.
55816         * misc/bits/stab.def: Likewise.
55817         * nis/nis_print_group_entry.c: Likewise.
55818         * nis/nis_table.c: Likewise.
55819         * nis/nss_compat/compat-pwd.c: Likewise.
55820         * nis/nss_compat/compat-spwd.c: Likewise.
55821         * po/Makefile: Likewise.
55822         * posix/fnmatch.c: Likewise.
55823         * posix/regex.h: Likewise.
55824         * resolv/Makefile: Likewise.
55825         * resolv/nss_dns/dns-network.c: Likewise.
55826         * resolv/res_hconf.c: Likewise.
55827         * scripts/gen-sorted.awk: Likewise.
55828         * soft-fp/soft-fp.h: Likewise.
55829         * stdio-common/printf.h: Likewise.
55830         * stdlib/monetary.h: Likewise.
55831         * stdlib/random.c: Likewise.
55832         * stdlib/random_r.c: Likewise.
55833         * sysdeps/generic/Makefile: Likewise.
55834         * sysdeps/gnu/Makefile: Likewise.
55835         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55836         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55837         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55839         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55841         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55842         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55845         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55846         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55847         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55848         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55849         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55850         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55851         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55852         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55853         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55855         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55856         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55857         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55858         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55859         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55860         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55861         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55862         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55863         * sysdeps/mach/hurd/errnos.awk: Likewise.
55864         * sysdeps/mach/hurd/fork.c: Likewise.
55865         * sysdeps/mach/hurd/getcwd.c: Likewise.
55866         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55867         * sysdeps/mach/hurd/mmap.c: Likewise.
55868         * sysdeps/mach/hurd/utimes.c: Likewise.
55869         * sysdeps/mach/hurd/xmknod.c: Likewise.
55870         * sysdeps/posix/profil.c: Likewise.
55871         * sysdeps/posix/readdir_r.c: Likewise.
55872         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55873         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55874         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55875         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55877         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55878         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55879         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55881         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55882         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55883         * sysdeps/pthread/lio_listio.c: Likewise.
55884         * sysdeps/sparc/dl-procinfo.h: Likewise.
55885         * sysdeps/unix/i386/sysdep.S: Likewise.
55886         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55887         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55888         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55889         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55891         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55892         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55893         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55894         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55895         * sysdeps/wordsize-32/divdi3.c: Likewise.
55896         * time/sys/time.h: Likewise.
55897         * wcsmbs/Makefile: Likewise.
55899 2013-01-01  David S. Miller  <davem@davemloft.net>
55901         * po/fr.po: Update from translation team.
55903         * catgets/gencat.c: Update copyright year.
55904         * csu/version.c: Likewise.
55905         * debug/catchsegv.sh: Likewise.
55906         * debug/pcprofiledump.c: Likewise.
55907         * debug/xtrace.sh: Likewise.
55908         * elf/ldconfig.c: Likewise.
55909         * elf/ldd.bash.in: Likewise.
55910         * elf/pldd.c: Likewise.
55911         * elf/sotruss.ksh: Likewise.
55912         * elf/sprof.c: Likewise.
55913         * iconv/iconv_prog.c: Likewise.
55914         * iconv/iconvconfig.c: Likewise.
55915         * locale/programs/locale.c: Likewise.
55916         * locale/programs/localedef.c: Likewise.
55917         * login/programs/pt_chown.c: Likewise.
55918         * malloc/memusage.sh: Likewise.
55919         * malloc/memusagestat.c: Likewise.
55920         * malloc/mtrace.pl: Likewise.
55921         * nscd/nscd.c: Likewise.
55922         * nss/getent.c: Likewise.
55923         * nss/makedb.c: Likewise.
55924         * posix/getconf.c: Likewise.
55926 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55928         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55929         numbers.
55931 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55933         * math/bits/mathcalls.h (modf): Use __nonnull.
55935 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55937         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55938         (split): Use macro CN instead of the bare value.
55939         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55940         could be used.
55941         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55942         instead of the bare value.
55943         (power1): Likewise.
55945 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55947         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55948         __ATAN_TWOM.
55949         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55951         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55952         their values.
55953         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55954         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55955         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55956         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55958 2012-12-28  Andreas Jaeger  <aj@suse.de>
55960         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55961         values are from Linux 3.7.
55963         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55964         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55966 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55968         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55969         TRUE case.
55971         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55972         (norm): Likewise.
55973         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55974         variables with preprocessor constants.
55975         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55976         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55977         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55979 2012-12-27  Bruno Haible  <bruno@clisp.org>
55981         [BZ #14317]
55982         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55983         only if needed.
55985 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55988         and use variable directly.
55989         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55991         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55992         MPONE.
55993         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55994         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55995         variable MPONE.
55996         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55997         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55998         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55999         include directive.  Remove local variable MPONE.
56000         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56001         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56002         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56004 2012-12-25  David S. Miller  <davem@davemloft.net>
56006         * version.h (RELEASE): Set to "development".
56007         (VERSION): Set to "2.17.90".
56008         * NEWS: Add 2.18 section.
56010 2012-12-21  David S. Miller  <davem@davemloft.net>
56012         * po/hr.po: Update from translation team.
56014 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56016         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56018 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56020         * NEWS:  Mention new memcpy for MIPS.
56022 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56024         * manual/contrib.texi (Contributors): Spelling correction.
56026 2012-12-15  David S. Miller  <davem@davemloft.net>
56028         * po/ru.po: Update from translation team.
56030 2012-12-13  David S. Miller  <davem@davemloft.net>
56032         * NEWS: Mention IFUNC testsuite enhancements.
56034         * po/pl.po: Update from translation team.
56035         * po/bg.po: Likewise.
56037         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56038         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56040 2012-12-11  David S. Miller  <davem@davemloft.net>
56042         * po/sv.po: Update from translation team.
56044         * po/vi.po: Update from translation team.
56046         * po/cs.po: Update from translation team.
56048         * po/de.po: Update from translation team.
56049         * po/eo.po: Likewise.
56050         * po/nl.po: Likewise.
56052 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56054         [BZ #14246]
56055         * manual/argp.texi (Argp Helper Functions): Move node to follow
56056         Argp Parsing State.
56058         [BZ #14872]
56059         * manual/conf.texi (Limits on File System Capacity): Mention if
56060         terminating null is included in the max size.
56062 2012-12-10  Andreas Jaeger  <aj@suse.de>
56064         * po/cs.po: Update from translation team.
56066 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56068         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56069         void pointer and cast to uintptr_t.
56070         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56071         path.
56072         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56073         * sysdeps/s390/s390-64/memset.S: Likewise.
56075 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56077         [BZ #14833]
56078         * menual/message.texi (Message Translation): Fix typos.
56079         (Helper programs for gettext): Likewise.
56081 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56083         [BZ #14898]
56084         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56085         Change to -1.
56087 2012-12-07  David S. Miller  <davem@davemloft.net>
56089         * po/libc.pot: Update.
56091 2012-12-07  Richard Henderson  <rth@redhat.com>
56093         [BZ #10114]
56094         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56095         normal/normal case to before the switch.
56096         (_FP_DIV): Likewise.
56098 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56099             Mike Frysinger  <vapier@gentoo.org>
56101         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56102         check for __NR_fadvise64_64.
56104 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56106         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56107         0, not just to plain "0" as a statement.
56108         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56109         with cw.
56111 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56113         * NEWS: Use sourceware.org in Bugzilla URL.
56115 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56118         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56120         * stdio-common/tst-put-error.c (do_test): Add newline to the
56121         padded test to ensure flush.
56123 2012-12-05  Jeff Law  <law@redhat.com>
56125         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56127 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56129         * README: Don't refer to ports add-on as distributed separately.
56130         Mention AArch64 in list of systems supported in the ports add-on.
56132         * LICENSES: Add more non-FSF copyright and license notices.
56134         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56135         ((unused)).
56137         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56139         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56140         10000 as width of padded output.
56142 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56144         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56146         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56147         variable LX with __attribute__ ((unused)).
56148         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56149         Likewise.
56150         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56151         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56152         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56153         with __attribute__ ((unused)).
56155 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56157         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56159 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56161         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56162         (CFLAGS-nldbl-acos.c): New variable.
56163         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56164         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56165         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56166         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56167         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56168         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56169         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56170         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56171         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56172         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56173         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56174         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56175         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56176         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56177         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56178         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56179         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56180         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56181         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56182         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56183         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56184         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56185         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56186         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56187         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56188         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56189         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56190         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56191         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56192         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56193         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56194         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56195         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56196         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56197         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56198         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56199         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56200         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56201         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56202         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56203         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56204         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56205         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56206         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56207         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56208         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56209         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56210         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56211         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56212         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56213         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56214         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56215         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56216         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56217         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56218         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56219         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56220         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56221         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56222         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56223         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56224         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56225         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56226         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56227         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56228         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56229         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56230         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56231         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56232         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56233         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56234         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56235         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56236         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56237         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56238         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56239         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56240         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56241         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56242         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56243         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56244         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56245         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56246         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56247         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56248         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56249         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56250         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56251         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56252         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56253         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56254         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56255         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56256         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56257         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56258         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56259         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56262         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56264         [BZ #14914]
56265         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56266         whole low double instead of just low 47 bits when splitting values
56267         into two parts.
56269 2012-12-03  Allan McRae  <allan@archlinux.org>
56271         * manual/stdio.texi (Predefined Printf Handlers): Remove
56272         @hsep and @vsep usage.
56274 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56276         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56277         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56279 2012-12-03  Jeff Law  <law@redhat.com>
56281         * time/sys/time.h (settimeofday): Do not mark TV argument
56282         as __nonnull.
56284 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56286         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56287         when currently writing and seek to current position when not.
56288         * libio/Makefile (tests): Remove bug-fclose1.
56289         * libio/bug-fclose1.c: Delete.
56291 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56293         * manual/arith.texi (feenableexcept): Fix typo.
56294         (fedisableexcept): Likewise.
56296 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56298         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56299         second, differently-typed declaration, rather than a cast.
56301 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56303         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56304         * include/rpc/svc.h: ... here.
56306 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56308         [BZ #13013]
56309         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56310         depending n and resplen2 to catch cases where answer
56311         equals answerp2.
56313 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56315         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56316         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56318 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56320         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56322 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56324         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56326 2012-11-28  Jeff Law  <law@redhat.com>
56328         [BZ #13761]
56329         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56330         dataset_temporary.  Track alloca usage into alloca_used.
56331         If dataset is large allocate and release it via malloc/free.
56333 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56335         [BZ #14197]
56336         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56338 2012-11-28  David S. Miller  <davem@davemloft.net>
56340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56342 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56344         [BZ #14803]
56345         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56346         of pi/2 rounded to nearest to 64 bits.
56347         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56348         nearest to 64 bits.
56349         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56350         bits.
56352 2012-11-28  Jeff Law <law@redhat.com>
56353             Martin Osvald <mosvald@redhat.com>
56355         [BZ #14889]
56356         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56357         * sunrpc/svc.c: Include time.h.
56358         (__svc_accept_failed): New function.
56359         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56360         any reason other than EINTR, call __svc_accept_failed.
56361         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56362         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56364 2012-11-28  Andreas Schwab  <schwab@suse.de>
56366         * scripts/abilist.awk: Also handle indirect functions in .opd
56367         section.
56369 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56371         [BZ #13881]
56372         * sysdeps/x86/fpu/powl_helper.c: New file.
56373         * sysdeps/x86/fpu/Makefile: Likewise.
56374         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56375         (p3): New object.
56376         (__ieee754_powl): Use __powl_helper for finite arguments except
56377         integer exponents below 8.
56378         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56379         (p3): New object.
56380         (__ieee754_powl): Use __powl_helper for finite arguments except
56381         integer exponents below 8.
56382         * math/libm-test.inc (pow_test): Add more tests and enable some
56383         previously disabled tests.
56384         * sysdeps/i386/fpu/libm-test-ulps: Update.
56385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56387 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56388             Carlos O'Donell  <carlos_odonell@mentor.com>
56390         * nss/makedb.c (is_prime): Assert that input is odd and greater
56391         than 4.  Note that fact in a comment too.
56392         (next_prime): Add 4 to input.
56394 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56396         [BZ #11741]
56397         * libio/Makefile (tests): Add test case tst-fwrite-error.
56398         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56399         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56400         * libio/tst-fwrite-error.c: New test case.
56402 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56404         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56405         before casting to void *.
56406         * include/libc-internal.h (__pointer_type): New macro.
56407         (__integer_if_pointer_type_sub): Likewise.
56408         (__integer_if_pointer_type): Likewise.
56409         (cast_to_integer): Likewise.
56410         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56411         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56412         before casting to atomic64_t.
56413         (atomic_exchange_acq): Likewise.
56414         (__arch_exchange_and_add_body): Likewise.
56415         (__arch_add_body): Likewise.
56416         (atomic_add_negative): Likewise.
56417         (atomic_add_zero): Likewise.
56419 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56421         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56422         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56423         (add_fdes): Likewise.
56424         (linear_search_fdes): Likewise.
56425         (binary_search_unencoded_fdes): Likewise.
56427 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56429         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56431 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56433         * configure.in: Autodetect C++ header directories.
56434         * configure: Regenerated.
56436 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56438         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56440 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56444 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56446         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56447         LDBL_MANT_DIG == 106]: Disable some tests.
56448         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56449         Likewise.
56450         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56451         Likewise.
56453         [BZ #14871]
56454         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56455         input for small inputs.  Return +/- pi/2 for large inputs.
56456         * math/libm-test.inc (atan_test): Add more tests.
56458         * sysdeps/generic/unwind-dw2-fde-glibc.c
56459         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56460         __attribute__ ((unused)).
56462         [BZ #14645]
56463         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56464         x * y if x and y are nonzero and z is zero.
56466         [BZ #14811]
56467         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56468         nonzero exponents with absolute value below 0x1p-117 to +/-
56469         0x1p-117.
56471         [BZ #14869]
56472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56473         up arguments below 2**-450, not just those below 2**-500.
56474         * math/libm-test.inc (hypot_test): Add another test.
56476         [BZ #14868]
56477         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56478         Return a+b for ratio over 2**120, not 2**60.
56479         * math/libm-test.inc (hypot_test): Add another test.
56481         * math/libm-test.inc (clog_test): Use
56482         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56483         (clog10_test): Likewise.
56485         [BZ #6778]
56486         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56488 2012-11-22  Andreas Schwab  <schwab@suse.de>
56490         * sysdeps/i386/fpu/libm-test-ulps: Update.
56492 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56494         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56495         printf output with newline.
56497 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56499         [BZ #14865]
56500         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56501         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56502         -z nodlopen, -z initfirst and -z execstack support.
56503         * configure: Regenerated.
56505         * elf/elf.h (DF_1_NODIRECT): New macro.
56506         (DF_1_IGNMULDEF): Likewise.
56507         (DF_1_NOKSYMS): Likewise.
56508         (DF_1_NOHDR): Likewise.
56509         (DF_1_EDITED): Likewise.
56510         (DF_1_NORELOC): Likewise.
56511         (DF_1_SYMINTPOSE): Likewise.
56512         (DF_1_GLOBAUDIT): Likewise.
56513         (DF_1_SINGLETON): Likewise.
56514         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56515         DT_1_SUPPORTED_MASK bits.
56516         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56518 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56520         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56522 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56524         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56525         macro.
56527         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56528         (sendmmsg): Move declarations...
56529         * socket/sys/socket.h: ... here.
56530         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56531         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56532         include it from...
56533         * socket/recvmmsg.c: ... this new file.
56534         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56535         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56536         definition of __sendmmsg hidden.
56537         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56538         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56539         Move ENOSYS stub into and include it from...
56540         * socket/sendmmsg.c: ... this new file.
56541         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56542         (sysdep_routines): Move recvmmsg and sendmmsg...
56543         * socket/Makefile (routines): ... here.
56544         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56545         (GLIBC_PRIVATE): Add __sendmmsg.
56546         * include/sys/socket.h (__sendmmsg): Add declarations.
56547         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56548         sendmmsg.
56550 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56552         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56553         variable I1 with __attribute__ ((unused)).
56554         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56556 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56558         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56559         DUMMY variables with __attribute__ ((unused)).
56561         * bits/byteswap.h: Include <bits/types.h>.
56562         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56564 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56566         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56567         string_t.  Do not manually set errno.
56568         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56569         length with __strnlen.  Make sure to both set errno and return it on
56570         failure.
56572 2012-11-19  David S. Miller  <davem@davemloft.net>
56574         With help from Joseph Myers.
56575         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56576         very large arguments properly.
56577         * math/libm-test.inc (atan_test): New tests.
56578         (atan2_test): New tests.
56579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56582 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56584         [BZ #14856]
56585         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56586         Define to 3.
56588         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56589         [POSIX] (EADDRNOTAVAIL): Likewise.
56590         [POSIX] (EAFNOSUPPORT): Likewise.
56591         [POSIX] (EALREADY): Likewise.
56592         [POSIX] (ECONNABORTED): Likewise.
56593         [POSIX] (ECONNREFUSED): Likewise.
56594         [POSIX] (ECONNRESET): Likewise.
56595         [POSIX] (EDESTADDRREQ): Likewise.
56596         [POSIX] (EDQUOT): Likewise.
56597         [POSIX] (EHOSTUNREACH): Likewise.
56598         [POSIX] (EIDRM): Likewise.
56599         [POSIX] (EISCONN): Likewise.
56600         [POSIX] (ELOOP): Likewise.
56601         [POSIX] (EMULTIHOP): Likewise.
56602         [POSIX] (ENETDOWN): Likewise.
56603         [POSIX] (ENETUNREACH): Likewise.
56604         [POSIX] (ENOBUFS): Likewise.
56605         [POSIX] (ENODATA): Likewise.
56606         [POSIX] (ENOLINK): Likewise.
56607         [POSIX] (ENOMSG): Likewise.
56608         [POSIX] (ENOPROTOOPT): Likewise.
56609         [POSIX] (ENOSR): Likewise.
56610         [POSIX] (ENOSTR): Likewise.
56611         [POSIX] (ENOTCONN): Likewise.
56612         [POSIX] (ENOTSOCK): Likewise.
56613         [POSIX] (EOPNOTSUPP): Likewise.
56614         [POSIX] (EOVERFLOW): Likewise.
56615         [POSIX] (EPROTO): Likewise.
56616         [POSIX] (EPROTONOSUPPORT): Likewise.
56617         [POSIX] (EPROTOTYPE): Likewise.
56618         [POSIX] (ESTALE): Likewise.
56619         [POSIX] (ETIME): Likewise.
56620         [POSIX] (ETXTBSY): Likewise.
56621         [POSIX] (EWOULDBLOCK): Likewise.
56622         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56623         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56624         [POSIX] (SEEK_CUR): Likewise.
56625         [POSIX] (SEEK_END): Likewise.
56626         [POSIX || UNIX98] (mode_t): Do not require.
56627         [POSIX] (off_t): Likewise.
56628         [POSIX] (pid_t): Likewise.
56629         [POSIX] (sys/stat.h): Do not allow header.
56630         [POSIX] (unistd.h): Likewise.
56631         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56632         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56633         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56634         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56635         require.
56636         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56637         sigevent): Specify elements.
56638         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56639         entry.
56640         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56641         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56643         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56644         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56645         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56646         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56647         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56648         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56649         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56650         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56651         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56652         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56653         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56654         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56655         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56656         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56657         Likewise.
56658         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56659         Likewise.
56660         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56661         Likewise.
56662         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56663         Likewise.
56664         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56665         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56666         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56667         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56668         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56669         Specify lower bound on value.
56670         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56671         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56672         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56673         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56674         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56675         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56676         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56677         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56678         value.
56679         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56680         as optional.
56681         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56682         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56683         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56684         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56685         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56686         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56687         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56688         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56689         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56690         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56691         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56692         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56693         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56694         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56695         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56696         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56697         entry.
56698         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56699         optional.
56700         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56701         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56702         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56703         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56704         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56705         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56706         Likewise.
56707         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56708         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56709         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56710         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56711         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56712         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56713         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56714         as optional.
56715         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56716         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56717         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56718         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56719         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56720         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56721         specify as optional.
56722         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56723         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56724         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56725         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56726         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56727         [XPG3] (NL_LANGMAX): Likewise.
56728         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56729         [POSIX || XPG3] (NL_NMAX): Likewise.
56730         [POSIX || XPG3] (NL_SETMAX): Likewise.
56731         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56732         [XPG3] (NZERO): Likewise.
56733         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56734         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56735         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56736         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56737         (REG_ERANGE): Expect.
56738         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56739         optional-constant.
56740         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56741         Use (void) in prototype.
56742         [POSIX] (*_t): Allow.
56743         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56744         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56745         (WRDE_BADVAL): Expect.
56747         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56748         expect.
56749         [XPG3 || XPG4] (O_RSYNC): Likewise.
56750         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56751         Likewise.
56752         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56753         [XPG3 || XPG4] (sigqueue): Likewise.
56754         [XPG3 || XPG4] (sigtimedwait): Likewise.
56755         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56756         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56757         [XPG3 || XPG4] (vsnprintf): Likewise.
56758         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56759         Likewise.
56760         [XPG3 || XPG4] (blksize_t): Likewise.
56761         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56762         Likewise.
56763         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56764         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56765         [XPG3 || XPG4] (struct itimerspec): Likewise.
56766         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56767         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56768         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56769         [XPG3 || XPG4] (clockid_t): Likewise.
56770         [XPG3 || XPG4] (timer_t): Likewise.
56771         [XPG3 || XPG4] (clock_getres): Likewise.
56772         [XPG3 || XPG4] (clock_gettime): Likewise.
56773         [XPG3 || XPG4] (clock_settime): Likewise.
56774         [XPG3 || XPG4] (nanosleep): Likewise.
56775         [XPG3 || XPG4] (timer_create): Likewise.
56776         [XPG3 || XPG4] (timer_delete): Likewise.
56777         [XPG3 || XPG4] (timer_gettime): Likewise.
56778         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56779         [XPG3 || XPG4] (timer_settime): Likewise.
56780         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56781         [XPG3 || XPG4] (getlogin_r): Likewise.
56782         [XPG3 || XPG4] (pread): Likewise.
56783         [XPG3 || XPG4] (pthread_atfork): Likewise.
56784         [XPG3 || XPG4] (pwrite): Likewise.
56786         [BZ #14835]
56787         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56788         <bits/siginfo.h>.
56790 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56792         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56793         finalizing MALLSTREAM.
56795         * sysdeps/mach/hurd/syncfs.c: New file.
56797 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56799         [BZ #14719]
56800         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56801         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56802         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56803         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56804         (_nss_dns_gethostbyname4_r): Likewise.
56805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56806         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56808 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56810         [BZ #13763]
56811         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56813 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56815         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56816         * elf/cache.c (print_entry): Print ",AArch64" for
56817         FLAG_AARCH64_LIB64
56819         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56820         * elf/cache.c (print_entry): Print ",hard-float" for
56821         FLAG_ARM_LIBHF.
56823 2012-11-18  David S. Miller  <davem@davemloft.net>
56825         With help from Joseph Myers.
56826         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56827         cutoff to 2**-13.
56828         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56829         cutoff to 2**-25.
56830         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56831         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56832         small.
56833         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56834         * math/libm-test.inc (y0_test): New tests.
56835         (y1_test): New tests.
56836         * sysdeps/i386/fpu/libm-test-ulps: Update.
56837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56840 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56842         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56843         64-bit targets.
56844         * configure: Regenerated.
56846 2012-11-17  David S. Miller  <davem@davemloft.net>
56848         [BZ #14811]
56849         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56850         nonzero exponents with absolute value below 0x1p-128 to +/-
56851         0x1p-128.
56853 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56855         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56857         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56859         * posix/getconf-speclist.c: New file.
56860         * posix/posix-envs.def: Likewise.
56861         * posix/confstr.c (START_ENV_GROUP): New macro.
56862         (END_ENV_GROUP): Likewise.
56863         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56864         (KNOWN_PRESENT_ENV_STRING): Likewise.
56865         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56866         (UNKNOWN_ENVIRONMENT): Likewise.
56867         (confstr): Include posix-envs.def instead of handling
56868         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56869         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56870         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56871         (END_ENV_GROUP): Likewise.
56872         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56873         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56874         (UNKNOWN_ENVIRONMENT): Likewise.
56875         (__sysconf): Include posix-envs.def instead of handling associated
56876         cases directly here.
56877         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56878         preprocessing getconf-speclist.c rather than running getconf or
56879         generating empty file.
56881 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56883         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56885 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56887         [BZ #14672]
56888         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56890 2012-11-16  David S. Miller  <davem@davemloft.net>
56892         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56893         smaller than LDBL_EPSILON/2.0L, just return xm1.
56895 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56897         * elf/tst-array1.c (init): Set constructor priority to 1000.
56898         (fini): Set destructor priority to 1000.
56899         * elf/tst-array2dep.c: Likewise.
56901 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56903         [BZ #11741]
56904         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56905         (_IO_new_file_xsputn): Also return EOF if none of the input
56906         data was written when overflow failed.
56907         * libio/iopadn.c (_IO_padn): Likewise.
56908         * libio/iowpadn.c (_IO_wpadn): Likewise.
56909         * stdio-common/tst-put-error.c: Add copyright notice.
56910         (do_test): Add case for printing padded string.
56911         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56912         _IO_padn returned error.
56913         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56914         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56915         return EOF.
56917 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56919         * libio/libioP.h: Add comment note that the references to C++
56920         bits are now obsolete.
56922 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56924         * math/libm-test.inc (check_complex): Use asprintf.
56926 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56928         * debug/pcprofiledump.c (print_version): Update copyright year.
56929         * malloc/memusagestat.c (print_version): Likewise.
56931 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56933         [BZ #14831]
56934         * elf/Makefile (tests): Add tst-audit8.
56935         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56936         ($(objpfx)tst-audit8.out): New target.
56937         (tst-audit8-ENV): New variable.
56938         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56939         audit if l_reloc_result is NULL.
56940         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56941         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56942         * elf/tst-audit8.c: New file.
56944 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56946         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56947         * misc/Makefile (CFLAGS-select.c): Define.
56948         * posix/Makefile (CFLAGS-pause.c): Define.
56950 2012-11-13  David S. Miller  <davem@davemloft.net>
56952         * crypt/Makefile: Move test targets after toplevel Rules
56953         inclusion.  Grab any necessary sysdep routines when linking.
56954         * crypt/md5.c (md5_process_block): Remove define, we will always
56955         name it __md5_process_block.
56956         (md5_finish_ctx): Update md5_process_block call.
56957         (md5_stream): Likewise.
56958         (md5_process_bytes): Likewise.
56959         (md5_process_block): Rename to __md5_process_block and move to ...
56960         * crypt/md5-block.c: ... here.
56961         * crypt/sha256.c (sha256_process_block): Move to ...
56962         * crypt/sha256-block.c: ... here.
56963         * crypt/sha512.c (sha512_process_block): Move to ...
56964         * crypt/sha512-block.c: ... here.
56965         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56966         path.
56967         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56968         * sysdeps/sparc/sparc64/multiarch/Makefile
56969         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56970         crypt subdir.
56971         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56972         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56973         multiarch changes.
56974         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56975         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56976         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56977         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56978         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56979         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56980         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56981         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56982         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56983         file.
56984         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56985         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56986         file.
56987         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56989 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56991         * timezone/tzselect.ksh: Update from tzcode git revision
56992         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56993         * timezone/zdump.c: Likewise.
56994         * timezone/zic.c: Likewise.
56995         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56996         in TZVERSION setting, not $(PKGVERSION).
56997         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56998         REPORT_BUGS_TO settings.
57000         [BZ #14838]
57001         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57002         macro.
57004 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57006         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57007         detection to immediately after _FP_ROUND().
57008         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57009         bits are 0.
57011 2012-11-11  David S. Miller  <davem@davemloft.net>
57013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57014         inttypes.h
57015         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57016         __close rather than their public counterparts.
57018 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57020         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57021         file.
57022         [UNIX98] (sem_timedwait): Do not expect.
57023         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57024         [XPG4 || UNIX98] (sockatmark): Do not expect.
57025         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57026         (clock_getcpuclockid): Do not expect.
57027         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57028         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57029         Do not expect.
57030         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57031         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57032         [UNIX98] (vwscanf): Likewise.
57033         [UNIX98] (vswscanf): Likewise.
57035 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57037         * timezone/version.h: Remove file.
57038         * timezone/README: Do not refer to version.h.
57039         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57040         $(objpfx)version.h.
57041         ($(objpfx)zdump.o): Likewise.
57042         ($(objpfx)version.h): New target.
57044         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57045         2012i.
57046         * timezone/README: Don't mention modification to tzselect.ksh.
57047         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57048         work on unmodified tzselect.ksh.  Substitute version numbers in
57049         tzselect.ksh.
57051         * Makefile (format-me): Remove.
57052         (INSTALL): Adjust indentation.  Use commands directly instead of
57053         using $(format-me).
57055         * aclocal.m4 (ACX_PKGVERSION): New macro.
57056         (ACX_BUGURL): Likewise.
57057         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57058         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57059         (REPORT_BUGS_TO): Likewise.
57060         * configure: Regenerated.
57061         * config.h.in (PKGVERSION): New macro.
57062         (REPORT_BUGS_TO): Likewise.
57063         * config.make.in (PKGVERSION): New variable.
57064         (PKGVERSION_TEXI): Likewise.
57065         (REPORT_BUGS_TO): Likewise.
57066         (REPORT_BUGS_TEXI): Likewise.
57067         * Makefile (format-me): Use -I$(common-objpfx)manual.
57068         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57069         ($(common-objpfx)manual/%): New target.
57070         (manual/%): Remove target.
57071         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57072         (print_version): Use PKGVERSION.
57073         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57074         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57075         and REPORT_BUGS_TO.
57076         ($(objpfx)xtrace): Likewise.
57077         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57078         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57079         (print_version): Use PKGVERSION.
57080         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57081         (do_version): Use PKGVERSION.
57082         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57083         REPORT_BUGS_TO.
57084         (common-ldd-rewrite): Likewise.
57085         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57086         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57087         (print_version): Use PKGVERSION.
57088         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57089         * elf/pldd.c (argp_program_bug_address): Remove variable.
57090         (more_help): New function.
57091         (argp): Use more_help.
57092         (print_version): Use PKGVERSION.
57093         * elf/sln.c (main): Use PKGVERSION.
57094         (usage): Use REPORT_BUGS_TO.
57095         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57096         (top level): Use PKGVERSION.
57097         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57098         (print_version): Use PKGVERSION.
57099         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57100         (print_version): Use PKGVERSION.
57101         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57102         (print_version): Use PKGVERSION.
57103         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57104         (print_version): Use PKGVERSION.
57105         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57106         (print_version): Use PKGVERSION.
57107         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57108         (print_version): Use PKGVERSION.
57109         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57110         and BUGURL.
57111         ($(objpfx)memusage): Likewise.
57112         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57113         (do_version): Use PKGVERSION.
57114         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57115         (print_version): Use PKGVERSION.
57116         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57117         ($PKGVERSION): New variable.
57118         ($REPORT_BUGS_TO): Likewise.
57119         (usage): Use $REPORT_BUGS_TO.
57120         (top level): Use $PKGVERSION.
57121         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57122         ($(objpfx)pkgvers.texi): New rule.
57123         ($(objpfx)stamp-pkgvers): Likewise.
57124         * manual/install.texi: Include pkgvers.texi.
57125         (--with-pkgversion): Document new configure option.
57126         (--with-bugurl): Likewise.
57127         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57128         than necessarily for this particular distribution.  Use
57129         REPORT_BUGS_TO for where to report bugs.
57130         * INSTALL: Regenerated.
57131         * manual/libc.texinfo: Include pkgvers.texi.
57132         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57133         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57134         (print_version): Use PKGVERSION.
57135         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57136         (print_version): Use PKGVERSION.
57137         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57138         (print_version): Use PKGVERSION.
57139         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57140         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57141         macro.
57142         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57143         (print_version): Use PKGVERSION.
57144         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57145         (print_version): Use PKGVERSION.
57146         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57147         and PKGVERSION.
57149         * timezone/checktab.awk: Update from tzcode 2012i.
57150         * timezone/ialloc.c: Likewise.
57151         * timezone/private.h: Likewise.
57152         * timezone/scheck.c: Likewise.
57153         * timezone/tzfile.h: Likewise.
57154         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57155         (TZVERSION): Hardcode tzcode version number.
57156         * timezone/zdump.c: Update from tzcode 2012i.
57157         * timezone/zic.c: Likewise.
57158         * timezone/version.h: New file.
57159         * timezone/README: Describe version.h.  Update upstream location.
57161         [BZ #14824]
57162         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57163         (mktemp): Enable declaration.
57164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57165         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57166         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57167         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57168         Likewise.
57169         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57170         Likewise.
57171         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57172         Likewise.
57173         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57174         Likewise.
57175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57176         Likewise.
57177         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57178         Likewise.
57180         [BZ #14821]
57181         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57182         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57183         for copies of such integer values.
57184         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57185         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57187 2012-11-09  Andreas Jaeger  <aj@suse.de>
57189         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57190         definitions and declarations that are provided by
57191         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57193 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57195         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57196         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57197         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57198         definition.
57200 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57202         * elf/elf.h: Update comment before AArch64 relocations.
57204 2012-11-07  David S. Miller  <davem@davemloft.net>
57206         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57207         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57208         (__start_context): Declare.
57209         (__makecontext_ret): Delete.
57210         (__makecontext): Hook up __start_context instead of
57211         __makecontext_ret.
57212         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57213         (sysdep_routines): Add __start_context when in stdlib.
57215 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57217         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57218         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57219         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57220         hardcoded "nm".
57221         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57222         (READELF): New variable.  Use it instead of hardcoded "readelf".
57224 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57226         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57227         * sysdeps/x86/Makefile: Here.
57228         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57229         * sysdeps/x86/tst-xmmymm.sh: This.
57231 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57233         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57234         expectations.
57235         [UNIX98] (pthread_barrier_t): Do not expect.
57236         [UNIX98] (pthread_barrierattr_t): Likewise.
57237         [UNIX98] (pthread_spinlock_t): Likewise.
57238         [UNIX98] (pthread_barrier_destroy): Likewise.
57239         [UNIX98] (pthread_barrier_init): Likewise.
57240         [UNIX98] (pthread_barrier_wait): Likewise.
57241         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57242         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57243         [UNIX98] (pthread_barrierattr_init): Likewise.
57244         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57245         [UNIX98] (pthread_getcpuclockid): Likewise.
57246         [UNIX98] (pthread_mutex_timedlock): Likewise.
57247         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57248         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57249         [UNIX98] (pthread_sigmask): Likewise.
57250         [UNIX98] (pthread_spin_destroy): Likewise.
57251         [UNIX98] (pthread_spin_init): Likewise.
57252         [UNIX98] (pthread_spin_lock): Likewise.
57253         [UNIX98] (pthread_spin_trylock): Likewise.
57254         [UNIX98] (pthread_spin_unlock): Likewise.
57255         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57256         Do not expect.
57257         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57258         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57259         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57260         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57261         [XPG3 || XPG4] (pthread_key_t): Likewise.
57262         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57263         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57264         [XPG3 || XPG4] (pthread_once_t): Likewise.
57265         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57266         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57267         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57268         [XPG3 || XPG4] (pthread_t): Likewise.
57270         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57271         not expect.
57272         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57274         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57275         Change function return type to int.
57277         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57278         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57279         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57280         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57281         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57282         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57283         [!POSIX] (posix_madvise): Likewise.
57284         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57285         && !UNIX98].
57286         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57287         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57288         (mode_t): Likewise.
57289         (posix_mem_offset): Likewise.
57290         (posix_typed_mem_get_info): Likewise.
57291         (posix_typed_mem_open): Likewise.
57293         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57294         Change condition to [XOPEN2K8].
57296         * conform/conformtest.pl: Preprocess allow-header data with -x c
57297         instead of from stdin.
57298         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57299         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57300         [C99-based standards] (cerfc): Likewise.
57301         [C99-based standards] (cexp2): Likewise.
57302         [C99-based standards] (cexpm1): Likewise.
57303         [C99-based standards] (clog10): Likewise.
57304         [C99-based standards] (clog1p): Likewise.
57305         [C99-based standards] (clog2): Likewise.
57306         [C99-based standards] (clgamma): Likewise.
57307         [C99-based standards] (ctgamma): Likewise.
57308         [C99-based standards] (cerff): Likewise.
57309         [C99-based standards] (cerfcf): Likewise.
57310         [C99-based standards] (cexp2f): Likewise.
57311         [C99-based standards] (cexpm1f): Likewise.
57312         [C99-based standards] (clog10f): Likewise.
57313         [C99-based standards] (clog1pf): Likewise.
57314         [C99-based standards] (clog2f): Likewise.
57315         [C99-based standards] (clgammaf): Likewise.
57316         [C99-based standards] (ctgammaf): Likewise.
57317         [C99-based standards] (cerfl): Likewise.
57318         [C99-based standards] (cerfcl): Likewise.
57319         [C99-based standards] (cexp2l): Likewise.
57320         [C99-based standards] (cexpm1l): Likewise.
57321         [C99-based standards] (clog10l): Likewise.
57322         [C99-based standards] (clog1pl): Likewise.
57323         [C99-based standards] (clog2l): Likewise.
57324         [C99-based standards] (clgammal): Likewise.
57325         [C99-based standards] (ctgammal): Likewise.
57326         * conform/data/inttypes.h-data [C99-based standards]: Include
57327         stdint.h-data.  Remove all expectations for stdint.h contents.
57328         [C99-based standards] (PRI*): Do not allow.
57329         [C99-based standards] (SCN*): Likewise.
57330         [C99-based standards] (*_t): Likewise.
57331         [C99-based-standards] (PRId8): Expect macro.
57332         [C99-based-standards] (PRIi8): Likewise.
57333         [C99-based-standards] (PRIo8): Likewise.
57334         [C99-based-standards] (PRIu8): Likewise.
57335         [C99-based-standards] (PRIx8): Likewise.
57336         [C99-based-standards] (PRIX8): Likewise.
57337         [C99-based-standards] (SCNd8): Likewise.
57338         [C99-based-standards] (SCNi8): Likewise.
57339         [C99-based-standards] (SCNo8): Likewise.
57340         [C99-based-standards] (SCNu8): Likewise.
57341         [C99-based-standards] (SCNx8): Likewise.
57342         [C99-based-standards] (PRIdLEAST8): Likewise.
57343         [C99-based-standards] (PRIiLEAST8): Likewise.
57344         [C99-based-standards] (PRIoLEAST8): Likewise.
57345         [C99-based-standards] (PRIuLEAST8): Likewise.
57346         [C99-based-standards] (PRIxLEAST8): Likewise.
57347         [C99-based-standards] (PRIXLEAST8): Likewise.
57348         [C99-based-standards] (SCNdLEAST8): Likewise.
57349         [C99-based-standards] (SCNiLEAST8): Likewise.
57350         [C99-based-standards] (SCNoLEAST8): Likewise.
57351         [C99-based-standards] (SCNuLEAST8): Likewise.
57352         [C99-based-standards] (SCNxLEAST8): Likewise.
57353         [C99-based-standards] (PRIdFAST8): Likewise.
57354         [C99-based-standards] (PRIiFAST8): Likewise.
57355         [C99-based-standards] (PRIoFAST8): Likewise.
57356         [C99-based-standards] (PRIuFAST8): Likewise.
57357         [C99-based-standards] (PRIxFAST8): Likewise.
57358         [C99-based-standards] (PRIXFAST8): Likewise.
57359         [C99-based-standards] (SCNdFAST8): Likewise.
57360         [C99-based-standards] (SCNiFAST8): Likewise.
57361         [C99-based-standards] (SCNoFAST8): Likewise.
57362         [C99-based-standards] (SCNuFAST8): Likewise.
57363         [C99-based-standards] (SCNxFAST8): Likewise.
57364         [C99-based-standards] (PRId16): Likewise.
57365         [C99-based-standards] (PRIi16): Likewise.
57366         [C99-based-standards] (PRIo16): Likewise.
57367         [C99-based-standards] (PRIu16): Likewise.
57368         [C99-based-standards] (PRIx16): Likewise.
57369         [C99-based-standards] (PRIX16): Likewise.
57370         [C99-based-standards] (SCNd16): Likewise.
57371         [C99-based-standards] (SCNi16): Likewise.
57372         [C99-based-standards] (SCNo16): Likewise.
57373         [C99-based-standards] (SCNu16): Likewise.
57374         [C99-based-standards] (SCNx16): Likewise.
57375         [C99-based-standards] (PRIdLEAST16): Likewise.
57376         [C99-based-standards] (PRIiLEAST16): Likewise.
57377         [C99-based-standards] (PRIoLEAST16): Likewise.
57378         [C99-based-standards] (PRIuLEAST16): Likewise.
57379         [C99-based-standards] (PRIxLEAST16): Likewise.
57380         [C99-based-standards] (PRIXLEAST16): Likewise.
57381         [C99-based-standards] (SCNdLEAST16): Likewise.
57382         [C99-based-standards] (SCNiLEAST16): Likewise.
57383         [C99-based-standards] (SCNoLEAST16): Likewise.
57384         [C99-based-standards] (SCNuLEAST16): Likewise.
57385         [C99-based-standards] (SCNxLEAST16): Likewise.
57386         [C99-based-standards] (PRIdFAST16): Likewise.
57387         [C99-based-standards] (PRIiFAST16): Likewise.
57388         [C99-based-standards] (PRIoFAST16): Likewise.
57389         [C99-based-standards] (PRIuFAST16): Likewise.
57390         [C99-based-standards] (PRIxFAST16): Likewise.
57391         [C99-based-standards] (PRIXFAST16): Likewise.
57392         [C99-based-standards] (SCNdFAST16): Likewise.
57393         [C99-based-standards] (SCNiFAST16): Likewise.
57394         [C99-based-standards] (SCNoFAST16): Likewise.
57395         [C99-based-standards] (SCNuFAST16): Likewise.
57396         [C99-based-standards] (SCNxFAST16): Likewise.
57397         [C99-based-standards] (PRId32): Likewise.
57398         [C99-based-standards] (PRIi32): Likewise.
57399         [C99-based-standards] (PRIo32): Likewise.
57400         [C99-based-standards] (PRIu32): Likewise.
57401         [C99-based-standards] (PRIx32): Likewise.
57402         [C99-based-standards] (PRIX32): Likewise.
57403         [C99-based-standards] (SCNd32): Likewise.
57404         [C99-based-standards] (SCNi32): Likewise.
57405         [C99-based-standards] (SCNo32): Likewise.
57406         [C99-based-standards] (SCNu32): Likewise.
57407         [C99-based-standards] (SCNx32): Likewise.
57408         [C99-based-standards] (PRIdLEAST32): Likewise.
57409         [C99-based-standards] (PRIiLEAST32): Likewise.
57410         [C99-based-standards] (PRIoLEAST32): Likewise.
57411         [C99-based-standards] (PRIuLEAST32): Likewise.
57412         [C99-based-standards] (PRIxLEAST32): Likewise.
57413         [C99-based-standards] (PRIXLEAST32): Likewise.
57414         [C99-based-standards] (SCNdLEAST32): Likewise.
57415         [C99-based-standards] (SCNiLEAST32): Likewise.
57416         [C99-based-standards] (SCNoLEAST32): Likewise.
57417         [C99-based-standards] (SCNuLEAST32): Likewise.
57418         [C99-based-standards] (SCNxLEAST32): Likewise.
57419         [C99-based-standards] (PRIdFAST32): Likewise.
57420         [C99-based-standards] (PRIiFAST32): Likewise.
57421         [C99-based-standards] (PRIoFAST32): Likewise.
57422         [C99-based-standards] (PRIuFAST32): Likewise.
57423         [C99-based-standards] (PRIxFAST32): Likewise.
57424         [C99-based-standards] (PRIXFAST32): Likewise.
57425         [C99-based-standards] (SCNdFAST32): Likewise.
57426         [C99-based-standards] (SCNiFAST32): Likewise.
57427         [C99-based-standards] (SCNoFAST32): Likewise.
57428         [C99-based-standards] (SCNuFAST32): Likewise.
57429         [C99-based-standards] (SCNxFAST32): Likewise.
57430         [C99-based-standards] (PRId64): Likewise.
57431         [C99-based-standards] (PRIi64): Likewise.
57432         [C99-based-standards] (PRIo64): Likewise.
57433         [C99-based-standards] (PRIu64): Likewise.
57434         [C99-based-standards] (PRIx64): Likewise.
57435         [C99-based-standards] (PRIX64): Likewise.
57436         [C99-based-standards] (SCNd64): Likewise.
57437         [C99-based-standards] (SCNi64): Likewise.
57438         [C99-based-standards] (SCNo64): Likewise.
57439         [C99-based-standards] (SCNu64): Likewise.
57440         [C99-based-standards] (SCNx64): Likewise.
57441         [C99-based-standards] (PRIdLEAST64): Likewise.
57442         [C99-based-standards] (PRIiLEAST64): Likewise.
57443         [C99-based-standards] (PRIoLEAST64): Likewise.
57444         [C99-based-standards] (PRIuLEAST64): Likewise.
57445         [C99-based-standards] (PRIxLEAST64): Likewise.
57446         [C99-based-standards] (PRIXLEAST64): Likewise.
57447         [C99-based-standards] (SCNdLEAST64): Likewise.
57448         [C99-based-standards] (SCNiLEAST64): Likewise.
57449         [C99-based-standards] (SCNoLEAST64): Likewise.
57450         [C99-based-standards] (SCNuLEAST64): Likewise.
57451         [C99-based-standards] (SCNxLEAST64): Likewise.
57452         [C99-based-standards] (PRIdFAST64): Likewise.
57453         [C99-based-standards] (PRIiFAST64): Likewise.
57454         [C99-based-standards] (PRIoFAST64): Likewise.
57455         [C99-based-standards] (PRIuFAST64): Likewise.
57456         [C99-based-standards] (PRIxFAST64): Likewise.
57457         [C99-based-standards] (PRIXFAST64): Likewise.
57458         [C99-based-standards] (SCNdFAST64): Likewise.
57459         [C99-based-standards] (SCNiFAST64): Likewise.
57460         [C99-based-standards] (SCNoFAST64): Likewise.
57461         [C99-based-standards] (SCNuFAST64): Likewise.
57462         [C99-based-standards] (SCNxFAST64): Likewise.
57463         [C99-based-standards] (PRIdMAX): Likewise.
57464         [C99-based-standards] (PRIiMAX): Likewise.
57465         [C99-based-standards] (PRIoMAX): Likewise.
57466         [C99-based-standards] (PRIuMAX): Likewise.
57467         [C99-based-standards] (PRIxMAX): Likewise.
57468         [C99-based-standards] (PRIXMAX): Likewise.
57469         [C99-based-standards] (SCNdMAX): Likewise.
57470         [C99-based-standards] (SCNiMAX): Likewise.
57471         [C99-based-standards] (SCNoMAX): Likewise.
57472         [C99-based-standards] (SCNuMAX): Likewise.
57473         [C99-based-standards] (SCNxMAX): Likewise.
57474         [C99-based-standards] (PRIdPTR): Likewise.
57475         [C99-based-standards] (PRIiPTR): Likewise.
57476         [C99-based-standards] (PRIoPTR): Likewise.
57477         [C99-based-standards] (PRIuPTR): Likewise.
57478         [C99-based-standards] (PRIxPTR): Likewise.
57479         [C99-based-standards] (PRIXPTR): Likewise.
57480         [C99-based-standards] (SCNdPTR): Likewise.
57481         [C99-based-standards] (SCNiPTR): Likewise.
57482         [C99-based-standards] (SCNoPTR): Likewise.
57483         [C99-based-standards] (SCNuPTR): Likewise.
57484         [C99-based-standards] (SCNxPTR): Likewise.
57485         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57486         allow.
57487         * conform/data/stdint.h-data: Update comments to clarify
57488         requirements.
57489         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57490         type.
57491         [C99-based standards] (INT8_MAX): Likewise.
57492         [C99-based standards] (INT16_MIN): Likewise.
57493         [C99-based standards] (INT16_MAX): Likewise.
57494         [C99-based standards] (INT32_MIN): Likewise.
57495         [C99-based standards] (INT32_MAX): Likewise.
57496         [C99-based standards] (INT64_MIN): Likewise.
57497         [C99-based standards] (INT64_MAX): Likewise.
57498         [C99-based standards] (UINT8_MAX): Likewise.
57499         [C99-based standards] (UINT16_MAX): Likewise.
57500         [C99-based standards] (UINT32_MAX): Likewise.
57501         [C99-based standards] (UINT64_MAX): Likewise.
57502         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57503         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57504         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57505         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57506         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57507         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57508         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57509         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57510         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57511         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57512         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57513         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57514         [C99-based standards] (INT_FAST8_MIN): Likewise.
57515         [C99-based standards] (INT_FAST8_MAX): Likewise.
57516         [C99-based standards] (INT_FAST16_MIN): Likewise.
57517         [C99-based standards] (INT_FAST16_MAX): Likewise.
57518         [C99-based standards] (INT_FAST32_MIN): Likewise.
57519         [C99-based standards] (INT_FAST32_MAX): Likewise.
57520         [C99-based standards] (INT_FAST64_MIN): Likewise.
57521         [C99-based standards] (INT_FAST64_MAX): Likewise.
57522         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57523         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57524         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57525         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57526         [C99-based standards] (INTPTR_MIN): Likewise.
57527         [C99-based standards] (INTPTR_MAX): Likewise.
57528         [C99-based standards] (UINTPTR_MAX): Likewise.
57529         [C99-based standards] (INTMAX_MIN): Likewise.
57530         [C99-based standards] (INTMAX_MAX): Likewise.
57531         [C99-based standards] (UINTMAX_MAX): Likewise.
57532         [C99-based standards] (PTRDIFF_MIN): Likewise.
57533         [C99-based standards] (PTRDIFF_MAX): Likewise.
57534         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57535         [C99-based standards] (SIZE_MAX): Likewise.
57536         [C99-based standards] (WCHAR_MAX): Likewise.
57537         [C99-based standards] (WINT_MAX): Likewise.
57538         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57539         constraint on value.
57540         [C99-based standards] (WCHAR_MIN): Likewise.
57541         [C99-based standards] (WINT_MIN): Likewise.
57542         [C99-based standards] (*_t): Allow.
57543         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57544         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57545         Include math.h-data and complex.h-data.  Remove all expectations
57546         of math.h and complex.h contents.
57547         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57548         at end of line.
57549         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57550         (struct tm): Expect tag.
57551         [C99-based-standards] (wcstof): Expect function.
57552         [C99-based-standards] (wcstold): Likewise.
57553         [C99-based-standards] (wcstoll): Likewise.
57554         [C99-based-standards] (wcstoull): Likewise.
57555         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57556         macro-int-constant.  Specify type.
57557         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57558         constraint on value.
57559         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57560         Specify type.
57561         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57562         Specify value.
57563         [ISO C standards]: Do not allow headers.
57564         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57565         wcs[abcdefghijklmnopqrstuvwxyz]*.
57566         [ISO C standards] (*_t): Do not allow.
57567         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57568         Expect function.
57569         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57570         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57571         Specify type.
57572         [ISO C standards]: Do not allow headers.
57573         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57574         is[abcdefghijklmnopqrstuvwxyz]*.
57575         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57576         to[abcdefghijklmnopqrstuvwxyz]*.
57577         [ISO C standards] (*_t): Do not allow.
57578         * conform/data/stdalign.h-data: New file.
57579         * conform/data/stdbool.h-data: Likewise.
57580         * conform/data/stdnoreturn.h-data: Likewise.
57582 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57584         [BZ #14815]
57585         * manual/filesys.texi (Directory Entries): Typo fix.
57586         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57588 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57590         * elf/elf.h (EM_AARCH64): New macro.
57591         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57592         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57593         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57594         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57595         (R_AARCH64_TLSDESC): Likewise.
57596         (NT_ARM_TLS): Likewise.
57597         (NT_ARM_HW_BREAK): Likewise.
57598         (NT_ARM_HW_WATCH): Likewise.
57600 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57602         [BZ #14811]
57603         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57604         (__ieee754_powl): Saturate nonzero exponents with absolute value
57605         below 0x1p-79 to +/- 0x1p-79.
57606         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57607         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57608         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57609         nonzero exponents with absolute value below 0x1p-32 to +/-
57610         0x1p-32.
57611         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57612         (__ieee754_powl): Saturate nonzero exponents with absolute value
57613         below 0x1p-79 to +/- 0x1p-79.
57614         * math/libm-test.inc (pow_test): Add more tests.
57616 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57618         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57619         _dl_s390_cap_flags with kernel. Increase string length.
57620         (_dl_s390_platforms): Add z196 and zEC12.
57622 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57624         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57625         Change XOPEN21K to XOPEN2K.
57627 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57629         * string/memmove.c: Use memcpy when possible.
57631 2012-11-06  Andreas Jaeger  <aj@suse.de>
57633         * po/eo.po: Update from translation team.
57635 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57637         [BZ #14793]
57638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57639         exponent and small x and y exponents, scale x or y up.  Increase
57640         by 2 the exponent used in scaling up.
57641         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57643         * math/libm-test.inc (fma_test): Add more tests.
57644         (fma_test_towardzero): Likewise.
57645         (fma_test_downward): Likewise.
57646         (fma_test_upward): Likewise.
57648 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57650         [BZ #14805]
57651         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57652         fenv_t *.
57654         [BZ #14801]
57655         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57656         namespace for names of struct fields.
57657         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57658         fenv_t fields.
57659         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57660         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57662 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57664         [BZ #3665]
57665         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57667 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57669         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57670         PTR_DEMANGLE.
57672         [BZ #5246]
57673         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57674         PTR_DEMANGLE.
57676 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57678         [BZ #14797]
57679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57680         definitely overflow as x * y not x * y + z.
57681         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57683         * math/libm-test.inc (fma_test): Add more tests.
57684         (fma_test_towardzero): Likewise.
57685         (fma_test_downward): Likewise.
57686         (fma_test_upward): Likewise.
57688 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57690         [BZ #157]
57692         * include/stub-tag.h: Remove file.
57693         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57694         '#include' of it.
57695         * manual/maint.texi (Porting): Don't reference it.
57696         * Makerules ($(objpfx)stubs): Likewise.
57697         * dirent/closedir.c: Don't include <stub-tag.h>.
57698         * dirent/dirfd.c: Likewise.
57699         * dirent/fdopendir.c: Likewise.
57700         * dirent/getdents.c: Likewise.
57701         * dirent/getdents64.c: Likewise.
57702         * dirent/opendir.c: Likewise.
57703         * dirent/readdir.c: Likewise.
57704         * dirent/readdir64.c: Likewise.
57705         * dirent/readdir64_r.c: Likewise.
57706         * dirent/readdir_r.c: Likewise.
57707         * dirent/rewinddir.c: Likewise.
57708         * dirent/seekdir.c: Likewise.
57709         * dirent/telldir.c: Likewise.
57710         * gmon/profil.c: Likewise.
57711         * grp/setgroups.c: Likewise.
57712         * inet/if_index.c: Likewise.
57713         * io/access.c: Likewise.
57714         * io/chdir.c: Likewise.
57715         * io/chmod.c: Likewise.
57716         * io/chown.c: Likewise.
57717         * io/close.c: Likewise.
57718         * io/dup.c: Likewise.
57719         * io/dup2.c: Likewise.
57720         * io/dup3.c: Likewise.
57721         * io/euidaccess.c: Likewise.
57722         * io/faccessat.c: Likewise.
57723         * io/fchdir.c: Likewise.
57724         * io/fchmod.c: Likewise.
57725         * io/fchmodat.c: Likewise.
57726         * io/fchown.c: Likewise.
57727         * io/fchownat.c: Likewise.
57728         * io/fcntl.c: Likewise.
57729         * io/flock.c: Likewise.
57730         * io/fstatfs.c: Likewise.
57731         * io/fstatfs64.c: Likewise.
57732         * io/fstatvfs.c: Likewise.
57733         * io/fstatvfs64.c: Likewise.
57734         * io/futimens.c: Likewise.
57735         * io/fxstat.c: Likewise.
57736         * io/fxstat64.c: Likewise.
57737         * io/fxstatat.c: Likewise.
57738         * io/fxstatat64.c: Likewise.
57739         * io/getcwd.c: Likewise.
57740         * io/isatty.c: Likewise.
57741         * io/lchmod.c: Likewise.
57742         * io/lchown.c: Likewise.
57743         * io/link.c: Likewise.
57744         * io/linkat.c: Likewise.
57745         * io/lseek.c: Likewise.
57746         * io/lseek64.c: Likewise.
57747         * io/lxstat64.c: Likewise.
57748         * io/mkdir.c: Likewise.
57749         * io/mkdirat.c: Likewise.
57750         * io/mkfifo.c: Likewise.
57751         * io/mkfifoat.c: Likewise.
57752         * io/open.c: Likewise.
57753         * io/open64.c: Likewise.
57754         * io/openat.c: Likewise.
57755         * io/openat64.c: Likewise.
57756         * io/pipe.c: Likewise.
57757         * io/pipe2.c: Likewise.
57758         * io/poll.c: Likewise.
57759         * io/posix_fadvise.c: Likewise.
57760         * io/posix_fadvise64.c: Likewise.
57761         * io/posix_fallocate.c: Likewise.
57762         * io/posix_fallocate64.c: Likewise.
57763         * io/read.c: Likewise.
57764         * io/readlink.c: Likewise.
57765         * io/readlinkat.c: Likewise.
57766         * io/rmdir.c: Likewise.
57767         * io/sendfile.c: Likewise.
57768         * io/sendfile64.c: Likewise.
57769         * io/statfs.c: Likewise.
57770         * io/statfs64.c: Likewise.
57771         * io/statvfs.c: Likewise.
57772         * io/statvfs64.c: Likewise.
57773         * io/symlink.c: Likewise.
57774         * io/symlinkat.c: Likewise.
57775         * io/ttyname.c: Likewise.
57776         * io/ttyname_r.c: Likewise.
57777         * io/umask.c: Likewise.
57778         * io/unlink.c: Likewise.
57779         * io/unlinkat.c: Likewise.
57780         * io/utime.c: Likewise.
57781         * io/utimensat.c: Likewise.
57782         * io/write.c: Likewise.
57783         * io/xmknod.c: Likewise.
57784         * io/xmknodat.c: Likewise.
57785         * io/xstat.c: Likewise.
57786         * io/xstat64.c: Likewise.
57787         * login/getpt.c: Likewise.
57788         * login/grantpt.c: Likewise.
57789         * login/unlockpt.c: Likewise.
57790         * math/e_acoshl.c: Likewise.
57791         * math/e_acosl.c: Likewise.
57792         * math/e_asinl.c: Likewise.
57793         * math/e_atan2l.c: Likewise.
57794         * math/e_atanhl.c: Likewise.
57795         * math/e_coshl.c: Likewise.
57796         * math/e_expl.c: Likewise.
57797         * math/e_fmodl.c: Likewise.
57798         * math/e_gammal_r.c: Likewise.
57799         * math/e_hypotl.c: Likewise.
57800         * math/e_j0l.c: Likewise.
57801         * math/e_j1l.c: Likewise.
57802         * math/e_jnl.c: Likewise.
57803         * math/e_lgammal_r.c: Likewise.
57804         * math/e_log10l.c: Likewise.
57805         * math/e_log2l.c: Likewise.
57806         * math/e_logl.c: Likewise.
57807         * math/e_powl.c: Likewise.
57808         * math/e_rem_pio2l.c: Likewise.
57809         * math/e_sinhl.c: Likewise.
57810         * math/e_sqrtl.c: Likewise.
57811         * math/fclrexcpt.c: Likewise.
57812         * math/fedisblxcpt.c: Likewise.
57813         * math/feenablxcpt.c: Likewise.
57814         * math/fegetenv.c: Likewise.
57815         * math/fegetexcept.c: Likewise.
57816         * math/fegetround.c: Likewise.
57817         * math/feholdexcpt.c: Likewise.
57818         * math/fesetenv.c: Likewise.
57819         * math/fesetround.c: Likewise.
57820         * math/feupdateenv.c: Likewise.
57821         * math/fgetexcptflg.c: Likewise.
57822         * math/fraiseexcpt.c: Likewise.
57823         * math/fsetexcptflg.c: Likewise.
57824         * math/ftestexcept.c: Likewise.
57825         * math/k_cosl.c: Likewise.
57826         * math/k_rem_pio2l.c: Likewise.
57827         * math/k_sinl.c: Likewise.
57828         * math/k_tanl.c: Likewise.
57829         * math/s_asinhl.c: Likewise.
57830         * math/s_atanl.c: Likewise.
57831         * math/s_cbrtl.c: Likewise.
57832         * math/s_erfl.c: Likewise.
57833         * math/s_expm1l.c: Likewise.
57834         * math/s_log1pl.c: Likewise.
57835         * math/s_tanhl.c: Likewise.
57836         * misc/acct.c: Likewise.
57837         * misc/brk.c: Likewise.
57838         * misc/chflags.c: Likewise.
57839         * misc/chroot.c: Likewise.
57840         * misc/fchflags.c: Likewise.
57841         * misc/fgetxattr.c: Likewise.
57842         * misc/flistxattr.c: Likewise.
57843         * misc/fremovexattr.c: Likewise.
57844         * misc/fsetxattr.c: Likewise.
57845         * misc/fsync.c: Likewise.
57846         * misc/ftruncate.c: Likewise.
57847         * misc/futimes.c: Likewise.
57848         * misc/futimesat.c: Likewise.
57849         * misc/getdomain.c: Likewise.
57850         * misc/getdtsz.c: Likewise.
57851         * misc/gethostid.c: Likewise.
57852         * misc/gethostname.c: Likewise.
57853         * misc/getloadavg.c: Likewise.
57854         * misc/getpagesize.c: Likewise.
57855         * misc/getsysstats.c: Likewise.
57856         * misc/getxattr.c: Likewise.
57857         * misc/gtty.c: Likewise.
57858         * misc/ioctl.c: Likewise.
57859         * misc/lgetxattr.c: Likewise.
57860         * misc/listxattr.c: Likewise.
57861         * misc/llistxattr.c: Likewise.
57862         * misc/lremovexattr.c: Likewise.
57863         * misc/lsetxattr.c: Likewise.
57864         * misc/lutimes.c: Likewise.
57865         * misc/madvise.c: Likewise.
57866         * misc/mincore.c: Likewise.
57867         * misc/mlock.c: Likewise.
57868         * misc/mlockall.c: Likewise.
57869         * misc/mmap.c: Likewise.
57870         * misc/mprotect.c: Likewise.
57871         * misc/msync.c: Likewise.
57872         * misc/munlock.c: Likewise.
57873         * misc/munlockall.c: Likewise.
57874         * misc/munmap.c: Likewise.
57875         * misc/preadv.c: Likewise.
57876         * misc/preadv64.c: Likewise.
57877         * misc/ptrace.c: Likewise.
57878         * misc/pwritev.c: Likewise.
57879         * misc/pwritev64.c: Likewise.
57880         * misc/readv.c: Likewise.
57881         * misc/reboot.c: Likewise.
57882         * misc/remap_file_pages.c: Likewise.
57883         * misc/removexattr.c: Likewise.
57884         * misc/revoke.c: Likewise.
57885         * misc/select.c: Likewise.
57886         * misc/setdomain.c: Likewise.
57887         * misc/setegid.c: Likewise.
57888         * misc/seteuid.c: Likewise.
57889         * misc/sethostid.c: Likewise.
57890         * misc/sethostname.c: Likewise.
57891         * misc/setregid.c: Likewise.
57892         * misc/setreuid.c: Likewise.
57893         * misc/setxattr.c: Likewise.
57894         * misc/sstk.c: Likewise.
57895         * misc/stty.c: Likewise.
57896         * misc/swapoff.c: Likewise.
57897         * misc/swapon.c: Likewise.
57898         * misc/sync.c: Likewise.
57899         * misc/syncfs.c: Likewise.
57900         * misc/syscall.c: Likewise.
57901         * misc/truncate.c: Likewise.
57902         * misc/ualarm.c: Likewise.
57903         * misc/usleep.c: Likewise.
57904         * misc/ustat.c: Likewise.
57905         * misc/utimes.c: Likewise.
57906         * misc/vhangup.c: Likewise.
57907         * misc/writev.c: Likewise.
57908         * posix/_exit.c: Likewise.
57909         * posix/alarm.c: Likewise.
57910         * posix/execve.c: Likewise.
57911         * posix/fexecve.c: Likewise.
57912         * posix/fork.c: Likewise.
57913         * posix/fpathconf.c: Likewise.
57914         * posix/getaddrinfo.c: Likewise.
57915         * posix/getegid.c: Likewise.
57916         * posix/geteuid.c: Likewise.
57917         * posix/getgid.c: Likewise.
57918         * posix/getgroups.c: Likewise.
57919         * posix/getlogin.c: Likewise.
57920         * posix/getlogin_r.c: Likewise.
57921         * posix/getpgid.c: Likewise.
57922         * posix/getpid.c: Likewise.
57923         * posix/getppid.c: Likewise.
57924         * posix/getresgid.c: Likewise.
57925         * posix/getresuid.c: Likewise.
57926         * posix/getsid.c: Likewise.
57927         * posix/getuid.c: Likewise.
57928         * posix/glob64.c: Likewise.
57929         * posix/nanosleep.c: Likewise.
57930         * posix/pathconf.c: Likewise.
57931         * posix/pause.c: Likewise.
57932         * posix/posix_madvise.c: Likewise.
57933         * posix/pread.c: Likewise.
57934         * posix/pread64.c: Likewise.
57935         * posix/pwrite.c: Likewise.
57936         * posix/pwrite64.c: Likewise.
57937         * posix/sched_getaffinity.c: Likewise.
57938         * posix/sched_getp.c: Likewise.
57939         * posix/sched_gets.c: Likewise.
57940         * posix/sched_primax.c: Likewise.
57941         * posix/sched_primin.c: Likewise.
57942         * posix/sched_rr_gi.c: Likewise.
57943         * posix/sched_setaffinity.c: Likewise.
57944         * posix/sched_setp.c: Likewise.
57945         * posix/sched_sets.c: Likewise.
57946         * posix/sched_yield.c: Likewise.
57947         * posix/setgid.c: Likewise.
57948         * posix/setlogin.c: Likewise.
57949         * posix/setpgid.c: Likewise.
57950         * posix/setresgid.c: Likewise.
57951         * posix/setresuid.c: Likewise.
57952         * posix/setsid.c: Likewise.
57953         * posix/setuid.c: Likewise.
57954         * posix/sleep.c: Likewise.
57955         * posix/spawni.c: Likewise.
57956         * posix/sysconf.c: Likewise.
57957         * posix/times.c: Likewise.
57958         * posix/wait.c: Likewise.
57959         * posix/wait3.c: Likewise.
57960         * posix/wait4.c: Likewise.
57961         * posix/waitpid.c: Likewise.
57962         * resolv/gai_sigqueue.c: Likewise.
57963         * resource/getpriority.c: Likewise.
57964         * resource/getrlimit.c: Likewise.
57965         * resource/getrusage.c: Likewise.
57966         * resource/nice.c: Likewise.
57967         * resource/setpriority.c: Likewise.
57968         * resource/setrlimit.c: Likewise.
57969         * resource/ulimit.c: Likewise.
57970         * rt/aio_cancel.c: Likewise.
57971         * rt/aio_fsync.c: Likewise.
57972         * rt/aio_read.c: Likewise.
57973         * rt/aio_sigqueue.c: Likewise.
57974         * rt/aio_suspend.c: Likewise.
57975         * rt/aio_write.c: Likewise.
57976         * rt/clock_getres.c: Likewise.
57977         * rt/clock_gettime.c: Likewise.
57978         * rt/clock_nanosleep.c: Likewise.
57979         * rt/clock_settime.c: Likewise.
57980         * rt/lio_listio.c: Likewise.
57981         * rt/mq_close.c: Likewise.
57982         * rt/mq_getattr.c: Likewise.
57983         * rt/mq_notify.c: Likewise.
57984         * rt/mq_open.c: Likewise.
57985         * rt/mq_receive.c: Likewise.
57986         * rt/mq_send.c: Likewise.
57987         * rt/mq_setattr.c: Likewise.
57988         * rt/mq_timedreceive.c: Likewise.
57989         * rt/mq_timedsend.c: Likewise.
57990         * rt/mq_unlink.c: Likewise.
57991         * rt/shm_open.c: Likewise.
57992         * rt/shm_unlink.c: Likewise.
57993         * rt/timer_create.c: Likewise.
57994         * rt/timer_delete.c: Likewise.
57995         * rt/timer_getoverr.c: Likewise.
57996         * rt/timer_gettime.c: Likewise.
57997         * rt/timer_settime.c: Likewise.
57998         * setjmp/__longjmp.c: Likewise.
57999         * setjmp/setjmp.c: Likewise.
58000         * signal/kill.c: Likewise.
58001         * signal/killpg.c: Likewise.
58002         * signal/raise.c: Likewise.
58003         * signal/sigaction.c: Likewise.
58004         * signal/sigaltstack.c: Likewise.
58005         * signal/sigblock.c: Likewise.
58006         * signal/sigignore.c: Likewise.
58007         * signal/sigintr.c: Likewise.
58008         * signal/signal.c: Likewise.
58009         * signal/sigpause.c: Likewise.
58010         * signal/sigpending.c: Likewise.
58011         * signal/sigqueue.c: Likewise.
58012         * signal/sigreturn.c: Likewise.
58013         * signal/sigset.c: Likewise.
58014         * signal/sigsetmask.c: Likewise.
58015         * signal/sigstack.c: Likewise.
58016         * signal/sigsuspend.c: Likewise.
58017         * signal/sigtimedwait.c: Likewise.
58018         * signal/sigvec.c: Likewise.
58019         * signal/sigwait.c: Likewise.
58020         * signal/sigwaitinfo.c: Likewise.
58021         * signal/sysv_signal.c: Likewise.
58022         * socket/accept.c: Likewise.
58023         * socket/accept4.c: Likewise.
58024         * socket/bind.c: Likewise.
58025         * socket/connect.c: Likewise.
58026         * socket/getpeername.c: Likewise.
58027         * socket/getsockname.c: Likewise.
58028         * socket/getsockopt.c: Likewise.
58029         * socket/isfdtype.c: Likewise.
58030         * socket/listen.c: Likewise.
58031         * socket/recv.c: Likewise.
58032         * socket/recvfrom.c: Likewise.
58033         * socket/recvmsg.c: Likewise.
58034         * socket/send.c: Likewise.
58035         * socket/sendmsg.c: Likewise.
58036         * socket/sendto.c: Likewise.
58037         * socket/setsockopt.c: Likewise.
58038         * socket/shutdown.c: Likewise.
58039         * socket/sockatmark.c: Likewise.
58040         * socket/socket.c: Likewise.
58041         * socket/socketpair.c: Likewise.
58042         * stdio-common/ctermid.c: Likewise.
58043         * stdio-common/cuserid.c: Likewise.
58044         * stdio-common/remove.c: Likewise.
58045         * stdio-common/rename.c: Likewise.
58046         * stdio-common/renameat.c: Likewise.
58047         * stdio-common/tempname.c: Likewise.
58048         * stdlib/getcontext.c: Likewise.
58049         * stdlib/makecontext.c: Likewise.
58050         * stdlib/setcontext.c: Likewise.
58051         * stdlib/swapcontext.c: Likewise.
58052         * stdlib/system.c: Likewise.
58053         * streams/fattach.c: Likewise.
58054         * streams/fdetach.c: Likewise.
58055         * streams/getmsg.c: Likewise.
58056         * streams/getpmsg.c: Likewise.
58057         * streams/putmsg.c: Likewise.
58058         * streams/putpmsg.c: Likewise.
58059         * sysdeps/unix/bsd/getpt.c: Likewise.
58060         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58061         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58062         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58064         Likewise.
58065         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58066         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58067         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58068         * sysvipc/msgctl.c: Likewise.
58069         * sysvipc/msgget.c: Likewise.
58070         * sysvipc/msgrcv.c: Likewise.
58071         * sysvipc/msgsnd.c: Likewise.
58072         * sysvipc/semctl.c: Likewise.
58073         * sysvipc/semget.c: Likewise.
58074         * sysvipc/semop.c: Likewise.
58075         * sysvipc/semtimedop.c: Likewise.
58076         * sysvipc/shmat.c: Likewise.
58077         * sysvipc/shmctl.c: Likewise.
58078         * sysvipc/shmdt.c: Likewise.
58079         * sysvipc/shmget.c: Likewise.
58080         * termios/tcdrain.c: Likewise.
58081         * termios/tcflow.c: Likewise.
58082         * termios/tcflush.c: Likewise.
58083         * termios/tcgetattr.c: Likewise.
58084         * termios/tcgetpgrp.c: Likewise.
58085         * termios/tcsendbrk.c: Likewise.
58086         * termios/tcsetattr.c: Likewise.
58087         * termios/tcsetpgrp.c: Likewise.
58088         * time/adjtime.c: Likewise.
58089         * time/clock.c: Likewise.
58090         * time/getitimer.c: Likewise.
58091         * time/gettimeofday.c: Likewise.
58092         * time/setitimer.c: Likewise.
58093         * time/settimeofday.c: Likewise.
58094         * time/stime.c: Likewise.
58095         * time/time.c: Likewise.
58097 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58099         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58100         /usr/old/bin.
58102         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58103         instead of spaces.
58104         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58106 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58108         [BZ #14796]
58109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58110         FE_TONEAREST before applying Dekker multiplication and Knuth
58111         addition.  Clear inexact exceptions and check for exact zero
58112         results afterwards.
58113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58114         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58115         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58116         * math/libm-test.inc (fma_test): Add more tests.
58117         (fma_test_towardzero): Likewise.
58118         (fma_test_downward): Likewise.
58119         (fma_test_upward): Likewise.
58120         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58121         function.
58122         (libc_fesetround): New macro.
58123         (libc_fesetroundf): Likewise.
58124         (libc_fesetroundl): Likewise.
58125         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58126         function.
58127         (libc_fesetround_387): Likewise.
58128         (libc_fesetroundf): New macro.
58129         (libc_fesetround): Likewise.
58130         (libc_fesetroundl): Likewise.
58131         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58132         function.
58133         (libc_fesetroundf): New macro.
58134         (libc_fesetround): Likewise.
58135         (libc_fesetroundl): Likewise.
58136         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58137         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58138         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58139         libm_hidden_ver.
58140         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58141         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58142         libm_hidden_def.
58143         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58144         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58145         libm_hidden_ver.
58146         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58147         libm_hidden_def.
58149         [BZ #3439]
58150         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58151         integer constant usable in #if and use that to give value to enum
58152         constant.
58153         (FE_DIVBYZERO): Likewise.
58154         (FE_UNDERFLOW): Likewise.
58155         (FE_OVERFLOW): Likewise.
58156         (FE_INVALID): Likewise.
58157         (FE_INVALID_SNAN): Likewise.
58158         (FE_INVALID_ISI): Likewise.
58159         (FE_INVALID_IDI): Likewise.
58160         (FE_INVALID_ZDZ): Likewise.
58161         (FE_INVALID_IMZ): Likewise.
58162         (FE_INVALID_COMPARE): Likewise.
58163         (FE_INVALID_SOFTWARE): Likewise.
58164         (FE_INVALID_SQRT): Likewise.
58165         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58166         (FE_TONEAREST): Likewise.
58167         (FE_TOWARDZERO): Likewise.
58168         (FE_UPWARD): Likewise.
58169         (FE_DOWNWARD): Likewise.
58170         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58171         (FE_DIVBYZERO): Likewise.
58172         (FE_OVERFLOW): Likewise.
58173         (FE_UNDERFLOW): Likewise.
58174         (FE_INEXACT): Likewise.
58175         (FE_TONEAREST): Likewise.
58176         (FE_DOWNWARD): Likewise.
58177         (FE_UPWARD): Likewise.
58178         (FE_TOWARDZERO): Likewise.
58179         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58180         (FE_UNDERFLOW): Likewise.
58181         (FE_OVERFLOW): Likewise.
58182         (FE_DIVBYZERO): Likewise.
58183         (FE_INVALID): Likewise.
58184         (FE_TONEAREST): Likewise.
58185         (FE_TOWARDZERO): Likewise.
58186         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58187         (FE_OVERFLOW): Likewise.
58188         (FE_UNDERFLOW): Likewise.
58189         (FE_DIVBYZERO): Likewise.
58190         (FE_INEXACT): Likewise.
58191         (FE_TONEAREST): Likewise.
58192         (FE_TOWARDZERO): Likewise.
58193         (FE_UPWARD): Likewise.
58194         (FE_DOWNWARD): Likewise.
58195         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58196         (FE_DIVBYZERO): Likewise.
58197         (FE_OVERFLOW): Likewise.
58198         (FE_UNDERFLOW): Likewise.
58199         (FE_INEXACT): Likewise.
58200         (FE_TONEAREST): Likewise.
58201         (FE_DOWNWARD): Likewise.
58202         (FE_UPWARD): Likewise.
58203         (FE_TOWARDZERO): Likewise.
58205 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58207         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58209 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58211         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58212         commands.  Quote $PWD.
58213         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58214         -x" by "export".
58215         (remove_newlines): Remove.
58217 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58219         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58220         * stdlib/stdlib.h (atof): Moved to ...
58221         * include/bits/stdlib-float.h: Here.  New file.
58222         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58223         * stdlib/bits/stdlib-float.h: New file.
58224         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58225         -mno-sse -mno-mmx.
58226         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58227         <xmmintrin.h>.
58229 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58231         * conform/conformtest.pl (@headers): Add fenv.h.
58232         * conform/data/fenv.h-data: New file.
58233         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58234         include of <math/fenv.h>.
58236         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58237         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58238         && !UNIX98].  Enables tests for XOPEN2K8.
58239         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58240         POSIX2008]: Likewise.
58242         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58243         (struct rusage): Do not expect type or its members.
58245         [BZ #3439]
58246         * math/math.h (FP_NAN): Define macro to integer constant usable in
58247         #if and use that to give value to enum constant.
58248         (FP_INFINITE): Likewise.
58249         (FP_ZERO): Likewise.
58250         (FP_SUBNORMAL): Likewise.
58251         (FP_NORMAL): Likewise.
58253 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58255         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58256         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58257         arguments.
58259 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58261         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58262         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58263         autoconf-time if not.
58264         * configure.in: Remove AC_PREREQ.
58266 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58268         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58269         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58270         of the internal implementation.
58272 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58274         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58275         except include of <misc/sys/syslog.h>.
58277 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58280         function returns with a NULL context exit with zero.
58282 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58284         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58286 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58288         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58289         (run_program_cmd): This.
58290         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58291         (tst_langinfo): New variable.  Use it.
58293 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58295         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58296         floating point opcodes.
58298 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58300         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58301         variable.
58303         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58305         * sysdeps/mach/hurd/powerpc: Remove directory.
58306         * sysdeps/mach/powerpc: Likewise.
58308 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58310         * scripts/check-local-headers.sh: Ignore c++ headers.
58312 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58314         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58315         __libc_cleanup_region_start argument.
58317 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58319         [BZ #14784]
58320         [BZ #14785]
58321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58322         x * y using scaling, not as x * y + z.
58323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58325         * math/libm-test.inc (fma_test): Add more tests.
58326         (fma_test_towardzero): Likewise.
58327         (fma_test_downward): Likewise.
58328         (fma_test_upward): Likewise.
58330 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58332         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58334 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58336         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58337         New variable.
58339 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58341         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58343 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58346         Fix sort order.
58347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58348         Likewise.
58350 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58353         Fix the order of the list for glibc 2.17.
58354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58355         Likewise.
58357 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58361 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58363         [BZ #14610]
58364         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58365         for low part of x being zero before using __atanl (y).
58366         * math/libm-test.inc (atan2_test): Add another test.
58368         * manual/install.texi (Configuring and compiling): Document
58369         general use of test-wrapper and test-wrapper-env.
58370         * INSTALL: Regenerated.
58372         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58373         (__fma): Do not extract and scale down low bits on after-rounding
58374         systems when result rounded to normal precision would have normal
58375         exponent.
58376         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58377         (__fmal): Do not extract and scale down low bits on after-rounding
58378         systems when result rounded to normal precision would have normal
58379         exponent.
58380         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58381         (__fmal): Do not extract and scale down low bits on after-rounding
58382         systems when result rounded to normal precision would have normal
58383         exponent.
58384         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58385         macro.
58386         (fma_test): Add more tests.
58387         (fma_test_towardzero): Likewise.
58388         (fma_test_downward): Likewise.
58389         (fma_test_upward): Likewise.
58391 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58393         * sysdeps/i386/tininess.h: Renamed to ...
58394         * sysdeps/x86/tininess.h: This.
58395         * sysdeps/x86_64/tininess.h: Removed.
58397 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58399         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58400         input.  Use $(build-program-cmd).
58401         ($(objpfx)tst-array1-static.out): Likewise.
58402         ($(objpfx)tst-array2.out): Likewise.
58403         ($(objpfx)tst-array3.out): Likewise.
58404         ($(objpfx)tst-array4.out): Likewise.
58405         ($(objpfx)tst-array5.out): Likewise.
58406         ($(objpfx)tst-array5-static.out): Likewise.
58408 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58410         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58411         if defined.
58413         * nss/nsswitch.h (nss_interface_function): Provide new
58414         macro for use with NSS functions.
58415         * grp/initgroups.c: Use new macro.
58416         * nss/getXXbyYY.c: Likewise.
58417         * nss/getXXbyYY_r.c: Likewise.
58418         * nss/getXXent.c: Likewise.
58419         * nss/getXXent_r.c: Likewise.
58420         * sysdeps/posix/getaddrinfo.c: Likewise.
58422 2012-10-30  Andreas Jaeger  <aj@suse.de>
58424         * po/ru.po: Update Russion translation from translation project.
58426 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58428         [BZ #14152]
58429         [BZ #14783]
58430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58431         result and shift together with sticky bit instead of replicating
58432         round-to-nearest rounding.
58433         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58435         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58436         missing underflow exceptions.
58437         (fma_test_towardzero): Add more tests.
58438         (fma_test_downward): Likewise.
58439         (fma_test_upward): Likewise.
58441         [BZ #14047]
58442         * sysdeps/generic/tininess.h: New file.
58443         * sysdeps/i386/tininess.h: Likewise.
58444         * sysdeps/sh/tininess.h: Likewise.
58445         * sysdeps/x86_64/tininess.h: Likewise.
58446         * stdlib/tst-strtod-underflow.c: Likewise.
58447         * stdlib/tst-tininess.c: Likewise.
58448         * stdlib/strtod_l.c: Include <tininess.h>.
58449         (round_and_return): Do not set errno for exact underflow cases.
58450         Force an underflow exception when setting errno for underflow.
58451         Determine underflow based on rounding to normal precision if
58452         TININESS_AFTER_ROUNDING.
58453         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58454         ERANGE for exact underflow cases.
58455         * stdlib/Makefile (tests): Add tst-tininess and
58456         tst-strtod-underflow.
58457         ($(objpfx)tst-tininess): Use $(link-libm).
58458         ($(objpfx)tst-strtod-underflow): Likewise.
58460 2012-10-30  Andreas Jaeger  <aj@suse.de>
58462         [BZ#14767]
58463         * elf/Makefile (tests): Remove conditional for have-initfini-array
58464         since this is now always required and the variable does not exist
58465         anymore.
58466         (tests-static): Likewise.
58467         (modules-names): Likewise.
58469         * po/eo.po: Add Esperanto translation from translation project.
58471         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58472         merged with constructor/destructor.
58473         (init_array): Likewise.
58474         * elf/tst-array2dep.c (fini_array): Likewise.
58475         (init_array): Likewise.
58477 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58479         * manual/message.texi: Delete @cartouche tags.
58481 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58483         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58484         EOPNOTSUPP.
58485         * sysdeps/mach/hurd/fsync.c: Likewise.
58487         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58488         [_POSIX_REALTIME_SIGNALS]: Change condition to
58489         [_POSIX_REALTIME_SIGNALS > 0].
58491 2012-10-27  Andreas Jaeger  <aj@suse.de>
58493         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58494         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58496         [__WORDSIZE != 64]: Likewise.
58498 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58500         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58501         *  iconvdata/tst-tables.sh: Likewise.
58503 2012-10-25  David S. Miller  <davem@davemloft.net>
58505         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58506         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58507         of strtoull.
58509         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58510         ifunc-impl-list.c
58511         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58512         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58513         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58514         file.
58516 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58518         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58519         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58520         __getdirentries.
58522 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58523             Jim Blandy  <jimb@codesourcery.com>
58525         * scripts/cross-test-ssh.sh: New file.
58526         * manual/install.texi (Configuring and compiling): Document use of
58527         cross-test-ssh.sh.
58528         * INSTALL: Regenerated.
58530 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58532         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58533         EOPNOTSUPP.
58535 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58537         * Makeconfig (run-program-prefix): Fix comment.
58539 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58540             Jim Blandy  <jimb@codesourcery.com>
58542         * Makeconfig (test-wrapper): New variable,
58543         (test-wrapper-env): Likewise.
58544         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58545         (run-built-tests): Define to yes.
58546         (run-program-prefix): Use $(test-wrapper).
58547         (built-program-cmd): Likewise.
58548         * Rules (make-test-out): Use $(test-wrapper-env) and
58549         $(host-built-program-cmd).
58550         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58551         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58552         tst-pathopt.sh.
58553         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58554         $(test-wrapper-env) to tst-rtld-load-self.sh.
58555         ($(objpfx)order2.out): Use $(test-wrapper).
58556         ($(objpfx)tst-initorder.out): Likewise.
58557         ($(objpfx)tst-initorder2.out): Likewise.
58558         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58559         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58560         (test_wrapper_env): New variable.  Use it to run ld.so.
58561         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58562         Use it to run ld.so.
58563         (test_wrapper_env): Likewise.
58564         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58565         $(test-wrapper) to run-iconv-test.sh.
58566         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58567         (ICONV): Use $test_wrapper.
58568         * posix/Makefile ($(objpfx)globtest.out): Pass
58569         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58570         globtest.sh, not $(run-program-prefix).
58571         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58572         (test_wrapper): Likewise.
58573         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58574         set together with run_via_rtld_prefix.
58575         (run_program_prefix): Define in terms of test_wrapper and
58576         run_via_rtld_prefix.
58578 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58580         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58581         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58582         Targets removed.
58584         [BZ #14743]
58585         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58586         Declare __clock_getres, __clock_gettime, __clock_settime,
58587         __clock_nanosleep, and __clock_getcpuclockid.
58588         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58589         Remove librt_hidden_def (clock_gettime).
58590         * sysdeps/unix/clock_gettime.c: Likewise.
58591         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58592         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58593         * rt/clock_getres.c: Define __clock_getres as an alias.
58594         * sysdeps/posix/clock_getres.c: Likewise.
58595         * rt/clock_settime.c: Define __clock_settime as an alias.
58596         * sysdeps/unix/clock_settime.c: Likewise.
58597         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58598         * sysdeps/unix/clock_nanosleep.c: Likewise.
58599         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58600         * rt/clock-compat.c: New file.
58601         * rt/Makefile (librt-routines): Add clock-compat and move
58602         $(clock-routines) to ...
58603         (routines): ... here, new variable.
58604         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58605         Don't add get_clockfreq here.
58606         * rt/Versions (libc: GLIBC_2.17): New version set.
58607         Add clock_* symbols here.
58608         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58609         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58610         (GLIBC_2.17): Add clock_* symbols.
58611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58613         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58615         Likewise.
58616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58617         Likewise.
58618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58622         * NEWS: Mention the move.
58624         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58625         Use __open, __read, __close rather than their public counterparts.
58626         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58627         (__get_clockfreq_via_cpuinfo): Likewise.
58628         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58629         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58631         * config.h.in (HAVE_IFUNC): New #undef.
58632         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58633         was successful.
58634         * configure: Regenerated.
58636 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58638         * configure.in: Move READELF check to start of file.
58639         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58640         libc_cv_asm_gnu_indirect_function in the process.
58641         * configure: Regenerated.
58643 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58645         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58646         send the output to /dev/null.
58647         (libc_cv_cc_with_libunwind): Likewise.
58648         (libc_cv_as_noexecstack): Likewise.
58649         * configure: Regenerate.
58651 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58653         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58655         * posix/globtest.sh (TMPDIR): Do not set.
58656         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58657         (testout): Likewise.
58659 2012-10-24  Andreas Jaeger  <aj@suse.de>
58661         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58662         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58663         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58664         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58665         posix_fadvise64, posix_fallocate64.
58667         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58668         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58669         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58670         Likewise.
58671         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58672         Likewise.
58673         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58675         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58676         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58677         <bits/fcntl-linux.h>.
58678         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58681         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58682         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58683         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58684         [__WORDSIZE != 64]: Likewise.
58686 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58688         * Makeconfig (run-built-tests): New variable.
58689         * Rules [$(cross-compiling) = yes]: Change condition to
58690         [$(run-built-tests) = no].
58691         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58692         to [$(run-built-tests) = yes].
58693         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58694         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58695         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58696         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58697         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58698         * io/Makefile [$(cross-compiling) = no]: Likewise.
58699         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58700         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58701         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58702         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58703         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58704         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58705         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58706         * string/Makefile [$(cross-compiling) = no]: Likewise.
58708         * posix/Makefile ($(objpfx)globtest.out): Pass
58709         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58710         $(rtld-installed-name).
58711         * posix/globtest.sh (elf_objpfx): Remove variable.
58712         (rtld_installed_name): Likewise.
58713         (library_path): Likewise.
58714         (run_program_prefix): New variable.  Use for running globtest
58715         binary.
58717 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58718             Joseph Myers  <joseph@codesourcery.com>
58720         * Makeconfig (host-built-program-cmd): New variable.
58721         * elf/Makefile (tst-stackguard1-ARGS): Use
58722         $(host-built-program-cmd).
58723         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58724         (tst-spawn-ARGS): Likewise.
58725         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58727 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58728             Jim Blandy  <jimb@codesourcery.com>
58730         * Makeconfig (run-via-rtld-prefix): New variable.
58731         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58732         (built-program-cmd): Likewise.
58734 2012-10-22  Andreas Jaeger  <aj@suse.de>
58736         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58737         __O_RSYNC if it exists, otherwise to O_SYNC.
58739 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58740             Joseph Myers  <joseph@codesourcery.com>
58742         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58743         /dev/null.
58744         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58745         from /dev/null
58746         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58747         /dev/null.
58749 2012-10-22  Andreas Jaeger  <aj@suse.de>
58751         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58752         Define always.
58753         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58755         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58756         bits/fcntl-linux.h.
58758         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58759         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58762         to __O_LARGEFILE.
58763         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58764         to __O_LARGEFILE.
58766 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58767             Joseph Myers  <joseph@codesourcery.com>
58769         * config.make.in (NM): New variable.
58771 2012-10-21  Andreas Jaeger  <aj@suse.de>
58773         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58774         definitions and declarations that are provided by
58775         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58777 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58779         [BZ #14683]
58780         * elf/Makefile (tests-static): Add tst-leaks1-static.
58781         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58782         ($(objpfx)tst-leaks1-static): New rule.
58783         ($(objpfx)tst-leaks1-static-mem): Likewise.
58784         (tst-leaks1-static-ENV): New macro.
58785         * elf/dl-open.c (dl_open_worker): Check the main application
58786         only if SHARED is defined.
58787         * elf/tst-leaks1-static.c: New file.
58789 2012-10-20  Andreas Jaeger  <aj@suse.de>
58791         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58792         generic values for Linux.
58793         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58794         and declarations that are provided by <bits/fcntl-linux.h> and
58795         include <bits/fcntl-linux.h>.
58796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58797         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58799 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58801         * io/fcntl.h: Move include of <bits/types.h> to the top and
58802         include it unconditionally.
58804 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58806         * wcsmbs/Makefile (tests-ifunc): New variable.
58807         (tests): Add $(tests-ifunc).
58808         * wcsmbs/test-wcschr-ifunc.c: New file.
58809         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58810         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58811         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58812         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58813         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58815         * string/Makefile (tests-ifunc): New variable.
58816         (tests): Add $(tests-ifunc).
58817         * string/test-memccpy.c (TEST_NAME): New macro.
58818         * string/test-memchr.c (TEST_NAME): Likewise.
58819         * string/test-memcmp.c (TEST_NAME): Likewise.
58820         * string/test-memcpy.c (TEST_NAME): Likewise.
58821         * string/test-memmem.c (TEST_NAME): Likewise.
58822         * string/test-memmove.c (TEST_NAME): Likewise.
58823         * string/test-memset.c (TEST_NAME): Likewise.
58824         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58825         * string/test-stpcpy.c (TEST_NAME): Likewise.
58826         * string/test-stpncpy.c (TEST_NAME): Likewise.
58827         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58828         * string/test-strcasestr.c (TEST_NAME): Likewise.
58829         * string/test-strcat.c (TEST_NAME): Likewise.
58830         * string/test-strchr.c (TEST_NAME): Likewise.
58831         * string/test-strcmp.c(TEST_NAME): Likewise.
58832         * string/test-strcpy.c (TEST_NAME): Likewise.
58833         * string/test-strcspn.c (TEST_NAME): Likewise.
58834         * string/test-strlen.c (TEST_NAME): Likewise.
58835         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58836         * string/test-strncmp.c (TEST_NAME): Likewise.
58837         * string/test-strncpy.c (TEST_NAME): Likewise.
58838         * string/test-strnlen.c (TEST_NAME): Likewise.
58839         * string/test-strpbrk.c (TEST_NAME): Likewise.
58840         * string/test-strrchr.c (TEST_NAME): Likewise.
58841         * string/test-strspn.c (TEST_NAME): Likewise.
58842         * string/test-strstr.c (TEST_NAME): Likewise.
58843         * string/test-bcopy-ifunc.c: New file.
58844         * string/test-bzero-ifunc.c: Likewise.
58845         * string/test-memccpy-ifunc.c: Likewise.
58846         * string/test-memchr-ifunc.c: Likewise.
58847         * string/test-memcmp-ifunc.c: Likewise.
58848         * string/test-memcpy-ifunc.c: Likewise.
58849         * string/test-memmem-ifunc.c: Likewise.
58850         * string/test-memmove-ifunc.c: Likewise.
58851         * string/test-mempcpy-ifunc.c: Likewise.
58852         * string/test-memset-ifunc.c: Likewise.
58853         * string/test-rawmemchr-ifunc.c: Likewise.
58854         * string/test-stpcpy-ifunc.c: Likewise.
58855         * string/test-stpncpy-ifunc.c: Likewise.
58856         * string/test-strcasecmp-ifunc.c: Likewise.
58857         * string/test-strcasestr-ifunc.c: Likewise.
58858         * string/test-strcat-ifunc.c: Likewise.
58859         * string/test-strchr-ifunc.c: Likewise.
58860         * string/test-strchrnul-ifunc.c: Likewise.
58861         * string/test-strcmp-ifunc.c: Likewise.
58862         * string/test-strcpy-ifunc.c: Likewise.
58863         * string/test-strcspn-ifunc.c: Likewise.
58864         * string/test-strlen-ifunc.c: Likewise.
58865         * string/test-strncasecmp-ifunc.c: Likewise.
58866         * string/test-strncat-ifunc.c: Likewise.
58867         * string/test-strncmp-ifunc.c: Likewise.
58868         * string/test-strncpy-ifunc.c: Likewise.
58869         * string/test-strnlen-ifunc.c: Likewise.
58870         * string/test-strpbrk-ifunc.c: Likewise.
58871         * string/test-strrchr-ifunc.c: Likewise.
58872         * string/test-strspn-ifunc.c: Likewise.
58873         * string/test-strstr-ifunc.c: Likewise.
58875         * debug/Makefile (tests-ifunc): New variable.
58876         (tests): Add $(tests-ifunc).
58877         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58878         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58879         * debug/test-stpcpy_chk-ifunc.c: New file.
58880         * debug/test-strcpy_chk-ifunc.c: Likewise.
58882 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58884         [BZ #13601]
58885         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58886         header is not read in.
58888 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58890         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58891         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58892         directly.  Pass built executable to script as
58893         $(built-program-cmd).
58894         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58895         $testprogram without using LD_LIBRARY_PATH and $ldso.
58897         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58898         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58899         $(rtld-installed-name).
58900         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58901         (rtld_installed_name): Likewise.
58902         (library_path): Likewise.
58903         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58904         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58905         $(run-program-prefix) to tst-tables.sh.
58906         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58907         it to run tst-table-from and tst-table-to.
58908         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58909         Pass it to tst-table.sh.
58910         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58911         $(run-program-prefix) to tst-gettext.sh.
58912         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58913         tst-translit.sh.
58914         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58915         tst-gettext2.sh.
58916         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58917         to run tst-gettext.
58918         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58919         to run tst-gettext2.
58920         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58921         to run tst-translit.
58922         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58923         $(run-program-prefix) to tst-mtrace.sh.
58924         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58925         to run tst-mtrace.
58926         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58927         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58928         $(rtld-installed-name).
58929         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58930         (rtld_installed_name): Likewise.
58931         (run_program_prefix): New variable.  Use it to run wordexp-test.
58933         * Makeconfig (ARCH): Remove all definitions.
58934         (machine): Likewise.
58935         [ARCH]: Remove conditional code.
58936         [!objdir]: Give error.
58937         [!objdir] (objpfx): Remove.
58938         [!objdir] (common-objpfx): Likewise.
58939         [!objdir] (common-objdir): Likewise.
58940         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58941         AC_CONFIG_FILES call.
58942         * configure: Regenerated.
58944         [BZ #13888]
58945         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58946         or TMPDIR.
58947         (testout): Likewise.
58949         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58950         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58951         $(rtld-installed-name).
58952         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58953         (rtld_installed_name): Likwise.
58954         (runit): Remove function.
58955         (run_getconf): New variable,  Use it for running getconf binary.
58957 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58959         [BZ #14716]
58960         * string/test-memmem.c (check_result): New function.
58961         (do_one_test): Use it.
58962         (check1): New function.
58963         (test_main): Use it.
58965 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58967         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58969 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58971         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58972         (_G_LSEEK64): Likewise.
58973         (_G_MMAP64): Likewise.
58974         (_G_FSTAT64): Likewise.
58975         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58976         (_G_LSEEK64): Likewise.
58977         (_G_MMAP64): Likewise.
58978         (_G_FSTAT64): Likewise.
58979         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58980         unconditional.  Call __mmap64 directly.
58981         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58982         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58983         __lseek64 directly.
58984         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58985         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58986         __mmap64 directly.
58987         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58988         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58989         __lseek64 directly.
58990         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58991         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58992         __lseek64 directly.
58993         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58994         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58995         __lseek64 directly.
58996         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58997         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58998         __fxstat64 directly.
58999         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59000         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59001         unconditional.
59002         (freopen64) [!_G_OPEN64]: Remove conditional code.
59003         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59004         unconditional.
59005         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59006         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59007         unconditional.
59008         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59009         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59010         unconditional.
59011         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59012         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59013         unconditional.
59014         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59015         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59016         unconditional.
59017         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59018         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59019         unconditional.
59020         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59021         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59022         unconditional.
59023         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59025 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59027         [BZ #12140]
59028         * manual/memory.texi (Malloc Tunable Parameters): Add note
59029         about free list pointers overwriting some perturb bytes.
59030         Wording suggested by Roland McGrath.
59032 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59034         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59035         (lgamma_test): Likewise.
59036         (tgamma_test): Likewise.
59038 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59040         [BZ #14700]
59041         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59042         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59044 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59046         * NEWS: Mention BZ #14716.
59047         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59048         when removing AVAILABLE1_USES_J macro.
59050 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59052         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59053         (__bswap_64): __uint64_t for unsigned 64-bit int.
59055 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59057         * include/string.h (memmem): Declare libc hidden alias.
59058         * string/memmem.c (memmem): Define libc hidden alias.
59059         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59060         __read, __close instead of open, read, close.
59062 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59065         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59066         global and hidden.
59067         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59068         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59069         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59070         Likewise.
59071         (__rawmemchr_sse2): Likewise.
59072         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59073         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59074         (__strchr_sse2): Likewise.
59075         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59076         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59077         (__strcasecmp_sse2): Likewise.
59078         (__strncasecmp_sse2): Likewise.
59079         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59080         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59081         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59082         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59083         (__strrchr_sse2): Likewise.
59084         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59085         ifunc-impl-list.c.
59086         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59087         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59088         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59089         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59090         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59091         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59092         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59093         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59094         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59095         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59096         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59097         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59098         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59099         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59100         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59101         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59102         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59103         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59104         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59105         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59106         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59107         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59108         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59109         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59110         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59111         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59112         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59113         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59114         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59115         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59117         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59118         global and hidden.
59119         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59120         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59121         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59122         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59123         Likewise.
59124         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59125         Likewise.
59126         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59127         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59128         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59129         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59130         ifunc-impl-list.c.
59131         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59132         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59133         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59134         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59135         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59136         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59137         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59138         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59139         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59140         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59141         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59142         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59143         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59144         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59145         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59146         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59147         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59148         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59149         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59150         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59151         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59152         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59153         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59154         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59155         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59156         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59157         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59158         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59159         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59160         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59161         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59162         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59163         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59164         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59165         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59166         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59167         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59168         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59169         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59170         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59171         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59173         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59174         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59175         * include/ifunc-impl-list.h: New file.
59176         * misc/ifunc-impl-list.c: Likewise.
59177         * misc/Makefile (routines): Add ifunc-impl-list.
59178         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59179         * string/test-string.h: Include <ifunc-impl-list.h>.
59180         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59181         TEST_NAME]: New variables.
59182         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59183         are defined.
59184         (test_init): Call __libc_ifunc_impl_list to initialize
59185         func_list if TEST_IFUNC and TEST_NAME are defined.
59187         * string/Makefile (strop-tests): Add bcopy and bzero.
59188         * string/test-bcopy.c: New file.
59189         * string/test-bzero.c: Likewise.
59190         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59191         defined.
59192         * string/test-memset.c: Support bzero test if TEST_BZERO is
59193         defined.
59194         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59195         __libc_memmove.
59196         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59197         __libc_memset.
59198         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59199         of memset.
59201 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59203         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59204         * configure: Regenerated.
59206         * Makeconfig (+link-static-before-libc): Don't include
59207         $(link-static-libc).
59209         * libio/libio.h (_IO_pos_t): Remove.
59211 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59213         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59214         McGrath.
59216 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59218         * crypt/crypt-entry.c: Include fips-private.h.
59219         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59220         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59221         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59222         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59224 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59226         * crypt/crypt-private.h: Include stdbool.h.
59227         (_ufc_setup_salt_r): Return bool.
59228         * crypt/crypt-entry.c: Include errno.h.
59229         (__crypt_r): Return NULL with EINVAL for bad salt.
59230         * crypt/crypt_util.c (bad_for_salt): New.
59231         (_ufc_setup_salt_r): Check that salt is long enough and within
59232         the specified alphabet.
59233         * crypt/badsalttest.c: New file.
59234         * crypt/Makefile (tests): Add it.
59235         ($(objpfx)badsalttest): New.
59237 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59239         * NEWS: Add entry for BZ #14602.
59241 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59243         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59244         type-generic.
59245         * math/libm-test.inc: Update comment listing what functions and
59246         macros are tested.
59247         (isgreater_test): New function.
59248         (isgreaterequal_test): Likewise.
59249         (isless_test): Likewise.
59250         (islessequal_test): Likewise.
59251         (islessgreater_test): Likewise.
59252         (isunordered_test): Likewise.
59253         (main): Call the new functions.
59255 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59257         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59258         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59259         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59260         * sysdeps/i386/configure: Regenerated.
59261         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59262         * sysdeps/mach/configure: Regenerated.
59263         * sysdeps/mach/hurd/configure: Regenerated.
59264         * sysdeps/powerpc/configure: Regenerated.
59265         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59266         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59267         * sysdeps/s390/s390-32/configure: Regenerated.
59268         * sysdeps/s390/s390-64/configure: Regenerated.
59269         * sysdeps/sh/configure: Regenerated.
59270         * sysdeps/sparc/configure: Regenerated.
59271         * sysdeps/unix/sysv/linux/configure: Regenerated.
59272         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59273         * sysdeps/x86_64/configure: Regenerated.
59275         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59276         defined.  Don't check if MAP is NULL.
59278 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59280         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59281         (_G_stat64): Likewise.
59282         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59283         (_G_stat64): Likewise.
59284         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59285         instead of struct _G_stat64.
59286         * libio/fileops.c (mmap_remap_check): Likewise.
59287         (decide_maybe_mmap): Likewise.
59288         (_IO_new_file_seekoff): Likewise.
59289         (_IO_file_stat): Likewise.
59290         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59291         _G_off64_t.
59292         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59293         instead of struct _G_stat64.
59294         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59296 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59298         [BZ #14602]
59299         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59300         Replace with ...
59301         (CHECK_EOL): New macro.
59302         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59303         CHECK_EOL.
59304         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59305         Replace with CHECK_EOL.
59306         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59307         Replace with CHECK_EOL.
59309 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59311         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59312         type-generic.
59313         * math/libm-test.inc: Update comment listing what functions and
59314         macros are tested.
59315         (finite_test): New function.
59316         (isinf_test): Likewise.
59317         (isnan_test): Likewise.
59318         (fpclassify_test): Test subnormal input.
59319         (isfinite_test): Likewise.
59320         (isnormal_test): Likewise.
59321         (main): Call the new functions.
59323 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59325         [BZ #14660]
59326         * Makerules (%.dynsym): Force C locale when running
59327         $(OBJDUMP) --dynamic-syms.
59329 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59331         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59332         <stdint.h>.
59334 2012-10-06  David S. Miller  <davem@davemloft.net>
59336         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59337         upper 32-bits of the length value in %o2 since we use branch-on-register
59338         tests which consider the entire 64-bit register.
59340 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59342         * string/test-strstr.c (check2): Add a test for page boundary.
59344 2012-10-05  David S. Miller  <davem@davemloft.net>
59346         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59347         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59348         file.
59349         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59350         sysdep_routines.
59351         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59352         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59353         and bzero when HWCAP_SPARC_CRYPTO is present.
59355 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59357         [BZ #14602]
59358         * string/test-strstr.c (check2): New function.
59359         (test_main): Call check2.
59361         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59362         and bug-strchr1.
59363         * string/bug-strcasestr1.c (do_test): Moved to ...
59364         * string/test-strcasestr.c (check1): Here.  New function.
59365         (do_one_test): Break out result checking code into ...
59366         (check_result): This.  New function.
59367         (do_one_test): Call check_result.
59368         (test_main): Call check1.
59369         * string/bug-strchr1.c (do_test): Moved to ...
59370         * string/test-strchr.c (check1): Here.  New function.
59371         (do_one_test): Break out result checking code into ...
59372         (check_result): This.  New function.
59373         (do_one_test): Call check_result.
59374         (test_main): Call check1.
59375         * string/bug-strstr1.c (main): Moved to ...
59376         * string/test-strstr.c (check1): Here.  New function.
59377         (do_one_test): Break out result checking code into ...
59378         (check_result): This.  New function.
59379         (do_one_test): Call check_result.
59380         (test_main): Call check1.
59381         * string/bug-strcasestr1.c: Removed.
59382         * string/bug-strchr1.c: Likewise.
59383         * string/bug-strstr1.c: Likewise.
59385         * elf/Makefile (dl-routines): Add hwcaps.
59386         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59387         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59388         (_dl_important_hwcaps): Moved to ...
59389         * elf/dl-hwcaps.c: Here.  New file.
59390         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59392         [BZ #14557]
59393         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59394         if IS_IN_rtld isn't defined.
59396         * elf/dl-support.c (_dl_sysinfo_map): New.
59397         Include "get-dynamic-info.h" and "setup-vdso.h".
59398         (_dl_non_dynamic_init): Call setup_vdso.
59399         * elf/dynamic-link.h: Don't include <assert.h>.
59400         (elf_get_dynamic_info): Moved to ...
59401         * elf/get-dynamic-info.h: Here.  New file.
59402         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59403         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59404         * elf/setup-vdso.h: Here.  New file.
59405         * elf/rtld.c: Include "setup-vdso.h".
59406         (dl_main): Call setup_vdso.
59408 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59410         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59411         creal in comment listing functions tested.  List finite, isinf,
59412         isnan, isless, islessequal, isgreater, isgreaterequal,
59413         islessgreater, isunordered, lgamma_r and pow10 as functions and
59414         macros not tested.  Mention which functions not tested are aliases
59415         for other functions.  Fix typo.  Note that signs of NaNs are not
59416         tested.
59418         * scripts/config.guess: Update from config.git.
59419         * scripts/config.sub: Likewise.
59421 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59423         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59424         * misc/madvise.c (madvise): Renamed to __madvise.
59425         Make madvise a weak alias.
59426         * include/sys/mman.h: Declare __madvise.
59427         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59428         * sysdeps/unix/syscalls.list
59429         (madvise): Make __madvise the strong name, and madvise a weak alias.
59430         * sysdeps/unix/sysv/linux/syscalls.list
59431         (madvise, mmap): Remove redundant entries.
59432         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59433         * malloc/malloc.c (mtrim): Likewise.
59434         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59436 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59438         * sysdeps/mach/hurd/dl-cache.c: File removed.
59439         * config.h.in (USE_LDCONFIG): New #undef.
59440         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59441         * configure: Regenerated.
59442         * elf/Makefile (dl-routines): Add dl-cache only under
59443         [$(use-ldconfig) = yes].
59444         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59445         cache on [USE_LDCONFIG].
59446         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59447         [USE_LDCONFIG].
59448         * elf/rtld.c (dl_main): Likewise.
59450 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59452         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59453         _SC_LEVEL4_CACHE_LINESIZE.
59455 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59457         * sysdeps/unix/bsd/confstr.h: File removed.
59459 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59461         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59462         sys/sdt-config.h.
59464 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59466         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59467         Make 'mapoff' field ElfW(Off) rather than off_t.
59469 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59471         * nscd/Makefile: Remove nscd-cflags and all its users.
59472         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59473         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59475         [BZ #10631]
59476         * malloc.c (malloc_printerr): Clarify error message.
59478 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59480         [BZ #14648]
59481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59482         Set bit_FMA_Usable if FMA is supported.
59483         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59484         macro.
59485         (bit_FMA4_Usable): Updated.
59486         (index_FMA_Usable): New macro.
59487         (CPUID_FMA): Likewise.
59488         (HAS_FMA): Defined with bit_FMA_Usable.
59490 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59492         * bits/types.h (__swblk_t): Type removed.
59493         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59494         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59495         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59496         (__SWBLK_T_TYPE): Likewise.
59497         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59498         (__SWBLK_T_TYPE): Likewise.
59499         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59500         (__SWBLK_T_TYPE): Likewise.
59501         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59502         (__SWBLK_T_TYPE): Likewise.
59504 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59505             Honza Horak <hhorak@redhat.com>
59507         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59508         (xdr_mapname): Use YPMAXMAP as maxsize.
59509         (xdr_peername): Use YPMAXPEER as maxsize.
59510         (xdr_keydat): Use YPAXRECORD as maxsize.
59511         (xdr_valdat): Use YPMAXRECORD as maxsize.
59513 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59515         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59517         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59518         * csu/init-first.c: ... here.
59519         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59520         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59521         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59522         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59523         * sysdeps/i386/init-first.c: File removed.
59524         * sysdeps/sh/init-first.c: File removed.
59526 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59528         [BZ #14645]
59529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59530         if x * y might underflow to zero and z is zero.
59531         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59532         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59533         * math/libm-test.inc (min_subnorm_value): New variable.
59534         (fma_test): Add more tests.
59535         (fma_test_towardzero): Likewise.
59536         (fma_test_downward): Likewise.
59537         (fma_test_upward): Likewise.
59538         (initialize): Set min_subnorm_value.
59540 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59542         [BZ #14638]
59543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59544         0 + 0.
59545         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59546         mode for addition resulting in exact zero.
59547         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59549         exact 0 + 0.
59550         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59552         * math/libm-test.inc (fma_test): Add more tests.
59553         (fma_test_towardzero): New function.
59554         (fma_test_downward): Likewise.
59555         (fma_test_upward): Likewise.
59556         (main): Call the new functions.
59558 2012-09-28  David S. Miller  <davem@davemloft.net>
59560         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59562 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59564         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59565         instead of SIGALRM.
59567         * sysdeps/gnu/_G_config.h: Moved to ...
59568         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59569         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59570         * sysdeps/generic/_G_config.h: ... here.
59572         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59574         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59576         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59577         Conditionalize target on [libnss_test1.so-version].
59579         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59581         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59582         (elfobjdir): Move out of conditionals.
59584         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59585         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59586         (__nss_lookup_function): Conditionalize label remove_from_tree on
59587         [!DO_STATIC_NSS || SHARED], matching its only use.
59589 2012-09-28  David S. Miller  <davem@davemloft.net>
59591         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59592         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59593         file.
59594         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59595         sysdep_routines.
59596         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59597         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59598         when HWCAP_SPARC_CRYPTO is present.
59600 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59602         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59604 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59606         [BZ #6530]
59607         * stdio-common/vfprintf.c (process_string_arg): Revert
59608         2000-07-22 change.
59610 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59612         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59613         for testcase.
59614         * stdio-common/tst-sprintf.c: Include <locale.h>
59615         (main): Test sprintf's handling of incomplete multibyte
59616         characters.
59618 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59620         * elf/dl-runtime.c (VERSYMIDX): Removed.
59621         * elf/dl-version.c (VERSYMIDX): Likewise.
59622         * elf/do-rel.h (VERSYMIDX): Likewise.
59623         (VALIDX): Likewise.
59624         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59625         * elf/rtld.c (VALIDX): Likewise.
59626         (ADDRIDX): Likewise.
59627         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59628         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59629         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59630         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59631         (VALIDX): Likewise.
59632         (ADDRIDX): Likewise.
59634 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59636         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59638 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59640         [BZ #11438]
59641         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59642         to global scope.
59643         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59644         addresses are in the same scope as 192.0.2/24.
59645         * posix/gai.conf: Document new scope table defaults.
59647 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59649         [BZ #5298]
59650         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59651         for ftell.  Compute offsets from write pointers instead.
59652         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59654 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59656         [BZ #14543]
59657         * libio/Makefile (tests): New test case tst-fseek.
59658         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59659         combination works in wide mode.
59660         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59661         state when the external buffer state changes.
59663 2012-09-27  David S. Miller  <davem@davemloft.net>
59665         [BZ #14376]
59666         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59667         pass reloc->r_addend in as the 'high' argument to
59668         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59672 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59674         * rt/tst-aio2.c: Include <pthread.h>.
59675         * rt/tst-aio3.c: Likewise.
59677 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59679         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59681 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59683         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59684         contents on [SHARED].
59686 2012-09-26  Marek Polacek  <polacek@redhat.com>
59688         [BZ #14530]
59689         [BZ #13741]
59690         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59691         for C++ and GCC <4.3 as well as for non GCC compilers.
59693 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59697 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59699         * Makefile.in (all, install): Declare with .PHONY.
59700         Reported by Michael Hope <michael.hope@linaro.org>.
59702 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59704         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59705         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59706         system header.
59707         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59708         Likewise.
59709         (sydep_routines): Add the new and the internal functions.
59710         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59711         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59713         (GLIBC_2.17): Add the new function.
59714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59715         (GLIBC_2.17): Likewise.
59716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59717         (GLIBC_2.17): Likewise.
59718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59719         (GLIBC_2.17): Likewise.
59720         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59722 2012-09-25  Alan Modra  <amodra@gmail.com>
59724         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59725         Add release barrier before setting once_control to say
59726         initialisation is done.  Add hints on lwarx.  Use macro in
59727         place of isync.
59728         (clear_once_control): Add release barrier.
59730 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59732         [BZ #13629]
59733         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59734         specially.
59735         * math/s_clog10.c (__clog10): Likewise.
59736         * math/s_clog10f.c (__clog10f): Likewise.
59737         * math/s_clog10l.c (__clog10l): Likewise.
59738         * math/s_clogf.c (__clogf): Likewise.
59739         * math/s_clogl.c (__clogl): Likewise.
59740         * math/Makefile (libm-calls): Add x2y2m1.
59741         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59742         (__x2y2m1): Likewise.
59743         (__x2y2m1l): Likewise.
59744         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59745         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59746         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59747         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59748         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59749         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59750         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59751         * sysdeps/i386/fpu/libm-test-ulps: Update.
59752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59754         [BZ #14621]
59755         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59756         int as type of variable DEPTH.
59757         (glob): Use size_t instead of int as type of variables NEWCOUNT
59758         and OLD_PATHC.
59760 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59762         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59763         Add s_sincosf-sse2.
59764         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59765         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59766         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59767         macros for using routine as __sincosf_ia32.
59768         Use macro for function declaration and weak_alias.
59769         * sysdeps/i386/fpu/libm-test-ulps: Update.
59771         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59774         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59775         subnormal argument.
59776         * math/s_cexpf.c (__cexpf): Likewise.
59777         * math/s_csinf.c (__csinf): Likewise.
59778         * math/s_csinhf.c (__csinhf): Likewise.
59779         * math/s_ctanf.c (__ctanf): Likewise.
59780         * math/s_ctanhf.c (__ctanhf): Likewise.
59781         * math/s_ccosh.c (__ccoshf): Likewise.
59782         * math/s_cexp.c (__cexpl): Likewise.
59783         * math/s_csin.c (__csin): Likewise.
59784         * math/s_csinh.c (__csinh): Likewise.
59785         * math/s_ctan.c (__ctan): Likewise.
59786         * math/s_ctanh.c (ctanh): Likewise.
59787         * math/s_ccoshl.c (__ccoshl): Likewise.
59788         * math/s_cexpl.c (__cexpl): Likewise.
59789         * math/s_csinl.c (__csinl): Likewise.
59790         * math/s_csinhl.c (__csinhl): Likewise.
59791         * math/s_ctanl.c (__ctanl): Likewise.
59792         * math/s_ctanhl.c (__ctanhl): Likewise.
59794 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59796         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59797         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59798         (_IO_off_t): Define to __off_t, not _G_off_t.
59799         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59800         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59801         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59802         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59803         type of __dummy and __dummy2 fields.
59804         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59805         (_G_ssize_t): Likewise.
59806         (_G_off_t): Likewise.
59807         (_G_pid_t): Likewise.
59808         (_G_uid_t): Likewise.
59809         (_G_wchar_t): Likewise.
59810         (_G_wint_t): Likewise.
59811         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59812         (_G_ssize_t): Likewise.
59813         (_G_off_t): Likewise.
59814         (_G_pid_t): Likewise.
59815         (_G_uid_t): Likewise.
59816         (_G_wchar_t): Likewise.
59817         (_G_wint_t): Likewise.
59818         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59819         (_G_ssize_t): Likewise.
59820         (_G_off_t): Likewise.
59821         (_G_pid_t): Likewise.
59822         (_G_uid_t): Likewise.
59823         (_G_wchar_t): Likewise.
59824         (_G_wint_t): Likewise.
59826 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59828         * malloc/arena.c: Include malloc-sysdep.h.
59829         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59830         is sufficient to shrink the heap or an unmap is needed.
59831         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59832         new function check_may_shrink_heap.
59833         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59834         new function check_may_shrink_heap.
59836 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59838         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59839         comments.
59841 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59843         * catgets/test-gencat.sh: Add "set -e".
59844         * elf/tst-pathopt.sh: Likewise.
59845         * grp/tst_fgetgrent.sh: Likewise.
59846         * iconvdata/run-iconv-test.sh: Likewise.
59847         * intl/tst-gettext.sh: Likewise.
59848         * intl/tst-gettext2.sh: Likewise.
59849         * intl/tst-gettext4.sh: Likewise.
59850         * intl/tst-gettext6.sh: Likewise.
59851         * intl/tst-translit.sh: Likewise.
59852         * io/ftwtest-sh: Likewise.
59853         * libio/test-freopen.sh: Likewise.
59854         * malloc/tst-mtrace.sh: Likewise.
59855         * posix/globtest.sh: Likewise.
59856         * posix/tst-getconf.sh: Likewise.
59857         * posix/wordexp-tst.sh: Likewise.
59858         * stdio-common/tst-printf.sh: Likewise.
59859         * stdio-common/tst-unbputc.sh: Likewise.
59860         * stdlib/tst-fmtmsg.sh: Likewise.
59861         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59862         * catgets/Makefile: Do not specify -e option when running
59863         testsuite shell scripts.
59864         * elf/Makefile: Likewise.
59865         * grp/Makefile: Likewise.
59866         * iconvdata/Makefile: Likewise.
59867         * intl/Makefile: Likewise.
59868         * io/Makefile: Likewise.
59869         * libio/Makefile: Likewise.
59870         * malloc/Makefile: Likewise.
59871         * posix/Makefile: Likewise.
59872         * stdio-common/Makefile: Likewise.
59873         * stdlib/Makefile: Likewise.
59874         * sysdeps/x86_64/Makefile: Likewise.
59876         * io/ftwtest-sh: Add copyright header.
59877         * posix/globtest.sh: Likewise.
59878         * posix/tst-getconf.sh: Likewise.
59879         * posix/wordexp-tst.sh: Likewise.
59880         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59882 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59884         [BZ #13679]
59885         * Makeconfig (+link): Defined as $(+link-static) if
59886         $(build-shared) isn't yes.
59887         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59888         isn't yes.
59889         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59891         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59893         [BZ #14562]
59894         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59895         new chunk size with MALLOC_ALIGN_MASK.
59897 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59899         [BZ #5044]
59900         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59901         <rounding-mode.h>.
59902         (__printf_fphex): Determine rounding using get_rounding_mode and
59903         round_away.
59904         * stdio-common/tst-printf-round.c (struct hex_test): New
59905         structure.
59906         (hex_tests): New variable.
59907         (test_hex_in_one_mode): New function.
59908         (do_test): Also run tests for hex float output.
59910 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59912         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59913         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59914         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59915         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59916         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59917         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59918         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59919         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59921 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59923         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59924         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59925         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59926         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59928 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59930         [BZ #14579]
59931         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59932         mode only.
59933         * elf/tst-rtld-load-self.sh: New test.
59934         * elf/Makefile: Run it.
59936 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59938         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59939         (tst-writev-ENV): Remove.
59940         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59942 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59944         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59946 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59948         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59949         unconditional.
59950         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59951         Likewise.
59952         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59953         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59954         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59955         Likewise.
59957 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59959         [BZ #14587]
59960         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59961         * config.make.in (have-cpp-asm-debuginfo): Removed.
59962         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59963         * configure: Regenerated.
59965 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59967         [BZ #5044]
59968         * stdio-common/printf_fp.c: Include <stdbool.h> and
59969         <rounding-mode.h>.
59970         (___printf_fp): Determine rounding using get_rounding_mode and
59971         round_away.
59972         * stdio-common/tst-printf-round.c: New file.
59973         * stdio-common/Makefile (tests): Add tst-printf-round.
59974         (link-libm): New variable.
59975         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59977 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59979         [BZ #14576]
59980         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59981         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59982         Likewise.
59983         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59984         Likewise.
59986 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59988         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59989         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59990         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59991         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59993 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59995         [BZ #14518]
59996         * include/rounding-mode.h: New file.
59997         * sysdeps/generic/get-rounding-mode.h: Likewise.
59998         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59999         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60000         (MAX_VALUE): New macro.
60001         (MIN_VALUE): Likewise.
60002         (overflow_value): New function.
60003         (underflow_value): Likewise.
60004         (round_and_return): Use overflow_value and underflow_value to
60005         determine return values in overflow and underflow cases.  Use
60006         round_away to determine rounding depending on rounding mode.
60007         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60008         determine return values in overflow and underflow cases.
60009         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60010         (struct test_results): New structure.
60011         (struct test): Use struct test_results to store expected results
60012         for all rounding modes.
60013         (TEST): Include expected results for all rounding modes.
60014         (test_in_one_mode): New function.
60015         (do_test): Use test_in_one_mode to compute and check results.
60016         Check results for all rounding modes.
60017         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60018         $(link-libm).
60020 2012-12-09  Allan McRae  <allan@archlinux.org>
60022         * sysdeps/i386/fpu/libm-test-ulps: Update
60024 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60026         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60027         (_G_int32_t): Likewise.
60028         (_G_uint16_t): Likewise.
60029         (_G_uint32_t): Likewise.
60030         (_G_HAVE_BOOL): Likewise.
60031         (_G_HAVE_ATEXIT): Likewise.
60032         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60033         (_G_HAVE_IO_FILE_OPEN): Likewise.
60034         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60035         (_G_int32_t): Likewise.
60036         (_G_uint16_t): Likewise.
60037         (_G_uint32_t): Likewise.
60038         (_G_HAVE_BOOL): Likewise.
60039         (_G_HAVE_ATEXIT): Likewise.
60040         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60041         (_G_HAVE_IO_FILE_OPEN): Likewise.
60042         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60043         (_G_int32_t): Likewise.
60044         (_G_uint16_t): Likewise.
60045         (_G_uint32_t): Likewise.
60046         (_G_HAVE_BOOL): Likewise.
60047         (_G_HAVE_ATEXIT): Likewise.
60048         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60049         (_G_HAVE_IO_FILE_OPEN): Likewise.
60051 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60053         * csu/libc-tls.c: Update copyright years.
60055 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60057         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60058         [!_G_USING_THUNKS]: Remove conditional code.
60059         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60060         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60062         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60063         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60064         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60065         (_G_VTABLE_LABEL_PREFIX): Likewise.
60066         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60067         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60068         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60069         (_G_VTABLE_LABEL_PREFIX): Likewise.
60070         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60071         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60072         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60073         (_G_VTABLE_LABEL_PREFIX): Likewise.
60074         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60076 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60078         * libio/Makefile: Include ../Makeconfig before tests.
60079         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60080         only if $(build-shared) is yes.
60082         * iconv/gconv_db.c: Update copyright years.
60084 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60086         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60087         unwind info if defined PIC. Fix special cases description.
60088         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60090         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60091         DP_HI_MASK entry.
60092         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60094 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60096         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60098         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60099         is NULL.
60101         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60102         (LDLIBS-tst-chk4): This.
60103         (LDFLAGS-tst-chk5): Renamed to ...
60104         (LDLIBS-tst-chk5): This.
60105         (LDFLAGS-tst-chk6): Renamed to ...
60106         (LDLIBS-tst-chk6): This.
60107         (LDFLAGS-tst-lfschk4): Renamed to ...
60108         (LDLIBS-tst-lfschk4): This.
60109         (LDFLAGS-tst-lfschk5): Renamed to ...
60110         (LDLIBS-tst-lfschk5): This.
60111         (LDFLAGS-tst-lfschk6): Renamed to ...
60112         (LDLIBS-tst-lfschk6): This.
60114         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60115         on $(common-objpfx)soversions.mk.
60117 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60119         [BZ #10014]
60120         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60121         example host name.
60123 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60125         * malloc/arena.c (arena_get_retry): New function that gets
60126         another arena for the caller to try its request on.
60127         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60128         current arena cannot fulfill the request.
60129         (__libc_memalign): Likewise.
60130         (__libc_memalign): Likewise.
60131         (__libc_pvalloc): Likewise.
60132         (__libc_calloc): Likewise.
60134 2012-09-05  John Tobey  <john.tobey@gmail.com>
60136         [BZ #13542]
60137         * manual/arith.texi (Operations on Complex): Fix description
60138         of carg branch cut.
60140 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60142         [BZ #10014]
60143         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60144         host name.
60146         [BZ #10038]
60147         * manual/memory.texi (Memory): Make order of menu items match
60148         order of sections.
60150 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60152         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60153         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60154         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60156 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60158         * csu/libc-tls.c (static_dtv): Renamed to ...
60159         (_dl_static_dtv): This.  Make it global.
60160         (_dl_initial_dtv): Removed.
60161         (__libc_setup_tls): Updated.
60162         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60163         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60164         DL_INITIAL_DTV.
60166 2012-09-06  Petr Machata  <pmachata@redhat.com>
60168         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60169         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60170         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60171         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60173 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60175         [BZ #14545]
60176         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60177         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60178         freeing dtv[-1].
60180 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60182         [BZ #14544]
60183         * Makeconfig (link-static-before-libc): Replace $(+prector)
60184         with $(+prectorT).
60185         (link-static-after-libc): Replace $(+postctor) with
60186         $(+postctorT).
60187         (link-bounded): Replace $(+prector)/$(+postctor) with
60188         $(+prectorT)/$(+postctorT).
60189         (+prectorT): New macro.
60190         (+postctorT): Likewise.
60192 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60194         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60195         (round_str): Handle values above the maximum for IBM long double
60196         as inexact.
60197         * stdlib/tst-strtod-round.c (tests): Regenerated.
60199 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60201         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60202         assembler flag.
60203         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60204         zarch_nohighgprs around the zarch optimized routines.
60205         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60206         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60207         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60208         for zarch.
60210 2012-09-05  David S. Miller  <davem@davemloft.net>
60212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60214         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60215         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60216         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60217         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60218         entries.
60220 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60222         * malloc/arena.c: Fold copyright years.
60223         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60225 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60227         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60229 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60231         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60233 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60235         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60236         change internal state upon failure.
60238 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60240         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60241         * malloc/memusage.c (mmap): Likewise.
60242         (mmap64, mremap): Likewise.  Adjust name in comment.
60244 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60246         * libio/fileops.c: Fix typos in comments.
60247         * libio/oldfileops.c: Likewise.
60248         * libio/wfileops.c: Likewise.
60250 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60252         [BZ #1349]
60253         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60254         (tst-malloc-usable-ENV): Set environment for test case.
60255         * malloc/hooks.c (malloc_check_get_size): New function to get
60256         requested size.
60257         * malloc/malloc.c (musable): Use malloc_check_get_size.
60258         * malloc/tst-malloc-usable.c: New test case.
60260 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60262         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60264 2012-09-05  Allan McRae  <allan@archlinux.org>
60266         [BZ #13966]
60267         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60268         determine header location.
60269         * configure: Regenerated.
60271 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60273         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60274         float format.
60275         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60276         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60277         format.
60278         (test): Regenerate.
60280 2012-09-04  David S. Miller  <davem@davemloft.net>
60282         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60283         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60284         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60286 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60288         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60289         failures.
60291         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60293 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60295         [BZ #9914]
60296         * libio/iogetdelim.c: Include <limits.h>.
60297         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60298         + len + 1 would overflow.
60300 2012-09-03  Andreas Jaeger  <aj@suse.de>
60302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60303         * sysdeps/i386/fpu/libm-test-ulps: Update.
60305 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60307         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60308         Add s_sinf-sse2, s_conf-sse2.
60310         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60311         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60312         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60313         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60315         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60316         for using routine as __sinf_ia32.
60317         Use macro for function declaration and weak_alias.
60318         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60319         for using routine as __cosf_ia32.
60320         Use macro for function declaration and weak_alias.
60322         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60323         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60325         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60326         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60329         * math/libm-test.inc (cos_test): Add more test cases.
60330         (sin_test): Likewise.
60331         (sincos_test): Likewise.
60333 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60335         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60336         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60337         hidden.
60338         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60340 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60342         [BZ #14538]
60343         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60344         first element of the GOT.
60345         (elf_machine_load_address): Return the difference between
60346         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60348 2012-09-01  Allan McRae  <allan@archlinux.org>
60350         [BZ #13412]
60351         * configure.in (AWK): Require gawk version 3.0 or later.
60352         * configure: Regenerated.
60354 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60356         * sysdeps/unix/sysv/linux/kernel-features.h
60357         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60358         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60359         [__NR_clock_getres]: Make code unconditional.
60360         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60361         (clock_getcpuclockid): Remove code left unreachable by removal of
60362         conditionals.
60363         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60364         code unconditional.
60365         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60366         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60367         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60368         Make code unconditional.
60369         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60370         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60371         * sysdeps/unix/sysv/linux/clock_settime.c
60372         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60373         conditional code.
60374         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60375         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60377 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60379         [BZ #14476]
60380         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60381         scripts/test-installation.pl.
60383         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60384         and $ld_so_version if it is set.
60386 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60388         [BZ #14516]
60389         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60390         failure if reading from procfs failed.
60391         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60393 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60395         * sysdeps/unix/sysv/linux/kernel-features.h
60396         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60397         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60398         Remove conditional code.
60399         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60400         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60401         Remove conditional code.
60402         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60403         * sysdeps/unix/sysv/linux/i386/fxstat.c
60404         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60405         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60406         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60407         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60408         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60409         * sysdeps/unix/sysv/linux/i386/lxstat.c
60410         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60411         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60412         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60413         Remove conditional code.
60414         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60415         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60416         Remove conditional code.
60417         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60418         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60419         <kernel-features.h>.
60420         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60421         Remove.
60422         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60423         Remove conditional code.
60424         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60425         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60426         Remove conditional.
60428 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60430         [BZ #5400]
60431         * NEWS: Add fixed bug number.
60433 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60435         [BZ #14519]
60436         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60437         underflowing exponent in case of negative sign.
60438         * stdlib/tst-strtod-round-data: Add more tests.
60439         * stdlib/tst-strtod-round.c (tests): Regenerated.
60441         [BZ #3479]
60442         * stdlib/strtod_l.c (NDIG): Remove.
60443         (HEXNDIG): Likewise.
60444         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60445         smallest representable value.
60446         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60447         lie within an exact representation of 1/2 ulp of the result.
60448         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60449         unconditionally.
60450         (TENS_P9_IDX): Define unconditionally.
60451         (TENS_P9_SIZE): Likewise.
60452         (TENS_P10_IDX): Likewise.
60453         (TENS_P10_SIZE): Likewise.
60454         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60455         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60456         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60457         entries for 10^2^13 and 10^2^14.
60458         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60459         (TENS_P13_IDX): Define.
60460         (TENS_P13_SIZE): Likewise.
60461         (TENS_P14_IDX): Likewise.
60462         (TENS_P14_SIZE): Likewise.
60463         (_fpioconst_pow10): Change array size to
60464         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60465         unconditional.
60466         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60467         1024]: Add entries for 10^2^13 and 10^2^14.
60468         [LAST_POW10 > _LAST_POW10]: Remove #error.
60469         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60470         (_fpioconst_pow10): Change array size to
60471         FPIOCONST_POW10_ARRAY_SIZE.
60472         * stdlib/gen-fpioconst.c: New file.
60473         * stdlib/gen-tst-strtod-round.c: Likewise.
60474         * stdlib/tst-strtod-round-data: Likewise.
60475         * stdlib/tst-strtod-round.c: Likewise.
60476         * stdlib/Makefile (tests): Add tst-strtod-round.
60478         [BZ #14459]
60479         * stdlib/strtod_l.c: Include <stdint.h>.
60480         (NDEBUG): Do not define.
60481         (round_and_return): Change EXPONENT parameter to type intmax_t.
60482         Rearrange calculations to avoid internal overflow possibilities.
60483         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60484         Rearrange calculations to avoid internal overflow possibilities.
60485         Assert that number fits inside MPNSIZE limbs.
60486         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60487         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60488         calculations and add assertions to avoid internal overflow
60489         possibilities.  Add casts to avoid signed/unsigned operations.
60490         * stdlib/tst-strtod-overflow.c: New file.
60491         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60493 2012-08-25  Marek Polacek  <polacek@redhat.com>
60495         * time/time.h: Fix some typos in comments.
60497 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60499         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60500         * posix/tst-rfc3484-2.c: Likewise.
60501         * posix/tst-rfc3484-3.c: Likewise.
60503 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60505         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60506         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60508 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60510         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60511         #include of fxstatat64.c.
60513 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60515         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60516         * shadow/getspent_r.c: Likewise.
60517         * shadow/getspnam.c: Likewise.
60518         * shadow/getspnam_r.c: Likewise.
60519         * gshadow/getsgent.c: Likewise.
60520         * gshadow/getsgent_r.c: Likewise.
60521         * gshadow/getsgnam.c: Likewise.
60522         * gshadow/getsgnam_r.c: Likewise.
60523         * inet/getnetbyad.c: Likewise.
60524         * inet/getnetbyad_r.c: Likewise.
60525         * inet/getnetbynm.c: Likewise.
60526         * inet/getnetbynm_r.c: Likewise.
60527         * inet/getnetent.c: Likewise.
60528         * inet/getnetent_r.c: Likewise.
60529         * inet/getproto.c: Likewise.
60530         * inet/getproto_r.c: Likewise.
60531         * inet/getprtent.c: Likewise.
60532         * inet/getprtent_r.c: Likewise.
60533         * inet/getprtname.c: Likewise.
60534         * inet/getprtname_r.c: Likewise.
60535         * inet/getrpcbyname.c: Likewise.
60536         * inet/getrpcbyname_r.c: Likewise.
60537         * inet/getrpcbynumber.c: Likewise.
60538         * inet/getrpcbynumber_r.c: Likewise.
60539         * inet/getrpcent.c: Likewise.
60540         * inet/getrpcent_r.c: Likewise.
60541         * inet/getaliasent.c: Likewise.
60542         * inet/getaliasent_r.c: Likewise.
60543         * inet/getaliasname.c: Likewise.
60544         * inet/getaliasname_r.c: Likewise.
60545         * nscd/getgrgid_r.c: Likewise.
60546         * nscd/getgrnam_r.c: Likewise.
60547         * nscd/gethstbyad_r.c: Likewise.
60548         * nscd/gethstbynm3_r.c: Likewise.
60549         * nscd/getpwnam_r.c: Likewise.
60550         * nscd/getpwuid_r.c: Likewise.
60551         * nscd/getsrvbynm_r.c: Likewise.
60552         * nscd/getsrvbypt_r.c: Likewise.
60553         * nscd/gai.c: Likewise.
60555         * configure.in (build_nscd): New substituted variable, set
60556         by --disable-build-nscd and defaults to $use_nscd.
60557         * configure: Regenerated.
60558         * config.make.in (build-nscd): New substituted variable.
60559         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60560         Change conditional to require [$(build-nscd) = yes] as well.
60561         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60563         [BZ# 13696]
60564         * configure.in (use_nscd): New substituted variable, set by
60565         --disable-nscd.  If enabled, define USE_NSCD.
60566         * configure: Regenerated.
60567         * config.h.in: Add USE_NSCD.
60568         * config.make.in (use-nscd): New substituted variable.
60569         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60570         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60571         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60572         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60573         (CFLAGS-getgrnam_r.c): Likewise.
60574         (CFLAGS-initgroups.c): Likewise.
60575         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60576         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60577         Variables removed.
60578         * inet/getnetgrent_r.c
60579         (nscd_setnetgrent): New function, broken out of ...
60580         (setnetgrent): ... here.  Call it.
60581         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60582         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60583         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60584         * nscd/Makefile (routines, aux): Move definitions after include of
60585         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60586         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60587         Conditionalize on [USE_NSCD].
60588         (is_nscd, nscd_init_cb): Likewise.
60589         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60590         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60591         * nss/nss_db/db-init.c: Likewise.
60592         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60593         [USE_NSCD].
60594         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60595         (make_request): Use it.
60596         (cache_valid_p): New function.
60597         (__check_pf): Use it.
60598         * NEWS: Add item for --disable-nscd.
60600 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60602         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60603         to support sed >= 4.2.1-20-ga9bf076.
60604         * configure: Regenerated.
60606 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60608         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60609         Conditionalize whole body on [IREL].
60611 2012-08-22  Jeff Law <law@redhat.com>
60613         [BZ #14505]
60614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60615         if the family is PF_UNSPEC.
60617 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60619         * Makerules (lib-version): Rename from V.
60620         (install-lib-nosubdir): Change V to lib-version.
60622 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60624         [BZ #14252]
60625         * powerpc32/power6/wcschr.c: New file.
60626         * powerpc32/power6/wcscpy.c: New file.
60627         * powerpc32/power6/wcsrchr.c: New file.
60628         * powerpc64/power6/wcschr.c: New file.
60629         * powerpc64/power6/wcscpy.c: New file.
60630         * powerpc64/power6/wcsrchr.c: New file.
60632 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60634         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60635         (two_way_short_needle): Use it.
60636         * string/strstr.c (AVAILABLE1_USES_J): Define.
60637         * string/strcasestr.c: Likewise.
60639         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60640         array references.
60641         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60643         [BZ #11607]
60644         * NEWS: Add an entry.
60645         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60646         define their defaults.
60647         (two_way_short_needle): Detect end-of-string on-the-fly.
60648         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60649         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60650         * string/bug-strcasestr1.c: New test.
60651         * string/Makefile: Run it.
60653 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60655         [BZ #11607]
60656         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60657         the first character.
60659 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60661         * csu/elf-init.c (__libc_csu_irel): Function removed.
60662         * csu/libc-start.c (apply_irel): New function.
60663         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60665 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60667         * sysdeps/unix/sysv/linux/kernel-features.h
60668         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60669         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60670         <kernel-features.h>.
60671         [__NR_fadvise64_64]: Make code unconditional.
60672         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60673         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60674         !__NR_fadvise64_64)]: Likewise.
60675         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60676         !__NR_fadvise64_64))]: Likewise.
60677         [__NR_fadvise64]: Make code unconditional.
60678         [!__NR_fadvise64]: Remove conditional code.
60679         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60680         <kernel-features.h>.
60681         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60682         unconditional.
60683         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60684         conditional code.
60685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60686         not include <kernel-features.h>.
60687         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60688         unconditional.
60689         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60690         conditional code.
60691         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60692         include <kernel-features.h>.
60693         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60694         unconditional.
60695         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60696         conditional code.
60698 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60700         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60701         slight instruction rearrangements per scrollpipe analysis.
60702         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60704 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60706         * manual/syslog.texi (syslog; vsyslog, closelog):
60707         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60708         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60710         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60711         DSOCAPS to match condition on defining it.
60713 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60715         * sysdeps/unix/sysv/linux/kernel-features.h
60716         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60718         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60719         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60721         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60722         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60724         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60725         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60727         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60728         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60730         * sysdeps/unix/sysv/linux/kernel-features.h
60731         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60732         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60733         unconditional.
60734         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60735         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60736         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60737         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60738         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60739         Make code unconditional.
60740         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60741         (__mmap64) [!__NR_mmap2]: Likewise.
60742         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60743         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60744         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60745         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60746         [__NR_mmap2]: Make code unconditional.
60747         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60748         (__mmap64) [!__NR_mmap2]: Likewise.
60750 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60752         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60754 2012-08-18  Andreas Jaeger  <aj@suse.de>
60756         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60758 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60760         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60761         * include/unistd.h (__have_sock_cloexec): Likewise.
60762         (__have_pipe2): Likewise.
60763         (__have_dup3): Likewise.
60765 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60767         [BZ #9685]
60768         * include/unistd.h (__have_pipe2): Change define into an extern int.
60769         (__have_dup3): Likewise.
60770         * socket/have_sock_cloexec.c: Include fcntl.h.
60771         (__have_pipe2): New variable.
60772         (__have_dup3): Likewise.
60774 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60776         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60778 2012-08-17  Marek Polacek  <polacek@redhat.com>
60780         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60781         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60783 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60785         * configure.in: Add AC_SUBST for sysheaders.
60786         * configure: Regenerated.
60787         * config.make.in (sysheaders): New substituted variable.
60789         * sysdeps/unix/mkfifo.c: Moved ...
60790         * sysdeps/posix/mkfifo.c: ... here.
60791         * sysdeps/unix/mkfifoat.c: Moved ...
60792         * sysdeps/posix/mkfifoat.c: ... here.
60794         * sysdeps/unix/utime.c: Moved ...
60795         * sysdeps/posix/utime.c: ... here.
60797         * sysdeps/unix/time.c: Moved ...
60798         * sysdeps/posix/time.c: ... here.
60799         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60800         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60802         * sysdeps/unix/nice.c: Moved ...
60803         * sysdeps/posix/nice.c: ... here.
60805         * sysdeps/unix/alarm.c: Moved ...
60806         * sysdeps/posix/alarm.c: ... here.
60808         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60810 2012-08-17  Jeff Law <law@redhat.com>
60812         * intl/Makefile (codeset_mo): New variable.
60813         ($(codeset_mo)): New target.
60814         (tst-codeset.out): Depend on that.  Remove explicit rule.
60815         (tst-gettext3.out, tst-gettext5.out): Likewise.
60816         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60817         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60818         * intl/tst-codeset.sh: Remove.
60819         * intl/tst-gettext3.sh: Likewise.
60820         * intl/tst-gettext5.sh: Likewise.
60822 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60824         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60825         * sysdeps/unix/syscalls.list: ... here.
60827         * sysdeps/posix/getaddrinfo.c
60828         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60829         (gaiconf_init, gaiconf_reload): Use them.
60830         [!_STATBUF_ST_NSEC]
60831         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60832         Define using time_t rather than struct timespec.
60834         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60835         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60836         Macros removed.
60837         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60838         [!NO_THREADS].
60839         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60840         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60841         Likewise.
60843         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60844         __libc_cleanup_push argument.
60846         * bits/param.h: New file.
60847         * misc/sys/param.h: New file.
60848         * include/sys/param.h: New file.
60849         * misc/Makefile (headers): Add bits/param.h.
60850         * sysdeps/generic/sys/param.h: File removed.
60851         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60852         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60853         * sysdeps/mach/hurd/bits/param.h: New file.
60854         * sysdeps/mach/hurd/sys/param.h: File removed.
60856         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60857         last change.
60859         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60860         [_IO_MTSAFE_IO].
60861         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60862         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60863         New macros.
60865         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60866         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60867         rather than -D_IO_MTSAFE_IO conditionally.
60868         * stdio-common/Makefile (CPPFLAGS): Likewise.
60869         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60870         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60871         Use $(libio-mtsafe).
60872         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60873         of -D_IO_MTSAFE_IO.
60874         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60875         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60876         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60877         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60878         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60879         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60880         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60881         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60882         (CFLAGS-fread_u_chk.c): Likewise.
60883         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60884         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60885         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60886         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60887         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60888         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60889         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60890         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60891         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60893         * libio/Makefile: Test [$(libc-reentrant) = yes]
60894         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60896         * Makeconfig
60897         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60898         * sysdeps/pthread/configure: File removed.
60899         * sysdeps/pthread/Makeconfig: New file.
60900         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60901         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60903 2012-08-16  Gary Benson  <gbenson@redhat.com>
60905         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60906         unmapping the first object in a namespace.
60908 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60910         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60911         (__internal_setnetgrent): ... this.  Add internal_function to
60912         definition.  Add libc_hidden_def.
60913         (setnetgrent): Update caller.
60914         (internal_endnetgrent): Renamed to ...
60915         (__internal_endnetgrent): ... this.  Add internal_function to
60916         definition.  Add libc_hidden_def.
60917         (endnetgrent): Update caller.
60918         (internal_getnetgrent_r): Renamed to ...
60919         (__internal_getnetgrent_r): ... this.  Add internal_function to
60920         definition.  Add libc_hidden_def.
60921         (__getnetgrent_r): Update caller.
60922         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60924 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60926         * stdlib/longlong.h: Update from GCC.
60928 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60930         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60931         on _QL, which is set by umul_ppmm but never used.
60932         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60933         variables, which are set by GMP macros but never used.
60934         * stdio-common/_itowa.c (_itowa): Likewise.
60935         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60936         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60938 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60940         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60941         struct La_sh_regs is not constant.
60942         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60943         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60944         and struct La_sparc64_regs are not constant.
60946 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60948         * sysdeps/unix/sysv/linux/kernel-features.h
60949         (__ASSUME_POSIX_TIMERS): Remove.
60950         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60951         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60952         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60953         Make code unconditional.
60954         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60955         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60956         Make code unconditional.
60957         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60958         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60959         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60960         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60961         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60962         Make code unconditional.
60963         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60964         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60965         (__libc_missing_posix_timers): Remove.
60967 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60969         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60970         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60972         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60974         * elf/dl-sym.c: Include <stdlib.h>.
60976         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60977         constants, which avoids warnings in 32-bit builds.
60979         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60980         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60982         * misc/lseek.c: File moved to ...
60983         * io/lseek.c: ... here.
60985         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60987         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60988         shifting LEN more than 31 bits at once.
60990 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60992         [BZ #14195]
60993         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60994         segmentation fault for a case of two empty input strings.
60995         * string/test-strncasecmp.c (check1): Renamed to...
60996         (bz12205): ...this.
60997         (bz14195): Add new testcase for two empty input strings and N > 0.
60998         (test_main): Call new testcase, adapt for renamed function.
61000 2012-08-15  Andreas Jaeger  <aj@suse.de>
61002         [BZ #14090]
61003         * crypt/md5test2.c: New test, based on test supplied by Serge
61004         Belyshev <belyshev@depni.sinp.msu.ru>.
61005         * crypt/Makefile (xtests): Add md5test-giant..
61006         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61008 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61010         [BZ #14090]
61011         * crypt/md5.c (md5_process_block): Don't assume the buffer
61012         length is less than 2**32.
61013         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61014         length is less than 2**64.
61016 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61018         * string/str-two-way.h: Include <sys/param.h>.
61019         (MAX): Macro removed.
61021         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61022         Move #define and #undef of memmove to just before and after
61023         including <string.h>.
61025         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61026         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61027         and after including <string.h>.  Move declarations of
61028         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61029         to before #include "string/memmove.c".
61031         * include/dirent.h: Declare __getdirentries.
61033         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61034         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61036 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61038         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61039         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61040         * sysdeps/i386/configure: Regenerated.
61041         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61042         STABS_CURRENT_FILE, and STABS_FUN.
61043         (END): Remove call to STABS_FUN_END.
61044         (STABS_CURRENT_FILE1): Delete.
61045         (STABS_CURRENT_FILE): Likewise.
61046         (STABS_FUN): Likewise.
61047         (STABS_FUN_END): Likewise.
61048         (STABS_FUN2): Likewise.
61049         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61050         * sysdeps/x86_64/configure: Regenerated.
61052 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61054         * elf/dl-open.c: Include <atomic.h>.
61055         * elf/dl-lookup.c: Likewise.
61057 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61059         * sysdeps/unix/sysv/linux/kernel-features.h
61060         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61061         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61062         unconditionally.
61063         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61064         unconditionally.
61065         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61066         condition on __ASSUME_CLONE_THREAD_FLAGS.
61068 2012-08-14  Andreas Jaeger  <aj@suse.de>
61070         * sysdeps/i386/fpu/libm-test-ulps: Update.
61072 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61074         * include/atomic.h (atomic_exchange_and_add): Split into ...
61075         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61076         New atomic macros.
61078 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61082 2012-08-13  Jeff Law <law@redhat.com>
61084         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61085         null byte in the output string.
61087 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61089         * sysdeps/unix/sysv/linux/kernel-features.h
61090         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61091         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61092         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61093         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61094         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61095         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61096         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61098 2012-08-09  Jeff Law <law@redhat.com>
61100         [BZ #13939]
61101         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61102         When avoid_arena is set, don't retry in the that arena.  Pick the
61103         next one, whatever it might be.
61104         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61105         (arena_lock): Pass in new parameter to arena_get2.
61106         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61107         arena_get2.
61108         (__libc_malloc): Unify retrying after main arena failure with
61109         __libc_memalign version.
61110         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61112 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61114         [BZ #14166]
61115         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61116         to __redirect_strstr.
61117         (__strstr_sse42): Use typeof __redirect_strstr.
61118         (__strstr_ia32): Likewise.
61119         (__libc_strstr): New prototype.
61120         (strstr): Renamed to ...
61121         (__libc_strstr): This.
61122         (strstr): New strong alias of __libc_strstr.
61123         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61124         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61125         __redirect_time.
61126         Include <time.h>.
61127         (__libc_time): New prototype.
61128         (time_ifunc): Replace time with __libc_time.
61129         (time): New strong alias and hidden definition of __libc_time.
61130         (__GI_time): Remove strong alias.
61131         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61132         Include <stddef.h>.
61133         (memmove): Redefined to __redirect_memmove.
61134         (__memmove_sse2): Use typeof __redirect_memmove.
61135         (__memmove_ssse3): Likewise.
61136         (__memmove_ssse3_back): Likewise.
61137         (__libc_memmove): New prototype.
61138         (memmove): Renamed to ...
61139         (__libc_memmove): This.
61140         (memmove): New strong alias of __libc_memmove.
61142 2012-08-08  Mark Salter  <msalter@redhat.com>
61144         * elf/elf.h
61145         (R_MN10300_TLS_GD): Define.
61146         (R_MN10300_TLS_LD): Likewise.
61147         (R_MN10300_TLS_LDO): Likewise.
61148         (R_MN10300_TLS_GOTIE): Likewise.
61149         (R_MN10300_TLS_IE): Likewise.
61150         (R_MN10300_TLS_LE): Likewise.
61151         (R_MN10300_TLS_DTPMOD): Likewise.
61152         (R_MN10300_TLS_DTPOFF): Likewise.
61153         (R_MN10300_TLS_TPOFF): Likewise.
61154         (R_MN10300_SYM_DIFF): Likewise.
61155         (R_MN10300_ALIGN): Likewise.
61156         (R_MN10300_NUM): Update.
61158 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61160         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61161         Remove.
61163 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61165         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61167         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61168         sysdeps/unix -> sysdeps/posix move.
61169         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61171 2012-08-07      Allan McRae     <allan@archlinux.org>
61173         [BZ #14303]
61174         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61175         (SUNOS_CPP): Likewise.
61176         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61177         not found.
61178         (open_input): Call CPP using execvp.
61180 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61182         * sysdeps/unix/sysv/linux/kernel-features.h
61183         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61184         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61185         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61186         (__ASSUME_WAITID_SYSCALL): Likewise.
61187         * sysdeps/unix/sysv/linux/dl-execstack.c
61188         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61189         code unconditional.
61190         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61191         conditional code.
61192         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61193         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61194         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61195         code.
61196         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61197         unconditional.
61198         [__ASSUME_WAITID_SYSCALL]: Likewise.
61199         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61201 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61203         * sysdeps/unix/closedir.c: Renamed to ...
61204         * sysdeps/posix/closedir.c: ... here.
61205         * sysdeps/unix/dirfd.c: Renamed to ...
61206         * sysdeps/posix/dirfd.c: ... here.
61207         * sysdeps/unix/dirstream.h: Renamed to ...
61208         * sysdeps/posix/dirstream.h: ... here.
61209         * sysdeps/unix/fdopendir.c: Renamed to ...
61210         * sysdeps/posix/fdopendir.c: ... here.
61211         * sysdeps/unix/opendir.c: Renamed to ...
61212         * sysdeps/posix/opendir.c: ... here.
61213         * sysdeps/unix/readdir.c: Renamed to ...
61214         * sysdeps/posix/readdir.c: ... here.
61215         * sysdeps/unix/readdir_r.c: Renamed to ...
61216         * sysdeps/posix/readdir_r.c: ... here.
61217         * sysdeps/unix/rewinddir.c: Renamed to ...
61218         * sysdeps/posix/rewinddir.c: ... here.
61219         * sysdeps/unix/seekdir.c: Renamed to ...
61220         * sysdeps/posix/seekdir.c: ... here.
61221         * sysdeps/unix/telldir.c: Renamed to ...
61222         * sysdeps/posix/telldir.c: ... here.
61223         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61224         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61225         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61226         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61228         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61229         * bits/fcntl.h: ... here.
61231         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61232         not 0.
61233         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61234         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61235         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61236         (struct flock): Move l_start, l_len to the beginning.
61237         Use __pid_t for l_pid.
61238         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61239         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61240         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61241         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61242         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61243         [__USE_LARGEFILE64] (struct flock64): New type.
61244         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61246         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61247         * bits/dirent.h: ... here.
61249         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61250         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61252 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61254         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61255         Change from 2.6.0 to 2.6.16.
61256         * sysdeps/unix/sysv/linux/configure: Regenerated.
61257         * sysdeps/unix/sysv/linux/kernel-features.h
61258         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61259         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61260         version.
61261         (__ASSUME_UTIMES): Likewise.
61262         (__ASSUME_CLONE_STOPPED): Remove.
61263         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61264         architectures, not kernel version.
61265         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61266         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61267         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61268         (__ASSUME_WAITID_SYSCALL): Likewise.
61269         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61270         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61271         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61272         refer to older versions.
61274 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61276         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61277         Define alphasort64 as an alias.
61278         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61279         Define versionsort64 as an alias.
61280         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61281         Define scandir64 as an alias.
61282         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61283         Define scandirat64 as an alias.
61284         * dirent/alphasort64.c (alphasort64):
61285         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61286         * dirent/versionsort64.c: Likewise.
61287         * dirent/scandir64.c: Likewise.
61288         * dirent/scandirat64.c: Likewise.
61289         * sysdeps/wordsize-64/alphasort.c: File removed.
61290         * sysdeps/wordsize-64/alphasort64.c: File removed.
61291         * sysdeps/wordsize-64/scandir.c: File removed.
61292         * sysdeps/wordsize-64/scandir64.c: File removed.
61293         * sysdeps/wordsize-64/scandirat.c: File removed.
61294         * sysdeps/wordsize-64/scandirat64.c: File removed.
61295         * sysdeps/wordsize-64/versionsort.c: File removed.
61296         * sysdeps/wordsize-64/versionsort64.c: File removed.
61297         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61298         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61299         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61300         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61301         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61302         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61303         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61304         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61306         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61307         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61308         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61309         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61310         [defined __arch64__ || defined __sparcv9]
61311         (__INO_T_MATCHES_INO64_T): New macro.
61312         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61313         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61314         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61315         * sysdeps/unix/sysv/linux/bits/dirent.h
61316         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61317         (_DIRENT_MATCHES_DIRENT64): New macro.
61319         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61320         Define lockf64 as an alias.
61321         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61322         Define fseeko64 as an alias.
61323         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61324         Define ftello64 as an alias.
61325         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61326         Define _IO_fgetpos64 and fgetpos64 as aliases.
61327         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61328         Define _IO_fsetpos64 and fsetpos64 as aliases.
61329         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61330         Conditionalize body on this.
61331         * libio/fseeko64.c: Likewise.
61332         * libio/ftello64.c: Likewise.
61333         * libio/iofgetpos64.c: Likewise.
61334         * libio/iofsetpos64.c: Likewise.
61335         * sysdeps/wordsize-64/lockf.c: File removed.
61336         * sysdeps/wordsize-64/lockf64.c: File removed.
61337         * sysdeps/wordsize-64/fseeko.c: File removed.
61338         * sysdeps/wordsize-64/fseeko64.c: File removed.
61339         * sysdeps/wordsize-64/ftello.c: File removed.
61340         * sysdeps/wordsize-64/ftello64.c: File removed.
61341         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61342         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61343         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61344         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61345         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61346         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61347         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61348         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61349         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61350         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61351         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61352         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61353         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61354         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61356         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61357         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61358         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61359         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61360         [defined __arch64__ || defined __sparcv9]
61361         (__OFF_T_MATCHES_OFF64_T): New macro.
61362         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61363         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61364         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61365         (__OFF_T_MATCHES_OFF64_T): New macro.
61367 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61369         * stdlib/secure-getenv.c (__secure_getenv): Replace
61370         GLIBC_2_16 with GLIBC_2_17.
61372 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61374         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61375         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61377 2012-08-03  David S. Miller  <davem@davemloft.net>
61379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61381 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61383         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61384         Remove.
61385         (__ASSUME_CORRECT_SI_PID): Likewise.
61386         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61387         (__ASSUME_TMPFS_NAME): Likewise.
61388         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61389         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61390         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61391         (HAVE_AUX_SECURE): Make definition unconditional.
61392         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61393         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61395 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61397         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61398         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61399         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61400         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61401         __eloop_threshold instead of SYMLOOP_MAX.
61403         * sysdeps/generic/eloop-threshold.h: New file.
61404         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61405         of MAXSYMLINKS.
61406         * elf/chroot_canon.c (chroot_canon): Likewise.
61408 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61410         [BZ #13717]
61411         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61412         Change to 2.6.0 everywhere.
61413         * sysdeps/unix/sysv/linux/configure: Regenerated.
61414         * sysdeps/unix/sysv/linux/kernel-features.h
61415         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61416         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61417         kernel versions.
61418         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61419         (__ASSUME_FUTEX_REQUEUE): Remove.
61420         (__ASSUME_STATFS64): Define unconditionally.
61421         (__ASSUME_AT_SECURE): Likewise.
61422         (__ASSUME_CORRECT_SI_PID): Likewise.
61423         (__ASSUME_TGKILL): Define without depending on kernel version for
61424         i386.
61425         (__ASSUME_UTIMES): Likewise.
61426         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61427         kernel version.
61428         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61429         (__ASSUME_TMPFS_NAME): Likewise.
61430         * README: Update reference to Linux kernel versions.
61432 2012-08-02  Marek Polacek  <polacek@redhat.com>
61434         [BZ# 14150]
61435         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61436         libc_cv_asm_type_prefix with %.
61437         * configure: Regenerated.
61438         * include/libc-symbols.h: Remove comment about
61439         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61440         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61441         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61442         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61443         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61444         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61445         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61446         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61447         * elf/tst-unique2mod1.c: Likewise.
61448         * elf/tst-unique1mod2.c: Likewise.
61449         * elf/tst-unique1mod1.c: Likewise.
61450         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61451         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61452         Replace ASM_TYPE_DIRECTIVE with .type.
61453         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61454         * sysdeps/i386/sysdep.h: Likewise.
61455         * sysdeps/x86_64/sysdep.h: Likewise.
61456         * sysdeps/sh/sysdep.h: Likewise.
61457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61458         Do not define ASM_TYPE_DIRECTIVE.
61459         * sysdeps/powerpc/sysdep.h: Likewise.
61460         * sysdeps/powerpc/powerpc32/sysdep.h:
61461         Replace ASM_TYPE_DIRECTIVE with .type.
61462         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61463         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61464         * sysdeps/i386/fpu/e_powf.S: Likewise.
61465         * sysdeps/i386/fpu/e_expl.S: Likewise.
61466         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61467         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61468         * sysdeps/i386/fpu/e_pow.S: Likewise.
61469         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61470         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61471         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61472         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61473         * sysdeps/i386/fpu/e_log2.S: Likewise.
61474         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61475         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61476         * sysdeps/i386/fpu/e_powl.S: Likewise.
61477         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61478         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61479         * sysdeps/i386/fpu/e_logl.S: Likewise.
61480         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61481         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61482         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61483         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61484         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61485         * sysdeps/i386/fpu/e_log.S: Likewise.
61486         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61487         * sysdeps/i386/fpu/e_logf.S: Likewise.
61488         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61489         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61490         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61491         * sysdeps/i386/fpu/e_log10.S: Likewise.
61492         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61493         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61494         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61495         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61496         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61497         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61498         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61499         * sysdeps/i386/i686/strtok.S: Likewise.
61500         * sysdeps/i386/i386-mcount.S: Likewise.
61501         * sysdeps/i386/strtok.S: Likewise.
61502         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61503         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61504         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61505         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61506         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61507         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61508         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61509         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61510         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61511         * sysdeps/x86_64/_mcount.S: Likewise.
61512         * sysdeps/x86_64/strtok.S: Likewise.
61513         * sysdeps/sh/_mcount.S: Likewise.
61515 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61517         * libio/iofopen.c: Include <fcntl.h>.
61518         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61519         (_IO_fopen64, fopen64): Define as aliases.
61520         * libio/iofopen64.c: Include <fcntl.h>.
61521         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61522         Conditionalize body on this.
61523         * sysdeps/wordsize-64/iofopen.c: File removed.
61524         * sysdeps/wordsize-64/iofopen64.c: File removed.
61526 2012-08-01  Marek Polacek  <polacek@redhat.com>
61528         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61529         Use dlfcn directly instead of a variable.
61530         (binfmt-subdir): Do not define.
61531         (dlfcn): Likewise.
61533 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61535         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61536         Remove all definitions.
61537         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61538         <kernel-features.h>.
61539         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61540         (miss_F_GETOWN_EX): Remove all definitions.
61541         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61542         macro definition.
61543         [!__ASSUME_FCNTL64]: Remove conditional code.
61544         [__ASSUME_FCNTL64]: Make code unconditional.
61545         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61546         <kernel-features.h>.
61547         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61548         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61549         (lockf64) [__NR_fcntl64]: Make code unconditional.
61550         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61552         * sysdeps/unix/sysv/linux/kernel-features.h
61553         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61554         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61555         Make code unconditional.
61556         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61557         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61559         [__NR_vfork]: Make code unconditional.
61560         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61561         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61563         [__NR_vfork]: Make code unconditional.
61564         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61565         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61567 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61569         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61570         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61572         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61573         Define mkstemp64 as an alias.
61574         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61575         Define mkstemps64 as an alias.
61576         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61577         Define mkostemp64 as an alias.
61578         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61579         Define mkostemps64 as an alias.
61580         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61581         Conditionalize body on this.
61582         * misc/mkostemp64.c: Likewise.
61583         * misc/mkostemps64.c: Likewise.
61584         * misc/mkstemps64.c: Likewise.
61585         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61586         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61587         * sysdeps/wordsize-64/mkostemp.c: File removed.
61588         * sysdeps/wordsize-64/mkstemp.c: File removed.
61589         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61590         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61591         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61592         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61594         [BZ #14138]
61595         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61596         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61597         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61598         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61600         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61601         compat_symbol macros from <shlib-compat.h> rather than the underlying
61602         default_symbol_version and symbol_version macros, so that DEFAULT
61603         lines in shlib-versions are respected.
61604         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61606 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61608         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61609         Declare with warn_unused_result.
61610         (setgid, setregid, setegid, setresgid): Likewise.
61611         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61612         Likewise.
61613         * WUR-REPORT: Remove set*id functions.
61615 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61617         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61619 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61621         [BZ #10191]
61622         * include/sys/socket.h (__libc_accept, __libc_accept4):
61623         Add attribute_hidden.
61624         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61626         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61627         use of PTR_MANGLE.
61628         * inet/getnetgrent_r.c (setup): Likewise.
61630         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61632 2012-07-31  David S. Miller  <davem@davemloft.net>
61634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61636 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61638         [BZ #13629]
61639         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61640         value between 1.0 and 2.0 and smaller part has absolute value less
61641         than 1.0.
61642         * math/s_clog10.c (__clog10): Likewise.
61643         * math/s_clog10f.c (__clog10f): Likewise.
61644         * math/s_clog10l.c (__clog10l): Likewise.
61645         * math/s_clogf.c (__clogf): Likewise.
61646         * math/s_clogl.c (__clogl): Likewise.
61647         * math/libm-test.inc (clog_test): Add more tests.
61648         (clog10_test): Likewise.
61649         * sysdeps/i386/fpu/libm-test-ulps: Update.
61650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61652 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61654         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61655         Exit with zero in case no suitable GID is found, and write a
61656         message to standard error.
61658 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61660         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61661         rather than to 1.
61662         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61663         (MAXPATHLEN): Removed.
61664         (NOGROUP, NODEV): New macros.
61665         (setbit, clrbit, isset, isclr): New macros.
61666         (howmany, roundup, powerof2): New macros.
61667         (DEV_BSIZE): New macro.
61669         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61670         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61672         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61673         definition on [!__NO_LONG_DOUBLE_MATH].
61675         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61676         PTR_MANGLE and PTR_DEMANGLE.
61678         * socket/accept4.c (accept4): Rename to __libc_accept4.
61679         Define accept4 as a weak alias.
61681         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61682         on [_DIRENT_HAVE_D_TYPE].
61683         * io/ftw.c (ftw_dir): Likewise.
61685         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61687         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61689         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61690         Use the BSD numbers rather than the arbitrary ones we had.
61691         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61692         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61693         (SIGXCPU, SIGXFSZ): New macros.
61694         (_NSIG): Now 32.
61696         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61697         initializer on [_LIBC_REENTRANT].
61699         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61700         definitions inside [_POSIX_MAPPED_FILES].
61702         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61704         * dirent/opendir.c: Include <fcntl.h>.
61706         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61707         (__libc_getspecific): Likewise.
61708         (__libc_key_create): Likewise.
61710         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61711         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61712         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61713         (tmpfile64): Define as alias.
61714         * sysdeps/wordsize-64/tmpfile.c: File removed.
61715         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61716         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61717         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61719         * stdio-common/vfscanf.c: Include <stdbool.h>.
61720         * nss/makedb.c: Likewise.
61721         * stdio-common/_i18n_number.h: Likewise.
61722         * argp/argp-help.c: Likewise.
61723         * posix/wordexp.c: Likewise.
61724         * sysdeps/posix/spawni.c: Likewise.
61725         * nss/nss_files/files-initgroups.c: Likewise.
61726         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61727         * nss/nss_files/files-initgroups.c: Likewise.
61728         * nss/nss_db/db-netgrp.c: Likewise.
61729         * nss/nss_db/db-initgroups.c: Likewise.
61730         * io/fchmodat.c: Include <sys/stat.h>.
61732         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61733         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61735         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61736         [HAVE_MMAP].
61738         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61739         Add multiple inclusion protection.
61741 2012-07-27  David S. Miller  <davem@davemloft.net>
61743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61745 2012-07-27  Gary Benson  <gbenson@redhat.com>
61747         [BZ #14298]
61748         * elf/rtld.c: Include <stap-probe.h>.
61749         (dl_main): Added static probes "init_start" and "init_complete".
61750         * elf/dl-load.c: Include <stap-probe.h>.
61751         (lose): Take new parameter "nsid".
61752         Added static probe "map_failed".
61753         (_dl_map_object_from_fd): Pass namespace id to lose.
61754         Added static probe "map_start".
61755         (open_verify): Pass namespace id to lose.
61756         * elf/dl-open.c: Include <stap-probe.h>.
61757         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61758         and "reloc_complete".
61759         * elf/dl-close.c: Include <stap-probe.h>.
61760         (_dl_close_worker): Added static probes "unmap_start" and
61761         "unmap_complete".
61762         * elf/rtld-debugger-interface.txt: New file documenting the above.
61764 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61766         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61767         rather than a string variable.
61768         * sunrpc/rpc_main.c (h_output): Likewise.
61769         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61771 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61773         * inet/check_native.c: New file.
61775 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61777         [BZ #13629]
61778         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61779         if larger part has absolute value 1.0.
61780         * math/s_clog10.c (__clog10): Likewise.
61781         * math/s_clog10f.c (__clog10f): Likewise.
61782         * math/s_clog10l.c (__clog10l): Likewise.
61783         * math/s_clogf.c (__clogf): Likewise.
61784         * math/s_clogl.c (__clogl): Likewise.
61785         * math/libm-test.inc (clog_test): Add more tests.
61786         (clog10_test): Likewise.
61787         * sysdeps/i386/fpu/libm-test-ulps: Update.
61788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61790         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61791         (pltexit): Likewise.
61792         (La_regs): Likewise.
61793         (La_retval): Likewise.
61794         (int_retval): Likewise.
61795         Update #error for removed macros to refer only to definitions in
61796         tst-audit.h.
61797         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61798         macro.
61799         (pltexit): Likewise.
61800         (La_regs): Likewise.
61801         (La_retval): Likewise.
61802         (int_retval): Likewise.
61803         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61804         macro.
61805         (pltexit): Likewise.
61806         (La_regs): Likewise.
61807         (La_retval): Likewise.
61808         (int_retval): Likewise.
61809         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61810         macro.
61811         (pltexit): Likewise.
61812         (La_regs): Likewise.
61813         (La_retval): Likewise.
61814         (int_retval): Likewise.
61815         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61816         macro.
61817         (pltexit): Likewise.
61818         (La_regs): Likewise.
61819         (La_retval): Likewise.
61820         (int_retval): Likewise.
61821         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61822         macro.
61823         (pltexit): Likewise.
61824         (La_regs): Likewise.
61825         (La_retval): Likewise.
61826         (int_retval): Likewise.
61827         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61828         macro.
61829         (pltexit): Likewise.
61830         (La_regs): Likewise.
61831         (La_retval): Likewise.
61832         (int_retval): Likewise.
61833         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61834         macro definitions in tst-audit.h.
61835         * sysdeps/i386/tst-audit.h: New file.
61836         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61837         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61838         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61839         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61840         * sysdeps/sh/tst-audit.h: Likewise.
61841         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61842         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61843         * sysdeps/x86_64/tst-audit.h: Likewise.
61845 2012-07-26  Andreas Jaeger  <aj@suse.de>
61847         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61848         ptrace.
61850         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61851         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61852         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61853         PTRACE_O_MASK.
61854         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61855         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61856         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61858         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61859         value.
61861         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61862         _sigsys.
61863         (si_call_addr, si_syscall, si_arch): Define new macro.
61864         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61865         _sigsys.
61866         (si_call_addr, si_syscall, si_arch): Define new marcro.
61867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61868         _sigsys.
61869         (si_call_addr, si_syscall, si_arch): Define new macro.
61870         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61871         _sigsys.
61872         (si_call_addr, si_syscall, si_arch): Define new macro.
61874 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61876         [BZ #13717]
61877         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61878         Change to 2.4.21 where previously 2.4.1.
61879         * sysdeps/unix/sysv/linux/configure: Regenerated.
61880         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61881         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61882         Linux kernel version.
61883         (__ASSUME_STD_AUXV): Remove.
61884         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61885         kernel version.
61886         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61887         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61888         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61889         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61890         (__ASSUME_NETLINK_SUPPORT): Likewise.
61891         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61892         (__no_netlink_support): Remove conditional definition.
61893         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61894         Remove.
61895         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61896         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61897         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61898         (if_nameindex_ioctl): Remove.
61899         (if_nameindex_netlink): Do not handle __no_netlink_support.
61900         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61901         code.
61902         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61903         Remove conditional code.
61904         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61905         code.
61906         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61907         unconditional.
61908         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61909         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61910         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61911         Remove.
61912         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61913         [!__ASSUME_STD_AUXV]: Remove conditional code.
61914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61915         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61916         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61918         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61919         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61920         code.
61921         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61923         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61924         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61925         conditional code.
61926         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61928         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61929         code.
61930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61931         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61932         conditional code.
61933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61934         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61935         code unconditional.
61936         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61937         conditional code.
61938         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61939         unconditional.
61940         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61941         conditional code.
61942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61943         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61944         unconditional.
61945         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61946         conditional code.
61947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61948         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61949         code unconditional.
61950         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61951         conditional code.
61952         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61953         unconditional.
61954         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61955         conditional code.
61956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61957         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61958         code unconditional.
61959         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61960         conditional code.
61961         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61962         unconditional.
61963         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61964         conditional code.
61966 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61968         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61969         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61970         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61971         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61972         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61973         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61974         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61975         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61976         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61977         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61978         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61979         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61980         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61981         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61982         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61983         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61984         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61985         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61986         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61988         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61989         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61990         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61992 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61994         * Versions.def: Add GLIBC_2.17.
61995         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61996         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61997         Introduce __libc_secure_getenv.
61998         * stdlib/Versions (2.17): Add secure_getenv
61999         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62000         * stdlib/secure-getenv.c: Rename __secure_getenv to
62001         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62002         symbol __secure_getenv for GLIBC_2.0.
62003         * stdlib/tst-secure-getenv.c: New.
62004         * stdlib/Makefile (tests): Add testcase.
62005         * manual/startup.texi (Environment Access): Document
62006         secure_getenv.
62007         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62008         __libc_secure_getenv.
62009         * inet/ruserpass.c (ruserpass): Likewise.
62010         * malloc/mtrace.c (mtrace): Likewise.
62011         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62012         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62013         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62014         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62015         HAVE_SECURE_GETENV.
62016         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62017         __secure_getenv to __libc_secure_getenv.
62018         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62020         Likewise.
62021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62022         Likewise.
62023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62031 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62033         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62034         (struct La_i86_retval): Likewise.
62035         (struct La_x86_64_regs): Likewise.
62036         (struct La_x86_64_retval): Likewise.
62037         (struct La_x32_regs): Likewise.
62038         (struct La_x32_retval): Likewise.
62039         (struct La_ppc32_regs): Likewise.
62040         (struct La_ppc32_retval): Likewise.
62041         (struct La_ppc64_regs): Likewise.
62042         (struct La_ppc64_retval): Likewise.
62043         (struct La_sh_regs): Likewise.
62044         (struct La_sh_retval): Likewise.
62045         (struct La_s390_32_regs): Likewise.
62046         (struct La_s390_32_retval): Likewise.
62047         (struct La_s390_64_regs): Likewise.
62048         (struct La_s390_64_retval): Likewise.
62049         (struct La_sparc32_regs): Likewise.
62050         (struct La_sparc32_retval): Likewise.
62051         (struct La_sparc64_regs): Likewise.
62052         (struct La_sparc64_retval): Likewise.
62053         (struct audit_ifaces): Remove architecture-specific pltenter and
62054         pltexit members.
62055         * sysdeps/i386/ldsodefs.h: New file.
62056         * sysdeps/powerpc/ldsodefs.h: Likewise.
62057         * sysdeps/s390/ldsodefs.h: Likewise.
62058         * sysdeps/sh/ldsodefs.h: Likewise.
62059         * sysdeps/sparc/ldsodefs.h: Likewise.
62060         * sysdeps/x86_64/ldsodefs.h: Likewise.
62062 2012-07-25  Marek Polacek  <polacek@redhat.com>
62064         [BZ #6808]
62065         * math/libm-test.inc (yn_test): Add another test.
62066         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62067         to ERANGE when the result is +-Inf.
62068         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62069         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62070         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62071         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62073 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62075         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62076         equal to 0.
62077         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62078         clock_t.
62079         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62081 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62083         * configure.in <sysdeps resolving>: Correct printing
62084         Implies_before.
62085         * configure: Regenerate.
62087 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62089         * math/w_ilogb.c: Include <limits.h>.
62090         * math/w_ilogbl.c: Likewise.
62092 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62094         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62095         va_copy.  Document allowing for unavailable va_copy only as
62096         pre-C99 compatibility.
62097         * manual/string.texi (Copying and Concatenation): Use va_copy
62098         instead of __va_copy in concat example.
62100 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62102         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62103         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62104         it if not null.
62106         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62107         with O_NOLINK passed to __file_name_lookup.
62109         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62110         with O_NOLINK passed to __file_name_lookup.
62112         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62113         negative N or less than NGIDS.
62115         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62116         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62117         enough.  Use memcpy instead of strncpy.
62119 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62121         * elf/Makefile (check-data): Remove.
62122         (localplt.data): New vpath directive.
62123         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62124         instead of $(check-data).
62125         * scripts/data/localplt-generic.data: Move to ...
62126         * sysdeps/generic/localplt.data: ... here.
62127         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62128         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62129         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62131         ... here.
62132         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62134         ... here.
62135         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62137         ... here.
62138         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62140         ... here.
62141         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62143         ... here.
62144         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62146         ... here.
62148 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62150         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62151         PPC32 and PPC64 files.
62152         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62153         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62155 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62157         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62158         __makecontext_ret to ...
62159         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62160         ... here and call exit if uc_link is NULL.  New file.
62161         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62162         __makecontext_ret.S.
62163         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62164         __makecontext_ret to ...
62165         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62166         ... here and call exit if uc_link is NULL.  New file.
62167         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62168         __makecontext_ret.S.
62170 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62172         * elf/elf.h (R_390_IRELATIVE): New definition.
62173         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62174         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62175         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62176         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62177         (elf_machine_lazy_rel): Likewise.
62178         * sysdeps/s390/dl-irel.h: New file.
62179         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62180         * sysdeps/s390/s390-64/memset.S: New asm code.
62181         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62182         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62183         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62184         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62185         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62186         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62187         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62188         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62189         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62190         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62191         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62192         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62193         * sysdeps/s390/s390-32/memset.S: New asm code.
62194         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62196 2012-07-17  Marek Polacek  <polacek@redhat.com>
62198         [BZ #14349]
62199         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62200         * sysdeps/s390/s390-64/configure.in: Likewise.
62201         * sysdeps/sparc/configure.in: Likewise.
62202         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62203         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62204         * sysdeps/i386/configure.in: Likewise.
62205         * sysdeps/x86_64/configure.in: Likewise.
62206         * sysdeps/sh/configure.in: Likewise.
62207         * sysdeps/s390/s390-32/configure: Regenerated.
62208         * sysdeps/s390/s390-64/configure: Likewise.
62209         * sysdeps/x86_64/configure: Likewise.
62210         * sysdeps/sh/configure: Likewise.
62211         * sysdeps/powerpc/powerpc64/configure: Likewise.
62212         * sysdeps/powerpc/powerpc32/configure: Likewise.
62213         * sysdeps/sparc/configure: Likwise.
62214         * sysdeps/i386/configure: Likewise.
62216         * elf/dl-open.c: Comment fixes.
62218 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62220         * Makefile [CXX] (check-data): Remove.
62221         [CXX] (c++-types.data): New vpath directive.
62222         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62223         vpath.  Do not allow for C++ type data being missing.
62224         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62225         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62226         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62227         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62228         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62229         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62230         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62232         ... here.
62233         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62235         ... here.
62236         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62238         ... here.
62239         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62241         ... here.
62242         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62244         ... here.
62245         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62247         ... here.
62248         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62250         ... here.
62251         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62254         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62255         definitions to architecture-specific files.
62256         (TLS_IE): Likewise.
62257         (TLS_LD): Likewise.
62258         (TLS_GD): Likewise.
62259         * sysdeps/i386/tls-macros.h: New file.
62260         * sysdeps/powerpc/tls-macros.h: Likewise.
62261         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62262         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62263         * sysdeps/sh/tls-macros.h: Likewise.
62264         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62265         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62266         * sysdeps/x86_64/tls-macros.h: Likewise.
62268 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62270         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62271         zero value for regular exit case.
62273         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62274         (__start_context): Preserve zero value for regular exit case.
62276 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62277             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62279         * manual/setjmp.texi (setcontext): Clarify normal process
62280         termination when uc_link is the null pointer.
62281         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62282         exit call.
62284 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62286         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62287         preprocessor.  Test for each exception mask separately.
62289 2012-07-16  Andreas Jaeger  <aj@suse.de>
62291         * po/ru.po: Update from translation team.
62293 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62295         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62296         equal to 0.
62297         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62298         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62299         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62300         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62301         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62303 2012-07-13  Andreas Jaeger  <aj@suse.de>
62305         * po/fr.po: Update from translation team.
62307 2012-07-12  Marek Polacek  <polacek@redhat.com>
62309         [BZ #14173]
62310         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62311         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62312         loop condition.
62314 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62316         [BZ #13717]
62317         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62318         Change to 2.4.1 where previously 2.4.0.
62319         * sysdeps/unix/sysv/linux/configure: Regenerated.
62320         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62321         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62322         version.
62323         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62324         (__ASSUME_AT_CLKTCK): Remove.
62325         (__ASSUME_AT_PAGESIZE): Likewise.
62326         (__ASSUME_AT_XID): Likewise.
62327         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62328         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62329         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62330         unconditionally.
62331         (HAVE_AUX_PAGESIZE): Likewise.
62332         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62333         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62334         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62336 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62338         [BZ #14307]
62339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62340         the temporary buffer used to invoke __gethostbyname2_r,
62341         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62342         host_data / struct gaih_addrtuple.
62343         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62344         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62345         header file nss/nsswitch.h.
62346         * nss/nsswitch.h (global scope): Add definition of implementation
62347         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62348         resolv/nss_dns/dns-host.c).
62350 2012-07-11  Andreas Jaeger  <aj@suse.de>
62352         * po/fr.po: Update from translation team.
62354         * po/sv.po: Update from translation team
62355         * po/fr.po: Another update from translation team.
62357 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62359         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62360         for subnormals or multiply small sinh result by itself.
62361         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62364 2012-07-11  David S. Miller  <davem@davemloft.net>
62366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62368 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62370         [BZ #14347]
62371         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62372         (INTERNAL_MARK): Shift it here.
62374 2012-07-10  Marek Polacek  <polacek@redhat.com>
62376         [BZ #14151]
62377         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62378         libc_cv_asm_global_directive with .globl.
62379         * configure: Regenerated.
62380         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62381         with .globl.
62382         * sysdeps/i386/configure: Regenerated.
62383         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62384         with .globl.
62385         * sysdeps/x86_64/configure: Regenerated.
62386         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62387         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62388         * elf/tst-unique2mod2.c: Likewise.
62389         * elf/tst-unique2mod1.c: Likewise.
62390         * elf/tst-unique1mod2.c: Likewise.
62391         * elf/tst-unique1mod1.c: Likewise.
62392         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62393         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62394         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62395         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62396         * sysdeps/mach/sysdep.h: Likewise.
62397         * sysdeps/i386/sysdep.h: Likewise.
62398         * sysdeps/i386/i386-mcount.S: Likewise.
62399         * sysdeps/x86_64/_mcount.S: Likewise.
62400         * sysdeps/x86_64/sysdep.h: Likewise.
62401         * sysdeps/sh/_mcount.S: Likewise.
62402         * sysdeps/sh/sysdep.h: Likewise.
62403         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62404         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62405         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62406         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62407         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62408         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62409         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62410         * locale/localeinfo.h: Likewise.
62411         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62412         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62414 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62416         [BZ #14336]
62417         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62418         system".
62419         * manual/message.texi (The Uniforum approach): Likewise.
62420         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62421         (glibc iconv Implementation): Likewise.
62423 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62425         [BZ #14337]
62426         * math/s_clog.c (__clog): Avoid scaling a value down where that
62427         could result in underflow.
62428         * math/s_clog10.c (__clog10): Likewise.
62429         * math/s_clog10f.c (__clog10f): Likewise.
62430         * math/s_clog10l.c (__clog10l): Likewise.
62431         * math/s_clogf.c (__clogf): Likewise.
62432         * math/s_clogl.c (__clogl): Likewise.
62433         * math/libm-test.inc (clog_test): Add more tests.
62434         (clog10_test): Likewise.
62435         * sysdeps/i386/fpu/libm-test-ulps: Update.
62436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62438 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62440         [BZ #14283]
62441         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62442         by 7 not 8 to examine high bit of fractional part.
62444         [BZ #14042]
62445         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62446         for call to __mcount_internal.
62447         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62448         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62449         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62451 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62453         [BZ #14154]
62454         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62455         approximation for values within 0x1p-13f of an odd multiple of
62456         pi/4.
62457         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62458         exception.  Add more tests.
62459         * sysdeps/i386/fpu/libm-test-ulps: Update.
62461         [BZ #6778]
62462         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62463         inputs and return -1 for them.  Do not check for +Inf in case not
62464         reachable for +Inf.
62465         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62466         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62467         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62468         and return -1 for them.  Do not check for +Inf in case not
62469         reachable for +Inf.
62470         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62471         define.
62472         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62473         and return -1 for them.  Do not check for +Inf in case not
62474         reachable for +Inf.
62475         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62476         spurious underflow.
62477         * sysdeps/i386/fpu/libm-test-ulps: Update.
62478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62480 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62482         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62484 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62486         [BZ #14157]
62487         [BZ #14331]
62488         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62489         could result in spurious underflow.  Scale down values above
62490         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62491         * math/s_csqrtf.c (__csqrtf): Likewise.
62492         * math/s_csqrtl.c (__csqrtl): Likewise.
62493         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62494         spurious underflow.
62495         * sysdeps/i386/fpu/libm-test-ulps: Update.
62496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62498 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62500         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62501         xopen-msg.sed.
62502         * catgets/xopen-msg.awk: New file.
62503         * catgets/xopen-msg.sed: Removed.
62505         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62506         po2text.sed.
62507         * intl/po2test.awk: New file.
62508         * intl/po2test.sed: Removed.
62510 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62512         [BZ #14328]
62513         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62514         or multiply small sinh result by itself.
62515         * math/s_ctanf.c (__ctanf): Likewise.
62516         * math/s_ctanh.c (__ctanh): Likewise.
62517         * math/s_ctanhf.c (__ctanhf): Likewise.
62518         * math/s_ctanhl.c (__ctanhl): Likewise.
62519         * math/s_ctanl.c (__ctanl): Likewise.
62520         * math/libm-test.inc (ctan_test_tonearest): New function.
62521         (ctan_test_towardzero): Likewise.
62522         (ctan_test_downward): Likewise.
62523         (ctan_test_upward): Likewise.
62524         (ctanh_test_tonearest): Likewise.
62525         (ctanh_test_towardzero): Likewise.
62526         (ctanh_test_downward): Likewise.
62527         (ctanh_test_upward): Likewise.
62528         (main): Call these new functions.
62529         * sysdeps/i386/fpu/libm-test-ulps: Update.
62530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62532 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62534         * .gitignore: Delete /ports entry.
62536 2012-07-03  Andreas Jaeger  <aj@suse.de>
62538         * po/bg.po: Update from translation team.
62539         * po/cs.po: Likewise.
62540         * po/de.po: Likewise.
62541         * po/hr.po: Likewise.
62542         * po/nl.pl: Likewise.
62543         * po/pl.po: Likewise.
62544         * po/vi.po: Likewise.
62546 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62548         * Makeconfig [!+link] (+link-before-libc): New variable.
62549         [!+link] (+link-after-libc): Likewise.
62550         [!+link] (+link-tests): Likewise.
62551         [!+link] (+link): Define in terms of $(+link-before-libc) and
62552         $(+link-after-libc).
62553         [!+link-static] (+link-static-before-libc): New variable.
62554         [!+link-static] (+link-static-after-libc): Likewise.
62555         [!+link-static] (+link-static-tests): Likewise.
62556         [!+link-static] (+link-static): Define in terms of
62557         $(+link-static-before-libc) and $(+link-static-after-libc).
62558         [build-shared] (link-libc-before-gnulib): New variable.
62559         [build-shared] (link-libc-tests): Likewise.
62560         [build-shared] (link-libc): Define in terms of
62561         $(link-libc-before-gnulib).
62562         [!build-shared] (link-libc-tests): New variable.
62563         (link-libc-static-tests): New variable.
62564         [!gnulib] (gnulib-arch): New variable.
62565         [!gnulib] (gnulib-tests): Likewise.
62566         [!gnulib] (static-gnulib-arch): Likewise.
62567         [!gnulib] (static-gnulib-tests): Likewise.
62568         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62569         Define with "=" instead of ":=".
62570         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62571         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62572         * Rules (binaries-all-notests): New variable.
62573         (binaries-all-tests): Likewise.
62574         (binaries-static-notests): Likewise.
62575         (binaries-static-tests): Likewise.
62576         (binaries-all): Define using $(binaries-all-notests) and
62577         $(binaries-all-tests).
62578         (binaries-static): Define using $(binaries-static-notests) and
62579         $(binaries-static-tests).
62580         (binaries-shared-tests): New variable.
62581         (binaries-shared-notests): Likewise.
62582         (binaries-shared): Remove variable.
62583         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62584         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62585         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62586         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62587         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62588         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62589         * elf/Makefile (sln-modules): New variable.
62590         (extra-objs): Add $(sln-modules:=.o).
62591         (ldconfig-modules): Add static-stubs.
62592         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62593         * elf/static-stubs.c: New file.
62595         [BZ #14283]
62596         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62597         by 7 not 8 to examine high bit of fractional part.  Use volatile
62598         variables when splitting into final array of floats if
62599         __FLT_EVAL_METHOD__ != 0.
62600         * math/libm-test.inc (cos_test): Add another test.
62601         (sin_test): Likewise.
62602         * sysdeps/i386/fpu/libm-test-ulps: Update.
62604         [BZ #14273]
62605         * math/libm-test.inc (cosh_test): Add more tests.
62607         * version.h (RELEASE): Set to "development".
62608         (VERSION): Set to "2.16.90".
62610 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62612         * NEWS: Update copyright. Remove last-updated date.
62613         Mention math library bug fixes and timezone data changes.
62614         * README: Mention GNU/Hurd, x32, and HPPA support status.
62616 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62618         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62620 2012-06-27  Andreas Jaeger  <aj@suse.de>
62622         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62624 2012-06-25  Andreas Jaeger  <aj@suse.de>
62626         * sysdeps/s390/fpu/libm-test-ulps: Update.
62628 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62629             Thomas Schwinge  <thomas@codesourcery.com>
62631         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62632         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62633         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62634         fanotify_mark.
62636 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62638         * sysdeps/mach/start.c: Remove file.
62639         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62640         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62641         * sysdeps/sh/init-first.c: Likewise.
62643         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62644         registers for frame unwinding purposes, add CFI directives.
62645         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62646         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62647         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62648         Likewise.
62650         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62651         __fortify_fail returning.
62652         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62654         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62655         sysdeps/sh/____longjmp_chk.S.
62656         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62657         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62658         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62659         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62661         * sysdeps/sh/abort-instr.h: New file.
62662         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62663         process in case exit returns.
62665         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62666         initialize the GOT register before use.
62668         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62669         calculation of ARGC > 4.
62671         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62672         meaningful names to some local labels.
62674 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62675             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62677         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62678         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62679         (__arch_compare_and_exchange_val_16_acq): Likewise.
62680         (__arch_compare_and_exchange_val_32_acq): Likewise.
62681         (atomic_exchange_and_add): Fix gUSA sequence.
62682         (atomic_add): Likewise.
62683         (atomic_add_negative): Likewise.
62684         (atomic_add_zero): Likewise.
62685         (atomic_bit_test_set): Likewise.
62687 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62689         [BZ #13579]
62690         * include/link.h (struct link_map): Add l_free_initfini.
62691         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62692         l_initfini.
62693         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62694         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62695         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62696         set.
62698 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62700         * configure.in: Use AC_LANG_SOURCE.
62701         * configure: Regenerate.
62703 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62705         * configure.in (libc_cv_localstatedir): New substituted variable.
62706         * configure: Regenerated.
62707         * config.make.in (localstatedir): New variable, substituted from
62708         libc_cv_localstatedir.
62709         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62710         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62711         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62712         * sysdeps/gnu/configure: Regenerated.
62714 2012-06-21  Jeff Law  <law@redhat.com>
62716         [BZ #14277]
62717         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62718         free.  Simplify list management for _LIBC case.
62720 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62722         [BZ #14273]
62723         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62724         Clear sign bit of 64-bit integer value before comparing against
62725         overflow value.
62727         * sysdeps/mach/configure: Regenerated.
62729 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62731         [BZ #14278]
62732         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62734 2012-06-21  Jeff Law  <law@redhat.com>
62736         [BZ #13882]
62737         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62738         uint16_t for elements in the "seen" array to avoid char overflows.
62739         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62740         * elf/dl-open.c (dl_open_worker): Likewise.
62742 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62744         * scripts/list-sources.sh: Scan PORTS for translations.
62745         * po/libc.pot: Regenerated.
62747 2012-06-21  Andreas Jaeger  <aj@suse.de>
62749         [BZ #12194]
62750         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62751         warning.
62752         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62753         * bits/byteswap-16.h (__bswap_16): Likewise.
62754         * bits/byteswap.h (__bswap_constant_16): Likewise.
62756 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62758         [BZ #14117]
62759         * sysdeps/i386/fpu_control.h: Removed.
62760         * sysdeps/x86_64/fpu_control.h: Moved to ...
62761         * sysdeps/x86/fpu_control.h: Here.
62763         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62764         (_FPU_SETCW): Likewise.
62766 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62768         [BZ #14117]
62769         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62770         * sysdeps/x86/fpu/bits/mathinline.h: This.
62771         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62773         [BZ #14050]
62774         [BZ #14117]
62775         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62776         functions if __x86_64__ is defined.
62778 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62780         * string/endian.h: Add !__ASSEMBLER__ condition for including
62781         conversion interfaces.
62783 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62785         [BZ #14241]
62786         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62787         of ABS(x) in calculating zero to negative powers other than odd
62788         integers.
62789         * math/libm-test.inc (pow_test): Add more tests.
62791 2012-06-15  Andreas Jaeger  <aj@suse.de>
62793         * manual/contrib.texi (Contributors): Update entry of Liubov
62794         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62795         Machado Filho.
62797 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62799         * string/string.h: Add __wur to GNU version of strerror_r.
62801 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62803         [BZ #14229]
62804         * string/Makefile (tests): Add tst-strtok_r.
62805         * string/tst-strtok_r.c: New file.
62806         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62807         RAX_LP/RDX_LP on SAVE_PTR.
62809 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62811         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62813 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62815         * libm_test.inc (csqrt_test): Allow more spurious underflow
62816         exceptions.
62817         (j0_test): Likewise.
62818         (j1_test): Likewise.
62819         (y0_test): Likewise.
62820         (y1_test): Likewise.
62822 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62824         * po/Makefile (libc.pot): Use UTF-8 charset.
62826 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62828         [BZ #14210]
62829         Suppress sign-conversion warning from FD_SET.
62830         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62831         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62832         not unsigned long int.
62833         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62835 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62837         [BZ #14050]
62838         [BZ #14117]
62839         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62840         __extern_always_inline instead of __extern_inline.
62841         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62842         (__signbit): Likewise.
62843         (__signbitl): Support C++ namespace.
62844         (lrintf): New inline function.
62845         (lrint): Likewise.
62846         (llrintf): Likewise.
62847         (llrint): Likewise.
62848         (fmaxf): Likewise.
62849         (fmax): Likewise.
62850         (fminf): Likewise.
62851         (fmin): Likewise.
62852         (rint): Likewise.
62853         (rintf): Likewise.
62854         (ceil): Likewise.
62855         (ceilf): Likewise.
62856         (floor): Likewise.
62857         (floorf): Likewise.
62858         (nearbyint): Likewise.
62859         (nearbyintf): Likewise.
62861 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62863         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62864         non-default versions.
62866 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62868         [BZ #14218]
62869         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62871 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62873         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62874         (FE_UPWARD, FE_DOWNWARD): Don't define.
62875         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62876         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62878         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62879         reading it.
62880         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62881         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62883 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62885         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62886         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62887         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62888         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62890 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62892         [BZ #14117]
62893         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62894         * sysdeps/i386/fpu/Implies: New file.
62895         * sysdeps/x86_64/fpu/Implies: Likewise.
62896         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62897         * sysdeps/x86/fpu/bits/fenv.h: This.
62899         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62900         __SSE_MATH__.
62902 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62904         [BZ #14134]
62905         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62906         character 0xffff that matches the last element of the
62907         conversion table.
62909 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62911         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62912         fmodl commit.
62914 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62916         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62917         values higher than 25.6283.
62919 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62921         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62922         subnormal exponent extraction and add some __builtin_expect.
62923         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62924         Fix for subnormal mantissa calculation.
62926 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62928         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62929         cpu2 is -1 and errno is not ENOSYS.
62931 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62933         [BZ #14117]
62934         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62935         * sysdeps/x86/bits/string.h: This.
62936         * sysdeps/x86_64/bits/string.h: Removed.
62938         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62939         if not compiling for x86-64, but compiling for >= i486.
62941         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62942         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62944         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62945         New macro from Linux kernel 3.4.0.
62946         (FP_XSTATE_MAGIC2): Likewise.
62947         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62948         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62949         (struct _fpx_sw_bytes): New struct.
62950         (struct _xsave_hdr): Likewise.
62951         (struct _ymmh_state): Likewise.
62952         (struct _xstate): Likewise.
62954         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62955         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62956         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62957         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62958         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62959         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62961         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62962         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62963         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62964         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62965         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62966         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62968 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62970         [BZ #13743]
62971         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62972         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62973         (sysdep_headers): Include sys/platform/ppc.h.
62974         * sysdeps/powerpc/test-gettimebase.c: Test for
62975         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62976         * manual/Makefile (appendices): Include platform.texi.
62977         * manual/contrib.texi (Contributors): Update @node pointers.
62978         * manual/maint.texi (Maintenance): Likewise.
62979         (Platform): New node.
62980         * manual/platform.texi: New file.  Document the new features.
62982 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62983             Jakub Jelinek  <jakub@redhat.com>
62985         [BZ #14188]
62986         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62987         where __builtin_expect is unavailable.
62989 2012-06-03  David S. Miller  <davem@davemloft.net>
62991         * stdlib/longlong.h: Updated from GCC.
62993 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62995         [BZ #14042]
62996         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62997         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62998         __mcount_internal.
62999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63000         (GLIBC_2.16): Likewise.
63002 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63004         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63006 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63009         (default-abi): New variable.
63010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63011         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63012         variable.
63013         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63014         Likewise.
63015         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63016         Likewise.
63017         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63018         Likewise.
63020         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63021         definition.  Document in comment.
63023 2012-06-01  David S. Miller  <davem@davemloft.net>
63025         * stdlib/longlong.h: Updated from GCC.
63027 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63029         [BZ #14117]
63030         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63031         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63032         sys/debugreg.h sys/io.h here.
63033         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63034         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63035         sys/io.h.
63036         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63037         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63038         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63039         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63040         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63041         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63043         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63044         Define only if __x86_64__ is defined.
63046 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63048         [BZ #14048]
63049         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63050         Use int64_t for variable i.
63051         * math/libm-test.inc (fmod_test): Add more tests.
63053         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63054         z computation is not scheduled after fetestexcept.
63055         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63056         Use math_force_eval instead of asm to ensure calculation scheduled
63057         before exception test.
63058         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63059         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63061 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63064         computation is not scheduled after fetestexcept.
63066 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63068         [BZ #14117]
63069         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63070         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63072 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63074         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63075         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63077 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63079         [BZ #14117]
63080         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63081         <bits/wordsize.h>.
63082         (__WCHAR_MIN): Support __WORDSIZE == 64.
63083         (__WCHAR_MAX): Likewise.
63085         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63086         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63088         [BZ #14183]
63089         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63090         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63092         [BZ #14117]
63093         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63094         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63096         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63097         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63099         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63100         Defined to 1 if __x86_64__ isn't defined.
63101         (_STAT_VER_LINUX_OLD): New.
63102         (st_atime): Remove duplicate.
63103         (st_mtime): Likewise.
63104         (st_ctime): Likewise.
63106 2012-05-31  David S. Miller  <davem@davemloft.net>
63108         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63109         entries.
63111 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63113         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63114         gen-libm-test.pl.
63116         [BZ #14132]
63117         * elf/dl-reloc.c: Include <_itoa.h>.
63118         (_dl_reloc_bad_type): Remove use of INTUSE.
63119         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63120         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63121         * stdio-common/psiginfo.c (psiginfo): Likewise.
63122         * stdio-common/psignal.c (psignal): Likewise.
63123         * string/strsignal.c (strsignal): Likewise.
63124         * include/signal.h (_sys_siglist): Declare hidden proto.
63125         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63126         INTVARDEF with libc_hidden_data_def.
63127         * stdio-common/itoa-udigits.c: Likewise.
63128         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63129         (_itoa_lower_digits_internal): Remove declaration.
63130         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63131         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63132         (_sys_sigabbrev_internal): Remove aliases.
63133         (_sys_siglist): Define hidden alias.
63135 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63137         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63138         bits/sysctl.h.
63140 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63142         [BZ #14117]
63143         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63144         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63146         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63147         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63148         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63149         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63150         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63151         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63153         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63154         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63155         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63157         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63158         with __addr.
63159         (insw): Likewise.
63160         (insl): Likewise.
63161         (outsb): Likewise.
63162         (outsw): Likewise.
63163         (outsl): Likewise.
63165         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63166         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63167         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63169         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63170         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63171         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63172         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63173         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63174         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63176         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63177         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63179         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63180         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63182         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63183         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63184         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63186         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63187         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63188         to ...
63189         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63191         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63192         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63193         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63195         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63196         for x86-64.
63197         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63199 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63201         * math/math.h (M_El): Use two more decimal places.
63202         (M_LOG2El): Likewise.
63203         (M_LOG10El): Likewise.
63204         (M_LN2l): Likewise.
63205         (M_LN10l): Likewise.
63206         (M_PIl): Likewise.
63207         (M_PI_2l): Likewise.
63208         (M_PI_4l): Likewise.
63209         (M_1_PIl): Likewise.
63210         (M_2_PIl): Likewise.
63211         (M_2_SQRTPIl): Likewise.
63212         (M_SQRT2l): Likewise.
63213         (M_SQRT1_2l): Likewise.
63215 2012-05-31  David S. Miller  <davem@davemloft.net>
63217         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63218         values between float registers.
63219         * sysdeps/sparc/sparc64/memset.S: Likewise.
63220         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63222 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63224         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63225         -D_FORTIFY_SOURCE=1.
63226         (CPPFLAGS-tst-longjmp_chk.c): Define.
63227         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63228         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63229         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63230         CFLAGS-tst-wchar-h.c.
63232 2012-05-31  Marek Polacek  <polacek@redhat.com>
63234         [BZ #14132]
63235         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63236         __endmntent_internal): Remove declaration.
63237         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63238         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63239         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63241 2012-05-30  David S. Miller  <davem@davemloft.net>
63243         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63244         (___Q_simulate_exceptions): Use real FP ops rather than writing
63245         into the %fsr.
63246         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63247         Likewise.
63249 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63251         [BZ #14117]
63252         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63253         * sysdeps/x86/bits/xtitypes.h: This.
63255         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63256         * sysdeps/x86/bits/wordsize.h: This.
63258         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63259         * sysdeps/x86/bits/huge_vall.h: This.
63261         * sysdeps/i386/bits/select.h: Removed.
63262         * sysdeps/x86_64/bits/select.h: Renamed to ...
63263         * sysdeps/x86/bits/select.h: This.
63265         * sysdeps/i386/bits/setjmp.h: Removed.
63266         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63267         * sysdeps/x86/bits/setjmp.h: This.
63269         * sysdeps/i386/bits/mathdef.h: Removed.
63270         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63271         * sysdeps/x86/bits/mathdef.h: This.
63273 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63275         [BZ #14132]
63276         * include/sys/socket.h (__connect_internal)
63277         (__libc_sa_len_internal): Remove declaration.
63278         (__connect, __libc_sa_len): Declare hidden_proto.
63279         (SA_LEN): Remove use of INTUSE.
63280         * socket/connect.c: Add libc_hidden_def.
63281         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63282         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63283         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63284         alias.
63285         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63286         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63287         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63288         of adding _internal alias.
63290 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63292         [BZ #14117]
63293         * sysdeps/i386/bits/link.h: Removed.
63294         * sysdeps/i386/bits/linkmap.h: Likewise.
63295         * sysdeps/x86_64/bits/link.h: Renamed to ...
63296         * sysdeps/x86/bits/link.h: This.
63297         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63298         * sysdeps/x86/bits/linkmap.h: This.
63300         * sysdeps/i386/bits/endian.h: Removed.
63301         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63302         * sysdeps/x86/bits/endian.h: This.
63304         * sysdeps/i386/bits/byteswap.h: Removed.
63305         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63306         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63307         * sysdeps/x86/bits/byteswap.h: This.
63308         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63309         * sysdeps/x86/bits/byteswap-16.h: This.
63310         * sysdeps/i386/Implies: Add x86.
63311         * sysdeps/x86_64/Implies: Likewise.
63313 2012-05-30  David S. Miller  <davem@davemloft.net>
63315         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63316         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63317         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63318         (FP_TRAPPING_EXCEPTIONS): Define.
63319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63320         (FP_TRAPPING_EXCEPTIONS): Define.
63321         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63322         subnormals only when inexact has been signalled or underflow
63323         exceptions are enabled.
63324         (_FP_PACK_CANONICAL): Likewise.
63326 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63328         [BZ #14183]
63329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63330         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63332 2012-05-30  Richard Henderson  <rth@twiddle.net>
63334         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63335         with #ifndef NOT_IN_libc.
63337         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63338         marked to avoid plt entry.
63340 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63342         [BZ #14112]
63343         * Makeconfig (default-abi): New macro.
63344         (abi-includes): Likewise.
63345         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63346         $(abi-$(default-abi)-lib-soname) for soname if defined.
63347         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63348         abi-variants.
63349         * Makefile (installed-stubs): Likewise.
63350         * include/stubs-biarch.h: Removed.
63351         * scripts/lib-names.awk: Only handle one library at a time.
63352         * scripts/soversions.awk: Remove WORDSIZE support.
63353         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63354         entries.
63355         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63356         Removed.
63357         (syscall-list-default-condition): Likewise.
63358         (syscall-list-default-condition): Likewise.
63359         (syscall-list-includes): Likewise.
63360         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63361         syscall-list-* with abi-*.  Handle undefined abi-variants.
63362         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63363         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63364         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63365         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63366         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63367         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63368         Removed.
63369         (syscall-list-32-options): Likewise.
63370         (syscall-list-32-condition): Likewise.
63371         (syscall-list-64-options): Likewise.
63372         (syscall-list-64-condition): Likewise.
63373         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63374         macro.
63375         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63376         Renamed to ...
63377         (abi-*): This.
63378         (abi-64-ld-soname): New macro.
63379         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63380         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63381         Renamed to ...
63382         (abi-*): This.
63383         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63384         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63386 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63388         * sysdeps/unix/sysv/linux/kernel-features.h
63389         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63390         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63391         include <kernel-features.h>.
63392         [!__NR_ftruncate64]: Remove conditional code.
63393         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63394         [__NR_ftruncate64]: Make code unconditional.
63395         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63396         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63397         include <kernel-features.h>.
63398         [!__NR_ftruncate64]: Remove conditional code.
63399         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63400         [__NR_ftruncate64]: Make code unconditional.
63401         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63403         include <kernel-features.h>.
63404         [!__NR_ftruncate64]: Remove conditional code.
63405         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63406         [__NR_ftruncate64]: Make code unconditional.
63407         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63409         include <kernel-features.h>.
63410         [!__NR_ftruncate64]: Remove conditional code.
63411         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63412         [__NR_ftruncate64]: Make code unconditional.
63413         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63415         * configure.in (libc_cv_fpie): Weaken to a compile test using
63416         LIBC_TRY_CC_OPTION.
63417         * configure: Regenerated.
63419 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63425         Refreshed.
63426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63432         Refreshed.
63434 2012-05-27  David S. Miller  <davem@davemloft.net>
63436         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63437         (___Q_zero): New.
63438         (__Q_simulate_exceptions): Return void.  Change to simulate
63439         exceptions by writing into the %fsr.
63440         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63441         (__Qp_handle_exceptions): Likewise.
63442         (numbers): Delete.
63443         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63444         __Qp_handle_exceptions.
63445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63446         __Qp_handle_exceptions.
63447         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63448         as unused and give dummy FP_RND_NEAREST initializer.
63449         (FP_INHIBIT_RESULTS): Define.
63450         (___Q_simulate_exceptions): Update declaration.
63451         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63452         formatting.
63453         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63454         as unused and give dummy FP_RND_NEAREST initializer.
63455         (__Qp_handle_exceptions): Update declaration.
63456         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63457         formatting.
63459 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63461         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63462         the temporary FPU control word.
63463         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63464         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63465         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63466         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63468         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63469         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63470         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63471         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63472         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63473         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63475 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63477         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63478         fields.
63480 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63482         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63483         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63484         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63485         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63486         Likewise.
63487         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63488         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63489         Likewise.
63491 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63493         * po/h.po: Update from translation team.
63495 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63497         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63499         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63500         handling of denormals.
63501         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63502         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63503         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63504         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63505         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63507         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63508         Likewise.
63510 2012-05-26  Marek Polacek  <polacek@redhat.com>
63512         [BZ #14152]
63513         * math/libm-test.inc (fma_test): Don't always expect underflow
63514         exception.
63516 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63518         [BZ #12416]
63519         * elf/tst-execstack.c: Include stackinfo.h.
63520         (do_test): Adjust test case to ensure that pthread_getattr_np
63521         behaviour remains the same after marking stack executable.
63523 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63525         * sysdeps/unix/sysv/linux/kernel-features.h
63526         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63527         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63528         kernel-features.h.
63529         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63530         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63531         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63532         kernel-features.h.
63533         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63534         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63536 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63538         * configure.in: Define the default includes to being none.
63539         * configure: Regenerated.
63541 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63543         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63544         * sysdeps/x86_64/setjmp.S: Likewise.
63545         * sysdeps/i386/bsd-setjmp.S: Likewise.
63546         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63547         * sysdeps/i386/setjmp.S: Likewise.
63548         * sysdeps/i386/__longjmp.S: Likewise.
63549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63550         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63552         * include/stap-probe.h: New file.
63553         * configure.in: Handle --enable-systemtap.
63554         * configure: Regenerated.
63555         * config.h.in (USE_STAP_PROBE): New #undef.
63556         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63557         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63558         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63560 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63562         [BZ #13717]
63563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63564         to 2.4.0 where earlier.
63565         * sysdeps/unix/sysv/linux/configure: Regenerated.
63566         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63567         <kernel-features.h>.
63568         [__ASSUME_32BITUIDS]: Make code unconditional.
63569         [!__ASSUME_32BITUIDS]: Remove conditional code.
63570         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63571         <kernel-features.h>.
63572         [__ASSUME_32BITUIDS]: Make code unconditional.
63573         [!__ASSUME_32BITUIDS]: Remove conditional code.
63574         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63575         [__ASSUME_32BITUIDS]: Make code unconditional.
63576         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63577         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63578         <kernel-features.h>.
63579         [__ASSUME_32BITUIDS]: Make code unconditional.
63580         [!__ASSUME_32BITUIDS]: Remove conditional code.
63581         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63582         <kernel-features.h>.
63583         [__ASSUME_32BITUIDS]: Make code unconditional.
63584         [!__ASSUME_32BITUIDS]: Remove conditional code.
63585         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63586         <kernel-features.h>.
63587         [__ASSUME_32BITUIDS]: Make code unconditional.
63588         [!__ASSUME_32BITUIDS]: Remove conditional code.
63589         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63590         <kernel-features.h>.
63591         [__ASSUME_32BITUIDS]: Make code unconditional.
63592         [!__ASSUME_32BITUIDS]: Remove conditional code.
63593         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63594         <kernel-features.h>.
63595         [__ASSUME_32BITUIDS]: Make code unconditional.
63596         [!__ASSUME_32BITUIDS]: Remove conditional code.
63597         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63598         <kernel-features.h>.
63599         [__ASSUME_32BITUIDS]: Make code unconditional.
63600         [!__ASSUME_32BITUIDS]: Remove conditional code.
63601         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63602         <kernel-features.h>.
63603         [__ASSUME_32BITUIDS]: Make code unconditional.
63604         [!__ASSUME_32BITUIDS]: Remove conditional code.
63605         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63606         <kernel-features.h>.
63607         [__ASSUME_32BITUIDS]: Make code unconditional.
63608         [!__ASSUME_32BITUIDS]: Remove conditional code.
63609         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63610         <kernel-features.h>.
63611         [__ASSUME_32BITUIDS]: Make code unconditional.
63612         [!__ASSUME_32BITUIDS]: Remove conditional code.
63613         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63614         <kernel-features.h>.
63615         [__ASSUME_32BITUIDS]: Make code unconditional.
63616         [!__ASSUME_32BITUIDS]: Remove conditional code.
63617         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63618         <kernel-features.h>.
63619         [__NR_setresgid] (__setresgid): Do not declare.
63620         [__ASSUME_32BITUIDS]: Make code unconditional.
63621         [!__ASSUME_32BITUIDS]: Remove conditional code.
63622         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63623         <kernel-features.h>.
63624         [__NR_setresuid] (__setresuid): Do not declare.
63625         [__ASSUME_32BITUIDS]: Make code unconditional.
63626         [!__ASSUME_32BITUIDS]: Remove conditional code.
63627         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63628         <kernel-features.h>.
63629         [__ASSUME_32BITUIDS]: Make code unconditional.
63630         [!__ASSUME_32BITUIDS]: Remove conditional code.
63631         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63632         <kernel-features.h>.
63633         [__ASSUME_32BITUIDS]: Make code unconditional.
63634         [!__ASSUME_32BITUIDS]: Remove conditional code.
63635         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63636         <kernel-features.h>.
63637         [__ASSUME_32BITUIDS]: Make code unconditional.
63638         [!__ASSUME_32BITUIDS]: Remove conditional code.
63639         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63640         <kernel-features.h>.
63641         [__ASSUME_32BITUIDS]: Make code unconditional.
63642         [!__ASSUME_32BITUIDS]: Remove conditional code.
63643         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63644         <kernel-features.h>.
63645         [__ASSUME_32BITUIDS]: Make code unconditional.
63646         [!__ASSUME_32BITUIDS]: Remove conditional code.
63647         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63648         <kernel-features.h>.
63649         [__ASSUME_32BITUIDS]: Make code unconditional.
63650         [!__ASSUME_32BITUIDS]: Remove conditional code.
63651         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63652         <kernel-features.h>.
63653         [__ASSUME_32BITUIDS]: Make code unconditional.
63654         [!__ASSUME_32BITUIDS]: Remove conditional code.
63655         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63656         <kernel-features.h>.
63657         [__ASSUME_32BITUIDS]: Make code unconditional.
63658         [!__ASSUME_32BITUIDS]: Remove conditional code.
63659         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63660         <kernel-features.h>.
63661         [__ASSUME_32BITUIDS]: Make code unconditional.
63662         [!__ASSUME_32BITUIDS]: Remove conditional code.
63663         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63664         <kernel-features.h>.
63665         [__ASSUME_32BITUIDS]: Make code unconditional.
63666         [!__ASSUME_32BITUIDS]: Remove conditional code.
63667         * sysdeps/unix/sysv/linux/kernel-features.h
63668         (__ASSUME_SETRESUID_SYSCALL): Remove.
63669         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63670         (__ASSUME_32BITUIDS): Likewise.
63671         (__ASSUME_LDT_WORKS): Likewise.
63672         (__ASSUME_O_DIRECTORY): Likewise.
63673         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63674         architecture but not kernel version.
63675         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63676         (__ASSUME_MMAP2_SYSCALL): Likewise.
63677         (__ASSUME_STAT64_SYSCALL): Likewise.
63678         (__ASSUME_IPC64): Likewise.
63679         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63680         <kernel-features.h>.
63681         [__ASSUME_32BITUIDS]: Make code unconditional.
63682         [!__ASSUME_32BITUIDS]: Remove conditional code.
63683         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63684         <kernel-features.h>.
63685         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63686         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63687         132096]: Remove conditional code.
63688         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63689         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63690         <kernel-features.h>.
63691         [__ASSUME_32BITUIDS]: Make code unconditional.
63692         [!__ASSUME_32BITUIDS]: Remove conditional code.
63693         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63694         <kernel-features.h>.
63695         [__ASSUME_32BITUIDS]: Make code unconditional.
63696         [!__ASSUME_32BITUIDS]: Remove conditional code.
63697         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63698         <kernel-features.h>.
63699         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63700         unconditional.
63701         (__setresgid): Do not declare.
63702         [__ASSUME_32BITUIDS]: Make code unconditional.
63703         [!__ASSUME_32BITUIDS]: Remove conditional code.
63704         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63705         <kernel-features.h>.
63706         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63707         unconditional.
63708         (__setresuid): Do not declare.
63709         [__ASSUME_32BITUIDS]: Make code unconditional.
63710         [!__ASSUME_32BITUIDS]: Remove conditional code.
63711         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63712         <kernel-features.h>.
63713         [__ASSUME_32BITUIDS]: Make code unconditional.
63714         [!__ASSUME_32BITUIDS]: Remove conditional code.
63715         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63716         <kernel-features.h>.
63717         [__ASSUME_32BITUIDS]: Make code unconditional.
63718         [!__ASSUME_32BITUIDS]: Remove conditional code.
63720 2012-05-25  Richard Henderson  <rth@twiddle.net>
63722         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63723         dl_hwcap to ifunc resolver.
63724         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63725         elf_ifunc_invoke.
63726         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63727         dl_hwcap to ifunc resolver.
63728         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63730 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63732         [BZ #14153]
63733         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63734         for |x| <= 2**-26, not 2**-57.
63735         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63736         exception.
63738 2012-05-24  Jeff Law  <law@redhat.com>
63740         * stdio-common/Makefile (tests): Add bug25.
63741         * stdio-common/bug25.c: New test.
63743 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63745         [BZ #13576]
63746         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63747         multiple of MALLOC_ALIGNMENT in size.
63748         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63750 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63752         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63753         Require >= 256.
63754         (FILENAME_MAX): Use macro-int-constant.
63755         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63756         (_IOFBF): Use macro-int-constant.
63757         (_IOLBF): Likewise.
63758         (_IONBF): Likewise.
63759         (SEEK_CUR): Likewise.
63760         (SEEK_END): Likewise.
63761         (SEEK_SET): Likewise.
63762         (TMP_MAX): Likewise.
63763         (EOF): Use macro-int-constant.  Require < 0.
63764         (NULL): Use macro-constant.  Require == 0.
63765         (stdin): Require type to be FILE *.
63766         (stdout): Likewise.
63767         (stderr): Likewise.
63768         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63769         macro-int-constant.
63770         (EXIT_SUCCESS): Likewise.
63771         (NULL): Use macro-constant.  Require == 0.
63772         (RAND_MAX): Use macro-int-constant.
63773         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63774         [C99-based standards] (strtof): Require function.
63775         [C99-based standards] (strtold): Likewise.
63776         [C99-based standards] (strtoll): Likewise.
63777         [C99-based standards] (strtoull): Likewise.
63778         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63779         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63780         [ISO || ISO99 || ISO11] (math.h): Likewise.
63781         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63782         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63783         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63785 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63787         [BZ #14132]
63788         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63789         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63790         * intl/dgettext.c (DCGETTEXT): Likewise.
63791         * intl/gettext.c (DCGETTEXT): Likewise.
63792         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63793         * posix/regex_internal.h (gettext): Likewise.
63794         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63795         Remove declaration.
63796         * include/argz.h (__argz_count_internal)
63797         (__argz_stringify_internal): Remove declaration.
63798         (__argz_count, __argz_stringify): Declare hidden proto.
63799         * intl/dcgettext.c: Remove use of INTDEF.
63800         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63801         * string/argz-stringify.c: Likewise.
63802         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63803         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63804         Declare hidden proto.
63805         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63806         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63807         Declare hidden proto.
63808         * include/stdio.h (__asprintf_internal): Don't declare.
63809         (__asprintf): Don't define as macro.  Declare hidden proto.
63810         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63811         (__fsetlocking): Declare hidden proto.
63812         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63813         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63814         hidden proto.
63815         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63816         (_IO_setlinebuf): Remove use of INTUSE.
63817         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63818         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63819         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63820         Remove declaration.
63821         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63822         (_IO_do_flush): Remove use of INTUSE.
63823         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63824         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63825         (_IO_adjust_column, _IO_least_wmarker)
63826         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63827         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63828         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63829         (_IO_default_doallocate, _IO_wdefault_doallocate)
63830         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63831         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63832         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63833         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63834         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63835         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63836         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63837         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63838         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63839         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63840         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63841         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63842         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63843         proto.
63844         (_IO_flush_all_internal, _IO_adjust_column_internal)
63845         (_IO_default_uflow_internal, _IO_default_finish_internal)
63846         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63847         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63848         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63849         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63850         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63851         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63852         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63853         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63854         (_IO_file_close_internal, _IO_file_close_it_internal)
63855         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63856         (_IO_file_init_internal, _IO_file_attach_internal)
63857         (_IO_file_fopen_internal, _IO_file_read_internal)
63858         (_IO_file_sync_internal, _IO_file_seek_internal)
63859         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63860         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63861         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63862         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63863         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63864         (_IO_list_all_internal, _IO_link_in_internal)
63865         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63866         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63867         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63868         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63869         (_IO_do_write_internal, _IO_padn_internal)
63870         (_IO_getline_info_internal, _IO_getline_internal)
63871         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63872         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63873         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63874         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63875         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63876         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63877         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63878         with libc_hidden_ver, remove use of INTUSE.
63879         * libio/genops.c: Likewise.
63880         * libio/freopen.c: Likewise.
63881         * libio/freopen64.c: Likewise.
63882         * libio/iofclose.c: Likewise.
63883         * libio/iofdopen.c: Likewise.
63884         * libio/iofflush.c: Likewise.
63885         * libio/iofflush_u.c: Likewise.
63886         * libio/iofgets.c: Likewise.
63887         * libio/iofgets_u.c: Likewise.
63888         * libio/iofopen.c: Likewise.
63889         * libio/iofopncook.c: Likewise.
63890         * libio/iofread.c: Likewise.
63891         * libio/iofread_u.c: Likewise.
63892         * libio/ioftell.c: Likewise.
63893         * libio/iofwrite.c: Likewise.
63894         * libio/iogetline.c: Likewise.
63895         * libio/iogets.c: Likewise.
63896         * libio/iogetwline.c: Likewise.
63897         * libio/iopadn.c: Likewise.
63898         * libio/iopopen.c: Likewise.
63899         * libio/ioseekoff.c: Likewise.
63900         * libio/ioseekpos.c: Likewise.
63901         * libio/iosetbuffer.c: Likewise.
63902         * libio/iosetvbuf.c: Likewise.
63903         * libio/ioungetc.c: Likewise.
63904         * libio/ioungetwc.c: Likewise.
63905         * libio/iovdprintf.c: Likewise.
63906         * libio/iovsprintf.c: Likewise.
63907         * libio/iovsscanf.c: Likewise.
63908         * libio/memstream.c: Likewise.
63909         * libio/obprintf.c: Likewise.
63910         * libio/oldfileops.c: Likewise.
63911         * libio/oldiofclose.c: Likewise.
63912         * libio/oldiofdopen.c: Likewise.
63913         * libio/oldiofopen.c: Likewise.
63914         * libio/oldiopopen.c: Likewise.
63915         * libio/oldstdfiles.c: Likewise.
63916         * libio/putc.c: Likewise.
63917         * libio/setbuf.c: Likewise.
63918         * libio/setlinebuf.c: Likewise.
63919         * libio/stdfiles.c: Likewise.
63920         * libio/strops.c: Likewise.
63921         * libio/vasprintf.c: Likewise.
63922         * libio/vscanf.c: Likewise.
63923         * libio/vsnprintf.c: Likewise.
63924         * libio/vswprintf.c: Likewise.
63925         * libio/wfiledoalloc.c: Likewise.
63926         * libio/wfileops.c: Likewise.
63927         * libio/wgenops.c: Likewise.
63928         * libio/wmemstream.c: Likewise.
63929         * libio/wstrops.c: Likewise.
63930         * libio/__fpurge.c: Likewise.
63931         * libio/__fsetlocking.c: Likewise.
63932         * assert/assert.c: Likewise.
63933         * debug/fgets_chk.c: Likewise.
63934         * debug/fgets_u_chk.c: Likewise.
63935         * debug/fread_chk.c: Likewise.
63936         * debug/fread_u_chk.c: Likewise.
63937         * debug/gets_chk.c: Likewise.
63938         * debug/obprintf_chk.c: Likewise.
63939         * debug/vasprintf_chk.c: Likewise.
63940         * debug/vdprintf_chk.c: Likewise.
63941         * debug/vsnprintf_chk.c: Likewise.
63942         * debug/vsprintf_chk.c: Likewise.
63943         * malloc/mtrace.c: Likewise.
63944         * misc/error.c: Likewise.
63945         * misc/syslog.c: Likewise.
63946         * stdio-common/asprintf.c: Likewise.
63947         * stdio-common/fxprintf.c: Likewise.
63948         * stdio-common/getw.c: Likewise.
63949         * stdio-common/isoc99_fscanf.c: Likewise.
63950         * stdio-common/isoc99_scanf.c: Likewise.
63951         * stdio-common/isoc99_vfscanf.c: Likewise.
63952         * stdio-common/isoc99_vscanf.c: Likewise.
63953         * stdio-common/isoc99_vsscanf.c: Likewise.
63954         * stdio-common/printf-prs.c: Likewise.
63955         * stdio-common/printf_fp.c: Likewise.
63956         * stdio-common/printf_fphex.c: Likewise.
63957         * stdio-common/printf_size.c: Likewise.
63958         * stdio-common/putw.c: Likewise.
63959         * stdio-common/scanf.c: Likewise.
63960         * stdio-common/sprintf.c: Likewise.
63961         * stdio-common/tmpfile.c: Likewise.
63962         * stdio-common/vfprintf.c: Likewise.
63963         * stdio-common/vfscanf.c: Likewise.
63964         * stdlib/strfmon_l.c: Likewise.
63965         * sunrpc/openchild.c: Likewise.
63966         * sunrpc/xdr_stdio.c: Likewise.
63967         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63968         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63970 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63972         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63974         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63975         in the third column, to generate for the shared library an IFUNC
63976         that uses _dl_vdso_vsym.
63977         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63978         * Makeconfig (object-suffixes-noshared): New variable.
63980         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63981         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63982         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63983         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63985         [BZ #14132]
63986         * include/sys/time.h (__gettimeofday): Remove macro.
63987         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63988         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63989         Remove INTDEF.
63990         (__gettimeofday): Add libc_hidden_def.
63991         (gettimeofday): Add libc_hidden_weak.
63992         * sysdeps/mach/gettimeofday.c: Likewise.
63993         * sysdeps/posix/gettimeofday.c: Likewise.
63994         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63995         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63997         (__gettimeofday_internal): Remove strong_alias.
63998         (__gettimeofday): Add libc_hidden_def.
63999         (gettimeofday): Add libc_hidden_weak.
64000         * sysdeps/unix/syscalls.list (gettimeofday):
64001         Remove __gettimeofday_internal alias.
64003 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64004             H.J. Lu  <hongjiu.lu@intel.com>
64006         [BZ #12495]
64007         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64008         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64009         (largebin_index_32_big): New.
64010         (largebin_index): Use it for 16-byte alignment.
64011         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64012         correction with front_misalign.
64014 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64018         Likewise.
64019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64020         Likewise.
64021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64022         Likewise.
64023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64024         Likewise.
64025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64026         Likewise.
64027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64028         Likewise.
64029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64030         Likewise.
64031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64032         Likewise.
64033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64034         Likewise.
64035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64036         Likewise.
64037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64038         Likewise.
64039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64040         Likewise.
64042         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64043         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64045 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64047         [BZ #10846]
64048         [BZ #14036]
64049         * math/libm-test.inc (exp_test): Add test from bug 14036.
64050         (pow_test): Add test from bug 10846.
64052         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64053         and other flags.
64054         (special_function): Do not include flags in test name.
64055         (parse_args): Likewise.
64056         * sysdeps/i386/fpu/libm-test-ulps: Update.
64057         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64058         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64059         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64062         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64063         exceptions.
64064         * math/libm-test.inc ("Philosophy"): Update comment about
64065         exception testing.
64066         (UNDERFLOW_EXCEPTION): New macro.
64067         (UNDERFLOW_EXCEPTION_OK): Likewise.
64068         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64069         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64070         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64071         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64072         (INVALID_EXCEPTION_OK): Update value.
64073         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64074         (OVERFLOW_EXCEPTION_OK): Likewise.
64075         (IGNORE_ZERO_INF_SIGN): Likewise.
64076         (test_exceptions): Handle underflow exceptions.
64077         (acos_test): Update for underflow exception expectations.
64078         (cexp_test): Likewise.
64079         (clog_test): Likewise.
64080         (clog10_test): Likewise.
64081         (csqrt_test): Likewise.
64082         (ctan_test): Likewise.
64083         (ctanh_test): Likewise.
64084         (exp_test): Likewise.
64085         (exp10_test): Likewise.
64086         (exp2_test): Likewise.
64087         (expm1_test): Likewise.
64088         (fma_test): Likewise.
64089         (j0_test): Likewise.
64090         (jn_test): Likewise.
64091         (nexttoward_test): Likewise.
64092         (pow_test): Likewise.
64093         (scalbn_test): Likewise.
64094         (scalbln_test): Likewise.
64095         (tan_test): Likewise.
64096         (y1_test): Likewise.
64097         * sysdeps/i386/fpu/libm-test-ulps: Update.
64098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64100 2012-05-23  David S. Miller  <davem@davemloft.net>
64102         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64103         (__libc_sigaction): Remove unused local variables.
64105 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64107         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64109 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64111         mktime: avoid signed integer overflow
64112         * time/mktime.c (__mktime_internal): Do not mishandle the case
64113         where diff == INT_MIN.
64115         mktime: simplify computation of average
64116         * time/mktime.c (ranged_convert): Use new time_t_avg function
64117         instead of rolling our own (probably-slower) code.
64119         mktime: do not assume signed right shift propagates sign bit
64120         * time/mktime.c (isdst_differ): New static function.
64121         (__mktime_internal): No need to normalize tm_isdst now.
64122         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64123         tm_isdst values.
64125         mktime: merge another wrapv change from gnulib
64126         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64127         from some compilers.
64129         mktime: remove incorrect attempt at unusual arithmetics
64130         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64131         The code didn't really work on such machines anyway.
64132         (TYPE_MINIMUM): Assume two's complement.
64133         (twos_complement_arithmetic): Verify that long_int and time_t
64134         are two's complement (or unsigned, in the latter case).
64136         mktime: check signed shifts on long_int and time_t, too
64137         * time/mktime.c (SHR): Check that shifts work as desired
64138         on the types long_int and time_t too, as SHR is used on
64139         such types.
64141         mktime: do not assume 'long' is wide enough
64142         * time/mktime.c (verify): Move decl up.
64143         (long_int): New type.
64144         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64145         to remove assumption in the code that 'long' is wide enough to
64146         store year values.  This assumption is not true on x32 and on
64147         some non-glibc platforms.
64149         mktime: merge wrapv change from gnulib
64150         * time/mktime.c (WRAPV): New macro.
64151         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64152         (guess_time_tm, __mktime_internal): Do not assume that signed
64153         integer overflow wraps around; modern compilers generate code
64154         where this assumption is no longer valid.
64156 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64158         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64159         Replace "jmp L(pseudo_end)" with "ret".
64160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64161         Likewise.
64163 2012-05-23  Andreas Jaeger  <aj@suse.de>
64165         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64166         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64168 2012-05-23  Andreas Jaeger  <aj@suse.de>
64169             Maximilian Attems  <max@stro.at>
64171         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64172         New macros.
64174 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64176         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64177         code so that pseudo_end is just ret and the stack pointer is
64178         correct also for static library in error case.
64180 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64182         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64183         move to syscalls.list.
64184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64189         * manual/install.texi (Running make install): Do not mention Linux
64190         kernel version for which pt_chown is not needed.
64191         (Linux): Do not mention problems with nscd with 2.0 kernels.
64192         * INSTALL: Regenerated.
64194 2012-05-23  Andreas Jaeger  <aj@suse.de>
64196         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64197         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64198         macro.
64199         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64200         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64201         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64202         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64203         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64204         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64205         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64206         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64207         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64208         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64209         * sysdeps/unix/sysv/linux/bits/in.h
64210         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64212 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64214         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64215         (PREPARE_VERSION): Just use assert instead, it will be elided
64216         under [NDEBUG] anyway.
64218 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64220         * sysdeps/unix/sysv/linux/Makefile: Include
64221         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64222         (sysdep_routines): Remove sysctl.
64223         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64224         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64225         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64226         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64227         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64229 2012-05-22  Andreas Jaeger  <aj@suse.de>
64231         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64232         that pseudo_end is just ret and the stack pointer is correct also
64233         for static library in error case.
64235 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64237         [BZ #14122]
64238         * nss/nsswitch.c (defconfig_entries): New variable.
64239         (__nss_database_lookup): Don't leak defconfig entries.
64240         (nss_parse_service_list): Don't leak on error paths.
64241         (free_database_entries): New function.
64242         (free_defconfig): New function.
64243         (free_mem): Move common code to free_database_entries.
64245 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64247         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64248         Add arch_prctl.
64249         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64251         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64252         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64254         New macro.
64255         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64256         (INTERNAL_SYSCALL_TYPES): Likewise.
64257         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64258         (LOAD_REGS_TYPES_[1-6]): Likewise.
64259         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64260         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64262 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64264         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64265         copysignl for GLIBC_2_0.
64266         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64267         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64268         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64269         logbl for GLIBC_2_0.
64270         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64271         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64273 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64275         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64276         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64278         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64279         Use "neg %eax".
64281         * time/mktime.c: Update copyright years.
64283 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64285         mktime: merge comment-quoting-style change from gnulib
64286         * time/mktime.c: Quote 'like this' in comments.
64287         The GNU coding standards suggest that we no longer quote `like this',
64288         as "`" and "'" are typically rendered asymmetrically nowadays.
64289         The typical gnulib style is to quote 'like this' when quoting
64290         code, and "like this" when quoting English.
64292         * time/mktime.c (compile-command): Add "-I.".
64294         mktime: merge mktime-internal.h change from gnulib
64295         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64297         mktime: merge time_r change from gnulib
64298         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64300         mktime: merge DEBUG change from gnulib
64301         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64302         case system <time.h> has a #define.
64304         mktime: merge <sys/types.h> change from gnulib
64305         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64306         since <time.t> is now guaranteed to define time_t.
64308         mktime: merge HAVE_CONFIG_H change from gnulib
64309         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64311 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64313         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64314         Use "neg %eax".
64316         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64317         __rlim_t cast.
64318         (struct rusage): Use anonymous union to pad each field to
64319         __syscall_slong_t.
64321 2012-05-21  David S. Miller  <davem@davemloft.net>
64323         * Makefules (o-iterator): Remove .s cases.
64324         (compile-command.s): Delete.
64325         (COMPILE.s): Delete.
64326         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64328 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64330         * configure.in (libc_cv_predef_stack_protector): Only consider
64331         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64332         * configure: Regenerated.
64334 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64336         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64337         New macro.  Use R*LP on int and pointer.
64338         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64339         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64340         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64341         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64343         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64344         [__WORDSIZE_TIME64_COMPAT32] instead of
64345         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64346         (struct utmp): Likewise.
64347         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64348         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64349         Renamed to ...
64350         (__WORDSIZE_TIME64_COMPAT32): This.
64351         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64352         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64353         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64354         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64355         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64356         (__WORDSIZE_TIME64_COMPAT32): New macro.
64358 2012-05-21  Andreas Jaeger  <aj@suse.de>
64360         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64361         only if [SHARED]. Add prototype for __wcschr_ia32.
64363 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64365         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64366         of %rbp unmolested in the jmp_buf while mangling the low bits.
64367         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64368         unmolested high bits of %rbp while demangling the low bits.
64369         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64371 2012-05-21  Andreas Jaeger  <aj@suse.de>
64373         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64374         * sunrpc/svc_simple.c: Use it for registerrpc.
64375         * sunrpc/xcrypt.c: Use it for passwd2des.
64377         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64379 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64381         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64382         Don't define if [__SYSCALL_WORDSIZE != 32].
64383         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64384         New macro.
64386 2012-05-21  Bruno Haible  <bruno@clisp.org>
64387             Andreas Jaeger  <aj@suse.de>
64389         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64390         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64391         inptr and inend for must_buffer_ch.
64392         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64393         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64394         * stdio-common/Makefile (tests): Remove bug15.
64395         (bug15-ENV): Remove macro.
64396         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64397         anymore.
64399 2012-05-19  Andreas Jaeger  <aj@suse.de>
64400             Roland McGrath  <roland@hack.frob.com>
64402         * manual/contrib.texi: Completely rewritten. It contains now an
64403         alphabetical list of contributors and their contributions.
64405 2012-05-21  Richard Henderson  <rth@twiddle.net>
64407         * misc/getauxval.c (__getauxval): Use unsigned long int.
64408         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64409         (getauxval): Use unsigned long int.
64411 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64413         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64415 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64417         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64418         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64419         __alignof__ (long double).
64421 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64425 2012-05-20  Richard Henderson  <rth@twiddle.net>
64427         * misc/getauxval.c: New file.
64428         * misc/sys/auxv.h: New file.
64429         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64430         (routines): Add getauxval.
64431         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64432         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64433         * elf/dl-sysdep.c (_dl_auxv): Remove.
64434         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64435         * elf/dl-support.c (_dl_auxv): New variable.
64436         (_dl_aux_init): Initialize it.
64437         * manual/startup.texi (Auxiliary Vector): New node.
64438         * sysdeps/generic/bits/hwcap.h: New file.
64439         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64440         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64441         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64442         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64443         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64444         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64446         Update.
64447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64450         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64456 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64460 2012-05-19  David S. Miller  <davem@davemloft.net>
64462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64464 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64466         [BZ #14123]
64467         * math/s_ccosh.c: Include <float.h>
64468         (__ccosh): Avoid internal overflow calculating sinh and cosh
64469         values before multiplying by sin and cos values.
64470         * math/s_ccoshf.c: Likewise.
64471         * math/s_ccoshl.c: Likewise.
64472         * math/s_csin.c: Likewise.
64473         * math/s_csinf.c: Likewise.
64474         * math/s_csinl.c: Likewise.
64475         * math/s_csinh.c: Likewise.
64476         * math/s_csinhf.c: Likewise.
64477         * math/s_csinhl.c: Likewise.
64478         * math/libm-test.inc (ccos_test): Add more tests.
64479         (ccosh_test): Likewise.
64480         (csin_test): Likewise.
64481         (csinh_test): Likewise.
64482         * sysdeps/i386/fpu/libm-test-ulps: Update.
64483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64485 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64487         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64488         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64490         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64492 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64494         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64495         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64496         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64497         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64498         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64499         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64500         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64501         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64502         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64503         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64504         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64505         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64506         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64507         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64508         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64509         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64510         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64511         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64512         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64513         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64514         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64515         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64516         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64517         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64518         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64519         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64520         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64521         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64522         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64523         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64524         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64526 2012-05-18  Andreas Jaeger  <aj@suse.de>
64528         * csu/.gitignore: Delete.
64530 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64532         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64533         (timex): Use __syscall_slong_t.
64535 2012-05-18  Andreas Jaeger  <aj@suse.de>
64536             Carlos O'Donell  <carlos_odonell@mentor.com>
64538         * manual/install.texi (Configuring and compiling): Update
64539         description about files modified in the source directory.
64540         * INSTALL: Regenerated.
64542 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64544         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64545         value.  Use "or" to set return value to -1.
64546         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64547         negate return value.
64549 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64551         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64552         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64553         failure if the compiler has Graphite support disabled.
64554         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64555         Likewise.
64556         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64557         (CFLAGS-memmove.c): Likewise.
64558         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64559         Likewise.
64561 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64563         * sysdeps/x86_64/x32/_itoa.h: New file.
64565         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64566         getdents system call only if kernel and user dirents have the
64567         same d_ino and d_off.
64569         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64570         LLONG_MAX != LONG_MAX.
64571         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64572         (_fitoa_word): Likewise.
64574         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64575         years.
64576         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64577         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64578         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64580         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64581         include <bits/wordsize.h>.  Check __x86_64__ instead of
64582         __WORDSIZE.
64583         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64584         if __x86_64__ is defined.  Use anonymous union on fpstate.
64586         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64587         anonymous union.
64589 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64591         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64592         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64593         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64594         Refer to _rtld_local_ro instead of _rtld_global_ro.
64595         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64596         Likewise.
64597         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64598         Likewise.
64599         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64600         Likewise.
64601         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64602         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64603         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64605         [BZ #10882]
64606         * sysdeps/powerpc/powerpc32/dl-machine.c
64607         (__elf_machine_runtime_setup) [PROF]: Don't reference
64608         _dl_prof_resolve.
64610 2012-05-18  Andreas Jaeger  <aj@suse.de>
64612         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64613         function only available for GCCs before 3.4 since GCC 3.4
64614         introduced a builtin.
64615         (lrint): Likewise.
64616         (llrintf): Likewise.
64617         (llrint): Likewise.
64618         (fmaxf): Likewise.
64619         (fmax): Likewise.
64620         (fminf): Likewise.
64621         (fmin): Likewise.
64622         (rint): Likewise.
64623         (rintf): Likewise.
64624         (nearbyint): Likewise.
64625         (nearbyintf): Likewise.
64626         (ceil): Likewise.
64627         (ceilf): Likewise.
64628         (floor): Likewise.
64629         (floorf): Likewise.
64631 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64633         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64634         on both fields and cast pointer to __syscall_ulong_t.
64636         * bits/types.h (__fsword_t): New type.
64637         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64638         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64639         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64640         (__FSWORD_T_TYPE): Likewise.
64641         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64642         (__FSWORD_T_TYPE): Likewise.
64643         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64644         (__FSWORD_T_TYPE): Likewise.
64645         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64646         (__FSWORD_T_TYPE): Likewise.
64647         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64648         __SWORD_TYPE with __fsword_t.
64649         (statfs64): Likewise.
64651 2012-05-17  David S. Miller  <davem@davemloft.net>
64653         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64655 2012-05-17  Andreas Jaeger  <aj@suse.de>
64657         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64658         warning.
64660 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64662         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64664 2012-05-17  Andreas Jaeger  <aj@suse.de>
64666         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64667         when it is used.
64669 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64671         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64673 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64675         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64676         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64678 2012-05-17  Andreas Jaeger  <aj@suse.de>
64679             Carlos O'Donell  <carlos_odonell@mentor.com>
64681         [BZ #14059]
64682         * sysdeps/x86_64/multiarch/init-arch.h
64683         (bit_YMM_Usable): Rename to...
64684         (bit_AVX_Usable): ... this.
64685         (bit_FMA4_Usable): New macro.
64686         (bit_XMM_state): New macro.
64687         (bit_YMM_state): New macro.
64688         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64689         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64690         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64691         (CPUID_OSXSAVE): New macro.
64692         (CPUID_AVX): New macro.
64693         (CPUID_FMA4): New macro.
64694         (index_YMM_Usable): Rename to...
64695         (index_AVX_Usable): ... this.
64696         (HAS_AVX): Use HAS_ARCH_FEATURE.
64697         (HAS_FMA4): Likewise.
64698         (HAS_YMM_USABLE): Remove.
64699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64700         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64701         are present.
64702         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64703         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64704         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64705         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64706         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64708 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64710         * math/libm-test.c: Support platforms without multiple rounding modes.
64711         * math/bug-nextafter.c: Support platforms without FP exceptions.
64712         * math/bug-nexttoward.c: Likewise.
64713         * math/test-fenv.c: Likewise.
64714         * math/test-misc.c: Likewise.
64715         * stdlib/bug-getcontext.c: Likewise.
64717 2012-05-17  Andreas Jaeger  <aj@suse.de>
64719         * manual/examples/search.c (critter_cmp): Change signature to
64720         avoid warnings.
64721         * manual/string.texi (Collation Functions): Likewise.
64723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64725         * bits/types.h: Fold copyright years.
64726         * bits/typesizes.h: Likewise.
64727         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64731         * time/time.h: Likewise.
64733 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64735         [BZ #208]
64736         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64737         in instead of returning them.  Return void.
64738         (__libc_mallinfo): Accumulate over all arenas.
64739         (__malloc_stats): Adjust for change in int_mallinfo interface.
64741 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64743         [BZ #10375]
64744         * configure.in (NM): Add AC_CHECK_TOOL for it.
64745         (libc_extra_cflags): New substituted variable.
64746         Check for -fstack-protector being used implicitly.
64747         * configure: Regenerated.
64748         * config.make.in (config-extra-cflags): New variable,
64749         gets @libc_extra_cflags@.
64750         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64752         [BZ #10375]
64753         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64754         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64755         * configure: Regenerated.
64756         * config.make.in (CPPUNDEFS): New substituted variable.
64757         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64758         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64759         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64761 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64763         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64764         (mq_attr): Use __syscall_slong_t.
64766 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64768         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64769         Check __x86_64__ instead of __WORDSIZE.
64770         (_STAT_VER_LINUX): Likewise.
64771         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64772         __syscall_ulong_t and __syscall_slong_t.
64773         (stat64): Likewise.
64775 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64777         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64779 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64781         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64783 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64785         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64786         __syscall_ulong_t.
64788         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64789         include <bits/wordsize.h>.  Check __x86_64__ instead of
64790         __WORDSIZE.
64791         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64792         defined.
64793         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64795         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64796         include <bits/wordsize.h>.  Check __x86_64__ instead of
64797         __WORDSIZE.
64798         (user_regs_struct): Use "__extension__ unsigned long long"
64799         instead of "unsigned long" if __x86_64__ is defined.
64800         (user): Likewise.  Pad after pointer field if __ILP32__ is
64801         defined.
64803 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64805         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64806         versions 5 to 9.
64807         * configure: Regenerated.
64808         * manual/install.texi (texinfo): Increase version requirement to
64809         4.5 or later.
64810         * INSTALL: Regenerated.
64812         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64814 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64816         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64818         * sysdeps/x86_64/x32/ffs.c: New file.
64820         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64821         __syscall_ulong_t.
64822         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64823         defined.  Use __syscall_ulong_t.
64824         (shminfo): Use __syscall_ulong_t.
64825         (shm_info): Likewise.
64827         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64828         __syscall_ulong_t.
64830         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64831         <bits/wordsize.h>.
64832         (msgqnum_t): Use __syscall_ulong_t.
64833         (msglen_t): Likewise.
64834         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64835         __syscall_ulong_t.
64837         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64838         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64840         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64842         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64843         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64845         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64846         __syscall_slong_t.
64848         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64849         include <bits/wordsize.h>.  Check __x86_64__ instead of
64850         __WORDSIZE.
64852         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64853         "unsigned long long int" if __x86_64__ is defined.
64854         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64856         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64857         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64858         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64860         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64861         <stdint.h>.
64862         (GET_PC): Cast to uintptr_t first.
64863         (GET_FRAME): Likewise.
64864         (GET_STACK): Likewise.
64866         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64867         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64868         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64869         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64870         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64871         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64872         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64873         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64874         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64875         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64876         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64877         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64878         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64879         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64880         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64881         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64882         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64883         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64884         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64885         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64886         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64887         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64888         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64889         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64890         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64891         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64892         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64893         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64894         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64896 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64898         * Makerules (+depfiles): Also collect depfiles from .oS in
64899         $(extra-objs).
64900         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64901         .oS, $(libnldbl-routines)).
64903         * Makerules (native-compile-mkdep-flags): Define.
64904         * sunrpc/Makefile (extra-objs): Add $(addprefix
64905         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64906         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64907         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64908         calling $(make-target-directory).
64910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64912         * bits/types.h (__snseconds_t): Removed.
64913         * time/time.h (struct timespec): Replace __snseconds_t with
64914         __syscall_slong_t.
64915         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64916         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64917         Likewise.
64918         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64919         (__SNSECONDS_T_TYPE): Likewise.
64920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64921         (__SNSECONDS_T_TYPE): Likewise.
64922         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64923         (__SNSECONDS_T_TYPE): Likewise.
64925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64927         * sysdeps/mach/hurd/bits/typesizes.h
64928         (__SYSCALL_SLONG_TYPE): New macro.
64929         (__SYSCALL_ULONG_TYPE): Likewise.
64931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64933         * bits/types.h (__syscall_slong_t): New type.
64934         (__syscall_ulong_t): Likewise.
64936         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64937         (__SYSCALL_ULONG_TYPE): Likewise.
64938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64939         (__SYSCALL_SLONG_TYPE): Likewise.
64940         (__SYSCALL_ULONG_TYPE): Likewise.
64941         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64942         (__SYSCALL_SLONG_TYPE): Likewise.
64943         (__SYSCALL_ULONG_TYPE): Likewise.
64944         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64945         (__SYSCALL_SLONG_TYPE): Likewise.
64946         (__SYSCALL_ULONG_TYPE): Likewise.
64948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64950         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64951         Add sigaltstack-offsets.sym.
64952         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64953         <sigaltstack-offsets.h>.
64954         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64955         longjmp_msg pointer.
64956         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64957         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64958         signal stack.
64959         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64961 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64963         * elf/stackguard-macros.h: Remove file.
64964         * sysdeps/generic/stackguard-macros.h: New file.
64965         * sysdeps/i386/stackguard-macros.h: Likewise.
64966         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64967         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64968         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64969         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64970         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64971         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64972         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64973         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64974         <elf/stackguard-macros.h>.
64976         [BZ #14109]
64977         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64978         __aligned__ in attribute.
64979         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64980         (gregset_t): Likewise.
64982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64984         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64985         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64986         * sysdeps/x86_64/x32/Implies-after: New file.
64988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64990         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64991         and access return value for _dl_profile_fixup.  Use R10_LP to
64992         load frame size.
64994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64996         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65000         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65001         * sysdeps/x86_64/x32/sysdep.h: New file.
65003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65005         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65006         * sysdeps/x86_64/setjmp.S: Likewise.
65008 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65010         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65011         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65012         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65013         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65014         remove unused global constant.
65016 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65018         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65019         include of <not-cancel.h>.
65021 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65023         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65025 2012-05-15  Jeff Law  <law@redhat.com>
65026             Andreas Jaeger  <aj@suse.de>
65028         [BZ #13594]
65029         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65030         out from...
65031         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65032         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65033         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65034         code changing __hst_map_handle.map.
65036 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65038         * configure.in (sysnames): Look for Implies-before and Implies-after
65039         files.
65040         * configure: Regenerated.
65042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65044         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65045         8-byte data alignment with LP_SIZE alignment.
65047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65049         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65050         into R10_LP.
65052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65054         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65058         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65059         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65060         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65061         Likewise.
65062         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65066         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65067         (stackinfo_sub_sp): Likewise.
65069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65071         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65072         RAX_LP.
65074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65076         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65077         into R*_LP.
65079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65082         sizes into R*_LP.
65084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65086         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65090         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65091         into R11_LP and load __x86_64_shared_cache_size_half into
65092         R8_LP.
65094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65096         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65097         R8_LP.
65099 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65102         logb for POWER7.
65103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65104         logbf for POWER7.
65105         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65106         logbl for POWER7.
65107         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65108         powerpc32/power7/fpu/s_logb.c via #include.
65109         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65110         powerpc32/power7/fpu/s_logbf.c via #include.
65111         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65112         powerpc32/power7/fpu/s_logbl.c via #include.
65114 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65116         * README.libm: Remove file.
65118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65120         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65121         count for x32.  Use R*_LP and omit operand-size suffix.
65123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65125         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65126         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65127         * sysdeps/x86_64/x32/shlib-versions: New file.
65129 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65131         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65132         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65133         Use _dl_fatal_printf instead.
65135 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65137         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65138         set if not set by the user.  Do not allow for being unset.
65139         * sysdeps/unix/sysv/linux/configure: Regenerated.
65141 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65143         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65144         the `q' suffix from lea and replace .quad with ASM_ADDR.
65146 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65149         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65150         instead of $17.
65151         (PTR_DEMANGLE): Likewise.
65153 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65155         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65156         (LP_OP): Likewise.
65157         (ASM_ADDR): Likewise.
65158         (RAX_LP): Likewise.
65159         (RBP_LP): Likewise.
65160         (RBX_LP): Likewise.
65161         (RCX_LP): Likewise.
65162         (RDI_LP): Likewise.
65163         (RSI_LP): Likewise.
65164         (RSP_LP): Likewise.
65165         (R8_LP): Likewise.
65166         (R9_LP): Likewise.
65167         (R10_LP): Likewise.
65168         (R10_LP): Likewise.
65169         (R11_LP): Likewise.
65170         (R12_LP): Likewise.
65171         (R13_LP): Likewise.
65172         (R14_LP): Likewise.
65173         (R15_LP): Likewise.
65175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65177         * sysdeps/x86_64/x32/dl-machine.h: New file.
65179 2012-05-14  Andreas Jaeger  <aj@suse.de>
65181         * manual/Makefile (subdir): Remove export of subdir.
65182         (all): Remove target.
65183         (.PHONY): Remove all from list.
65184         (mkinstalldirs): Remove.
65185         (.PHONY): Remove installdirs from list.
65186         ($(inst_infodir)/libc.info): Use make-target-directory.
65187         (installdirs): Remove.
65188         (subdir_%): Remove.
65189         (glibc-targets): Remove.
65190         (lib): Remove.
65191         (stubs): Remove.
65192         ($(objpfx)stubs ../po/manual.pot): Remove.
65193         ($(objpfx)stamp%): Remove.
65194         (make-target-directory): Remove.
65195         (subdir_install): Remove.
65196         (routines): Remove.
65197         (aux): Remove.
65198         (sources): Remove.
65199         (objects): Remove.
65200         (headers): Remove.
65202         [BZ #13750]
65203         * manual/.gitignore: Remove, it's not needed anymore.
65204         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65205         all files in it.
65206         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65207         directory.
65208         (texis): Renamed to $(objpfx)texis.
65209         (texis-path): New, contains path to generated files.
65210         (chapters.%): Use texis-path for complete path, add extra argument
65211         libc-texinfo.sh.
65212         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65213         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65214         (summary,texi, stamp-summary): Use complete path of
65215         files. Generate files in build dir.
65216         (dir-add.texi): Build in build dir.
65217         (libm-err.texi,stamp-libm-err): Likewise.
65218         (version.texi, stamp-version): Likewise.
65219         (.%c.texi): Likewise.
65220         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65221         (mostlyclean): Remove target.
65222         (realclean): Remove target.
65223         (generated): Add new variable with contents from mostlyclean and
65224         realclean, remove entries duplicated in common-mostlyclean, add
65225         stamp-libm-err and stamp-version.
65226         (generated-dirs): Add libc directory.
65227         ($(inst_infodir)/libc.info): Install files from build dir.
65229         * manual/install.texi (Configuring and compiling): Adjust since
65230         the info files are not part of the tar ball anymore.
65232 2012-05-14  Andreas Jaeger  <aj@suse.de>
65234         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65235         variable.
65237 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65239         [BZ #13717]
65240         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65241         to 2.2.0 where earlier.
65242         * sysdeps/unix/sysv/linux/configure: Regenerated.
65243         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65244         Remove conditional code.
65245         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65246         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65247         Remove conditional code.
65248         [!__NR_lchown]: Likewise.
65249         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65250         [__NR_lchown]: Likewise.
65251         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65252         comment referencing __ASSUME_LCHOWN_SYSCALL.
65253         * sysdeps/unix/sysv/linux/i386/sigaction.c
65254         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65255         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65256         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65257         Remove conditional code.
65258         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65259         (__protocol_available): Remove #if 0 code.
65260         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65261         conditional code.
65262         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65263         * sysdeps/unix/sysv/linux/kernel-features.h
65264         (__ASSUME_GETCWD_SYSCALL): Don't define.
65265         (__ASSUME_REALTIME_SIGNALS): Likewise.
65266         (__ASSUME_PREAD_SYSCALL): Likewise.
65267         (__ASSUME_PWRITE_SYSCALL): Likewise.
65268         (__ASSUME_POLL_SYSCALL): Likewise.
65269         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65270         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65271         non-SPARC.
65272         (__ASSUME_SIOCGIFNAME): Don't define.
65273         (__ASSUME_MSG_NOSIGNAL): Likewise.
65274         (__ASSUME_SENDFILE): Define unconditionally.
65275         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65276         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65277         conditional code.
65278         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65279         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65280         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65281         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65282         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65283         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65284         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65286         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65287         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65289         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65292         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65293         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65295         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65298         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65299         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65301         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65302         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65304         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65305         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65307         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65308         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65309         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65310         Remove conditional code.
65311         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65312         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65313         Remove conditional code.
65314         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65315         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65316         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65317         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65318         Remove conditional code.
65319         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65320         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65321         Remove conditional code.
65322         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65323         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65324         Remove conditional code.
65325         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65326         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65327         Remove conditional code.
65328         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65329         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65330         Remove conditional code.
65331         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65332         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65333         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65334         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65335         * sysdeps/unix/sysv/linux/sigaction.c
65336         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65337         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65338         * sysdeps/unix/sysv/linux/sigpending.c
65339         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65340         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65341         * sysdeps/unix/sysv/linux/sigprocmask.c
65342         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65343         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65344         * sysdeps/unix/sysv/linux/sigsuspend.c
65345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65347         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65348         (__libc_missing_rt_sigs): Remove.
65349         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65350         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65351         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65352         Remove conditional code.
65353         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65354         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65355         return 1.
65356         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65357         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65358         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65359         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65361 2012-05-14  Andreas Jaeger  <aj@suse.de>
65363         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65364         it's not used in glibc.
65365         (__coshm1): Likewise.
65366         (__acosh1p): Likewise.
65367         (__sgn): Likewise.
65369         * manual/string.texi (Copying and Concatenation): Add missing
65370         variable in concat example.
65371         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65373 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65375         [BZ #14103]
65376         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65377         __builtin_clzl with __builtin_clzll.
65379 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65381         [BZ #14104]
65382         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65383         libc_freeres_ptr.
65385 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65387         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65388         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65389         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65390         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65392 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65394         * NEWS: Update ia64 info.
65396 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65398         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65399         used as bcopy.
65401 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65403         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65404         * sysdeps/unix/syscalls.list (dup3): Likewise.
65405         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65406         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65408 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65410         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65411         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65413 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65415         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65416         thread pointer.
65417         (TLS_IE): Use mov/add instead of movq/addq to load thread
65418         pointer.
65419         (TLS_GD_PREFIX): New.
65420         (TLS_GD): Use it.
65422 2012-05-11  David S. Miller  <davem@davemloft.net>
65424         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65425         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65426         (_FPU_SETCW): Likewise.
65428 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65430         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65431         is 32-byte aligned.
65433 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65435         [BZ #11837]
65436         * iconvdata/gb18030.c: Update tables.
65437         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65438         characters specially.
65439         (BODY for TO_LOOP): Add encoding of missing ranges.
65441 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65443         [BZ #13673]
65444         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65445         * sysdeps/mach/hurd/dup3.c: Likewise.
65446         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65447         * sysdeps/powerpc/memmove.c:: Likewise.
65449 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65451         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65452         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65454 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65456         * elf/elf.h (R_X86_64_RELATIVE64): New.
65457         (R_X86_64_NUM): Updated.
65458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65459         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65460         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65461         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65462         tst-quad1pie tst-quad2pie
65463         (modules-names): Add tst-quadmod1 tst-quadmod2.
65464         ($(objpfx)tst-quad1): New dependency.
65465         ($(objpfx)tst-quad2): Likewise.
65466         ($(objpfx)tst-quad1pie): Likewise.
65467         ($(objpfx)tst-quad2pie): Likewise.
65468         * sysdeps/x86_64/tst-quad1.c: New file.
65469         * sysdeps/x86_64/tst-quad1pie.c: New file.
65470         * sysdeps/x86_64/tst-quad2.c: Likewise.
65471         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65472         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65473         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65474         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65475         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65479         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65480         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65481         * streams/stropts.h (t_scalar_t): Define type.
65483         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65484         (_PATH_PRESERVE): Set to "/var/lib".
65485         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65487         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65488         instead of int.
65490         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65491         if __dir_mkfile succeeded.
65493         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65494         checking for _hurd_dtablesize.  Unlock it right after having
65495         finished _hurd_dtable allocation.
65497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65499         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65500         * sysdeps/mach/hurd/configure: Regenerated.
65501         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65502         special-casing to...
65503         * sysdeps/gnu/configure.in: ... this new file.
65504         * sysdeps/unix/sysv/linux/configure: Regenerated.
65505         * sysdeps/gnu/configure: New generated file.
65507         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65508         for Linux: use nsec instead of usec, as well as:
65509         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65510         members of type struct timespec.
65511         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65512         New macros.
65513         (struct stat64): Likewise.
65514         (_STATBUF_ST_NSEC): New macro.
65515         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65517         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65518         __strtoul_internal rather than strtoul.
65520 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65522         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65523         and reject them.
65525 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65527         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65528         which preserves existing values.
65529         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65531 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65533         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65534         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65535         greater than FD_SETSIZE.
65537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65539         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65540         allocated, call __vm_protect to finish enabling the existing space, and
65541         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65542         allocate the remainder.
65544 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65546         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65547         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65551         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65552         sysdeps/mach/hurd/readlink.c.
65554         * posix/tst-sysconf.c (posix_options): Only use
65555         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65556         _POSIX_SYNCHRONIZED_IO when they are defined
65557         * sysdeps/mach/hurd/bits/posix_opt.h:
65558         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65559         (_XOPEN_REALTIME): Undefine macro.
65560         (_XOPEN_REALTIME_THREADS): Undefine macro.
65561         (_XOPEN_SHM): Undefine macro.
65562         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65563         macro to -1.
65564         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65565         macro to -1.
65566         (_POSIX_ASYNC_IO): Undefine macro.
65567         (_POSIX_PRIORITIZED_IO): Undefine macro.
65568         (_POSIX_SPIN_LOCKS): Define macro to -1.
65570         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65571         SA_NODEFER, SA_RESETHAND.
65572         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65573         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65574         F_DUPFD_CLOEXEC.
65576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65578         * elf/Makefile (pldd-modules): Define unconditionally.
65580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65582         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65584 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65586         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65587         Return ENOENT when name is empty.
65588         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65590 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65592         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65594         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65598         Fix mlock in all cases except non-readable pages.
65599         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65600         instead of VM_PROT_ALL as parameter to __vm_wire function.
65602         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65603         (__mkdir): When path is `/', just fail with EEXIST.
65604         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65608         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65609         <sys/uio.h> (for writev).
65610         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65611         and <sys/param.h> (for MIN).
65613 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65615         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65616         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65617         if interrupted.
65619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65621         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65622         Depend on against $(link-rpcuserlibs).
65624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65626         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65627         (__libc_stack_end): Do not use attribute_relro.
65628         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65629         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65630         to libthread-provided value.
65631         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65632         attribute_relro.
65634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65636         [BZ #3748]
65637         * bits/libc-lock.h (__libc_once_get): New macro.
65638         * sysdeps/mach/bits/libc-lock.h: Likewise.
65639         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65640         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65641         instead of using implementation details.
65643         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65644         * libio/freopen.c: Likewise.
65645         * libio/freopen64.c: Likewise.
65646         * misc/syslog.c: Likewise.
65647         * nscd/connections.c: Likewise.
65648         * nscd/netgroupcache.c: Likewise.
65649         * sysdeps/posix/getcwd.c: Likewise.
65651 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65653         * math/w_ilogbf.c: Add #include <limits.h>.
65655 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65657         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65658         path instead of returning without unlocking.
65660         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65661         immediate-write ioctls.
65662         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65664 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65666         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65667         __builtin_frame_address instead of making assumptions about the
65668         location of the return address relative to DATA.  Force early load of
65669         the return address.
65670         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65671         __builtin_frame_address.
65673         dup3 for GNU Hurd.
65674         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65675         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65676         implement dup3 and do some further code clean-ups.
65677         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65678         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65680 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65682         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65684         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65685         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65686         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65687         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65688         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65689         d->port.lock.
65691         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65692         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65693         when handler == SIG_ERR, not when handler != SIG_ERR.
65695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65697         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65698         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65699         definitions.
65701         accept4 for GNU Hurd.
65702         * include/sys/socket.h (__libc_accept4): New prototype.
65703         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65704         to implement __libc_accept4.
65705         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65706         __libc_accept4.
65707         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65709         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65710         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65711         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65712         signal-defines.sym.
65714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65716         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65718 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65720         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65721         assertion on O_CLOEXEC flag.
65722         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65723         * hurd/intern-fd.c: Likewise.
65724         * hurd/port2fd.c: Likewise.
65726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65728         [BZ #3906]
65729         * bits/in.h (IPV6_PKTINFO): Define new macro.
65730         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65732 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65734         [BZ #13954]
65735         [BZ #13955]
65736         [BZ #13956]
65737         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65738         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65739         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65740         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65741         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65742         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65743         * math/libm-test.inc (logb_test) : Additional logb tests.
65745 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65746             Andreas Jaeger  <aj@suse.de>
65748         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65749         * configure: Regenerated.
65750         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65751         * config.make.in (link-obsolete-rpc): New substituted variable.
65752         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65753         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65754         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65755         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65756         so that libc.a contains the symbols.
65757         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65758         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65759         * sunrpc/auth_none.c: Likewise.
65760         * sunrpc/auth_unix.c: Likewise.
65761         * sunrpc/authdes_prot.c: Likewise.
65762         * sunrpc/authuxprot.c: Likewise.
65763         * sunrpc/clnt_gen.c: Likewise.
65764         * sunrpc/clnt_perr.c: Likewise.
65765         * sunrpc/clnt_raw.c: Likewise.
65766         * sunrpc/clnt_simp.c: Likewise.
65767         * sunrpc/clnt_tcp.c: Likewise.
65768         * sunrpc/clnt_udp.c: Likewise.
65769         * sunrpc/clnt_unix.c: Likewise.
65770         * sunrpc/des_crypt.c: Likewise.
65771         * sunrpc/des_soft.c: Likewise.
65772         * sunrpc/get_myaddr.c: Likewise.
65773         * sunrpc/key_call.c: Likewise.
65774         * sunrpc/key_prot.c: Likewise.
65775         * sunrpc/netname.c: Likewise.
65776         * sunrpc/pm_getmaps.c: Likewise.
65777         * sunrpc/pm_getport.c: Likewise.
65778         * sunrpc/pmap_clnt.c: Likewise.
65779         * sunrpc/pmap_prot.c: Likewise.
65780         * sunrpc/pmap_prot2.c: Likewise.
65781         * sunrpc/pmap_rmt.c: Likewise.
65782         * sunrpc/publickey.c: Likewise.
65783         * sunrpc/rpc_cmsg.c: Likewise.
65784         * sunrpc/rpc_common.c: Likewise.
65785         * sunrpc/rpc_dtable.c: Likewise.
65786         * sunrpc/rpc_prot.c: Likewise.
65787         * sunrpc/rpc_thread.c: Likewise.
65788         * sunrpc/rtime.c: Likewise.
65789         * sunrpc/svc.c: Likewise.
65790         * sunrpc/svc_auth.c: Likewise.
65791         * sunrpc/svc_raw.c: Likewise.
65792         * sunrpc/svc_run.c: Likewise.
65793         * sunrpc/svc_tcp.c: Likewise.
65794         * sunrpc/svc_udp.c: Likewise.
65795         * sunrpc/svc_unix.c: Likewise.
65796         * sunrpc/svcauth_des.c: Likewise.
65797         * sunrpc/xcrypt.c: Likewise.
65798         * sunrpc/xdr.c: Likewise.
65799         * sunrpc/xdr_array.c: Likewise.
65800         * sunrpc/xdr_float.c: Likewise.
65801         * sunrpc/xdr_intXX_t.c: Likewise.
65802         * sunrpc/xdr_mem.c: Likewise.
65803         * sunrpc/xdr_rec.c: Likewise.
65804         * sunrpc/xdr_ref.c: Likewise.
65805         * sunrpc/xdr_sizeof.c: Likewise.
65806         * sunrpc/xdr_stdio.c: Likewise.
65808 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65810         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65811         change.  Update copyright years.
65813 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65815         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65817 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65818             Joseph Myers  <joseph@codesourcery.com>
65819             Paul Pluzhnikov  <ppluzhnikov@google.com>
65821         [BZ #14012]
65822         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65823         requiring rpcgen.
65824         [cross-compiling] (extra-libs): Likewise.
65825         [cross-compiling] (extra-libs-others): Likewise.
65826         [cross-compiling] (librpcsvc-routines): Likewise.
65827         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65828         [cross-compiling] (omit-deps): Likewise.
65829         (sunrpc-CPPFLAGS): New variable.
65830         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65831         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65832         (cross-rpcgen-objs): New variable.
65833         (extra-objs): Append $(cross-rpcgen-objs).
65834         ($(cross-rpcgen-objs)): New rule.
65835         ($(objpfx)cross-rpcgen): Likewise.
65836         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65837         comment.
65838         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65839         ($(objpfx)x%.stmp): Likewise.
65840         * sunrpc/proto.h [IS_IN_build] (_): Define.
65841         [IS_IN_build] (_libc_intl_domainname): Likewise.
65843 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65845         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65846         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65847         and R_X86_64_TPOFF64.
65849 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65851         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65852         sysdeps/unix/sysv/syscalls.list.
65853         (stime): Likewise.
65854         (utime): Likewise.
65855         * sysdeps/unix/sysv/syscalls.list: Remove file.
65857 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65859         [BZ #3440]
65860         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65861         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65862         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65863         (__LC_IDENTIFICATION): Make these macros useful in #if
65864         expressions, as required by C99.
65866 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65868         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65869         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65870         after this.
65872 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65874         * stdlib/longlong.h: Updated from GCC.
65876 2012-05-09  Andreas Jaeger  <aj@suse.de>
65878         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65879         default is first entry.
65880         (run_mode): Set type.
65881         (main): Remove informal message about syslog.
65882         (options): Fix typo.
65884         [BZ #14053]
65885         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65886         to asm.
65887         (lrint): Likewise.
65888         (llrintf): Likewise.
65889         (llrint): Likewise.
65890         (rint): Likewise.
65891         (rintf): Likewise.
65892         (nearbyint): Likewise.
65893         (nearbyintf): Likewise.
65895 2012-05-09  Andreas Jaeger  <aj@suse.de>
65896             Pedro Alves  <palves@redhat.com>
65898         * nscd/nscd.c (run_mode): Use enum.
65899         (main): Cleanup coding style issue.
65901 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65902             Andreas Jaeger  <aj@suse.de>
65904         * nscd/nscd.c (go_background): Replaced with...
65905         (run_mode): ... this.
65906         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65907         (options): Add -F --foreground.
65908         (main): Implement it.
65909         (parse_opt): Parse it.
65911 2012-05-09  Andreas Jaeger  <aj@suse.de>
65913         [BZ #14083]
65914         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65915         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65916         -Wconversion warning.
65917         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65918         Likewise.
65920 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65922         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65923         == 0.
65924         (LC_ALL): Use macro-int-constant.
65925         (LC_COLLATE): Likewise.
65926         (LC_CTYPE): Likewise.
65927         (LC_MESSAGES): Likewise.
65928         (LC_MONETARY): Likewise.
65929         (LC_NUMERIC): Likewise.
65930         (LC_TIME): Likewise.
65931         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65932         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65934         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65935         Specify type.
65936         [C99-based standards] (float_t): Expect type.
65937         [C99-based standards] (double_t): Expect type.
65938         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65939         type.
65940         [C99-based standards] (HUGE_VALL): Likewise.
65941         [C99-based standards] (INFINITY): Likewise.
65942         [C99-based standards] (NAN): Likewise.
65943         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65944         [C99-based standards] (FP_NAN): Likewise.
65945         [C99-based standards] (FP_NORMAL): Likewise.
65946         [C99-based standards] (FP_SUBNORMAL): Likewise.
65947         [C99-based standards] (FP_ZERO): Likewise.
65948         [C99-based standards] (FP_FAST_FMA): Use
65949         optional-macro-int-constant.  Specify type.  Require == 1.
65950         [C99-based standards] (FP_FAST_FMAF): Likewise.
65951         [C99-based standards] (FP_FAST_FMAL): Likewise.
65952         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65953         [C99-based standards] (FP_ILOGBNAN): Likewise.
65954         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65955         Specify type.
65956         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65957         [C99-based standards] (math_errhandling): Specify type.
65958         [ISO99 || ISO11] (signgam): Do not allow.
65959         [non-C99-based standards] (copysignf): Do not allow.
65960         [non-C99-based standards] (exp2f): Likewise.
65961         [non-C99-based standards] (log2f): Likewise.
65962         [non-C99-based standards] (modff): Allow.
65963         [non-C99-based standards] (erff): Do not allow.
65964         [non-C99-based standards] (erfcf): Likewise.
65965         [non-C99-based standards] (gammaf): Likewise.
65966         [non-C99-based standards] (hypotf): Likewise.
65967         [non-C99-based standards] (j0f): Likewise.
65968         [non-C99-based standards] (j1f): Likewise.
65969         [non-C99-based standards] (jnf): Likewise.
65970         [non-C99-based standards] (lgammaf): Likewise.
65971         [non-C99-based standards] (tgammaf): Likewise.
65972         [non-C99-based standards] (y0f): Likewise.
65973         [non-C99-based standards] (y1f): Likewise.
65974         [non-C99-based standards] (ynf): Likewise.
65975         [non-C99-based standards] (isnanf): Likewise.
65976         [non-C99-based standards] (acoshf): Likewise.
65977         [non-C99-based standards] (asinhf): Likewise.
65978         [non-C99-based standards] (atanhf): Likewise.
65979         [non-C99-based standards] (cbrtf): Likewise.
65980         [non-C99-based standards] (expm1f): Likewise.
65981         [non-C99-based standards] (ilogbf): Likewise.
65982         [non-C99-based standards] (log1pf): Likewise.
65983         [non-C99-based standards] (logbf): Likewise.
65984         [non-C99-based standards] (nextafterf): Likewise.
65985         [non-C99-based standards] (remainderf): Likewise.
65986         [non-C99-based standards] (rintf): Likewise.
65987         [non-C99-based standards] (scalbf): Likewise.
65988         [non-C99-based standards] (copysignl): Likewise.
65989         [non-C99-based standards] (exp2l): Likewise.
65990         [non-C99-based standards] (log2l): Likewise.
65991         [non-C99-based standards] (modfl): Allow.
65992         [non-C99-based standards] (erfl): Do not allow.
65993         [non-C99-based standards] (erfcl): Likewise.
65994         [non-C99-based standards] (gammal): Likewise.
65995         [non-C99-based standards] (hypotl): Likewise.
65996         [non-C99-based standards] (j0l): Likewise.
65997         [non-C99-based standards] (j1l): Likewise.
65998         [non-C99-based standards] (jnl): Likewise.
65999         [non-C99-based standards] (lgammal): Likewise.
66000         [non-C99-based standards] (tgammal): Likewise.
66001         [non-C99-based standards] (y0l): Likewise.
66002         [non-C99-based standards] (y1l): Likewise.
66003         [non-C99-based standards] (ynl): Likewise.
66004         [non-C99-based standards] (isnanl): Likewise.
66005         [non-C99-based standards] (acoshl): Likewise.
66006         [non-C99-based standards] (asinhl): Likewise.
66007         [non-C99-based standards] (atanhl): Likewise.
66008         [non-C99-based standards] (cbrtl): Likewise.
66009         [non-C99-based standards] (expm1l): Likewise.
66010         [non-C99-based standards] (ilogbl): Likewise.
66011         [non-C99-based standards] (log1pl): Likewise.
66012         [non-C99-based standards] (logbl): Likewise.
66013         [non-C99-based standards] (nextafterl): Likewise.
66014         [non-C99-based standards] (remainderl): Likewise.
66015         [non-C99-based standards] (rintl): Likewise.
66016         [non-C99-based standards] (scalbl): Likewise.
66017         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66018         [non-C99-based standards] (FP_*): Do not allow.
66019         [C99-based standards] (FP_*): Change to
66020         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66021         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66022         allow.
66023         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66024         (SIG_ERR): Likewise.
66025         [X/Open-based standards] (SIG_HOLD): Likewise.
66026         (SIG_IGN): Likewise.
66027         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66028         positive value.
66029         (SIGFPE): Likewise.
66030         (SIGILL): Likewise.
66031         (SIGINT): Likewise.
66032         (SIGSEGV): Likewise.
66033         (SIGTER): Likewise.
66034         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66035         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66036         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66037         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66038         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66039         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66040         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66041         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66042         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66043         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66044         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66045         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66046         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66047         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66048         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66049         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66050         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66051         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66052         [X/Open-based standards] (SIGTRAP): Likewise.
66053         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66054         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66055         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66056         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66057         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66058         allow.
66060 2012-05-08  Ian Wienand  <ianw@vmware.com>
66062         [BZ #14080]
66063         * time/tzset.c (__tzset_parse_tz): Update default rules for
66064         daylight time changes in the Energy Policy Act of 2005.
66066 2012-05-09  Andreas Jaeger  <aj@suse.de>
66068         [BZ #13983]
66069         * elf/ldconfig.c (parse_conf): Change string to make clear that
66070         ldconfig only issued a warning if ld.so.conf does not exist.
66072 2012-05-08  David S. Miller  <davem@davemloft.net>
66074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66075         movxtod instead of popping the value on the stack.
66077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66079 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66081         * config.h.in: Add HAVE_ARM_PCS_VFP.
66083 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66085         [BZ #13979]
66086         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66087         checking but the checks are disabled for any reason.
66089 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66091         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66092         and ELF64_R_TYPE with ELFW(R_TYPE).
66094 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66096         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66097         (ulimit): Likewise.
66099         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66100         (settimeofday): Likewise.
66102 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66104         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66105         a struct th_u2 inside the union, and move tu_block/tu_code into
66106         a new th_u3 union of tu_block/tu_code inside of that.  Move
66107         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66108         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66109         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66110         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66111         (th_stuff): Change to th_u1.tu_stuff.
66112         (th_data): Define.
66113         (th_msg): Change to th_u1.th_u2.tu_data.
66115 2012-05-07  David S. Miller  <davem@davemloft.net>
66117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66119         [BZ #14074]
66120         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66121         (SETUP_PIC_REG): Use it.
66122         (SETUP_PIC_REG_LEAF): Use it.
66124 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66126         [BZ #13885]
66127         [BZ #13923]
66128         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66129         USE_AS_EXPM1L.
66130         (EXPL_FINITE): Likewise.
66131         (FLDLOG): Likewise.
66132         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66133         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66134         e_expl.S.
66135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66136         USE_AS_EXPM1L.
66137         (EXPL_FINITE): Likewise.
66138         (FLDLOG): Likewise.
66139         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66140         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66141         e_expl.S.
66142         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66143         test of -max_value argument for long double.
66144         * sysdeps/i386/fpu/libm-test-ulps: Update.
66145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66147 2012-05-06  David S. Miller  <davem@davemloft.net>
66149         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66150         quad soft-float symbols whose references which are compiler
66151         generated.
66152         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66154 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66156         [BZ #13884]
66157         [BZ #13914]
66158         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66159         USE_AS_EXP10L.
66160         (EXPL_FINITE): Likewise.
66161         (FLDLOG): Likewise.
66162         (c0): Likewise.
66163         (c1): Likewise.
66164         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66165         Adjust comments for base varying.
66166         (__expl_finite): Change alias to EXPL_FINITE.
66167         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66168         e_expl.S.
66169         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66170         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66171         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66172         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66173         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66174         USE_AS_EXP10L.
66175         (EXPL_FINITE): Likewise.
66176         (FLDLOG): Likewise.
66177         (c0): Likewise.
66178         (c1): Likewise.
66179         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66180         Adjust comments for base varying.
66181         (__expl_finite): Change alias to EXPL_FINITE.
66182         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66183         tests for bugs.
66184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66186         [BZ #14064]
66187         * math/libm-test.inc (check_float_internal): Correct ulp
66188         calculation for subnormal expected results.
66190 2012-05-06  Andreas Jaeger  <aj@suse.de>
66192         * Makeconfig (+math-flags): New, set to -frounding-math.
66193         (+cflags): Add +math-flags so that all of glibc gets compiled with
66194         it.
66196         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66198 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66200         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66201         Disable one test.
66203         [BZ #13787]
66204         [BZ #13922]
66205         [BZ #14036]
66206         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66207         (__ieee754_expl): Allow for and saturate large arguments.
66208         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66209         (u_threshold): Likewise.
66210         (__exp): Call __ieee754_exp before checking for overflow and
66211         underflow.
66212         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66213         (u_threshold): Likewise.
66214         (__expf): Call __ieee754_expf before checking for overflow and
66215         underflow.
66216         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66217         (u_threshold): Likewise.
66218         (__expl): Call __ieee754_expl before checking for overflow and
66219         underflow.
66220         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66221         (__ieee754_expl): Allow for and saturate large arguments.
66222         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66223         missing overflow exception on overflow.
66224         (expm1_test): Do not allow missing overflow exception on overflow.
66226         * sysdeps/i386/fpu/e_expl.c: Move to ...
66227         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66228         rather than using inline asm.
66229         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66230         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66231         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66233         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66234         (nice): Likewise.
66235         (poll): Likewise.
66236         (signal): Likewise.
66237         (time): Likewise.
66238         (times): Likewise.
66240 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66242         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66243         sysdeps/unix/common/syscalls.list.
66244         (fchmod): Likewise.
66245         (fchown): Likewise.
66246         (ftruncate): Likewise.
66247         (getrusage): Likewise.
66248         (gettimeofday): Likewise.
66249         (setpgid): Likewise.
66250         (setregid): Likewise.
66251         (setreuid): Likewise.
66252         (sigaction): Likewise.
66253         (truncate): Likewise.
66254         (vhangup): Likewise.
66255         * sysdeps/unix/common/syscalls.list: Remove file.
66256         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66257         * sysdeps/unix/sysv/linux/Implies: Likewise.
66259 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66261         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66263         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66264         Moved to ...
66265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66266         Here.
66267         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66268         to ...
66269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66270         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66271         to ...
66272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66273         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66274         to ...
66275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66276         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66277         to ...
66278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66279         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66280         to ...
66281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66282         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66283         to ...
66284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66285         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66286         to ...
66287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66288         Here.
66289         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66290         to ...
66291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66292         Here.
66293         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66294         to ...
66295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66296         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66297         Moved to ...
66298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66299         Here.
66300         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66301         to ...
66302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66304 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66306         * sysdeps/unix/common/bits/dirent.h: Remove file.
66307         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66309         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66310         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66311         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66312         * sysdeps/unix/bsd/isatty.c: Likewise.
66313         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66314         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66315         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66317 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66319         [BZ #13563]
66320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66321         long double comparison inaccuracies.
66322         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66325 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66327         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66328         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66330 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66332         [BZ #14049]
66333         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66334         nonzero digits before rounding a hex value.
66335         * stdlib/tst-strtod.c (tests): Add another test.
66337 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66339         * sysdeps/s390/fpu/libm-test-ulps: Update.
66341 2012-05-03  Andreas Jaeger  <aj@suse.de>
66343         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66344         does not get optimized out.
66345         (malloc_opt_barrier): New.
66347 2012-05-03  Andreas Jaeger  <aj@suse.de>
66348             Roland McGrath  <roland@hack.frob.com>
66350         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66351         intermediate file deletion.
66352         (generated): Add .symlist files.
66354 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66356         [BZ #13775]
66357         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66358         Redirect under this condition.
66359         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66360         [__USE_GNU] (__dprintf_chk): Not under this condition.
66361         [__USE_GNU] (__vdprintf_chk): Likewise.
66362         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66363         under this condition.
66364         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66365         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66366         [__USE_XOPEN2K8] (vdprintf): Likewise.
66367         [__USE_GNU] (__dprintf_chk): Not under this condition.
66368         [__USE_GNU] (__vdprintf_chk): Likewise.
66369         [__USE_GNU] (dprintf): Likewise.
66370         [__USE_GNU] (vdprintf): Likewise.
66372 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66374         * elf/Makefile (common-generated): Set this instead of generated for
66375         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66376         $(all-built-dso)-derived lists.
66378 2012-05-03  Andreas Jaeger  <aj@suse.de>
66380         * sysdeps/i386/fpu/libm-test-ulps: Update.
66382         * FAQ: Removed.
66383         * FAQ.in: Likewise.
66384         * scripts/gen-FAQ.pl: Likewise.
66385         * manual/install.texi (Installation): Point to online location of
66386         FAQ.
66387         * Makefile (files-for-dist): Remove FAQ.
66388         (FAQ): Remove.
66390 2012-05-02  Allan McRae  <allan@archlinux.org>
66392         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66393         (LDFLAGS-reldepmod5.so): Likewise.
66394         (LDFLAGS-reldep6mod1.so): Likewise.
66395         (LDFLAGS-reldep6mod4.so): Likewise.
66396         (LDFLAGS-reldep8mod3.so): Likewise.
66397         (LDFLAGS-unload4mod1.so): Likewise.
66398         (LDFLAGS-unload4mod2.so): Likewise.
66399         (LDFLAGS-tst-initorder): Likewise.
66400         (LDFLAGS-tst-initordera2.so): Likewise.
66401         (LDFLAGS-tst-initordera3.so): Likewise.
66402         (LDFLAGS-tst-initordera4.so): Likewise.
66403         (LDFLAGS-tst-initorderb2.so): Likewise.
66404         (LDFLAGS-noload): Likewise.
66405         (LDFLAGS-next): Likewise.
66406         (LDFLAGS-order2mod1.so): Likewise.
66407         (LDFLAGS-order2mod2.so): Likewise.
66408         (LDFLAGS-tst-initorder2): Likewise.
66409         (LDFLAGS-tst-initorder2a.so): Likewise.
66410         (LDFLAGS-tst-initorder2b.so): Likewise.
66411         (LDFLAGS-tst-initorder2c.so): Likewise.
66412         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66414 2012-05-02  David S. Miller  <davem@davemloft.net>
66416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66418 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66420         [BZ #14055]
66421         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66423 2012-05-02  Andreas Jaeger  <aj@suse.de>
66425         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66426         since we manipulate rounding mode.
66427         (CPPFLAGS-test-idouble.c): Likewise.
66428         (CPPFLAGS-test-ifloat.c): Likewise.
66429         (CFLAGS-test-ldouble.c): Likewise.
66430         (CFLAGS-test-double.c): Likewise.
66431         (CFLAGS-test-float.c): Likewise.
66432         (CFLAGS-test-misc.c): Likewise.
66433         (CFLAGS-test-test-fenv.c): Likewise.
66435 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66437         [BZ #2550]
66438         [BZ #2570]
66439         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66440         comparisons to determine direction to adjust input.
66442 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66444         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66445         output to the target.
66447         * scripts/localplt.awk: New file.
66448         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66449         (check-localplt-CFLAGS): Variable removed.
66450         ($(all-built-dso:=.jmprel)): New static pattern rule.
66451         (generated): Add those targets.
66452         (localplt-built-dso): New variable.
66453         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66455         * elf/check-localplt.c: File removed.
66457         * scripts/check-execstack.awk: New file.
66458         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66459         (check-execstack-CFLAGS): Variable removed.
66460         ($(objpfx)check-execstack.h): Target removed.
66461         ($(objpfx)execstack-default): New target.
66462         (generated): Add that instead of check-execstack.h.
66463         ($(all-built-dso:=.phdr)): New static pattern rule.
66464         (generated): Add those targets.
66465         * elf/check-execstack.c: File removed.
66467         * scripts/check-textrel.awk: New file.
66468         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66469         (check-textrel-CFLAGS): Variable removed.
66470         (all-built-dso): Use := to define.o
66471         ($(all-built-dso:=.dyn)): New static pattern rule.
66472         (generated): Add those targets.
66473         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66474         * config.make.in (READELF): New substituted variable.
66475         * elf/check-textrel.c: File removed.
66477 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66479         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66480         allow.
66481         * conform/data/ctype.h-data [C99-based standards] (isblank):
66482         Expect function.
66483         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66484         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66485         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66486         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66487         Specify type.  Require positive value.
66488         (EILSEQ): Likewise.
66489         (ERANGE): Likewise.
66490         [ISO || POSIX] (EILSEQ): Do not expect.
66491         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66492         Specify type.  Require positive value.
66493         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66494         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66495         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66496         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66497         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66498         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66499         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66500         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66501         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66502         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66503         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66504         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66505         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66506         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66507         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66508         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66509         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66510         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66511         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66512         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66513         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66514         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66515         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66516         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66517         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66518         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66519         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66520         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66521         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66522         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66523         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66524         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66525         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66526         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66527         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66528         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66529         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66530         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66531         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66532         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66533         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66534         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66535         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66536         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66537         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66538         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66539         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66540         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66541         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66542         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66543         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66544         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66545         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66546         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66547         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66548         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66549         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66550         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66551         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66552         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66553         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66554         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66555         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66556         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66557         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66558         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66559         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66560         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66561         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66562         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66563         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66564         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66565         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66566         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66567         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66568         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66569         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66570         Require >= 2.
66571         (FLT_ROUNDS): Expect as macro, not constant.
66572         (FLT_MANT_DIG): Use macro-int-constant.
66573         (DBL_MANT_DIG): Likewise.
66574         (LDBL_MANT_DIG): Likewise.
66575         (FLT_DIG): Likewise.
66576         (DBL_DIG): Likewise.
66577         (LDBL_DIG): Likewise.
66578         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66579         (DBL_MIN_EXP): Likewise.
66580         (LDBL_MIN_EXP): Likewise.
66581         (FLT_MAX_EXP): Use macro-int-constant.
66582         (DBL_MAX_EXP): Likewise.
66583         (LDBL_MAX_EXP): Likewise.
66584         (FLT_MAX_10_EXP): Likewise.
66585         (DBL_MAX_10_EXP): Likewise.
66586         (LDBL_MAX_10_EXP): Likewise.
66587         (FLT_MAX): Use macro-constant.
66588         (DBL_MAX): Likewise.
66589         (LDBL_MAX): Likewise.
66590         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66591         (DBL_EPSILON): Likewise.
66592         (LDBL_EPSILON): Likewise.
66593         (FLT_MIN): Likewise.
66594         (DBL_MIN): Likewise.
66595         (LDBL_MIN): Likewise.
66596         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66597         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66598         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66599         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66600         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66601         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66602         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66603         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66604         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66605         [ISO11] (FLT_TRUE_MIN): Likewise.
66606         [ISO11] (LDBL_TRUE_MIN): Likewise.
66607         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66608         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66609         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66610         (SCHAR_MAX): Likewise.
66611         (UCHAR_MAX): Likewise.
66612         (CHAR_MIN): Likewise.
66613         (CHAR_MAX): Likewise.
66614         (MB_LEN_MAX): Use macro-int-constant.
66615         (SHRT_MIN): Use macro-int-constant.  Specify type.
66616         (SHRT_MAX): Likewise.
66617         (USHRT_MAX): Likewise.
66618         (INT_MAX): Likewise.
66619         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66620         bound negative.
66621         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66622         bound with "U".
66623         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66624         bound with "L".
66625         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66626         bound negative.  Suffix upper bound with "L".
66627         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66628         bound with "UL".
66629         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66630         Specify type.
66631         [C99-based standards] (LLONG_MAX): Likewise.
66632         [C99-based standards] (ULLONG_MAX): Likewise.
66633         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66634         == 0.
66635         [ISO11] (max_align_t): Require type.
66636         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66638         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66639         from $CFLAGS, without defining away __attribute__ calls.
66640         (checknamespace): Use $CFLAGS_namespace.
66642         * conform/conformtest.pl (@keywords): Only include C99 keywords
66643         for standards based on C99 or C11.
66645         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66646         Disable tests.
66647         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66648         UNIX98]: Likewise.
66650         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66651         usability of symbols in #if.
66653         * conform/conformtest.pl: If macro or constant types start
66654         "promoted:", expect the symbol to be of the following type
66655         promoted by the integer promotions.
66657         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66658         in one place.  Also handle "macro-constant".
66660         * conform/conformtest.pl: Only accept expected macro values with
66661         "==".  Parse all "macro" lines in one place.
66662         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66664         * conform/conformtest.pl: Handle braced types on "constant" lines
66665         instead of handling "typed-constant".
66666         * conform/data/signal.h-data: Use "constant" instead of
66667         "typed-constant".
66669         * conform/conformtest.pl: Handle "optional-" at start of lines in
66670         one place rather than duplicating several cases.  Handle each
66671         format of "macro" line with initial "optional-".
66673         * conform/conformtest.pl: Only accept expected constant or
66674         optional-constant values with "==".  Parse all "constant" lines in
66675         one place.  Parse all "optional-constant" lines in one place.
66676         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66677         * conform/data/fmtmsg.h-data: Likewise.
66678         * conform/data/netinet/in.h-data: Likewise.
66679         * conform/data/tar.h-data: Likewise.
66680         * conform/data/limits.h-data: Use "==" form on "constant" and
66681         "optional-constant" lines.
66683         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66684         Use -std=c99 for XOPEN2K.
66685         (@knownproblems): Remove.
66686         (newtoken): Don't check %isknown.
66688         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66689         Do not expect macro.
66690         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66691         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66692         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66693         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66694         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66695         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66696         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66697         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66698         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66699         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66700         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66701         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66702         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66703         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66704         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66705         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66706         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66707         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66708         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66709         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66710         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66711         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66712         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66713         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66714         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66715         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66716         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66717         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66718         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66719         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66720         [XPG3] (acosh): Likewise.
66721         [XPG3] (asinh): Likewise.
66722         [XPG3] (atanh): Likewise.
66723         [XPG3] (cbrt): Likewise.
66724         [XPG3] (expm1): Likewise.
66725         [XPG3] (ilogb): Likewise.
66726         [XPG3] (log1p): Likewise.
66727         [XPG3] (logb): Likewise.
66728         [XPG3] (nextafter): Likewise.
66729         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66730         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66731         [XPG3] (remainder): Likewise.
66732         [XPG3] (rint): Likewise.
66733         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66734         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66735         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66736         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66737         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66738         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66739         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66740         [UNIX98 || XOPEN2K] (scalb): Expect.
66741         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66742         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66743         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66744         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66745         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66746         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66747         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66748         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66749         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66750         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66751         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66752         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66753         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66754         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66755         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66756         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66757         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66758         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66759         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66760         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66761         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66762         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66763         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66764         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66765         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66766         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66767         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66768         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66769         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66770         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66771         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66772         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66773         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66774         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66775         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66776         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66777         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66778         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66779         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66780         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66781         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66782         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66783         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66784         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66785         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66786         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66787         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66788         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66789         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66790         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66791         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66792         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66793         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66794         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66795         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66796         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66797         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66798         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66799         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66800         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66801         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66802         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66803         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66804         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66805         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66806         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66807         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66808         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66809         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66810         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66811         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66812         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66813         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66814         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66815         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66816         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66817         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66818         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66819         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66820         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66821         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66822         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66823         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66824         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66825         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66826         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66827         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66828         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66829         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66830         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66831         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66832         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66833         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66834         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66835         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66836         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66837         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66838         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66839         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66840         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66841         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66842         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66843         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66844         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66845         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66846         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66847         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66848         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66849         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66850         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66851         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66852         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66853         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66854         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66855         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66856         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66857         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66858         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66859         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66860         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66861         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66862         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66863         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66864         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66865         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66866         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66867         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66868         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66869         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66870         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66871         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66872         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66873         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66874         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66875         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66876         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66877         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66879         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66880         _XOPEN_SOURCE_EXTENDED for XPG4.
66882         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66884         * Makeconfig (localtime): Remove variable.
66885         (inst_localtime-file): Likewise.
66887 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66890         Update.
66891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66892         Update.
66893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66894         Update.
66895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66896         Update.
66897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66898         Update.
66899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66900         Update.
66901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66902         Update.
66903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66904         Update.
66905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66906         Update.
66908 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66910         [BZ #2550]
66911         [BZ #2570]
66912         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66913         comparisons to determine direction to adjust input.
66914         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66915         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66916         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66917         Likewise.
66918         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66919         Likewise.
66920         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66921         Likewise.
66922         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66923         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66924         Likewise.
66925         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66926         Likewise.
66927         * math/libm-test.inc (nexttoward_test): Add more tests.
66929 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66931         [BZ #14040]
66932         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66933         in version GLIBC_2.1, not GLIBC_2.0.
66934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66935         Likewise.
66937 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66939         [BZ #13942]
66940         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66941         (1 - x) * (1 + x).
66942         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66943         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66944         * math/libm-test.inc (acos_test): Add more tests.
66945         (asin_test): Likewise.
66946         * sysdeps/i386/fpu/libm-test-ulps: Update.
66947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66949         [BZ #14034]
66950         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66951         of square root.
66952         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66953         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66954         * math/libm-test.inc (acos_test_tonearest): New function.
66955         (acos_test_towardzero): Likewise.
66956         (acos_test_downward): Likewise.
66957         (acos_test_upward): Likewise.
66958         (asin_test_tonearest): Likewise.
66959         (asin_test_towardzero): Likewise.
66960         (asin_test_downward): Likewise.
66961         (asin_test_upward): Likewise.
66962         (main): Call the new functions.
66963         * sysdeps/i386/fpu/libm-test-ulps: Update.
66964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66966         [BZ #13884]
66967         [BZ #13924]
66968         * math/e_exp10.c: Include <float.h>.
66969         (__ieee754_exp10): Handle underflow here rather than multiplying
66970         large negative argument by M_LN10.
66971         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66972         of __ieee754_expf.
66973         * math/e_exp10l.c: Include <float.h>.
66974         (__ieee754_exp10l): Handle underflow here rather than multiplying
66975         large negative argument by M_LN10l.
66976         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66977         spurious overflow exception on underflow.
66979 2012-04-29  Marek Polacek  <polacek@redhat.com>
66981         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66982         (__fortify_function): New macro.
66983         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66984         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66985         __extern_always_inline.
66986         * libio/bits/stdio2.h: Likewise.
66987         * libio/bits/stdio.h: Likewise.
66988         * string/string.h: Likewise.
66989         * string/bits/string3.h: Likewise.
66990         * include/stdio.h: Likewise.
66991         * stdlib/bits/stdlib.h: Likewise.
66992         * stdlib/stdlib.h: Likewise.
66993         * rt/bits/mqueue2.h: Likewise.
66994         * rt/mqueue.h: Likewise.
66995         * posix/bits/unistd.h: Likewise.
66996         * posix/unistd.h: Likewise.
66997         * io/bits/poll2.h: Likewise.
66998         * io/bits/fcntl2.h: Likewise.
66999         * io/fcntl.h: Likewise.
67000         * io/sys/poll.h: Likewise.
67001         * misc/bits/syslog.h: Likewise.
67002         * misc/bits/syslog-ldbl.h: Likewise.
67003         * misc/sys/syslog.h: Likewise.
67004         * socket/bits/socket2.h: Likewise.
67005         * socket/sys/socket.h: Likewise.
67006         * debug/tst-chk1.c: Likewise.
67007         * wcsmbs/bits/wchar2.h: Likewise.
67008         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67009         * wcsmbs/wchar.h: Likewise.
67011 2012-04-29  Andreas Jaeger  <aj@suse.de>
67013         * Makerules (tests): Remove enable-check-abi protection.
67014         (check-abi-warn): Remove.
67015         (check-abi-%): Remove check-abi-warn usage.
67017         * configure.in: Remove check-abi configure option.
67018         * configure: Regenerated.
67019         * config.make.in (enable-check-abi): Remove.
67021 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67023         [BZ #14033]
67024         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67025         double functions to double *_finite functions.
67027         [BZ #13941]
67028         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67029         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67030         LDBL_MIN_EXP.
67031         * stdio-common/Makefile (tests): Add tst-sprintf3.
67032         * stdio-common/tst-sprintf3.c: New file.
67034         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67035         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67037 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67039         * conform/conformtest.pl: Remove duplicate typed-constant
67040         handling.
67042 2012-04-28  David S. Miller  <davem@davemloft.net>
67044         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67045         (check-abi-%): Remove AWK script prerequisite and explicit
67046         abilist directory.
67047         (check-abi): Rewrite to just diff the symlist with the abilist.
67048         (config-tls, config-abi-config): Delete, no longer used.
67049         (update-abi-%): Remove AWK script and explicit abilist directory.
67050         (update-abi): Rewrite to simply compare and conditionally copy the
67051         symlist and the sysdep abilist file.  Remove update-abi-config
67052         checks.
67053         * abilist/ld.abilist: Remove.
67054         * abilist/libBrokenLocale.abilist: Remove.
67055         * abilist/libanl.abilist: Remove.
67056         * abilist/libcrypt.abilist: Remove.
67057         * abilist/libdl.abilist: Remove.
67058         * abilist/librt.abilist: Remove.
67059         * abilist/libthread_db.abilist: Remove.
67060         * abilist/libutil.abilist: Remove.
67061         * scripts/extract-abilist.awk: Remove.
67062         * scripts/merge-abilist.awk: Remove.
67063         * sysdeps/generic/libcidn.abilist: New file.
67064         * sysdeps/generic/libnss_compat.abilist: New file.
67065         * sysdeps/generic/libnss_db.abilist: New file.
67066         * sysdeps/generic/libnss_dns.abilist: New file.
67067         * sysdeps/generic/libnss_files.abilist: New file.
67068         * sysdeps/generic/libnss_hesiod.abilist: New file.
67069         * sysdeps/generic/libnss_nis.abilist: New file.
67070         * sysdeps/generic/libnss_nisplus.abilist: New file.
67071         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67072         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67073         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67074         file.
67075         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67076         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67077         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67078         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67079         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67080         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67081         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67082         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67083         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67084         file.
67085         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67086         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67087         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67088         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67089         file.
67090         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67091         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67092         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67093         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67094         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67095         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67096         file.
67097         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67098         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67099         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67100         file.
67101         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67103         New file.
67104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67105         New file.
67106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67107         New file.
67108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67109         New file.
67110         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67111         New file.
67112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67113         New file.
67114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67115         New file.
67116         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67117         New file.
67118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67119         New file.
67120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67121         New file.
67122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67123         New file.
67124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67125         New file.
67126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67127         New file.
67128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67129         file.
67130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67131         New file.
67132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67133         New file.
67134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67135         file.
67136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67137         New file.
67138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67139         New file.
67140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67141         file.
67142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67143         New file.
67144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67145         New file.
67146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67147         New file.
67148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67149         New file.
67150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67151         New file.
67152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67153         New file.
67154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67156         file.
67157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67158         New file.
67159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67160         file.
67161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67162         file.
67163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67164         file.
67165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67166         file.
67167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67168         file.
67169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67170         New file.
67171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67172         file.
67173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67174         file.
67175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67176         New file.
67177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67178         file.
67179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67181         file.
67182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67183         New file.
67184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67185         file.
67186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67187         file.
67188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67189         file.
67190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67191         file.
67192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67193         file.
67194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67195         New file.
67196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67197         file.
67198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67199         file.
67200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67201         New file.
67202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67203         file.
67204         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67205         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67206         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67207         file.
67208         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67209         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67210         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67211         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67212         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67213         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67214         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67215         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67216         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67217         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67220         file.
67221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67222         New file.
67223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67224         file.
67225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67226         file.
67227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67228         file.
67229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67230         file.
67231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67232         file.
67233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67234         New file.
67235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67236         New file.
67237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67238         file.
67239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67240         New file.
67241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67242         file.
67243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67245         file.
67246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67247         New file.
67248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67249         file.
67250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67251         file.
67252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67253         file.
67254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67255         file.
67256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67257         file.
67258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67259         New file.
67260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67261         New file.
67262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67263         file.
67264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67265         New file.
67266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67267         file.
67269 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67271         * conform/conformtest.pl: Fix typo in handling typed-constant from
67272         allow-header.
67274 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67276         * README: Cut down references to pre-2.6 Linux kernels and
67277         Linuxthreads.  Update lists of configurations in libc and ports
67278         and sort alphabetically.  Say "or newer" with Linux kernel version
67279         requirements.
67281         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67283 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67285         [BZ #887]
67286         * math/libm-test.inc (logb_test_downward): New test to expose
67287         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67288         rounding mode.
67290 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67292         [BZ #14027]
67293         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67294         to be done.
67295         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67296         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67298 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67300         * sysdeps/unix/i386/brk.S: Remove file.
67301         * sysdeps/unix/i386/dl-brk.S: Likewise.
67302         * sysdeps/unix/i386/pipe.S: Likewise.
67303         * sysdeps/unix/i386/sigreturn.S: Likewise.
67304         * sysdeps/unix/i386/syscall.S: Likewise.
67305         * sysdeps/unix/i386/vfork.S: Likewise.
67306         * sysdeps/unix/i386/wait.S: Likewise.
67308         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67309         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67311         * configure.in (arm*-none*): Do not allow without
67312         --enable-hacker-mode.
67313         (netbsd*): Remove case setting base_os.
67314         (386bsd*): Likewise.
67315         (freebsd*): Likewise.
67316         (bsdi*): Likewise.
67317         (osf*): Likewise.
67318         (sunos*): Likewise.
67319         (ultrix*): Likewise.
67320         (newsos*): Likewise.
67321         (dynix*): Likewise.
67322         (*bsd*): Likewise.
67323         (sysv*): Likewise.
67324         (isc*): Likewise.
67325         (esix*): Likewise.
67326         (sco*): Likewise.
67327         (minix*): Likewise.
67328         (irix4*): Likewise.
67329         (irix6*): Likewise.
67330         (solaris[2-9]*): Likewise.
67331         (none): Likewise.
67332         * configure: Regenerated.
67334 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67336         [BZ #11521]
67337         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67338         overflow or cancellation in calculating denominator.
67339         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67340         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67341         down expression to avoid unexpected rounding in newer GCCs.
67342         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67344 2012-04-26  David S. Miller  <davem@davemloft.net>
67346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67347         long-double compat symbols.
67348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67362 2012-04-25  David S. Miller  <davem@davemloft.net>
67364         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67365         HWCAP_* values only after the memory barriers have been defined.
67366         (atomic_full_barrier): Define.
67367         (atomic_read_barrier): Define.
67368         (atomic_write_barrier): Define.
67370 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67372         * shlib-versions: Add libgcc_s version information.
67373         * sysdeps/generic/libgcc_s.h: Remove.
67374         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67375         libgcc_s.h.
67376         * sysdeps/gnu/unwind-resume.c: Likewise.
67377         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67379 2012-04-25  David S. Miller  <davem@davemloft.net>
67381         * sysdeps/unix/sparc/brk.S: Delete.
67382         * sysdeps/unix/sparc/dl-brk.S: Delete.
67383         * sysdeps/unix/sparc/pipe.S: Delete.
67384         * sysdeps/unix/sparc/sysdep.S: Delete.
67385         * sysdeps/unix/sparc/sysdep.h: Delete.
67386         * sysdeps/unix/sparc/vfork.S: Delete.
67387         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67388         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67389         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67390         (ret_ERRVAL, r0, r1, MOVE): Define.
67391         (JUMPTARGET): Remove.
67392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67393         sysdeps/unix/sparc/sysdep.h
67394         (ENTRY, END): Remove.
67395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67397 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67399         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67400         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67401         -DIS_IN_build.
67403         * timezone/README: Update upstream location and email address for
67404         tzcode and tzdata.
67405         * timezone/zdump.c: Update from tzcode 2012b.
67406         * timezone/zic.c: Likewise.
67408         * configure.in (libc_cv_as_needed): Remove test.
67409         * configure: Regenerated.
67410         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67411         conditional definition.
67412         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67413         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67414         * config.make.in (have-as-needed): Remove variable.
67416 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67417             Paul Pluzhnikov  <ppluzhnikov@google.com>
67419         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67420         strings correctly.
67422 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67424         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67425         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67426         * sysdeps/sh/strlen.S: Likewise.
67428 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67430         * sysdeps/unix/fork.S: Remove file.
67431         * sysdeps/unix/i386/fork.S: Likewise.
67432         * sysdeps/unix/sparc/fork.S: Likewise.
67434         * sysdeps/unix/system.c: Remove file.
67435         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67437         * sysdeps/unix/getegid.S: Remove file.
67438         * sysdeps/unix/geteuid.S: Likewise.
67440 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67442         * scripts/check-localplt.awk: New file.
67443         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67444         of diff.
67445         * scripts/data/localplt-generic.data: Add a comment.
67447         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67448         NODE when __dir_mkfile failed.
67449         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67450         Reported by Ludovic Courtès <ludo@gnu.org>.
67452 2012-04-24  Andreas Jaeger  <aj@suse.de>
67454         * Makerules (common-clean): Also remove gen-as-const-headers
67455         files.
67457 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67459         * Makerules (native-compile): Do not change working directory for
67460         build.  Use $(OUTPUT_OPTION) in command.
67461         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67463 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67465         [BZ #13886]
67466         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67467         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67468         * math/libm-test.inc (floor_test): Add more tests.
67469         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67471 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67473         * sysdeps/unix/getdents.c: Remove file.
67474         * sysdeps/unix/sysv/getdents.c: Likewise.
67475         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67477         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67478         sysdeps/unix/mman/syscalls.list.
67479         (mmap): Likewise.
67480         (mprotect): Likewise.
67481         (msync): Likewise.
67482         (munmap): Likewise.
67483         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67484         * sysdeps/unix/mman/syscalls.list: Remove.
67485         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67487         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67488         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67489         * configure: Regenerated.
67490         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67491         $(libgcc_s_suffix).
67492         * config.make.in (libgcc_s_suffix): Remove variable.
67494 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67496         * sysdeps/unix/sysv/gethostname.c: Move to ...
67497         * sysdeps/posix/gethostname.c: ... here.
67499         * sysdeps/unix/execve.S: Remove file.
67501         * sysdeps/unix/_exit.S: Remove file.
67503 2012-04-23  Andreas Jaeger  <aj@suse.de>
67505         [BZ #13739]
67506         * manual/Makefile: Remove make dist support, there's no
67507         need for a stand-alone documentation tar ball.
67508         (TEXI2DVI): Define always, it's not in Makeconfig.
67509         (dist): Removed.
67510         (tar-it): Removed.
67511         (edition): Removed.
67512         (glibc-doc-$(edition).tar): Removed
67513         (%.Z): Removed.
67514         (%.gz): Removed.
67515         (%.uu): Removed.
67516         (ETAGS): Remove, it's in Makeconfig.
67517         (move-if-change): Remove, it's in Makeconfig.
67519 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67521         [BZ #13970]
67522         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67523         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67524         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67525         (strtod_l, strtof_l, strtold_l): Remove __wur.
67526         It is not necessarily an error to ignore strtol's return value.
67527         One can reliably look at the stored endptr to decide whether
67528         the number had valid syntax.
67530 2012-04-21  Andreas Jaeger  <aj@suse.de>
67532         [BZ #13739]
67533         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67535 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67537         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67538         * sysdeps/unix/sysv/Versions: Remove file.
67540 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67542         [BZ #13927]
67543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67545 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67547         [BZ #7064]
67548         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67549         version from __vm86.
67551 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67553         * sysdeps/unix/common/lxstat.c: Remove file.
67554         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67556         * sysdeps/unix/sysv/Makefile: Remove file.
67558         * sysdeps/unix/sysv/direct.h: Remove file.
67560         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67561         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67562         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67563         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67564         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67565         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67566         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67568         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67570         * sysdeps/unix/xmknod.c: Remove file.
67571         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67573         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67575         * sysdeps/unix/sysv/i386/time.S: Remove file.
67577         * sysdeps/unix/fxstat.c: Remove file.
67578         * sysdeps/unix/xstat.c: Likewise.
67579         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67581         * sysdeps/unix/sysv/sigaction.c: Remove file.
67583         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67584         (sysdep_headers): Remove variable.
67585         [termio.h not in sysdep_headers] (generated): Likewise.
67586         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67587         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67588         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67589         * sysdeps/unix/sysv/tcflow.c: Likewise.
67590         * sysdeps/unix/sysv/tcflush.c: Likewise.
67591         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67592         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67593         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67594         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67595         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67597         * sysdeps/unix/siglist.c: Remove file.
67599         * sysdeps/unix/getppid.S: Remove file.
67601         * sysdeps/unix/mkdir.c: Remove file.
67602         * sysdeps/unix/rmdir.c: Likewise.
67604 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67606         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67607         ERR_MAX value.
67608         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67609         errlist-compat value.
67611 2012-04-18  David S. Miller  <davem@davemloft.net>
67613         * sysdeps/generic/memcopy.h (reg_char): Delete.
67614         * debug/strcat_chk.c: Use char, not reg_char.
67615         * debug/strcpy_chk.c: Likewise.
67616         * debug/strncat_chk.c: Likewise.
67617         * debug/strncpy_chk.c: Likewise.
67618         * string/memchr.c: Likewise.
67619         * string/memrchr.c: Likewise.
67620         * string/rawmemchr.c: Likewise.
67621         * string/strcat.c: Likewise.
67622         * string/strchr.c: Likewise.
67623         * string/strchrnul.c: Likewise.
67624         * string/strcmp.c: Likewise.
67625         * string/strcpy.c: Likewise.
67626         * string/strncat.c: Likewise.
67627         * string/strncmp.c: Likewise.
67628         * string/strncpy.c: Likewise.
67630 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67632         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67633         __builtin_memcopy is called when src and dest ranges are known to not
67634         overlap.
67636 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67638         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67639         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67640         fwd_align_merge macro call.
67641         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67642         bwd_align_merge macro call.
67643         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67645 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67647         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67648         bwd_align_merge macros.
67649         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67650         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67651         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67653 2012-04-18  David S. Miller  <davem@davemloft.net>
67655         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67657 2012-04-18  Andreas Jaeger  <aj@suse.de>
67659         [BZ# 6794]
67660         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67661         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67662         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67664         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67665         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67666         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67668         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67669         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67670         Adjust for changed ldbl-128 files.
67672         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67673         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67674         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67676 2012-04-17  David S. Miller  <davem@davemloft.net>
67678         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67680 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67682         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67683         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67684         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67685         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67686         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67687         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67689 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67691         [BZ #6794]
67692         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67693         * math/libm-test.inc: Add ilogb errno and exception tests.
67694         * math/w_ilogb.c: New file: ilogb wrapper.
67695         * math/w_ilogbf.c: New file: ilogbf wrapper.
67696         * math/w_ilogbl.c: New file: ilogbl wrapper.
67697         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67698         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67699         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67700         exception being thrown with 0.0 as argument.
67701         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67702         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67703         exception being thrown with 0.0 as argument.
67704         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67705         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67706         exception being thrown with 0.0 as argument.
67707         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67708         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67709         exception being thrown with 0.0 as argument.
67710         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67711         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67712         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67713         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67714         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67715         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67716         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67717         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67718         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67720 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67722         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67723         with altivec.
67725 2012-04-16  Marek Polacek  <polacek@redhat.com>
67727         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67729 2012-04-16  Marek Polacek  <polacek@redhat.com>
67731         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67732         operands of fdivp instruction.
67734 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67736         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67737         * elf/tst-auditmod3b.c: Likewise.
67738         * elf/tst-auditmod4b.c: Likewise.
67739         * elf/tst-auditmod5b.c: Likewise.
67740         * elf/tst-auditmod6b.c: Likewise.
67741         * elf/tst-auditmod6c.c: Likewise.
67742         * elf/tst-auditmod7b.c: Likewise.
67743         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67744         * sysdeps/x86_64/preconfigure.in: Likewise.
67745         * sysdeps/x86_64/preconfigure: Regenerated.
67747 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67749         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67750         __ILP32__.
67752 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67754         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67755         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67757 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67759         [BZ #13973]
67760         * locale/iso-639.def: Fix gl language name. Spotted by
67761         Yaron Shahrabani.
67763 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67765         [BZ #2074]
67766         * libio/libio.h (__io_write_fn): Update comment.
67768 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67770         [BZ #2074]
67771         * stdio.texi (Hook Functions): The user provided writer function
67772         is not allowed to return -1.
67774 2012-04-11  David S. Miller  <davem@davemloft.net>
67776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67778 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67780         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67781         Add a leading slash to rtkaio.
67783 2012-04-11  Jim Meyering  <meyering@redhat.com>
67785         [BZ #11959]
67786         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67787         It is not necessarily an error to ignore fwrite's return
67788         value.  One can reliably use ferror to test for errors after
67789         the fact.
67791 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67793         * bits/types.h (__snseconds_t): New type.
67794         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67796         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67798         (__SNSECONDS_T_TYPE): Likewise.
67799         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67800         (__SNSECONDS_T_TYPE): Likewise.
67801         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67802         (__SNSECONDS_T_TYPE): Likewise.
67804 2012-04-10  Andreas Jaeger  <aj@suse.de>
67806         [BZ #2636]
67807         * manual/time.texi (Processor Time): Return type of times is
67808         elapsed real time since an arbitrary point in the past.
67809         (CPU Time): Move CLK_TCK from here...
67810         (Processor Time): ...to here.  Correct description.
67811         * manual/conf.texi (Constants for Sysconf): Correct description of
67812         _SC_CLK_TCK.
67814 2012-04-10  David S. Miller  <davem@davemloft.net>
67816         [BZ #13967]
67817         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67818         where the is a gap between DT_REL(A) and DT_JMPREL.
67820 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67822         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67823         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67824         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67826 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67828         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67829         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67830         (dl_main): Handle --inhibit-cache.
67831         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67832         _dl_inhibit_cache.
67833         * elf/dl-load.c (_dl_map_object): Use it.
67834         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67836 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67838         [BZ #13872]
67839         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67840         (__ieee754_powl): Saturate large exponents rather than testing for
67841         overflow of y*log2(x).
67842         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67843         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67844         exceptions.
67846         [BZ #11521]
67847         * math/s_ctan.c: Include <float.h>.
67848         (__ctan): Avoid internal overflow or cancellation in calculating
67849         denominator.
67850         * math/s_ctanf.c: Likewise.
67851         * math/s_ctanl.c: Likewise.
67852         * math/s_ctanh.c: Likewise.
67853         * math/s_ctanhf.c: Likewise.
67854         * math/s_ctanhl.c: Likewise.
67855         * math/libm-test.inc (ctan_test): Add more tests.
67856         (ctanh_test): Likewise.
67857         * sysdeps/i386/fpu/libm-test-ulps: Update.
67858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67860 2012-04-09  Andreas Jaeger  <aj@suse.de>
67862         [BZ #6894]
67863         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67864         is an optional BSD extension.
67866         [BZ #10254]
67867         * manual/stdio.texi (Opening Streams): Document additional fopen
67868         parameters.
67870 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67872         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67873         %eax without telling the compiler.
67875 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67877         [BZ # 13963]
67878         * manual/install.texi: Use sourceware.org.
67880 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67882         [BZ #13873]
67883         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67884         (__ieee754_pow): Generate overflow and underflow using huge*huge
67885         and tiny*tiny rather than just returning constant infinity or zero
67886         for large exponents.
67887         * math/libm-test.inc (pow_test): Require overflow exceptions for
67888         applicable cases of large exponents.
67890         [BZ #706]
67891         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67892         (__ieee754_pow): Use iterative multiplication algorithm only for
67893         integer exponents with absolute value below 1024.  Check for odd
67894         integer exponents when using algorithm for real exponents.
67895         * math/libm-test.inc (pow_test): Add more tests.
67896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67898 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67900         [BZ #13705]
67901         * math/libm-test.inc (exp_test): Do not allow overflow exception
67902         on underflow test.
67904 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67906         [BZ #13705]
67907         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67908         instead of __kernel_standard_f.
67910 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67912         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67913         * sysdeps/x86_64/memset_chk.S: Likewise.
67915 2012-04-08  Andreas Jaeger  <aj@suse.de>
67917         [BZ #10153]
67918         * manual/startup.texi (Environment Access): Describe return value
67919         for putenv and setenv.
67921         [BZ #6895]
67922         * manual/filesys.texi (Directory Entries): Add description for
67923         DT_LNK.
67925         [BZ #6890]
67926         * manual/filesys.texi (Directory Entries): Clarify that it's file
67927         system not operating system in the description of DT_UNKNOWN.
67929         [BZ #6578]
67930         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67932 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67934         [BZ #6649]
67935         * manual/llio.texi (Opening and Closing Files): Add cross
67936         reference to explain mode argument.
67938 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67940         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67941         * sysdeps/x86_64/memset_chk.S: Likewise.
67943 2012-04-07  David S. Miller  <davem@davemloft.net>
67945         * elf/elf.h (R_SPARC_WDISP10): Define.
67946         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67947         R_SPARC_SIZE32.
67948         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67949         R_SPARC_SIZE64 and R_SPARC_H34.
67951 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67953         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67954         conditions and remove no longer applicable assertion.
67956 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67958         * bits/byteswap.h: Include <features.h>.
67959         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67960         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67962 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67964         * bits/byteswap.h (__bswap_16): Removed.
67965         Include <bits/byteswap-16.h> to get __bswap_16.
67966         * sysdeps/i386/bits/byteswap.h: Likewise.
67967         * sysdeps/s390/bits/byteswap.h: Likewise.
67968         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67969         * bits/byteswap-16.h: New file.
67970         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67971         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67972         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67973         * string/Makefile (headers): Add bits/byteswap-16.h.
67975 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67977         [BZ #13895]
67978         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67979         extra indirection.
67980         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67981         * nss/tst-nss-static.c: New.
67983 2012-04-06  Robert Millan  <rmh@gnu.org>
67985         [BZ #6486]
67986         * manual/llio.texi (File Position Primitive): lseek
67987         refers to WHENCE when it really means OFFSET.
67989 2012-04-06  Andreas Jaeger  <aj@suse.de>
67991         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67992         strncmp declarations.
67994         * abilist/libc.abilist: Add __poll and __ppoll.
67996 2012-04-05  David S. Miller  <davem@davemloft.net>
67998         * scripts/check-local-headers.sh: Accept a host triplet in the
67999         path matched by the exclude regexp.
68001         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68002         definition.
68003         * sysdeps/powerpc/powerpc32/dl-machine.h
68004         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68005         * sysdeps/s390/s390-32/dl-machine.h
68006         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68007         * sysdeps/sparc/sparc32/dl-machine.h
68008         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68009         * sysdeps/sparc/sparc64/dl-machine.h
68010         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68012         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68013         lazy binding.
68014         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68015         undefined symbol errors.
68017         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68018         DT_NEEDED entries.
68020 2012-04-05  Michael Matz  <matz@suse.de>
68022         [BZ #13592]
68023         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68025 2012-04-05  Andreas Jaeger  <aj@suse.de>
68027         [BZ #13908]
68028         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68029         comment.
68031 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68033         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68034         which ROUND is no valid rounding mode.
68036 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68038         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68039         read again.
68040         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68042 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68044         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68045         an exception using FPU order intentionally.
68047 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68049         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68050         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68051         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68052         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68054 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68056         [BZ #12340]
68057         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68058         EINVAL when BUFLEN is too smal.
68060 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68062         [BZ #13553]
68063         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68064         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68066 2012-04-03  Andreas Jaeger  <aj@suse.de>
68068         [BZ #13938]
68069         * manual/setjmp.texi (System V contexts): Fix sentence.
68071         [BZ #13926]
68072         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68073         New macro for this case.
68074         [!__GNUC__] (__bswap_64): New inline function for this case.
68075         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68076         * bits/byteswap.h: Likewise.
68077         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68078         ull, guard with __GLIBC_HAVE_LONG_LONG.
68080         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68081         __GLIBC_HAVE_LONG_LONG.
68083         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68084         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68086 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68088         [BZ #13691]
68089         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68090         inptr and inend, rather than using last_ch.
68092 2012-04-02  David S. Miller  <davem@davemloft.net>
68094         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68095         * stdio-common/printf-parse.h (read_int): Change return type to
68096         'int', return -1 on INT_MAX overflow.
68097         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68098         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68099         overflows INT_MAX.  Check for overflow of in-format-string precision
68100         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68101         SIZE_MAX not INT_MAX for integer overflow test.
68102         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68103         skip the construct in the format string but do not record anything.
68104         * stdio-common/bug22.c: Adjust to test both width/prevision
68105         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68106         explicitly for proper errno values.
68108 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68110         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68111         CHAR_MAX.
68112         * string/test-strcmp.c [! WIDE]: Likewise.
68113         * time/tst-mktime2.c: Likewise for INT_MAX.
68114         * string/test-string.h: #include <sys/param.h> for MIN.
68116         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68117         * sysdeps/i386/init-first.c (init): Likewise.
68118         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68119         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68120         * sysdeps/sh/init-first.c (init): Likewise.
68122 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68124         * po/ru.po: Update from translation team.
68125         * po/vi.po: Likewise.
68127 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68129         * resolv/nss_dns/dns-host.c: Merge copyright years.
68131 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68133         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68134         Optimize memcpy with prefetch if
68135         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68136         src, dst pointers have unequal 16 byte alignments.
68138 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68140         [BZ #13928]
68141         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68142         from a CNAME entry and return the minimum ttl for the query.
68143         (gaih_getanswer_slice): Likewise.
68145 2012-03-30  Jeff Law  <law@redhat.com>
68147         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68148         due to long keys.
68149         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68150         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68152         * resolv/nss_dns/dns-host.c: Update copyright year.
68154 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68156         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68157         requests to save a system call.  Fix check that all bytes are sent.
68159         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68160         comments for sendmmsg.
68162 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68164         [BZ #13691]
68165         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68166         with only 1 character between 0x0041 and 0x01b0.
68167         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68168         * wcsmbs/tst-mbsnrtowcs.c: New file.
68170 2012-03-29  David S. Miller  <davem@davemloft.net>
68172         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68173         small copies by hand.
68175 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68177         [BZ #13761]
68178         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68179         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68180         group memberships.
68182 2012-03-28  David S. Miller  <davem@davemloft.net>
68184         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68185         that branches into memcpy.
68186         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68187         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68188         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68189         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68190         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68191         bits.
68192         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68193         implementation too.
68194         * sysdeps/sparc/mempcpy.S: New file.
68196         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68197         the IFUNC routine in the libc case.
68198         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68200         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68201         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68202         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68203         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68204         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68205         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68206         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68207         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68209         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68210         loop to 256 bytes instead of 64 bytes and fix test signedness.
68212         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68213         * sysdeps/sparc/sparc32/Makefile: rather than here...
68214         * sysdeps/sparc/sparc64/Makefile: and here.
68216 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68218         * malloc/mallocbug.c: Avoid warnings about unused variables.
68220 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68222         [BZ #13760]
68223         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68224         in the right place. Discard and retry query if response is
68225         larger than input buffer size.
68227 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68229         [BZ #369]
68230         [BZ #2678]
68231         [BZ #3866]
68232         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68233         x for large integer exponent.
68234         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68235         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68236         sign of result as needed afterwards.
68237         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68238         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68239         result for underflowing pow the same as for overflow.
68240         (__kernel_standard_l): Handle powl overflow and underflow here
68241         rather than calling __kernel_standard.
68242         * math/libm-test.inc (pow_test): Add more tests.
68244         [BZ #3868]
68245         [BZ #13879]
68246         [BZ #13910]
68247         [BZ #13911]
68248         [BZ #13912]
68249         [BZ #13913]
68250         [BZ #13915]
68251         [BZ #13916]
68252         [BZ #13917]
68253         [BZ #13918]
68254         [BZ #13919]
68255         [BZ #13920]
68256         [BZ #13921]
68257         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68258         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68259         (__kernel_standard_l): New function.
68260         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68261         __kernel_standard.
68262         * math/w_acosl.c (__acosl): Likewise.
68263         * math/w_asinl.c (__asinl): Likewise.
68264         * math/w_atan2l.c (__atan2l): Likewise.
68265         * math/w_atanhl.c (__atanhl): Likewise.
68266         * math/w_coshl.c (__coshl): Likewise.
68267         * math/w_exp10l.c (__exp10l): Likewise.
68268         * math/w_exp2l.c (__exp2l): Likewise.
68269         * math/w_fmodl.c (__fmodl): Likewise.
68270         * math/w_hypotl.c (__hypotl): Likewise.
68271         * math/w_j0l.c (__j0l, __y0l): Likewise.
68272         * math/w_j1l.c (__j1l, __y1l): Likewise.
68273         * math/w_jnl.c (__jnl, __ynl): Likewise.
68274         * math/w_lgammal.c (__lgammal): Likewise.
68275         * math/w_log10l.c (__log10l): Likewise.
68276         * math/w_log2l.c (__log2l): Likewise.
68277         * math/w_logl.c (__logl): Likewise.
68278         * math/w_powl.c (__powl): Likewise.
68279         * math/w_remainderl.c (__remainderl): Likewise.
68280         * math/w_scalbl.c (sysv_scalbl): Likewise.
68281         * math/w_sinhl.c (__sinhl): Likewise.
68282         * math/w_sqrtl.c (__sqrtl): Likewise.
68283         * math/w_tgammal.c (__tgammal): Likewise.
68284         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68285         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68286         * math/libm-test.inc (acos_test): Add more tests.
68287         (acosh_test): Likewise.
68288         (asin_test): Likewise.
68289         (atanh_test): Likewise.
68290         (exp_test): Likewise.
68291         (exp10_test): Likewise.
68292         (exp2_test): Likewise.
68293         (expm1_test): Likewise.
68294         (lgamma_test): Likewise.
68295         (log_test): Likewise.
68296         (log10_test): Likewise.
68297         (log1p_test): Likewise.
68298         (log2_test): Likewise.
68299         (pow_test): Do not allow some spurious overflow exceptions.
68300         (sqrt_test): Add more tests.
68301         (tgamma_test): Likewise.
68302         (y0_test): Likewise.
68303         (y1_test): Likewise.
68304         (yn_test): Likewise.
68306 2012-03-27  Anton Blanchard  <anton@samba.org>
68308         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68309         MAP_HUGETLB.
68310         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68311         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68312         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68314 2012-03-27  David S. Miller  <davem@davemloft.net>
68316         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68318         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68319         have-as-vis3 check.
68321 2012-03-27  Andreas Jaeger  <aj@suse.de>
68323         * sysdeps/x86_64/elf/configure.in: Moved to ...
68324         * sysdeps/x86_64/configure.in: ... here.
68325         * sysdeps/x86_64/elf/start.S: Moved to ...
68326         * sysdeps/x86_64/start.S: ... here.
68327         * sysdeps/x86_64/elf/configure: Delete.
68329         * sysdeps/x86_64/configure.in: Merge contents from
68330         sysdeps/i386/configure.in (without i686 check).
68332         * sysdeps/i386/elf/Versions: Merge into ...
68333         * sysdeps/i386/Versions: ... this.
68334         * sysdeps/i386/elf/Versions: Delete file.
68335         * sysdeps/i386/elf/start.S: Moved to ...
68336         * sysdeps/i386/start.S: ...here.
68337         * sysdeps/i386/elf/configure.in: Merge into...
68338         * sysdeps/i386/configure.in: ...here.
68339         * sysdeps/i386/elf/configure.in: Delete file.
68340         * sysdeps/i386/elf/configure: Delete file.
68342         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68343         * debug/backtracesyms.c: ... here.
68344         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68345         * debug/backtracesymsfd.c: ... here.
68346         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68347         * sysdeps/generic/ifunc-sel.h: ... here.
68349         * sysdeps/unix/i386/start.c: Delete file.
68350         * sysdeps/unix/sparc/start.c: Delete file.
68351         * sysdeps/unix/start.c: Delete file.
68353         * sysdeps/sh/elf/configure.in: Moved to ...
68354         * sysdeps/sh/configure.in: ... here.
68355         * sysdeps/sh/elf/start.S: Moved to ...
68356         * sysdeps/sh/start.S: ... here.
68357         * sysdeps/sh/elf/configure: Delete file.
68359         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68360         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68361         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68362         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68363         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68364         * sysdeps/powerpc/powerpc64/start.S: here.
68365         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68366         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68367         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68368         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68369         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68371         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68372         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68373         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68374         * sysdeps/powerpc/powerpc32/start.S: ... here.
68375         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68376         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68377         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68379         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68380         * sysdeps/powerpc/ifunc-sel.h: ... here.
68381         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68382         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68384         * sysdeps/sparc/elf/configure.in: Moved to ...
68385         * sysdeps/sparc/configure.in: ... here.
68386         * sysdeps/sparc/elf/configure: Delete file.
68387         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68388         * sysdeps/sparc/sparc32/start.S: ... here.
68389         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68390         * sysdeps/sparc/sparc64/start.S: ... here.
68391         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68392         * sysdeps/sparc/sparc32/Makefile: ... this.
68393         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68394         * sysdeps/sparc/sparc64/Makefile: ... this.
68396         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68397         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68398         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68399         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68400         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68401         * sysdeps/s390/s390-32/setjmp.S: ... here.
68402         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68403         * sysdeps/s390/s390-32/configure.in: ... here.
68404         * sysdeps/s390/s390-32/elf/configure: Delete file.
68405         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68406         * sysdeps/s390/s390-32/start.S: ... here.
68408         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68409         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68410         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68411         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68412         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68413         * sysdeps/s390/s390-64/setjmp.S: ... here.
68414         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68415         * sysdeps/s390/s390-64/configure.in: ... here
68416         * sysdeps/s390/s390-64/elf/configure: Delete file.
68417         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68418         * sysdeps/s390/s390-64/start.S: ... here.
68419         * sysdeps/s390/s390-64/elf/configure: Delete.
68421         * configure.in: Remove support for elf directories in sysdeps.
68423         * configure: Regenerated.
68424         * sysdeps/i386/configure: Regenerated.
68425         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68426         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68427         * sysdeps/s390/s390-32/configure: Regenerated.
68428         * sysdeps/s390/s390-64/configure: Regenerated.
68429         * sysdeps/sh/configure: Regenerated.
68430         * sysdeps/sparc/configure: Regenerated.
68431         * sysdeps/x86_64/configure: Regenerated.
68433 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68437         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68438         denormal result into account.
68440 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68442         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68443         Reported by Allan McRae <allan@archlinux.org>.
68445 2012-03-23  Jeff Law  <law@redhat.com>
68447         * nss/getnssent.c (__nss_getent): Fix typo.
68449 2012-03-23  David S. Miller  <davem@davemloft.net>
68451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68453 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68455         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68456         to pad to uint64_t for each field.
68457         (dl_tls_index): Replace unsigned long with uint64_t.
68459 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68460         Paul Pluzhnikov  <ppluzhnikov@google.com>
68462         [BZ #6528]
68463         * grp/Makefile (otherlibs): Don't set it.
68464         * inet/Makefile (otherlibs): Likewise.
68465         * login/Makefile (otherlibs): Likewise.
68466         * nscd/Makefile (otherlibs): Likewise.
68467         * posix/Makefile (otherlibs): Likewise.
68468         * pwd/Makefile (otherlibs): Likewise.
68469         * rt/Makefile (otherlibs): Likewise.
68470         * sunrpc/Makefile (otherlibs): Likewise.
68471         * nss/Makefile (otherlibs): Likewise.
68472         Add libnss_files to routines and static-only-routines.
68473         ($(objpfx)getent): Remove rule.
68474         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68475         static-only-routines.
68477 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68479         [BZ #13892]
68480         * math/s_cexp.c: Include <float.h>.
68481         (__cexp): Handle exp result overflowing not necessarily
68482         overflowing both real and imaginary parts of result.
68483         * math/s_cexpf.c: Likewise.
68484         * math/s_cexpl.c: Likewise.
68485         * math/libm-test.inc (cexp_test): Add more tests.
68486         * sysdeps/i386/fpu/libm-test-ulps: Update.
68487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68489 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68491         * include/link.h (ELFW): New macro.
68492         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68493         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68495 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68497         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68498         with uint64_t.
68500 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68502         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68503         declaration.
68504         (struct La_x32_retval): Likewise.
68506 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68508         * sysdeps/x86_64/preconfigure.in: New file.
68509         * sysdeps/x86_64/preconfigure: New generated file.
68511 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68513         [BZ #13824]
68514         * math/e_exp2l.c: Include <float.h>.
68515         (__ieee754_exp2l): Handle overflow and underflow cases
68516         separately.  Only pass fractional part of argument to
68517         __ieee754_expl.
68518         * math/libm-test.inc (exp2_test): Add more tests.
68520         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68521         negating x to take absolute value.
68522         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68523         Likewise.
68524         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68525         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68526         Likewise.
68527         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68528         computing low part if x was negated.
68529         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68531 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68533         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68534         la_x32_gnu_pltexit.
68535         (pltexit): Cast int_retval to ptrdiff_t.
68536         * elf/tst-auditmod3b.c: Likewise.
68537         * elf/tst-auditmod4b.c: Likewise.
68538         * elf/tst-auditmod5b.c: Likewise.
68539         * elf/tst-auditmod6b.c: Likewise.
68540         * elf/tst-auditmod6c.c: Likewise.
68541         * elf/tst-auditmod7b.c: Likewise.
68543         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68544         and x32_gnu_pltexit.
68546         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68547         __ELF_NATIVE_CLASS.
68548         (La_x32_regs): New macro.
68549         (La_x32_retval): Likewise.
68550         (la_x32_gnu_pltenter): New function prototype.
68551         (la_x32_gnu_pltexit): Likewise.
68553 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68555         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68556         exponent.
68558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68560         * configure.in (libc_cv_cc_nofma): Check for option to disable
68561         generation of FMA instructions.
68562         * configure: Regenerate.
68563         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68564         * sysdeps/ieee754/dbl-64/Makefile: New file.
68565         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68566         Remove brandred-fma4.
68567         (CFLAGS-brandred-fma4.c): Remove.
68568         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68569         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68570         define.
68571         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68572         define.
68574 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68576         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68577         LLONG_MAX != LONG_MAX.
68578         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68579         (_fitoa_word): Likewise.
68580         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68581         LLONG_MAX != LONG_MAX.
68582         * stdio-common/_itowa.h: Include <_itoa.h>.
68583         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68584         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68585         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68586         only if not defined.
68587         (_ITOA_WORD_TYPE): Likewise.
68588         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68589         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68591 2012-03-21  David S. Miller  <davem@davemloft.net>
68593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68595 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68597         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68598         of x86_64 when setting libc_cv_slibdir, libdir and
68599         libc_cv_localedir.
68600         * sysdeps/unix/sysv/linux/configure: Regenerated.
68602 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68604         * manual/lang.texi (Old Varargs): Remove section.
68605         (How Variadic): Update menu.
68606         (va_start): Do not mention varargs.h.
68608 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68609             Joseph Myers  <joseph@codesourcery.com>
68611         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68612         link test.
68613         * configure: Regenerated.
68615 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68617         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68618         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68619         conformtest.pl
68621 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68623         * NOTES: Remove.
68624         * Makefile (files-for-dist): Remove NOTES.
68625         (NOTES): Remove rule.
68626         * README: Don't refer to NOTES.
68627         * manual/creature.texi: Don't include macros.texi.
68628         * manual/intro.texi (creature.texi): Remove comment referring to
68629         NOTES.
68631         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68632         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68633         * configure: Regenerated.
68634         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68635         LIBC_TRY_CC_OPTION.
68636         (libc_cv_as_i686): Likewise.
68637         (libc_cv_cc_avx): Likewise.
68638         (libc_cv_cc_sse2avx): Likewise.
68639         (libc_cv_cc_fma4): Likewise.
68640         (libc_cv_cc_novzeroupper): Likewise.
68641         * sysdeps/i386/configure: Regenerated.
68643         [BZ #13883]
68644         * sysdeps/i386/fpu/s_cexp.S: Remove.
68645         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68646         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68647         * math/libm-test.inc (cexp_test): Add more tests.
68648         * sysdeps/i386/fpu/libm-test-ulps: Update.
68649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68651 2012-03-21  Allan McRae  <allan@archlinux.org>
68653         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68655 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68657         [BZ #13871]
68658         * math/w_exp2.c: Do not include <float.h>.
68659         (o_threshold, u_threshold): Remove.
68660         (__exp2): Calculate result before checking finiteness and calling
68661         __kernel_standard.
68662         * math/w_exp2f.c: Likewise.
68663         * math/w_exp2l.c: Likewise.
68664         * math/libm-test.inc (exp2_test): Require overflow exception for
68665         1e6 input.
68667         [BZ #3866]
68668         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68669         range of signed 64-bit integers before using fistpll.  Remove
68670         checks for whether integers fit in mantissa bits.
68671         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68672         the range of signed 32-bit integers before using fistpl.  Remove
68673         checks for whether integers fit in mantissa bits.
68674         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68675         (__ieee754_powl): Test for y outside the range of signed 64-bit
68676         integers before using fistpll.  Reduce 64-bit values to 63-bit
68677         ones as needed.
68678         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68679         divide-by-zero is raised for zero to large negative powers.
68680         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68681         (__ieee754_powl): Test for y outside the range of signed 64-bit
68682         integers before using fistpll.  Reduce 64-bit values to 63-bit
68683         ones as needed.
68684         * math/libm-test.inc (pow_test): Add more tests.
68686 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68688         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68689         <stdio-common/_itoa.h>.
68690         * debug/segfault.c: Likewise.
68691         * elf/dl-cache.c: Likewise.
68692         * elf/dl-minimal.c: Likewise.
68693         * elf/dl-misc.c: Likewise.
68694         * elf/dl-sysdep.c: Likewise.
68695         * elf/dl-version.c: Likewise.
68696         * elf/rtld.c: Likewise.
68697         * hurd/hurdsock.c: Likewise.
68698         * hurd/lookup-retry.c: Likewise.
68699         * malloc/malloc.c: Likewise.
68700         * malloc/mtrace.c: Likewise.
68701         * nscd/nscd_getgr_r.c: Likewise.
68702         * nscd/nscd_getpw_r.c: Likewise.
68703         * nscd/nscd_getserv_r.c: Likewise.
68704         * posix/getopt_init.c: Likewise.
68705         * posix/wordexp.c: Likewise.
68706         * stdio-common/_itoa.c: Likewise.
68707         * stdio-common/printf_fphex.c: Likewise.
68708         * stdio-common/vfprintf.c: Likewise.
68709         * string/_strerror.c: Likewise.
68710         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68711         * sysdeps/i386/i686/hp-timing.h: Likewise.
68712         * sysdeps/mach/_strerror.c: Likewise.
68713         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68714         * sysdeps/mach/hurd/sethostid.c: Likewise.
68715         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68716         * sysdeps/mach/xpg-strerror.c: Likewise.
68717         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68718         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68719         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68720         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68721         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68722         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68723         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68724         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68725         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68726         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68727         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68728         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68729         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68730         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68731         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68732         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68733         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68734         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68735         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68736         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68737         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68739         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68741         * stdio-common/_itoa.h: Moved to ...
68742         * sysdeps/generic/_itoa.h: Here.
68744         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68746         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68747         instead of "_itoa.h" and "_itowa.h".
68748         * stdio-common/vfprintf.: Likewise.
68750 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68752         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68753         <bits/wordsize.h>.
68754         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68755         (__signbit): Likwise.
68756         (llrintf): Likwise.
68757         (llrint): Likwise.
68759 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68761         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68762         __WORDSIZE != 64.
68764 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68766         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68767         OVERFLOW_EXCEPTION_OK.
68768         * math/libm-test.inc ("Philosophy"): Update comment about
68769         exception testing.
68770         (OVERFLOW_EXCEPTION): Define.
68771         (OVERFLOW_EXCEPTION_OK): Likewise.
68772         (INVALID_EXCEPTION_OK): Renumber.
68773         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68774         (IGNORE_ZERO_INF_SIGN): Likewise.
68775         (test_exceptions): Handle FE_OVERFLOW.
68776         (exp10_test): Expect overflow exceptions.
68777         (exp2_test): Likewise.
68778         (expm1_test): Likewise.
68779         (nextafter_test): Likewise.
68780         (pow_test): Likewise.
68781         (scalbn_test): Likewise.
68782         (scalbln_test): Likewise.
68784 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68786         * sysdeps/x86_64/bits/atomic.h
68787         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68788         64bit integer.
68789         (atomic_exchange_acq): Likewise.
68790         (__arch_exchange_and_add_body): Likewise.
68791         (__arch_add_body): Likewise.
68792         (atomic_add_negative): Likewise.
68793         (atomic_add_zero): Likewise.
68795 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68797         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68798         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68800 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68802         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68803         Check __x86_64__ instead of __WORDSIZE.
68805 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68807         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68809 2012-03-19  David S. Miller  <davem@davemloft.net>
68811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68813         * sysdeps/sparc/fpu/fenv_private.h: New file.
68814         * sysdeps/sparc/fpu/math_private.h: Use it.
68815         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68816         Remove.
68817         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68818         (libc_feholdexcept_setroundl): Remove.
68819         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68820         Remove.
68821         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68822         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68824 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68826         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68827         int64_t instead of long int.
68828         (INSERT_WORDS64): Likwise.
68830 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68832         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68833         _Unwind_GetCFA return to _Unwind_Ptr first.
68835 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68837         [BZ #13629]
68838         * math/s_clog.c: Include <float.h>.
68839         (__clog): Scale large or subnormal inputs.
68840         * math/s_clogf.c: Likewise.
68841         * math/s_clogl.c: Likewise.
68842         * math/s_clog10.c: Include <float.h>.
68843         (M_LOG10_2): Define.
68844         (__clog10): Scale large or subnormal inputs.
68845         * math/s_clog10f.c: Likewise.
68846         * math/s_clog10l.c: Likewise.
68847         * math/libm-test.inc (clog_test): Add more tests.
68848         (clog10_test): Likewise.
68849         * sysdeps/i386/fpu/libm-test-ulps: Update.
68850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68852         [BZ #11451]
68853         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68854         x and y.
68855         * math/libm-test.inc (atan2_test): Add another test.
68857         * Makerules (common-objdir-compile): Remove.
68858         * sysdeps/unix/Makefile (config-generated): Do not add
68859         $(unix-generated) to variable.
68860         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68861         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68862         Remove rule.
68863         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68864         Likewise.
68865         [generic bits/local_lim.h] (before-compile): Do not append to
68866         variable.
68867         [generic bits/local_lim.h] (common-generated): Likewise.
68868         [generic sys/param.h] (before-compile): Do not append to variable.
68869         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68870         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68871         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68872         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68873         include.
68874         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68875         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68876         [generic sys/param.h] ($(addprefix
68877         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68878         [generic sys/param.h] (common-generated): Do not append to
68879         variable.
68880         [generic sys/param.h] (sysdep_headers): Likewise.
68881         [generic bits/errno.h] (before-compile): Do not append to
68882         variable.
68883         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68884         rule.
68885         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68886         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68887         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68888         [generic bits/errno.h] (common-generated): Do not append to
68889         variable.
68890         [generic bits/ioctls.h] (before-compile): Do not append to
68891         variable.
68892         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68893         rule.
68894         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68895         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68896         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68897         rule.
68898         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68899         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68900         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68901         [generic bits/ioctls.h] (common-generated): Do not append to
68902         variable.
68903         [generic sys/syscall.h] (syscall.h): Remove variable.
68904         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68905         rule.
68906         [generic sys/syscall.h] (before-compile): Do not append to
68907         variable.
68908         [generic sys/syscall.h] (common-generated): Likewise.
68909         * sysdeps/unix/errnos-tmpl.c: Remove file.
68910         * sysdeps/unix/errnos.awk: Likewise.
68911         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68912         * sysdeps/unix/ioctls.awk: Likewise.
68913         * sysdeps/unix/mk-local_lim.c: Likewise.
68914         * sysdeps/unix/snarf-ioctls: Likewise.
68916 2012-03-19  Richard Henderson  <rth@twiddle.net>
68918         * sysdeps/i386/fpu/fenv_private.h: New file.
68919         * sysdeps/i386/fpu/math_private.h: Use it.
68920         (math_opt_barrier, math_force_eval): Remove.
68921         (libc_feholdexcept_setround_53bit): Remove.
68922         (libc_feupdateenv_53bit): Remove.
68923         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68924         (math_opt_barrier, math_force_eval): Remove.
68925         (libc_feholdexcept): Remove.
68926         (libc_feholdexcept_setround): Remove.
68927         (libc_fetestexcept, libc_fesetenv): Remove.
68928         (libc_feupdateenv_test): Remove.
68929         (libc_feupdateenv, libc_feholdsetround): Remove.
68930         (libc_feresetround): Remove.
68932         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68933         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68935         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68936         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68937         (libc_feupdateenv_testl): New.
68938         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68939         (libc_feupdateenv_testf): New.
68940         (libc_feupdateenv): Use libc_feupdateenv_test.
68941         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68942         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68944         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68945         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68946         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68947         (libc_feresetround_noex): New.
68948         (libc_feresetround_noexf): New.
68949         (libc_feresetround_noexl): New.
68950         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68951         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68952         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68953         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68954         SET_RESTORE_ROUND.
68955         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68957         (__cos): Likewise.
68958         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68959         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68960         SET_RESTORE_ROUND_NOEX.
68961         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68962         SET_RESTORE_ROUND_NOEXF.
68963         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68964         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68965         (libc_feholdsetroundf): New.
68966         (libc_feresetround, libc_feresetroundf): New.
68968         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68969         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68970         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68972         * sysdeps/generic/math_private.h: Include <fenv.h>.
68973         (default_libc_feholdexcept): New.
68974         (default_libc_feholdexcept_setround): New.
68975         (default_libc_fesetenv, default_libc_feupdateenv): New.
68976         (libc_feholdexcept): Only define if undefined.
68977         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68978         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68979         (libc_feholdexcept_setroundl): Likewise.
68980         (libc_feholdexcept_setround_53bit): Likewise.
68981         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68982         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68983         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68984         (libc_feupdateenv_53bit): Likewise.
68985         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68986         (libc_feholdexcept): Convert from macro to inline function.
68987         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68988         (libc_fesetenv, libc_feupdateenv): Likewise.
68990         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68991         not previously defined.
68992         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68993         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68994         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68995         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68996         * sysdeps/ieee754/flt-32/math_private.h: New file.
68997         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68998         math_private.h below SET_FLOAT_WORD.
68999         (__isnan, __isinf_ns, __finite): Remove.
69000         (__isnanf, __isinf_nsf, __finitef): Remove.
69002 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69006 2012-03-17  David S. Miller  <davem@davemloft.net>
69008         [BZ #6471]
69009         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69010         for 2.16.
69012 2012-03-16  David S. Miller  <davem@davemloft.net>
69014         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69015         warnings.
69017         [BZ #6471]
69018         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69019         properly.
69020         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69021         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69022         sysdep_routines when subdir is sysvipc.
69023         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69024         __getshmlba helper.
69026         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69028 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69030         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69031         [__LP64__].
69033 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69035         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69036         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69037         (__lround): Renamed to ...
69038         (__llround): This.  Replace long int with long long int.
69039         Define lround functions as aliases of llround functions.
69040         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69042 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69044         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69045         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69046         adresses to uintptr_t.  Replace "long int" and "unsigned long
69047         int" with "greg_t" on va_arg.
69049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69051         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69052         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69054         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69055         Move e_machine check before EI_CLASS check.  Handle x32
69056         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69057         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69058         SKIP_EM_IA_64 and include
69059         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69061         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69062         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69063         (add_system_dir): New macro.
69065         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69066         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69068 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69070         [BZ #2551]
69071         [BZ #2552]
69072         [BZ #2553]
69073         [BZ #2554]
69074         [BZ #2562]
69075         [BZ #2563]
69076         [BZ #2565]
69077         [BZ #2566]
69078         [BZ #2576]
69079         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69080         (y0): Likewise.
69081         * math/w_j0f.c (j0f): Likewise.
69082         (y0f): Likewise.
69083         * math/w_j0l.c (__j0l): Likewise.
69084         (__y0l): Likewise.
69085         * math/w_j1.c (j1): Likewise.
69086         (y1): Likewise.
69087         * math/w_j1f.c (j1f): Likewise.
69088         (y1f): Likewise.
69089         * math/w_j1l.c (__j1l): Likewise.
69090         (__y1l): Likewise.
69091         * math/w_jn.c (jn): Likewise.
69092         (yn): Likewise.
69093         * math/w_jnf.c (jnf): Likewise.
69094         (ynf): Likewise.
69095         * math/w_jnl.c (__jnl): Likewise.
69096         (__ynl): Likewise.
69097         * math/libm-test.inc (j0_test): Add more tests.
69098         (j1_test): Likewise.
69099         (jn_test): Likewise.  Add trailing semicolon to existing test.
69100         (y0_test): Likewise.
69101         (y1_test): Likewise.
69102         * sysdeps/i386/fpu/libm-test-ulps: Update.
69103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69105         [BZ #13851]
69106         [BZ #13854]
69107         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69108         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69109         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69110         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69111         (__tanl): Set errno for infinite argument.
69112         * sysdeps/i386/fpu/mptan.c: Remove.
69113         * sysdeps/i386/fpu/s_tan.S: Likewise.
69114         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69115         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69116         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69117         * math/libm-test.inc (tan_test): Add more tests and enable more
69118         tests for double and long double.
69119         * sysdeps/i386/fpu/libm-test-ulps: Update.
69120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69122 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69124         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69125         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69127 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69129         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69130         * configure.in: Use it for both main tree and add-ons.
69131         * configure: Regenerated.
69133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69135         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69137 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69139         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69140         in comment.
69142         [BZ #13851]
69143         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69144         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69145         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69146         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69147         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69148         infinite argument.
69149         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69150         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69151         != 0 for prec == 2.
69152         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69153         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69154         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69155         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69156         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69157         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69158         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69159         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69160         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69161         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69162         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69163         * math/libm-test.inc (cos_test): Add more tests and enable more
69164         tests for long double.
69165         (sin_test): Likewise.
69166         (sincos_test): Likewise.
69167         * sysdeps/i386/fpu/libm-test-ulps: Update.
69168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69170 2012-03-16  David S. Miller  <davem@davemloft.net>
69172         * sysdeps/sparc/fpu/math_private.h: New file.
69174 2012-03-15  David S. Miller  <davem@davemloft.net>
69176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69177         file.
69178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69180         file.
69181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69184         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69185         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69186         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69187         sysdep routines.
69188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69190         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69191         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69193         * sysdeps/sparc/sparc-ifunc.h: New file.
69194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69195         sparc-ifunc.h
69196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69198         Likewise.
69199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69200         Likewise.
69201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69205         Likewise.
69206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69211         Likewise.
69212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69213         Likewise.
69214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69220         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69221         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69232         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69233         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69234         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69235         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69236         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69237         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69239 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69241         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69242         scaling.
69243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69245 2012-03-15  Andreas Jaeger  <aj@suse.de>
69247         [BZ #13852]
69248         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69249         ieee754/flt-32 implementation for sin, cos and sincos.
69250         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69251         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69252         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69253         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69254         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69255         ieee754/flt-32 implementation for tan.
69257         * math/libm-test.inc (cos_test): Enable some large input tests for
69258         float as well
69259         (sin_test): Likewise.
69260         (sincos_test): Likewise.
69261         (tan_test): Add tests for large input.
69263         * sysdeps/i386/fpu/libm-test-ulps: Update.
69265 2012-03-15  Andreas Jaeger  <aj@suse.de>
69267         [BZ #13658]
69268         * math/libm-test.inc (cos_test): Add more test cases.
69269         (sin_test): Likewise.
69270         (sincos_test): Likewise.
69272 2012-03-15  Andreas Jaeger  <aj@suse.de>
69274         [BZ #13837]
69275         * math/libm-test.inc (cos_test): Add a test case for large input
69276         value.
69277         (sin_test): Likewise.
69278         (sincos_test): Likewise.
69280 2012-03-15  Andreas Jaeger  <aj@suse.de>
69281             Joseph Myers  <joseph@codesourcery.com>
69283         [BZ #13658]
69284         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69285         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69286         * sysdeps/i386/fpu/branred.c: Likewise.
69287         * sysdeps/i386/fpu/dosincos.c: Likewise.
69288         * sysdeps/i386/fpu/mpa.c: Likewise.
69289         * sysdeps/i386/fpu/s_cos.S: Likewise.
69290         * sysdeps/i386/fpu/s_sin.S: Likewise.
69291         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69292         * sysdeps/i386/fpu/sincos32.c: Likewise.
69294         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69295         Define.
69296         (libc_feupdateenv_53bit): Define.
69297         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69298         Define.
69299         (libc_feupdateenv_53bit): Define.
69301         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69302         53 bit (without extend i386 double precision).
69304         * math/libm-test.inc (sincos_test): Add tests for large input.
69305         (sin): Likewise.
69306         (cos): Likewise.
69308         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69310 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69314 2012-03-15  David S. Miller  <davem@davemloft.net>
69316         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69317         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69318         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69319         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69332         file.
69333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69335         file.
69336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69338         file.
69339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69341         file.
69342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69343         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69344         fmin/fmax sysdep routines.
69345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69347 2012-03-14  David S. Miller  <davem@davemloft.net>
69349         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69351         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69352         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69353         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69354         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69355         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69356         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69359         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69365         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69367         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69369         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69370         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69371         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69372         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69373         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69374         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69375         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69376         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69377         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69378         routines.
69379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69380         file.
69381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69383         file.
69384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69386         file.
69387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69389         file.
69390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69392         file.
69393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69395         file.
69396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69397         file.
69398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69399         file.
69400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69401         file.
69402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69403         New file.
69404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69405         file.
69406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69407         file.
69408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69410         file.
69411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69413         file.
69414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69416         file.
69417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69419         VIS3 routines.
69421         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69422         New file.
69424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69426         * sysdeps/sparc/configure.in: New file.
69427         * sysdeps/sparc/configure: Generate.
69428         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69429         * configure: Regenerate.
69430         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69431         * config.make.in (have-as-vis3): New.
69432         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69433         available use -Av9d instead of -Av9a.
69434         * sysdeps/sparc/sparc64/Makefile: Likewise.
69435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69437         New file.
69438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69439         file.
69440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69441         New file.
69442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69443         file.
69444         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69445         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69446         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69447         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69448         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69450         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69451         fzeros/fnegs to load 0x80000000 into a float register instead of
69452         using the stack.
69453         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69455 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69457         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69458         bits/syscall.h.
69459         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69460         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69461         ($(inst_includedir)/bits/syscall.h): Remove rule.
69462         ($(objpfx)bits/syscall.d): Include instead of
69463         $(objpfx)syscall-list.d.
69464         (generated): Change syscall-list.h and syscall-list.d to
69465         bits/syscall.h and bits/syscall.d.
69467 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69469         [BZ #13846]
69470         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69472 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69474         [BZ #13841]
69475         * math/s_csqrt.c: Include <float.h>.
69476         (__csqrt): Scale large or subnormal inputs.
69477         * math/s_csqrtf.c: Likewise.
69478         * math/s_csqrtl.c: Likewise.
69479         * math/libm-test.inc (csqrt_test): Add more tests.
69480         * sysdeps/i386/fpu/libm-test-ulps: Update.
69481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69483         [BZ #13840]
69484         * math/libm-test.inc (hypot_test): Add more tests.
69486 2012-03-13  David S. Miller  <davem@davemloft.net>
69488         [BZ #13840]
69489         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69490         double-precision for the calculation instead of scaling.
69492 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69494         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69495         manipulate bits before adding and subtracting TWO52[sx].
69496         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69497         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69498         Likewise.
69499         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69501 2012-03-13  David S. Miller  <davem@davemloft.net>
69503         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69504         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69505         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69506         rtld-global-offsets.h
69507         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69509         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69510         large parameters.
69512         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69514         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69515         'err' in the ifdef scope in which it is actually used.
69517         * nss/nss_db/db-init.c: Include string.h
69519 2012-03-12  David S. Miller  <davem@davemloft.net>
69521         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69522         masking out of the most significant byte of random value used.
69523         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69524         Fix coding style in previous change.
69526         * sysdeps/unix/sysv/linux/kernel-features.h
69527         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69528         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69529         expression.
69530         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69531         later.
69533 2012-03-11  David S. Miller  <davem@davemloft.net>
69535         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69536         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69537         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69538         for 'resultvar' otherwise things get truncated on 64-bit.
69540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69541         Fix masking out of the most significant byte of random value used.
69543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69545 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69549 2012-03-09  David S. Miller  <davem@davemloft.net>
69551         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69552         variables with appropriate CPP guards.
69553         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69554         from the frame pointer, not the stack pointer.  Correct layout
69555         comments.  Fix test on resulting framesize and the management of
69556         the outregs buffer for pltexit.  Preserve floating point return
69557         values across _dl_call_pltexit call.
69558         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69559         framesize and the management of the outregs buffer for pltexit.
69560         Preserve floating point return values across _dl_call_pltexit
69561         call.
69562         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69563         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69564         (la_sparc64_gnu_pltexit): New functions.
69565         (print_exit): Fix format string for return register value.
69567 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69569         * sunrpc/Makefile (others): Add rpcgen.
69570         ($(objpfx)rpcgen): Remove special build rule and dependency on
69571         libc.
69572         * sunrpc/rpcgen.c: New file.
69574 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69576         [BZ #13673]
69577         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69578         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69579         * sysdeps/i386/crti.S: Likewise.
69580         * sysdeps/i386/crtn.S: Likewise.
69581         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69582         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69583         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69584         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69585         * sysdeps/sh/crti.S: Likewise.
69586         * sysdeps/sh/crtn.S: Likewise.
69587         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69589         [BZ #13673]
69590         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69591         with URL.
69592         * locale/programs/locfile-kw.gperf: Likewise.
69593         * locale/programs/charmap-kw.h: Regenerated.
69594         * locale/programs/locfile-kw.h: Likewise.
69596         [BZ #13673]
69597         * intl/plural.y: Replace FSF snail mail address with URL.
69598         * intl/plural.c: Regenerated.
69600 2012-03-09  Richard Henderson  <rth@twiddle.net>
69602         * include/math_private.h: Remove file.
69603         * math/math_private.h: Move file ...
69604         * sysdeps/generic/math_private.h: ... here.
69606         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69607         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69608         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69610         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69611         and <math_private.h>.
69612         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69613         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69614         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69615         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69616         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69617         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69618         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69619         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69620         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69623         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69624         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69625         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69626         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69627         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69628         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69629         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69630         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69631         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69633         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69634         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69635         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69636         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69637         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69638         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69639         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69641         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69642         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69643         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69644         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69645         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69646         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69647         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69648         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69649         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69650         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69651         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69652         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69653         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69654         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69655         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69656         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69657         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69658         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69659         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69660         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69661         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69662         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69663         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69664         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69665         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69666         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69667         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69668         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69669         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69670         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69671         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69672         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69673         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69674         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69675         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69676         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69677         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69678         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69679         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69680         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69681         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69682         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69683         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69684         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69685         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69686         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69687         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69688         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69689         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69690         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69691         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69692         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69693         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69694         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69695         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69696         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69697         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69698         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69699         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69700         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69701         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69702         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69703         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69704         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69705         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69706         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69707         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69708         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69709         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69710         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69711         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69712         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69713         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69714         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69715         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69716         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69717         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69718         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69719         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69720         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69721         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69722         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69723         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69724         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69725         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69726         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69727         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69728         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69729         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69730         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69731         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69732         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69733         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69734         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69735         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69736         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69737         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69738         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69739         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69740         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69741         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69742         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69743         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69744         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69745         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69746         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69747         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69748         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69749         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69750         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69751         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69752         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69753         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69754         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69755         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69756         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69757         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69758         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69759         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69760         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69761         * sysdeps/ieee754/k_standard.c: Likewise.
69762         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69763         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69764         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69765         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69766         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69767         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69768         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69769         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69770         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69771         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69772         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69773         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69774         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69775         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69776         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69777         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69778         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69779         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69780         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69781         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69782         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69783         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69784         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69785         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69786         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69787         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69788         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69789         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69790         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69791         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69792         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69793         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69794         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69795         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69796         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69797         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69798         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69799         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69800         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69801         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69802         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69803         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69804         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69805         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69806         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69807         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69808         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69809         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69810         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69812         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69813         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69814         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69815         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69816         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69817         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69818         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69819         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69820         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69821         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69822         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69823         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69824         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69825         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69826         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69827         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69828         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69829         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69830         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69831         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69832         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69834         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69835         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69838         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69839         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69840         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69841         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69842         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69843         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69844         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69845         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69846         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69847         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69848         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69849         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69850         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69851         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69852         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69853         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69854         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69855         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69856         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69857         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69858         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69859         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69860         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69861         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69862         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69863         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69864         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69865         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69866         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69867         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69868         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69869         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69870         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69871         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69872         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69873         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69874         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69875         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69876         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69877         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69878         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69879         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69880         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69881         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69882         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69883         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69884         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69885         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69886         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69887         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69888         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69889         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69890         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69891         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69892         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69893         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69894         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69895         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69896         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69897         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69898         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69899         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69900         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69903         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69908         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69909         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69910         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69911         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69912         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69913         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69915         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69916         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69917         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69918         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69922         * sysdeps/ieee754/s_lib_version.c: Likewise.
69923         * sysdeps/ieee754/s_matherr.c: Likewise.
69924         * sysdeps/ieee754/s_signgam.c: Likewise.
69925         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69926         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69927         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69928         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69929         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69930         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69931         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69932         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69933         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69934         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69935         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69936         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69937         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69938         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69939         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69940         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69941         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69942         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69943         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69945         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69947 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69949         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69950         * sunrpc/rpc_main.c: Likewise.
69951         * sunrpc/rpc_svcout.c: Likewise.
69953 2012-03-09  David S. Miller  <davem@davemloft.net>
69955         * include/math_private.h: New file.
69957 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69959         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69960         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69961         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69962         from <bits/socket_type.h>.
69963         (enum __socket_type): Don't define here.
69964         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69966         bits/socket_type.h.
69968         [BZ #13566]
69969         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69970         checking __USE_GNU.
69972         * Makerules ($(inst_includedir)/%.h): New rule.
69973         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69974         (install-others): Remove variable setting.
69975         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69977 2012-03-08  Richard Henderson  <rth@twiddle.net>
69979         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69980         from macro to inline function; merge with the
69981         !__LIBC_INTERNAL_MATH_INLINES version.
69982         (__ieee754_sqrtf): Likewise.
69984         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69985         to inline function.
69986         (__rintf, __floor, __floorf): Likewise.
69988         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69989         macro to inline function.
69990         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69992         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69993         not <math/math_private.h>.
69995 2012-03-08  David S. Miller  <davem@davemloft.net>
69997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69998         copyright year.
69999         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70001 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70003         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70004         normalization.
70005         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70006         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70008 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70010         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70011         be defined individually, they must be defined as a block.  Define
70012         S for printing a string instead of hidint the different by using a
70013         macro for adding the 'l'.
70014         * stdio-common/tst-fphex-wide.c: Adjust.
70016 2012-03-07  Marek Polacek  <polacek@redhat.com>
70018         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70020 2012-03-08  Marek Polacek  <polacek@redhat.com>
70022         [BZ #13806]
70023         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70024         * stdio-common/tst-fphex.c: Define a few macros to make the
70025         test reusable.  Use them.
70026         * stdio-common/tst-fphex-wide.c: New file.
70028 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70030         [BZ #6911]
70031         * manual/macros.texi (gnusystems): New macro.
70032         (nongnusystems): Likewise.
70033         (gnulinuxhurdsystems): Likewise.
70034         (gnuhurdsystems): Likewise..
70035         (gnulinuxsystems): Likewise.
70036         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70037         variants of the GNU system, not "GNU system".
70038         * manual/conf.texi: Likewise.
70039         * manual/errno.texi: Likewise.  Update example of errno macro
70040         expansion.
70041         * manual/filesys.texi: Likewise.
70042         (getumask): Document as specific to GNU/Hurd.
70043         * manual/install.texi: Likewise.  Reword some references to
70044         GNU/Linux.
70045         * manual/intro.texi: Likewise.
70046         * manual/io.texi: Likewise.
70047         (File Name Portability): Detail which constraints are inapplicable
70048         to all GNU systems and which are only inapplicable to GNU/Hurd.
70049         * manual/job.texi: Likewise.
70050         * manual/llio.texi: Likewise.
70051         (O_NOCTTY): Document as present on GNU/Linux.
70052         * manual/maint.texi: Likewise.
70053         * manual/memory.texi: Likewise.
70054         * manual/pattern.texi: Likewise.
70055         * manual/pipe.texi: Likewise.
70056         * manual/process.texi: Likewise.
70057         * manual/resource.texi: Likewise.
70058         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70059         child on GNU/Hurd.
70060         * manual/setjmp.texi: Likewise.
70061         * manual/signal.texi: Likewise.
70062         * manual/startup.texi: Likewise.
70063         * manual/stdio.texi: Likewise.
70064         * manual/terminal.texi: Likewise.
70065         (ONLCR): Document as POSIX.
70066         (OXTABS): Document availability on GNU/Linux as XTABS.
70067         (ONOEOT): Document availability separately from other bits.
70068         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70069         * manual/time.texi: Likewise.
70070         * manual/users.texi: Likewise.
70071         * INSTALL: Regenerated.
70072         * sysdeps/gnu/errlist.c: Regenerated.
70074         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70075         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70076         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70077         puts.
70078         * configure: Regenerated.
70080 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70082         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70083         default includes instead of AC_HEADER_CHECK.
70084         * sysdeps/i386/configure: Regenerated.
70086         [BZ #10716]
70087         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70088         * math/s_cacoshf.c (__cacoshf): Likewise.
70089         * math/s_cacoshl.c (__cacoshl): Likewise.
70090         * math/s_casinh.c (__casinh): Set signs of result from argument.
70091         * math/s_casinhf.c (__casinhf): Likewise.
70092         * math/s_casinhl.c (__casinhl): Likewise.
70093         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70094         (casinh_test): Add more tests.
70095         * sysdeps/i386/fpu/libm-test-ulps: Update.
70096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70098 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70100         * po/zh_TW.po: Update from translation team.
70102         * login/Makefile (distribute): Remove variable.
70103         * catgets/Makefile: Likewise.
70104         * mach/Makefile: Likewise.
70105         * malloc/Makefile: Likewise.
70106         * misc/Makefile: Likewise.
70107         * iconv/Makefile: Likewise.
70108         * nscd/Makefile: Likewise.
70109         * hurd/Makefile: Likewise.
70110         * manual/Makefile: Likewise.
70111         * locale/Makefile: Likewise.
70112         * intl/Makefile: Likewise.
70113         * conform/Makefile: Likewise.
70114         * nss/Makefile: Likewise.
70115         * time/Makefile: Likewise.
70116         * soft-fp/Makefile: Likewise.
70117         * dirent/Makefile: Likewise.
70118         * gmon/Makefile: Likewise.
70119         * po/Makefile: Likewise.
70120         * rt/Makefile: Likewise.
70121         * socket/Makefile: Likewise.
70122         * math/Makefile: Likewise.
70123         * signal/Makefile: Likewise.
70124         * debug/Makefile: Likewise.
70125         * elf/Makefile: Likewise.
70126         * timezone/Makefile: Likewise.
70127         * stdlib/Makefile: Likewise.
70128         * iconvdata/Makefile: Likewise.
70129         * sunrpc/Makefile: Likewise.
70130         * io/Makefile: Likewise.
70131         * argp/Makefile: Likewise.
70132         * inet/Makefile: Likewise.
70133         * hesiod/Makefile: Likewise.
70134         * grp/Makefile: Likewise.
70135         * csu/Makefile: Likewise.
70136         * wctype/Makefile: Likewise.
70137         * crypt/Makefile: Likewise.
70138         * libio/Makefile: Likewise.
70139         * string/Makefile: Likewise.
70140         * nis/Makefile: Likewise.
70141         * resolv/Makefile: Likewise.
70142         * stdio-common/Makefile: Likewise.
70143         * wcsmbs/Makefile: Likewise.
70144         * dlfcn/Makefile: Likewise.
70145         * posix/Makefile: Likewise.
70147         [BZ #6959]
70148         * timezone/Makefile: Don't install timezone files, just the programs
70149         and scripts.
70151 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70153         * nss/databases.def: Add missing gshadow entry.
70155         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70157 2012-03-06  Marek Polacek  <polacek@redhat.com>
70159         [BZ #13726]
70160         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70161         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70162         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70163         * stdio-common/tst-long-dbl-fphex.c: New file.
70165 2012-03-06  David S. Miller  <davem@davemloft.net>
70167         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70168         (set_obp_int): New function.
70169         (get_obp_int): New function.
70170         (__get_clockfreq_via_dev_openprom): Likewise.
70171         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70172         Avoid unused variable warnings on 'val' and use builtin_expect.
70173         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70174         __builtin_expect.
70175         (INLINE_CLONE_SYSCALL): Likewise.
70177 2012-03-05  David S. Miller  <davem@davemloft.net>
70179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70181 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70185         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70186         only for |x| >= 40.
70187         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70189 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70191         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70192         Replace gettimeofday with __vdso_gettimeofday.
70194         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70195         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70196         __vdso_clock_gettime and __vdso_getcpu.
70198         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70199         time with __vdso_time.
70201 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70203         * manual/lang.texi (size_t): Note types to which size_t may be
70204         equivalent with the GNU C Library, but do not describe when
70205         differences between them are significant.
70207 2012-03-05  Andreas Jaeger  <aj@suse.de>
70209         * sysdeps/i386/fpu/libm-test-ulps: Update.
70211 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70213         [BZ #3976]
70214         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70215         (__ieee754_pow): Save and restore rounding mode and use
70216         round-to-nearest for main computations.
70217         * math/libm-test.inc (pow_test_tonearest): New function.
70218         (pow_test_towardzero): Likewise.
70219         (pow_test_downward): Likewise.
70220         (pow_test_upward): Likewise.
70221         (main): Call the new functions.
70222         * sysdeps/i386/fpu/libm-test-ulps: Update.
70223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70225         [BZ #3976]
70226         * math/libm-test.inc (cosh_test_tonearest): New function.
70227         (cosh_test_towardzero): Likewise.
70228         (cosh_test_downward): Likewise.
70229         (cosh_test_upward): Likewise.
70230         (sinh_test_tonearest): Likewise.
70231         (sinh_test_towardzero): Likewise.
70232         (sinh_test_downward): Likewise.
70233         (sinh_test_upward): Likewise.
70234         (main): Call the new functions.
70235         * sysdeps/i386/fpu/libm-test-ulps: Update.
70236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70238 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70240         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70241         default stack guard is set in last bytes.
70242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70244 2012-03-05  Kees Cook  <keescook@chromium.org>
70246         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70248         [BZ #13656]
70249         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70250         possibly allocate from heap instead of stack.
70251         * stdio-common/bug-vfprintf-nargs.c: New file.
70252         * stdio-common/Makefile (tests): Add nargs overflow test.
70254 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70258 2012-03-03  Marek Polacek  <polacek@redhat.com>
70260         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70261         * math/math_private.h: Likewise.
70262         * stdlib/tst-strtod.c: Likewise.
70263         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70264         * sysdeps/x86_64/bits/atomic.h: Likewise.
70266 2012-03-02  David S. Miller  <davem@davemloft.net>
70268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70272         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70273         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70274         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70275         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70277 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70279         [BZ #13792]
70280         * manual/examples/README: New file, says the example source files
70281         can be used under GPL>=2.
70282         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70283         line containing just "*/".
70284         * manual/examples/add.c: Add copyright header (GPL>=2).
70285         * manual/examples/argp-ex1.c: Likewise.
70286         * manual/examples/argp-ex2.c: Likewise.
70287         * manual/examples/argp-ex3.c: Likewise.
70288         * manual/examples/argp-ex4.c: Likewise.
70289         * manual/examples/atexit.c: Likewise.
70290         * manual/examples/db.c: Likewise.
70291         * manual/examples/dir.c: Likewise.
70292         * manual/examples/dir2.c: Likewise.
70293         * manual/examples/execinfo.c: Likewise.
70294         * manual/examples/filecli.c: Likewise.
70295         * manual/examples/filesrv.c: Likewise.
70296         * manual/examples/fmtmsgexpl.c: Likewise.
70297         * manual/examples/genpass.c: Likewise.
70298         * manual/examples/inetcli.c: Likewise.
70299         * manual/examples/inetsrv.c: Likewise.
70300         * manual/examples/isockad.c: Likewise.
70301         * manual/examples/longopt.c: Likewise.
70302         * manual/examples/memopen.c: Likewise.
70303         * manual/examples/memstrm.c: Likewise.
70304         * manual/examples/mkfsock.c: Likewise.
70305         * manual/examples/mkisock.c: Likewise.
70306         * manual/examples/mygetpass.c: Likewise.
70307         * manual/examples/pipe.c: Likewise.
70308         * manual/examples/popen.c: Likewise.
70309         * manual/examples/rprintf.c: Likewise.
70310         * manual/examples/search.c: Likewise.
70311         * manual/examples/select.c: Likewise.
70312         * manual/examples/setjmp.c: Likewise.
70313         * manual/examples/sigh1.c: Likewise.
70314         * manual/examples/sigusr.c: Likewise.
70315         * manual/examples/stpcpy.c: Likewise.
70316         * manual/examples/strdupa.c: Likewise.
70317         * manual/examples/strftim.c: Likewise.
70318         * manual/examples/strncat.c: Likewise.
70319         * manual/examples/subopt.c: Likewise.
70320         * manual/examples/swapcontext.c: Likewise.
70321         * manual/examples/termios.c: Likewise.
70322         * manual/examples/testopt.c: Likewise.
70323         * manual/examples/testpass.c: Likewise.
70324         * manual/examples/timeval_subtract.c: Likewise.
70326         [BZ #13792]
70327         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70328         function to ...
70329         * manual/timeval_subtract.c.texi: ... here, new file.
70331 2012-03-02  David S. Miller  <davem@davemloft.net>
70333         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70335 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70337         [BZ #3976]
70338         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70339         (__sin): Save and restore rounding mode and use round-to-nearest
70340         for all computations.
70341         (__cos): Save and restore rounding mode and use round-to-nearest
70342         for all computations.
70343         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70344         <fenv.h>.
70345         (tan): Save and restore rounding mode and use round-to-nearest for
70346         all computations.
70347         * math/libm-test.inc (cos_test_tonearest): New function.
70348         (cos_test_towardzero): Likewise.
70349         (cos_test_downward): Likewise.
70350         (cos_test_upward): Likewise.
70351         (sin_test_tonearest): Likewise.
70352         (sin_test_towardzero): Likewise.
70353         (sin_test_downward): Likewise.
70354         (sin_test_upward): Likewise.
70355         (tan_test_tonearest): Likewise.
70356         (tan_test_towardzero): Likewise.
70357         (tan_test_downward): Likewise.
70358         (tan_test_upward): Likewise.
70359         (main): Call the new functions.
70360         * sysdeps/i386/fpu/libm-test-ulps: Update.
70361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70363         [BZ #10135]
70364         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70365         small n, then large n, before computing and testing k+n.
70366         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70367         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70368         Likewise.
70369         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70370         Likewise.
70371         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70372         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70373         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70374         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70375         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70376         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70377         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70378         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70379         * math/libm-test.inc (scalbn_test): Add more tests.
70380         (scalbln_test): Likewise.
70382         * manual/filesys.texi (mode_t): Describe constraints on size and
70383         signedness, not exact equivalence to a particular type.
70384         (ino_t): Likewise.
70385         (ino64_t): Likewise.
70386         (dev_t): Likewise.
70387         (nlink_t): Likewise.
70388         (blkcnt_t): Likewise.
70389         (blkcnt64_t): Likewise.
70390         * manual/llio.texi (off_t): Likewise.
70392         [BZ #3976]
70393         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70394         (__ieee754_exp): Save and restore rounding mode and use
70395         round-to-nearest for all computations.
70396         * math/libm-test.inc (exp_test_tonearest): New function.
70397         (exp_test_towardzero): Likewise.
70398         (exp_test_downward): Likewise.
70399         (exp_test_upward): Likewise.
70400         (main): Call the new functions.
70401         * sysdeps/i386/fpu/libm-test-ulps: Update.
70402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70404 2012-03-01  Chris Demetriou  <cgd@google.com>
70406         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70407         have predictable order.
70409 2012-03-01  David S. Miller  <davem@davemloft.net>
70411         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70413         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70414         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70415         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70416         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70418         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70419         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70420         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70422         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70423         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70424         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70425         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70426         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70430         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70431         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70432         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70434         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70435         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70436         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70437         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70438         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70439         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70440         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70441         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70442         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70443         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70444         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70445         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70447         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70448         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70450         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70451         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70452         * sysdeps/sparc/elf/configure: Regenerated.
70454 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70456         * configure.in (AS, LD): Require binutils 2.20 or later.
70457         * configure: Regenerated.
70458         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70459         as required minimum version.
70460         * INSTALL: Regenerated.
70462         [BZ #2541]
70463         [BZ #4108]
70464         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70465         before squaring exponent.
70466         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70467         bottom long double and 27 bits of top long double before squaring
70468         exponent.
70469         * math/libm-test.inc (erfc_test): Add more tests.
70470         * sysdeps/i386/fpu/libm-test-ulps: Update.
70471         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70474 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70476         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70477         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70478         containing bit-fields.
70479         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70480         * soft-fp/single.h (_FP_UNION_S): Likewise.
70481         * soft-fp/double.h (_FP_UNION_D): Likewise.
70483 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70485         [BZ #13786]
70486         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70487         not include ../strcmp.S.
70488         [USE_AS_STRNCASECMP_L]: Likewise.
70489         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70490         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70491         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70492         (__strncasecmp_l_ia32): Define as alias to
70493         __strncasecmp_l_nonascii.
70495         [BZ #5794]
70496         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70497         * sysdeps/i386/fpu/libm-test-ulps: Update.
70498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70500         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70503 2012-02-29  Jeff Law  <law@redhat.com>
70505         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70506         out of bounds read.
70508 2012-02-29  Marek Polacek  <polacek@redhat.com>
70510         [BZ #13706]
70511         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70512         * elf/Makefile: Add rules to run tst-unused-dep.out.
70514 2012-02-28  David S. Miller  <davem@davemloft.net>
70516         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70517         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70518         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70519         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70520         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70521         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70523 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70525         * math/libm-test.inc (llround_test): Move one test from
70526         lround_test.  Use TEST_f_L in moved test.
70527         (lround_test): Move misplaced test to llround_test.  Add testcase
70528         from bug 2561.
70530 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70532         * sysdeps/x86_64/fpu/e_expf.S: New file.
70533         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70535 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70537         [BZ #13637]
70538         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70539         of remain_len that may cause incomplete multi-byte character and
70540         false match.
70541         * posix/bug-regex33.c: New file.
70542         * posix/Makefile (tests): Add bug-regex33.
70544 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70546         * manual/macros.texi: New file.
70547         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70548         * manual/libc.texinfo: Include macros.texi.
70549         * manual/creatute.texi: Likewise.
70550         * manual/install.texi: Likewise.
70551         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70552         @glibcadj{} in references to the GNU C Library.
70553         * manual/charset.texi: Likewise.
70554         * manual/conf.texi: Likewise.
70555         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70556         when not using those macros.
70557         * manual/creature.texi: Likewise.
70558         * manual/crypt.texi: Likewise.
70559         * manual/errno.texi: Likewise.
70560         * manual/filesys.texi: Likewise.
70561         * manual/header.texi: Likewise.
70562         * manual/install.texi: Likewise.
70563         * manual/intro.texi: Likewise.
70564         * manual/io.texi: Likewise.
70565         * manual/job.texi: Likewise.
70566         * manual/lang.texi: Likewise.
70567         * manual/libc.texiinfo: Likewise.
70568         * manual/llio.texi: Likewise.
70569         * manual/locale.texi: Likewise.
70570         * manual/maint.texi: Likewise.
70571         * manual/math.texi: Likewise.
70572         * manual/memory.texi: Likewise.
70573         * manual/message.texi: Likewise.
70574         * manual/nss.texi: Likewise.
70575         * manual/pattern.texi: Likewise.
70576         * manual/process.texi: Likewise.
70577         * manual/resource.texi: Likewise.
70578         * manual/search.texi: Likewise.
70579         * manual/setjmp.texi: Likewise.
70580         * manual/signal.texi: Likewise.
70581         * manual/socket.texi: Likewise.
70582         * manual/startup.texi: Likewise.
70583         * manual/stdio.texi: Likewise.
70584         * manual/string.texi: Likewise.
70585         * manual/sysinfo.texi: Likewise.
70586         * manual/syslog.texi: Likewise.
70587         * manual/terminal.texi: Likewise.
70588         * manual/time.texi: Likewise.
70589         * manual/users.texi: Likewise.
70590         * INSTALL: Regenerated.
70591         * NOTES: Regenerated.
70592         * sysdeps/gnu/errlist.c: Regenerated.
70594 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70596         * include/dirent.h: Include <dirstream.h> before
70597         <dirent/dirent.h>.
70599 2012-02-28  David S. Miller  <davem@davemloft.net>
70601         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70602         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70603         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70604         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70606 2012-02-27  David S. Miller  <davem@davemloft.net>
70608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70610         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70611         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70614         frame pointer instead of stack pointer relative arg slot.
70615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70619 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70621         [BZ #3992]
70622         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70624 2012-02-27  David S. Miller  <davem@davemloft.net>
70626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70630         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70631         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70632         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70633         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70635 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70637         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70638         later.  Allow versions 5-9.
70639         * configure: Regenerated.
70640         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70641         required minimum version and 4.6 as recommended version.  Do not
70642         mention bugs in GCC 2.7 and 2.8.
70643         * INSTALL: Regenerated.
70645 2012-02-27  David S. Miller  <davem@davemloft.net>
70647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70651         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70652         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70653         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70654         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70656         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70657         manipulate bits before adding and subtracting TWO112[sx].
70658         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70660 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70662         [BZ #13775]
70663         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70664         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70665         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70666         being in POSIX, because they are in 1003.1-2008.
70668         * rt/tst-aio.c: Include <fcntl.h>.
70669         * rt/tst-aio7.c: Likewise.
70670         * rt/tst-aio64.c: Likewise.
70672         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70674 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70676         * manual/install.texi (--with-headers): Describe headers as
70677         interface headers, not private headers.
70678         (Specific advice for GNU/Linux systems): Describe use of headers
70679         from "make headers_install", not private headers from older
70680         kernels.
70681         * INSTALL: Regenerated.
70682         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70683         Change to 2.6.19.
70684         * sysdeps/unix/sysv/linux/configure: Regenerated.
70686         * manual/llio.texi (fclean): Remove documentation.
70688         * manual/Makefile (libc-texi-generated): New variable.  Include
70689         version.texi.
70690         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70691         $(libc-texi-generated), not duplicated list of files.
70692         (version.texi, stamp-version): New rules.
70693         (realclean): Remove $(libc-texi-generated), not individual files
70694         from that list.  Do not remove dir-add.texinfo.
70695         * manual/libc.texinfo: Comment out uses of edition numbers and
70696         references to printed manual.  Remove last-updated dates.
70697         (EDITION): Comment out.
70698         (ISBN): Likewise.
70699         (VERSION, UPDATED): Remove.
70700         (version.texi): Include.
70702 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70704         * sysdeps/posix/spawni.c: Include <signal.h>.
70705         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70706         * sysdeps/pthread/aio_fsync.c: Likewise.
70708 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70710         * conform/Makefile (tests): Run only when not cross-compiling and
70711         when fast-check is not defined.
70713         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70714         * conform/data/limits.h-data: Fixes for POSIX2008.
70715         * conform/run-conformtest.sh: Run all tests.
70716         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70717         headers.
70718         * include/bits/dlfcn.h: Likewise.
70719         * include/langinfo.h: Likewise.
70720         * include/monetary.h: Likewise.
70721         * include/sys/poll.h: Likewise.
70723         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70724         for __USE_GNU.
70725         * posix/spawn.h: Define __need_sigset_t.
70726         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70727         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70728         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70729         to get sigevent_t only.
70730         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70731         only for __USE_GNU.
70732         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70733         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70734         process_vm_writev only for __USE_GNU.
70735         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70737         * conform/Makefile: For now ignore errors from run-conformtest.
70738         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70739         POSIX to avoid namespace pollution.  Don't prepend headers.
70740         * conform/data/aio.h-data: Fixes for POSIX testing.
70741         * conform/data/fcntl.h-data: Likewise.
70742         * conform/data/glob.h-data: Likewise.
70743         * conform/data/grp.h-data: Likewise.
70744         * conform/data/pthread.h-data: Likewise.
70745         * conform/data/pwd.h-data: Likewise.
70746         * conform/data/signal.h-data: Likewise.
70747         * conform/data/spawn.h-data: Likewise.
70748         * conform/data/stdio.h-data: Likewise.
70749         * conform/data/stdlib.h-data: Likewise.
70750         * conform/data/stropts.h-data: Likewise.
70751         * conform/data/sys/mman.h-data: Likewise.
70752         * conform/data/sys/stat.h-data: Likewise.
70753         * conform/data/sys/types.h-data: Likewise.
70754         * conform/data/sys/wait.h-data: Likewise.
70755         * conform/data/time.h-data: Likewise.
70756         * conform/data/unistd.h-data: Likewise.
70757         * conform/data/utime.h-data: Likewise.
70759         * io/sys/stat.h: fchmod was always in POSIX.
70760         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70761         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70762         * rt/aio.h: Define __need_timespec before including <time.h>.
70763         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70764         struct.  Add forward declaration of pthread_attr_t and use it in
70765         sigevent.
70766         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70767         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70768         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70769         always remove CLK_TCK definition.
70771 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70773         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70775 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70777         * conform/run-conformtest.sh: New file.
70778         * conform/Makefile: Run run-conformtest for tests.
70779         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70780         support.
70782         * conform/data/uchar.h-data: New file.
70783         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70784         * conform/data/arpa/inet.h-data: Likewise.
70785         * conform/data/assert.h-data: Likewise.
70786         * conform/data/complex.h-data: Likewise.
70787         * conform/data/cpio.h-data: Likewise.
70788         * conform/data/ctype.h-data: Likewise.
70789         * conform/data/dirent.h-data: Likewise.
70790         * conform/data/dlfcn.h-data: Likewise.
70791         * conform/data/errno.h-data: Likewise.
70792         * conform/data/fcntl.h-data: Likewise.
70793         * conform/data/float.h-data: Likewise.
70794         * conform/data/fmtmsg.h-data: Likewise.
70795         * conform/data/fnmatch.h-data: Likewise.
70796         * conform/data/ftw.h-data: Likewise.
70797         * conform/data/glob.h-data: Likewise.
70798         * conform/data/grp.h-data: Likewise.
70799         * conform/data/iconv.h-data: Likewise.
70800         * conform/data/inttypes.h-data: Likewise.
70801         * conform/data/langinfo.h-data: Likewise.
70802         * conform/data/libgen.h-data: Likewise.
70803         * conform/data/limits.h-data: Likewise.
70804         * conform/data/locale.h-data: Likewise.
70805         * conform/data/math.h-data: Likewise.
70806         * conform/data/monetary.h-data: Likewise.
70807         * conform/data/mqueue.h-data: Likewise.
70808         * conform/data/ndbm.h-data: Likewise.
70809         * conform/data/net/if.h-data: Likewise.
70810         * conform/data/netdb.h-data: Likewise.
70811         * conform/data/netinet/in.h-data: Likewise.
70812         * conform/data/nl_types.h-data: Likewise.
70813         * conform/data/poll.h-data: Likewise.
70814         * conform/data/pthread.h-data: Likewise.
70815         * conform/data/pwd.h-data: Likewise.
70816         * conform/data/regex.h-data: Likewise.
70817         * conform/data/sched.h-data: Likewise.
70818         * conform/data/search.h-data: Likewise.
70819         * conform/data/semaphore.h-data: Likewise.
70820         * conform/data/setjmp.h-data: Likewise.
70821         * conform/data/signal.h-data: Likewise.
70822         * conform/data/spawn.h-data: Likewise.
70823         * conform/data/stdarg.h-data: Likewise.
70824         * conform/data/stdio.h-data: Likewise.
70825         * conform/data/stdlib.h-data: Likewise.
70826         * conform/data/string.h-data: Likewise.
70827         * conform/data/strings.h-data: Likewise.
70828         * conform/data/stropts.h-data: Likewise.
70829         * conform/data/sys/ipc.h-data: Likewise.
70830         * conform/data/sys/mman.h-data: Likewise.
70831         * conform/data/sys/msg.h-data: Likewise.
70832         * conform/data/sys/resource.h-data: Likewise.
70833         * conform/data/sys/select.h-data: Likewise.
70834         * conform/data/sys/sem.h-data: Likewise.
70835         * conform/data/sys/shm.h-data: Likewise.
70836         * conform/data/sys/socket.h-data: Likewise.
70837         * conform/data/sys/stat.h-data: Likewise.
70838         * conform/data/sys/statvfs.h-data: Likewise.
70839         * conform/data/sys/time.h-data: Likewise.
70840         * conform/data/sys/timeb.h-data: Likewise.
70841         * conform/data/sys/times.h-data: Likewise.
70842         * conform/data/sys/types.h-data: Likewise.
70843         * conform/data/sys/uio.h-data: Likewise.
70844         * conform/data/sys/un.h-data: Likewise.
70845         * conform/data/sys/utsname.h-data: Likewise.
70846         * conform/data/sys/wait.h-data: Likewise.
70847         * conform/data/syslog.h-data: Likewise.
70848         * conform/data/tar.h-data: Likewise.
70849         * conform/data/termios.h-data: Likewise.
70850         * conform/data/utime.h-data: Likewise.
70851         * conform/data/utmpx.h-data: Likewise.
70852         * conform/data/varargs.h-data: Likewise.
70853         * conform/data/wchar.h-data: Likewise.
70854         * conform/data/wctype.h-data: Likewise.
70855         * conform/data/wordexp.h-data: Likewise.
70857         * include/stropts.h: New file.
70858         * include/uchar.h: New file.
70859         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70860         * include/assert.h: Likewise.
70861         * include/ctype.h: Likewise.
70862         * include/dirent.h: Likewise.
70863         * include/dlfcn.h: Likewise.
70864         * include/fcntl.h: Likewise.
70865         * include/fnmatch.h: Likewise.
70866         * include/glob.h: Likewise.
70867         * include/grp.h: Likewise.
70868         * include/libio.h: Likewise.
70869         * include/locale.h: Likewise.
70870         * include/math.h: Likewise.
70871         * include/net/if.h: Likewise.
70872         * include/netdb.h: Likewise.
70873         * include/netinet/in.h: Likewise.
70874         * include/pthread.h: Likewise.
70875         * include/pwd.h: Likewise.
70876         * include/regex.h: Likewise.
70877         * include/sched.h: Likewise.
70878         * include/search.h: Likewise.
70879         * include/setjmp.h: Likewise.
70880         * include/signal.h: Likewise.
70881         * include/stdio.h: Likewise.
70882         * include/stdlib.h: Likewise.
70883         * include/string.h: Likewise.
70884         * include/sys/cdefs.h: Likewise.
70885         * include/sys/mman.h: Likewise.
70886         * include/sys/msg.h: Likewise.
70887         * include/sys/resource.h: Likewise.
70888         * include/sys/select.h: Likewise.
70889         * include/sys/socket.h: Likewise.
70890         * include/sys/stat.h: Likewise.
70891         * include/sys/statvfs.h: Likewise.
70892         * include/sys/time.h: Likewise.
70893         * include/sys/times.h: Likewise.
70894         * include/sys/uio.h: Likewise.
70895         * include/sys/utsname.h: Likewise.
70896         * include/sys/wait.h: Likewise.
70897         * include/termios.h: Likewise.
70898         * include/time.h: Likewise.
70899         * include/ulimit.h: Likewise.
70900         * include/unistd.h: Likewise.
70901         * include/utime.h: Likewise.
70902         * include/wchar.h: Likewise.
70903         * include/wctype.h: Likewise.
70904         * include/wordexp.h: Likewise.
70906         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70908         * time/time.h: TIME_UTC must be a macro.
70909         Make timespec_get available for ISO C11 only as well.
70911 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70913         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70914         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70916 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70918         * configure.in: Use -o not -a in test for unsupported multi-arch.
70920 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70922         * manual/texinfo.tex: Update to version 2012-01-19.16.
70924 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70926         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70928 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70930         [BZ #13738]
70931         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70932         * manual/fdl-1.3.texi: New file.
70933         * manual/fdl-1.1.texi: File removed.
70935         [BZ #13738]
70936         * manual/libc.texinfo (FDL_VERSION): New @set.
70937         Use it for mention of FDL in cover text.
70938         (Documentation License): Use it in @include file name.
70940 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70941             Roland McGrath  <roland@hack.frob.com>
70943         [BZ #5461]
70944         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70945         (not LONG_LONG_MAX and LONG_LONG_MIN.
70946         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70947         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70948         name.
70949         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70951 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70953         [BZ #2547]
70954         [BZ #11365]
70955         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70956         manipulate bits before adding and subtracting TWO23[sx].
70957         * math/libm-test.inc (nearbyint_test): Add more tests.
70959 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70961         [BZ #2548]
70962         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70963         bits before adding and subtracting TWO23[sx].
70964         * math/libm-test.inc (rint_test): Add more tests.
70965         (rint_test_tonearest): Likewise.
70966         (rint_test_towardzero): Likewise.
70967         (rint_test_downward): Likewise.
70968         (rint_test_upward: Likewise.
70970 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70972         [BZ #10110]
70973         * include/stdc-predef.h: New file.  Extracted from features.h.
70974         * include/features.h: Include stdc-predef.h.
70975         * Makefile (headers): Add stdc-predef.h.
70976         * CONFORMANCE (Compiler limitations): Update.
70978 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70980         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70982 2012-02-21  David S. Miller  <davem@davemloft.net>
70984         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70985         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70987 2012-02-20  David S. Miller  <davem@davemloft.net>
70989         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70990         using a normal save/restore sequence, rather than allocating a
70991         dummy stack frame just to store a frame pointer and restore.
70992         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70994 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70996         * manual/install.texi: Fix stray word in line-wrapped comment.
70998 2012-02-20  David S. Miller  <davem@davemloft.net>
71000         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71001         both binutils and gcc support GOTDATA.
71003         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71004         "rd %pc" in the PIC register setup sequences.
71006         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71007         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71008         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71009         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71010         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71011         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71012         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71013         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71014         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71015         (SYSCALL_ERROR_HANDLER): Likewise.
71016         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71017         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71019         (SYSCALL_ERROR_HANDLER): Likewise.
71021         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71022         (HAVE_GCC_GOTDATA): New.
71023         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71024         relocation support in both binutils and gcc.
71025         * sysdeps/sparc/elf/configure: Regenerate.
71027         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71028         * sysdeps/sparc/sparc32/elf/configure: Delete.
71029         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71030         * sysdeps/sparc/sparc64/elf/configure: Delete.
71031         * sysdeps/sparc/elf/configure.in: New file.
71032         * sysdeps/sparc/elf/configure: Generate.
71034         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71035         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71036         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71037         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71038         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71040 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71042         * manual/install.texi: Do not mention specific glibc version
71043         numbers.
71044         * manual/libc.texinfo (VERSION, UPDATED): Update.
71045         (@copying): Use @copyright{} and range of years.
71047 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71049         [BZ #13695]
71050         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71051         [crti.S not in sysdirs] (generated): Do not append.
71052         [crti.S not in sysdirs] (omit-deps): Likewise.
71053         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71054         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71055         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71056         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71057         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71058         Likewise.
71059         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71060         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71061         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71062         * csu/defs.awk: Remove file.
71063         * sysdeps/generic/initfini.c: Likewise.
71064         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71065         variable.
71066         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71067         Likewise.
71069 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71071         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71072         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71073         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71074         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71075         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71076         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71077         <bits/epoll.h>.
71078         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71079         (__EPOLL_PACKED): Define to empty if not defined by
71080         <bits/epoll.h>.
71081         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71083         bits/epoll.h.
71085 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71087         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71088         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71089         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71090         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71091         <bits/timerfd.h>.
71092         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71094         bits/timerfd.h.
71096 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71098         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71099         in C locale.
71100         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71101         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71102         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71105 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71107         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71108         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71110 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71112         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71113         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71114         defined.
71115         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71116         Likewise.
71117         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71118         entry for 2.16.
71120 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71122         * math/w_acos.c: Use non-signaling floating-point comparisons.
71123         * math/w_acosf.c: Likewise.
71124         * math/w_acosh.c: Likewise.
71125         * math/w_acoshf.c: Likewise.
71126         * math/w_acoshl.c: Likewise.
71127         * math/w_acosl.c: Likewise.
71128         * math/w_asin.c: Likewise.
71129         * math/w_asinf.c: Likewise.
71130         * math/w_asinl.c: Likewise.
71131         * math/w_atanh.c: Likewise.
71132         * math/w_atanhf.c: Likewise.
71133         * math/w_atanhl.c: Likewise.
71134         * math/w_exp2.c: Likewise.
71135         * math/w_exp2f.c: Likewise.
71136         * math/w_exp2l.c: Likewise.
71137         * math/w_j0.c: Likewise.
71138         * math/w_j0f.c: Likewise.
71139         * math/w_j0l.c: Likewise.
71140         * math/w_j1.c: Likewise.
71141         * math/w_j1f.c: Likewise.
71142         * math/w_j1l.c: Likewise.
71143         * math/w_jn.c: Likewise.
71144         * math/w_jnf.c: Likewise.
71145         * math/w_log.c: Likewise.
71146         * math/w_log10.c: Likewise.
71147         * math/w_log10f.c: Likewise.
71148         * math/w_log10l.c: Likewise.
71149         * math/w_log2.c: Likewise.
71150         * math/w_log2f.c: Likewise.
71151         * math/w_log2l.c: Likewise.
71152         * math/w_logf.c: Likewise.
71153         * math/w_logl.c: Likewise.
71154         * math/w_sqrt.c: Likewise.
71155         * math/w_sqrtf.c: Likewise.
71156         * math/w_sqrtl.c: Likewise.
71157         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71158         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71159         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71160         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71161         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71163 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71165         [BZ #9739]
71166         * manual/string.texi (strnlen): Use correct parameter name in
71167         equivalent expression.
71169 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71171         [BZ #11174]
71172         * manual/users.texi (seteuid): Consistently use neweuid for
71173         argument name.
71175 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71177         [BZ #13704]
71178         * manual/nss.texi (Services in the NSS configuration): Correct
71179         list of services in example configuration file.
71181 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71183         [BZ #11322]
71184         * manual/arith.texi: Remove statements about negative zero
71185         behaving identically to zero.
71187 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71189         [BZ #5993]
71190         * manual/install.texi: Do not document upgrading from libc5.
71192 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71194         [BZ #4596]
71195         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71197 2012-02-18  David S. Miller  <davem@davemloft.net>
71199         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71200         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71201         %o7 across the call.
71202         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71203         instead.
71204         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71205         SETUP_PIC_REG_LEAF.
71206         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71207         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71208         * sysdeps/sparc/crtn.S: Likewise.
71210 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71212         * aout/Makefile: Remove.
71214 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71216         [BZ #13058]
71217         * manual/examples/argp-ex1.c (main): Format definition in GNU
71218         style.
71219         * manual/examples/argp-ex2.c (main): Likewise.
71220         * manual/examples/argp-ex3.c (main): Likewise.
71221         * manual/examples/argp-ex4.c (main): Likewise.
71222         * manual/examples/longopt.c (main): Use new-style prototype
71223         definition.
71224         * manual/examples/strncat.c (main): Specify return type and use
71225         (void) for arguments.
71226         * manual/examples/subopt.c (main): Use char **argv argument.
71228 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71230         [BZ #5077]
71231         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71232         rounding modes.
71234 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71236         [BZ #6907]
71237         * manual/string.texi (strchr): Change when strchrnul is
71238         recommended.
71240 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71242         [BZ #174]
71243         * manual/locale.texi (setlocale): Document LOCPATH.
71245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71247         [BZ #10210]
71248         * manual/process.texi (execle): Move @dots{} before last argument.
71250 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71252         [BZ #12047]
71253         * manual/charset.texi (Generic Charset Conversion): Fix typo
71254         (LC_TYPE -> LC_CTYPE).
71256 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71258         [BZ #5805]
71259         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71260         (scalbnf): Likewise.
71261         (scalbnl): Likewise.
71262         (scalbln): Likewise.
71263         (scalblnf): Likewise.
71264         (scalblnl): Likewise.
71265         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71266         (vwarnx): Likewise.
71267         (verr): Likewise.
71268         (verrx): Likewise.
71269         * manual/filesys.texi (telldir): Use braces around return type.
71270         * manual/llio.texi (mmap): Add space after comma.
71271         (mmap64): Likewise.
71272         * manual/math.texi (jn): Use @var{} on parameter names.
71273         (jnf): Likewise.
71274         (jnl): Likewise.
71275         (yn): Likewise.
71276         (ynf): Likewise.
71277         (ynl): Likewise.
71278         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71279         line.
71280         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71281         "...".
71282         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71283         (sched_get_priority_max): Likewise.
71284         * manual/signal.texi (sigvec): Add space after comma.
71285         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71286         names.
71287         (if_indextoname): Likewise.
71288         (if_freenameindex): Likewise.
71289         (sendto): Use ',' instead of '.' in prototype.
71290         * manual/startup.texi (syscall): Use @dots{} instead of literal
71291         "...".
71292         * manual/stdio.texi (__fpending): Separate initial words of
71293         paragraph from @deftypefun line.
71294         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71295         "...".
71296         (vsyslog): Use @var{} on parameter names.
71297         * manual/terminal.texi (stty): Use @var{} on parameter names.
71298         * manual/users.texi (getutmp): Use @var{} on parameter names.
71299         (getutmpx): Likewise.
71301 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71303         [BZ #6884]
71304         * manual/stdio.texi (fopen): Fix typos in description of
71305         ",ccs=STRING".
71307 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71309         [BZ #4026]
71310         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71311         get clock_id definition.
71313 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71315         [BZ #4822]
71316         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71317         (madvise): Cast every argument to void on its own.
71319 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71321         [BZ #9902]
71322         * manual/startup.texi (Exit Status): Fix typo.
71324 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71326         [BZ #10140]
71327         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71328         * manual/examples/argp-ex2.c: Likewise.
71329         * manual/examples/argp-ex3.c: Likewise.
71331 2012-02-16  Richard Henderson  <rth@redhat.com>
71333         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71334         * sysdeps/s390/s390-32/initfini.c: Remove.
71335         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71336         * sysdeps/s390/s390-64/initfini.c: Remove.
71338 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71340         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71341         compiler output for sysdeps/generic/initfini.c.
71342         * sysdeps/sh/elf/initfini.c: Remove file.
71344 2012-02-16  David S. Miller  <davem@davemloft.net>
71346         [BZ #11494]
71347         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71349         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71350         * sysdeps/sparc/crti.S: New file.
71351         * sysdeps/sparc/crtn.S: New file.
71352         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71353         * sysdeps/sparc/sparc64/Makefile: Likewise.
71355 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71357         [BZ #3335]
71358         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71360 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71362         [BZ #4822]
71363         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71365         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71366         (write, read, close): Likewise.
71367         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71369 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71371         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71372         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71373         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71374         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71375         <bits/signalfd.h>.
71376         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71378         bits/signalfd.h.
71380 2012-02-14  Marek Polacek  <polacek@redhat.com>
71382         * sysdeps/x86_64/crti.S: New file.
71383         * sysdeps/x86_64/crtn.S: New file.
71384         * sysdeps/x86_64/elf/initfini.c: Remove file.
71386 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71388         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71389         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71390         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71391         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71392         <bits/inotify.h>.
71393         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71395         bits/inotify.h.
71397 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71399         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71400         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71401         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71402         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71403         <bits/eventfd.h>.
71404         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71406         bits/eventfd.h.
71408 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71410         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71411         __feraiseexcept instead of feraiseexcept.
71413         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71414         nanosleep invocations.
71415         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71416         strings, and add error checking for a nanosleep invocations.
71418 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71420         Replace FSF snail mail address with URLs, as per GNU coding standards.
71421         Most of the snail mail addresses were wrong anyway, and omitting
71422         them makes the source code easier to maintain.  Almost all of the
71423         changes are to license notices and to locale LC_IDENTIFICATION
71424         addresses, except for this one:
71425         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71426         not its snail mail address.
71428 2012-02-09  Richard Henderson  <rth@twiddle.net>
71430         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71431         of kernel-features.h.
71433         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71435 2012-02-08  Marek Polacek  <polacek@redhat.com>
71437         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71438         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71439         * sysdeps/gnu/_G_config.h: Likewise.
71440         * sysdeps/generic/_G_config.h: Likewise.
71442 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71444         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71445         tests.
71446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71448         * sysdeps/powerpc/powerpc32/crti.S: New file.
71449         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71450         * sysdeps/powerpc/powerpc64/crti.S: New file.
71451         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71453         * Makeconfig (have-initfini): Don't set.
71454         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71455         * configure.in (nopic_initfini): Don't substitute.
71456         * config.h.in (HAVE_INITFINI): Don't #undef.
71457         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71458         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71460 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71462         Support crti.S and crtn.S provided directly by architectures.
71463         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71464         [crti.S in sysdirs] (omit-deps): Likewise.
71465         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71466         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71467         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71468         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71469         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71470         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71471         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71472         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71473         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71474         compiler output for sysdeps/generic/initfini.c.
71475         * sysdeps/i386/elf/Makefile: Remove file.
71476         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71478 2012-02-07  Marek Polacek  <polacek@redhat.com>
71480         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71481         * sysdeps/gnu/_G_config.h: Likewise.
71482         * sysdeps/mach/hurd/_G_config.h: Likewise.
71484 2012-02-07  Marek Polacek  <polacek@redhat.com>
71486         * math/Makefile (tests): Add tst-CMPLX2.
71487         * math/tst-CMPLX2.c: New file.
71489 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71491         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71493         * math/libm-test.inc (jn_test): Add missing L suffix.
71495 2012-02-06  Marek Polacek  <polacek@redhat.com>
71497         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71498         * sysdeps/i386/fpu/e_powf.S: Likewise.
71499         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71500         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71501         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71502         * sysdeps/i386/fpu/e_pow.S: Likewise.
71503         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71504         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71505         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71506         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71507         * sysdeps/i386/fpu/e_log2.S: Likewise.
71508         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71509         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71510         * sysdeps/i386/fpu/e_powl.S: Likewise.
71511         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71512         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71513         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71514         * sysdeps/i386/fpu/e_logl.S: Likewise.
71515         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71516         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71517         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71518         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71519         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71520         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71521         * sysdeps/i386/fpu/e_log.S: Likewise.
71522         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71523         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71524         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71525         * sysdeps/i386/fpu/e_logf.S: Likewise.
71526         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71527         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71528         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71529         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71530         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71531         * sysdeps/i386/fpu/e_log10.S: Likewise.
71532         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71533         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71534         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71535         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71536         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71537         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71538         * sysdeps/i386/asm-syntax.h: Likewise.
71539         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71540         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71541         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71542         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71543         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71544         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71545         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71546         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71547         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71548         * sysdeps/powerpc/sysdep.h: Likewise.
71549         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71550         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71552 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71554         [BZ #411]
71555         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71557 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71559         * sysdeps/i386/sysdep.h: Include <features.h>.
71560         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71561         version.
71563 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71565         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71566         Define.
71567         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71568         LOAD_PIC_REG_STR.
71570 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71572         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71573         (SETUP_PIC_REG): Use GET_PC_THUNK.
71574         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71575         macro.
71577 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71579         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71580         for non-PIC compilation.
71581         (SETUP_PIC_REG): Add .p2align directive.
71582         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71583         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71584         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71585         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71586         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71587         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71588         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71589         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71590         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71591         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71592         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71593         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71594         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71595         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71596         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71597         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71598         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71599         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71600         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71601         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71602         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71603         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71604         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71605         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71606         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71608         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71609         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71610         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71611         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71612         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71613         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71614         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71615         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71616         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71617         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71618         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71619         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71620         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71621         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71622         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71624 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71626         * math/tst-CMPLX.c: Include <stdio.h>.
71628 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71630         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71631         float.
71632         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71633         * sysdeps/sparc/bits/mathdef.h: Likewise.
71635 2012-01-31  Marek Polacek  <polacek@redhat.com>
71637         * libio/libio.h: Don't define _PARAMS.
71638         * locale/programs/config.h: Don't define PARAMS.
71639         * stdlib/strtol_l.c: Likewise.
71640         (__strtol_l): Remove PARAMS from the prototype.
71642 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71644         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71645         names.  Just use the correct names.  Remove unnecessary wrapper
71646         functions.
71647         * malloc/arena.c: Likewise.
71648         * malloc/hooks.c: Likewise.
71650         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71651         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71652         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71654 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71656         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71657         into tail calls.
71658         (update_get_addr): New function.
71659         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71660         GET_ADDR_MODULE parameter.
71662 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71664         * crypt/cert.c: Remove __STDC__ conditionals.
71665         * crypt/crypt-entry.c: Likewise.
71666         * crypt/crypt_util.c: Likewise.
71667         * libio/filedoalloc.c: Likewise.
71668         * libio/fileops.c: Likewise.
71669         * libio/genops.c: Likewise.
71670         * libio/iofclose.c: Likewise.
71671         * libio/iofdopen.c: Likewise.
71672         * libio/iofopen.c: Likewise.
71673         * libio/iofopen64.c: Likewise.
71674         * libio/iogetdelim.c: Likewise.
71675         * libio/iopopen.c: Likewise.
71676         * libio/obprintf.c: Likewise.
71677         * libio/oldfileops.c: Likewise.
71678         * libio/oldiofclose.c: Likewise.
71679         * libio/oldiofdopen.c: Likewise.
71680         * libio/oldiofopen.c: Likewise.
71681         * libio/oldiopopen.c: Likewise.
71682         * libio/wfiledoalloc.c: Likewise.
71683         * libio/wgenops.c: Likewise.
71684         * locale/programs/xmalloc.c: Likewise.
71685         * misc/syslog.c: Likewise.
71686         * stdio-common/xbug.c: Likewise.
71687         * string/memchr.c: Likewise.
71688         * string/memcmp.c: Likewise.
71689         * string/memrchr.c: Likewise.
71690         * string/rawmemchr.c: Likewise.
71691         * sysdeps/posix/getcwd.c: Likewise.
71692         * time/strftime_l.c: Likewise.
71694 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71696         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71697         * config.make.in (config-cflags-sse2avx): Define.
71698         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71699         Fix typo.
71701 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71703         * scripts/config.guess: Update from upstream config git repository.
71704         * scripts/config.sub: Likewise.
71706 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71708         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71709         (EM_NUM): Update.
71710         (R_TILEPRO_*, R_TILEGX_*): New macros.
71712         * scripts/firstversions.awk: Fix bug in version range handling.
71714         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71716         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71718         * include/sys/epoll.h: New file.
71719         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71720         libc_hidden_def.
71722 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71724         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71725         Avoid unnecessary __WORDSIZE == 64 test.
71726         (fmaxf): Use VEX format if possible.
71727         (fmax): Likewise.
71728         (fminf): Likewise.
71729         (fmin): Likewise.
71731         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71732         * math/math_private.h: Remove libc_fegetround* and
71733         libc_fesetround*.
71734         * sysdeps/i386/configure.in: Check for -msse2avx.
71735         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71736         also if SSE2AVX is defined.
71737         Remove libc_fegetround* and libc_fesetround*.
71738         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71739         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71740         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71741         of HAS_YMM_USABLE.
71742         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71743         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71744         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71745         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71746         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71748         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71750 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71752         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71753         size is not set.
71754         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71756 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71758         [BZ #13618]
71759         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71760         relocation.
71761         * Makeconfig (libm): Define.
71762         * elf/Makefile: Add rules to build and run tst-relsort1.
71763         * elf/tst-relsort1.c: New file.
71764         * elf/tst-relsort1mod1.c: New file.
71765         * elf/tst-relsort1mod2.c: New file.
71767 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71769         * math/s_ldexp.c: Remove __STDC__ conditionals.
71770         * math/s_ldexpf.c: Likewise.
71771         * math/s_ldexpl.c: Likewise.
71772         * math/s_nextafter.c: Likewise.
71773         * math/s_nexttowardf.c: Likewise.
71774         * math/s_significand.c: Likewise.
71775         * math/s_significandf.c: Likewise.
71776         * math/s_significandl.c: Likewise.
71777         * math/w_jnl.c: Likewise.
71778         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71779         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71780         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71781         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71782         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71783         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71784         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71785         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71786         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71787         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71788         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71789         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71790         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71791         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71792         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71793         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71794         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71795         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71796         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71797         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71798         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71799         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71800         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71801         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71802         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71803         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71804         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71805         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71806         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71807         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71808         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71809         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71810         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71811         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71812         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71813         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71814         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71815         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71816         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71817         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71818         * sysdeps/ieee754/k_standard.c: Likewise.
71819         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71820         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71821         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71822         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71823         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71824         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71825         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71826         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71827         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71828         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71829         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71830         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71831         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71832         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71833         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71834         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71835         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71836         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71837         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71838         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71839         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71840         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71841         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71842         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71843         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71844         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71846         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71847         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71848         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71849         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71850         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71851         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71852         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71853         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71854         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71855         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71856         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71857         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71858         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71859         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71861         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71862         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71863         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71864         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71866         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71867         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71868         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71869         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71870         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71871         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71872         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71873         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71874         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71875         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71876         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71877         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71878         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71879         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71880         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71881         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71882         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71883         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71884         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71885         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71886         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71887         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71888         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71889         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71890         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71891         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71892         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71893         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71894         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71895         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71896         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71897         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71898         * sysdeps/ieee754/s_matherr.c: Likewise.
71899         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71900         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71901         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71902         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71904 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71906         * crypt/md5.h: Remove __STDC__ conditionals.
71907         * libio/libioP.h: Likewise.
71908         * locale/programs/config.h: Likewise.
71909         * sysdeps/generic/sysdep.h: Likewise.
71910         * sysdeps/i386/asm-syntax.h: Likewise.
71911         * sysdeps/s390/asm-syntax.h: Likewise.
71912         * sysdeps/unix/sysdep.h: Likewise.
71913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71916 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71918         * libio/libio.h: Remove __STDC__ conditionals.
71919         * malloc/obstack.h: Likewise.
71920         * math/complex.h: Likewise.
71921         * math/math.h: Likewise.
71922         * sysdeps/generic/_G_config.h: Likewise.
71923         * sysdeps/gnu/_G_config.h: Likewise.
71924         * sysdeps/mach/hurd/_G_config.h: Likewise.
71925         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71926         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71927         * sysdeps/sparc/bits/mathdef.h: Likewise.
71929 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71931         [BZ #13583]
71932         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71933         Clean up HAS_* macros.
71934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71935         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71936         possible.
71937         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71938         HAS_AVX.
71939         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71940         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71941         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71942         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71943         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71945 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71947         * elf/tst-unique3.cc (gets): Remove declaration.
71948         * elf/tst-unique3lib.cc (gets): Likewise.
71949         * elf/tst-unique3lib2.cc (gets): Likewise.
71950         * elf/tst-unique4.cc (gets): Likewise.
71952 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71954         * include/stdio.h: Add C++ protection.  Add gets declarations and
71955         definitions.
71956         * debug/tst-chk1.c: Don't declare gets here.
71957         * stdio-common/tst-gets.c: Likewise.
71959 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71961         * posix/glob: Remove directory.
71963 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71965         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71967 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71969         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71970         of the non-standard EPFNOSUPPORT.
71972 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71974         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71975         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71976         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71978 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71980         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71982 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71984         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71985         transient errors.
71986         * nscd/grpcache.c (cache_addgr): Likewise.
71987         * nscd/hstcache.c (cache_addhst): Likewise.
71988         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71989         * nscd/pwdcache.c (cache_addpw): Likewise.
71990         * nscd/servicescache.c (cache_addserv): Likewise.
71992 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71994         * malloc/malloc.c: Various cleanups.
71995         * malloc/hooks.c: Likewise.
71997         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71998         * stdlib/bug-fmtmsg1.c: New file.
72000         * stdlib/fmtmsg.c (init): Add missing unlock.
72001         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72003 2012-01-12  Marek Polacek  <polacek@redhat.com>
72005         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72006         and _GNU_SOURCE.
72008 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72010         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72011         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72012         macro to ensure uniqueness of label name.
72013         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72014         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72016 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72018         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72020         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72021         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72022         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72023         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72025 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72027         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72029         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72030         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72031         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72033         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72035         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72036         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72037         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72038         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72040         * math/bits/math-finite.h: Add ldexp support.
72042 2012-01-10  Marek Polacek  <polacek@redhat.com>
72044         * locale/programs/localedef.h (show_archive_content): Add noreturn
72045         attribute.
72047 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72049         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72051 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72053         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72055         * io/Makefile (headers): Add bits/poll2.h.
72057 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72060         typo #include statement.
72062 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72064         * include/sys/cdefs.h: Define __attribute_alloc_size.
72065         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72066         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72067         * elf/pldd.c: Likewise.
72068         * iconv/iconv_charmap.c: Likewise.
72069         * iconv/iconvconfig.c: Likewise.
72070         * iconv/strtab.c: Likewise.
72071         * locale/programs/locale.c: Likewise.
72072         * locale/programs/localedef.h: Likewise.
72073         * locale/programs/simple-hash.c: Likewise.
72074         * nscd/nscd.h: Likewise.
72075         * nss/makedb.c: Likewise.
72076         * sysdeps/generic/ldconfig.h: Likewise.
72077         * locale/programs/localedef.c: Remove xmalloc prototype.
72078         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72080 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72082         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72083         appropriate.
72085 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72087         * math/Makefile (tests): Add tst-CMPLX.
72088         * math/tst-CMPLX.c: New file.
72090         * math/complex.h (CMPLXL): Fix typo.
72092         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72093         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72094         GLIBC_2.16.
72095         * debug/tst-chk1.c: Add poll and ppoll tests.
72096         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72097         * include/sys/poll.h: Add hidden proto for ppoll.
72098         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72099         * sysdeps/mach/hurd/ppoll.c: Likewise.
72100         * io/ppoll.c: Likewise.
72101         * debug/poll_chk.c: New file.
72102         * debug/ppoll_chk.c: New file.
72103         * include/bits/poll2.h: New file.
72104         * io/bits/poll2.h: New file.
72106         [BZ #1350]
72107         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72109         * configure.in: static is always set to yes.  Remove.
72110         * config.make.in: Don't set build-static.
72111         * Makeconfig: Remove use of build-static.
72112         * dlfcn/Makefile: Likewise.
72113         * elf/Makefile: Likewise.
72114         * math/Makefile: Likewise.
72115         * misc/Makefile: Likewise.
72116         * nptl/Makefile: Likewise.
72117         * sysdeps/mach/hurd/Makefile: Likewise.
72119         * configure.in: PWD_P is not used anymore.
72120         * config.make.in: Remove PWD_P entry.
72122         * configure.in: Remove last remnants of RANLIB.
72123         No need to check for signed size_t anymore.
72124         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72125         and IA-64.
72126         Remove __builtin_expect test because we require at least gcc 3.4.
72127         * aclocal.m4: Likewise.
72129         * wcsmbs/mbrtoc16.c: Implement using towc function.
72130         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72131         * wcsmbs/wcsmbsload.c: Likewise.
72132         * iconv/gconv_simple.c: Likewise.
72133         * iconv/gconv_int.h: Likewise.
72134         * iconv/gconv_builtin.h: Likewise.
72135         * iconv/iconv_prog.c: Remove CHAR16 handling.
72137         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72139         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72141         * configure.in: Remove --with-elf and --enable-bounded options.
72142         Dont set base_machine for ia64.  More non-ELF conditions removed.
72143         Remove testing and setting of leading underscore information.
72144         * config.make.in (build-bounded): Set to no.
72145         * config.h.in: Remove NO_UNDERSCORES entry.
72146         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72147         them.
72148         * csu/start.c: Remove !NO_UNDERSCORE code.
72149         * locale/localeinfo.h: Likewise.
72150         * sysdeps/generic/machine-gmon.h: Likewise.
72151         * sysdeps/generic/sysdep.h: Likewise.
72152         * sysdeps/i386/sysdep.h: Likewise.
72153         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72154         * sysdeps/mach/sysdep.h: Likewise.
72155         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72156         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72157         * sysdeps/sh/sysdep.h: Likewise.
72158         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72159         * sysdeps/unix/i386/sysdep.S: Likewise.
72160         * sysdeps/unix/sparc/start.c: Likewise.
72161         * sysdeps/unix/sparc/sysdep.S: Likewise.
72162         * sysdeps/unix/sparc/sysdep.h: Likewise.
72163         * sysdeps/unix/start.c: Likewise.
72164         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72165         * sysdeps/x86_64/sysdep.h: Likewise.
72167 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72169         [BZ #13553]
72170         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72171         for non-gcc.
72172         * argp/argp-fmtstream.h: Use const instead __const.
72173         * argp/argp.h: Likewise.
72174         * assert/assert.h: Likewise.
72175         * bits/fenv.h: Likewise.
72176         * bits/sched.h: Likewise.
72177         * bits/sigset.h: Likewise.
72178         * bits/sigthread.h: Likewise.
72179         * catgets/nl_types.h: Likewise.
72180         * conform/data/pthread.h-data: Likewise.
72181         * crypt/crypt-private.h: Likewise.
72182         * crypt/crypt.h: Likewise.
72183         * crypt/crypt_util.c: Likewise.
72184         * ctype/ctype.h: Likewise.
72185         * debug/execinfo.h: Likewise.
72186         * debug/mbsnrtowcs_chk.c: Likewise.
72187         * debug/mbsrtowcs_chk.c: Likewise.
72188         * debug/wcsnrtombs_chk.c: Likewise.
72189         * debug/wcsrtombs_chk.c: Likewise.
72190         * debug/wcstombs_chk.c: Likewise.
72191         * dirent/dirent.h: Likewise.
72192         * dlfcn/dlfcn.h: Likewise.
72193         * elf/neededtest4.c: Likewise.
72194         * grp/grp.h: Likewise.
72195         * gshadow/gshadow.h: Likewise.
72196         * iconv/gconv.h: Likewise.
72197         * iconv/gconv_int.h: Likewise.
72198         * iconv/gconv_simple.c: Likewise.
72199         * iconv/iconv.h: Likewise.
72200         * iconv/loop.c: Likewise.
72201         * iconv/skeleton.c: Likewise.
72202         * include/aio.h: Likewise.
72203         * include/aliases.h: Likewise.
72204         * include/argz.h: Likewise.
72205         * include/arpa/inet.h: Likewise.
72206         * include/assert.h: Likewise.
72207         * include/dirent.h: Likewise.
72208         * include/dlfcn.h: Likewise.
72209         * include/execinfo.h: Likewise.
72210         * include/fcntl.h: Likewise.
72211         * include/fenv.h: Likewise.
72212         * include/glob.h: Likewise.
72213         * include/grp.h: Likewise.
72214         * include/libintl.h: Likewise.
72215         * include/mntent.h: Likewise.
72216         * include/netdb.h: Likewise.
72217         * include/pwd.h: Likewise.
72218         * include/rpc/netdb.h: Likewise.
72219         * include/sched.h: Likewise.
72220         * include/search.h: Likewise.
72221         * include/shadow.h: Likewise.
72222         * include/signal.h: Likewise.
72223         * include/stdio.h: Likewise.
72224         * include/stdlib.h: Likewise.
72225         * include/string.h: Likewise.
72226         * include/sys/socket.h: Likewise.
72227         * include/sys/stat.h: Likewise.
72228         * include/sys/statfs.h: Likewise.
72229         * include/sys/statvfs.h: Likewise.
72230         * include/sys/syslog.h: Likewise.
72231         * include/sys/time.h: Likewise.
72232         * include/sys/uio.h: Likewise.
72233         * include/time.h: Likewise.
72234         * include/unistd.h: Likewise.
72235         * include/utmp.h: Likewise.
72236         * include/wchar.h: Likewise.
72237         * include/wctype.h: Likewise.
72238         * inet/aliases.h: Likewise.
72239         * inet/arpa/inet.h: Likewise.
72240         * inet/netinet/ether.h: Likewise.
72241         * inet/netinet/in.h: Likewise.
72242         * intl/libintl.h: Likewise.
72243         * io/bits/fcntl2.h: Likewise.
72244         * io/fcntl.h: Likewise.
72245         * io/ftw.h: Likewise.
72246         * io/sys/poll.h: Likewise.
72247         * io/sys/stat.h: Likewise.
72248         * io/sys/statfs.h: Likewise.
72249         * io/sys/statvfs.h: Likewise.
72250         * io/utime.h: Likewise.
72251         * libio/bits/stdio.h: Likewise.
72252         * libio/bits/stdio2.h: Likewise.
72253         * libio/libio.h: Likewise.
72254         * libio/libioP.h: Likewise.
72255         * libio/stdio.h: Likewise.
72256         * locale/lc-ctype.c: Likewise.
72257         * locale/locale.h: Likewise.
72258         * login/utmp.h: Likewise.
72259         * malloc/arena.c: Likewise.
72260         * malloc/malloc.c: Likewise.
72261         * malloc/malloc.h: Likewise.
72262         * malloc/mcheck.c: Likewise.
72263         * malloc/mtrace.c: Likewise.
72264         * math/bits/mathcalls.h: Likewise.
72265         * math/fenv.h: Likewise.
72266         * math/math_private.h: Likewise.
72267         * misc/bits/error.h: Likewise.
72268         * misc/bits/syslog.h: Likewise.
72269         * misc/err.h: Likewise.
72270         * misc/error.h: Likewise.
72271         * misc/fstab.h: Likewise.
72272         * misc/mntent.h: Likewise.
72273         * misc/regexp.h: Likewise.
72274         * misc/search.h: Likewise.
72275         * misc/sgtty.h: Likewise.
72276         * misc/sys/mman.h: Likewise.
72277         * misc/sys/syslog.h: Likewise.
72278         * misc/sys/uio.h: Likewise.
72279         * misc/sys/xattr.h: Likewise.
72280         * misc/ttyent.h: Likewise.
72281         * nis/rpcsvc/ypclnt.h: Likewise.
72282         * nss/nss.h: Likewise.
72283         * posix/bits/unistd.h: Likewise.
72284         * posix/fnmatch.h: Likewise.
72285         * posix/glob.h: Likewise.
72286         * posix/sched.h: Likewise.
72287         * posix/spawn.h: Likewise.
72288         * posix/sys/wait.h: Likewise.
72289         * posix/unistd.h: Likewise.
72290         * posix/wordexp.h: Likewise.
72291         * pwd/pwd.h: Likewise.
72292         * resolv/netdb.h: Likewise.
72293         * resource/sys/resource.h: Likewise.
72294         * rt/aio.h: Likewise.
72295         * rt/bits/mqueue2.h: Likewise.
72296         * rt/mqueue.h: Likewise.
72297         * shadow/shadow.h: Likewise.
72298         * signal/signal.h: Likewise.
72299         * socket/send.c: Likewise.
72300         * socket/sendto.c: Likewise.
72301         * socket/sys/socket.h: Likewise.
72302         * stdio-common/printf.h: Likewise.
72303         * stdlib/bits/stdlib.h: Likewise.
72304         * stdlib/fmtmsg.h: Likewise.
72305         * stdlib/monetary.h: Likewise.
72306         * stdlib/stdlib.h: Likewise.
72307         * stdlib/ucontext.h: Likewise.
72308         * streams/stropts.h: Likewise.
72309         * string/argz.h: Likewise.
72310         * string/bits/string2.h: Likewise.
72311         * string/string.h: Likewise.
72312         * string/strings.h: Likewise.
72313         * sunrpc/rpc/auth.h: Likewise.
72314         * sunrpc/rpc/auth_des.h: Likewise.
72315         * sunrpc/rpc/clnt.h: Likewise.
72316         * sunrpc/rpc/netdb.h: Likewise.
72317         * sunrpc/rpc/pmap_clnt.h: Likewise.
72318         * sunrpc/rpc/xdr.h: Likewise.
72319         * sysdeps/generic/inttypes.h: Likewise.
72320         * sysdeps/generic/net/if.h: Likewise.
72321         * sysdeps/generic/sys/swap.h: Likewise.
72322         * sysdeps/gnu/net/if.h: Likewise.
72323         * sysdeps/gnu/utmpx.h: Likewise.
72324         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72325         * sysdeps/i386/i486/bits/string.h: Likewise.
72326         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72327         * sysdeps/s390/bits/string.h: Likewise.
72328         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72329         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72330         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72331         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72332         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72333         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72334         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72335         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72336         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72337         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72338         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72339         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72340         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72341         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72342         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72343         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72344         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72345         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72346         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72347         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72348         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72349         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72350         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72351         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72352         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72353         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72354         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72355         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72356         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72357         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72358         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72359         * sysvipc/sys/ipc.h: Likewise.
72360         * sysvipc/sys/msg.h: Likewise.
72361         * sysvipc/sys/sem.h: Likewise.
72362         * sysvipc/sys/shm.h: Likewise.
72363         * termios/termios.h: Likewise.
72364         * time/sys/time.h: Likewise.
72365         * time/time.h: Likewise.
72366         * wcsmbs/bits/wchar2.h: Likewise.
72367         * wcsmbs/uchar.h: Likewise.
72368         * wcsmbs/wchar.h: Likewise.
72369         * wctype/wctype.h: Likewise.
72371         [BZ #13551]
72372         * Makeconfig: Remove all but ELF support including AIX support.
72373         * Makerules: Likewise.
72374         * config.h.in: Likewise.
72375         * config.make.in: Likewise.
72376         * configure: Likewise.
72377         * configure.in: Likewise.
72378         * csu/Makefile: Likewise.
72379         * csu/version.c: Likewise.
72380         * debug/Makefile: Likewise.
72381         * dlfcn/Makefile: Likewise.
72382         * elf/Makefile: Likewise.
72383         * extra-lib.mk: Likewise.
72384         * iconv/Makefile: Likewise.
72385         * include/libc-symbols.h: Likewise.
72386         * include/shlib-compat.h: Likewise.
72387         * resolv/Makefile: Likewise.
72388         * resolv/res_libc.c: Likewise.
72389         * rt/Makefile: Likewise.
72390         * sysdeps/i386/asm-syntax.h: Likewise.
72391         * sysdeps/i386/sysdep.h: Likewise.
72392         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72393         * sysdeps/mach/sysdep.h: Likewise.
72394         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72395         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72396         * sysdeps/s390/asm-syntax.h: Likewise.
72397         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72398         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72399         * sysdeps/sh/sysdep.h: Likewise.
72400         * sysdeps/unix/sparc/sysdep.h: Likewise.
72401         * sysdeps/wordsize-32/divdi3.c: Likewise.
72402         * sysdeps/x86_64/sysdep.h: Likewise.
72404         * argp/Versions: Remove _argp_unlock_xxx.
72406         [BZ #13559]
72407         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72408         * abilist/libBrokenLocale.abilist: Likewise.
72409         * abilist/libanl.abilist: Likewise.
72410         * abilist/libc.abilist: Likewise.
72411         * abilist/libcrypt.abilist: Likewise.
72412         * abilist/libdl.abilist: Likewise.
72413         * abilist/libm.abilist: Likewise.
72414         * abilist/libnsl.abilist: Likewise.
72415         * abilist/libpthread.abilist: Likewise.
72416         * abilist/libresolv.abilist: Likewise.
72417         * abilist/librt.abilist: Likewise.
72418         * abilist/libthread_db.abilist: Likewise.
72419         * abilist/libutil.abilist: Likewise.
72420         * abilist/libnss_db.abilist: New file.
72422         * scripts/abilist.awk: Add support for indirect functions.
72424         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72426         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72428         * shlib-versions: Remove entries for ports architectures.
72430         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72431         files in ports.
72432         * elf/stackguard-macros.h: Remove support for IA-64.
72433         * elf/tst-auditmod1.c: Likewise.
72434         * sysdeps/generic/ldsodefs.h: Likewise.
72436         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72437         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72438         configure files.
72440         [BZ #13552]
72441         * configure.in: Remove --enable-omitfp support.
72442         * FAQ.in: Adjust.
72443         * config.make.in: Likewise.
72444         * Makeconfig: Likewise.
72445         * manual/install.texi: Likewise.
72447         In case anyone cares, the IA-64 architecture could move to ports.
72448         * sysdeps/ia64/*: Removed.
72449         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72450         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72452         [BZ #13555]
72453         * configure.in: Remove entries for unsupported architectures.
72455         [BZ #13533]
72456         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72457         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72458         routines.
72459         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72460         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72461         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72462         fall back to using wcrtomb.
72463         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72464         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72465         renaming.
72466         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72467         * wcsmbs/tst-c16c32-1.c: New file.
72469         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72470         local variable.
72472         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72474         * elf/tst-unique3.cc: Add explicit declaration of gets.
72475         * elf/tst-unique3lib.cc: Likewise.
72476         * elf/tst-unique3lib2.cc: Likewise.
72477         * elf/tst-unique4.cc: Likewise.
72479         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72481 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72483         [BZ #13566]
72484         * assert/assert.h (static_assert): Don't define for C++.
72485         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72486         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72488 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72490         * iconv/loop.c (single loop): Fix assertion in storing of
72491         remaining bytes.
72493         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72495 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72497         * posix/getconf.c: Update copyright year.
72498         * nss/getent.c: Likewise.
72499         * nss/makedb.c: Likewise.
72500         * iconv/iconvconfig.c: Likewise.
72501         * iconv/iconv_prog.c: Likewise.
72502         * elf/ldconfig.c: Likewise.
72503         * elf/pldd.c: Likewise.
72504         * elf/sotruss.ksh: Likewise.
72505         * catgets/gencat.c: Likewise.
72506         * csu/version.c: Likewise.
72507         * elf/ldd.bash.in: Likewise.
72508         * elf/sprof.c (print_version): Likewise.
72509         * locale/programs/locale.c: Likewise.
72510         * locale/programs/localedef.c: Likewise.
72511         * login/programs/pt_chown.c: Likewise.
72512         * nscd/nscd.c (print_version): Likewise.
72513         * debug/xtrace.sh: Likewise.
72514         * malloc/memusage.sh: Likewise.
72515         * malloc/mtrace.pl: Likewise.
72516         * debug/catchsegv.sh: Likewise.
72518 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72520         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72521         pure attribute.
72523 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72525         [BZ #13533]
72526         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72527         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72528         transformations.
72529         * iconv/gconv_int.h: Likewise.
72530         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72531         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72532         from libc for GLIBC_2.16.
72533         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72534         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72535         * wcsmbs/uchar.h: Really define mbstate_t.
72536         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72537         * wcsmbs/c16rtomb.c: New file.
72538         * wcsmbs/mbrtoc16.c: New file.
72539         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72540         for C/POSIX locale.
72541         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72542         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72544         * wcsmbs/wchar.h: Add missing __restrict.
72546 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72548         [BZ #13532]
72549         * time/Makefile (routines): Add timespec_get.
72550         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72551         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72552         timespec for ISO C11.
72553         * time/timespec_get.c: New file.
72554         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72555         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72557         [BZ #13531]
72558         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72559         * stdlib/stdlib.h: Declare aligned_alloc.
72560         * Versions.def: Add GLIBC_2.16 for libc.
72561         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72563         [BZ 13527]
72564         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72565         ISO C11.
72567         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72568         code.
72570         [BZ #13528]
72571         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72573         [BZ #13529]
72574         * assert/assert.h (static_assert): Define.
72576         * version.h: Update for 2.16 development version.
72578         [BZ #13526]
72579         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72580         _ISOC11_SOURCE.
72582         * version.h (RELEASE): Bump for 2.15 release.
72583         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72585         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72586         Patch by Marek Polacek <mpolacek@redhat.com>.
72588         * bits/byteswap.h: Protect long long constants with __extension__.
72589         * sysdeps/i386/bits/byteswap.h: Likewise.
72590         * sysdeps/ia64/bits/byteswap.h: Likewise.
72591         * sysdeps/s390/bits/byteswap.h: Likewise.
72592         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72594 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72596         [BZ #13540]
72597         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72598         destination buffer.
72599         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72601 2011-12-23  Marek Polacek  <polacek@redhat.com>
72603         * elf/dl-addr.c (determine_info): Add inline keyword.
72604         * elf/tst-auditmod4b.c (check_avx): Likewise.
72605         * elf/tst-auditmod6b.c (check_avx): Likewise.
72606         * elf/tst-auditmod6c.c (check_avx): Likewise.
72607         * elf/tst-auditmod7b.c (check_avx): Likewise.
72609 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72611         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72612         !__SSE_MATH__.
72614 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72616         [BZ #13540]
72617         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72618         processing for last bytes.
72620 2011-08-06  Bruno Haible  <bruno@clisp.org>
72622         [BZ #13061]
72623         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72624         U+0385, not to U+1FEE.
72626         [BZ #13062]
72627         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72628         entry for U+00A5 U+0301.
72630 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72632         [BZ #13166]
72633         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72634         buffer for the output is too small.
72636         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72637         optimization.
72639         [BZ #13185]
72640         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72641         SSE flags if possible.
72643 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72645         [BZ #13540]
72646         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72647         processing for last bytes.
72649 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72651         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72652         (syscall-list-default-options, syscall-list-default-condition)
72653         (syscall-list-includes): Define.
72654         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72655         list of ABIs and options and #if conditions for each ABI.  Do not
72656         handle common syscalls between ABIs specially.
72657         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72658         Remove.
72659         (syscall-list-variants, syscall-list-32bit-options)
72660         (syscall-list-32bit-condition, syscall-list-64bit-options)
72661         (syscall-list-64bit-condition): Define.
72662         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72663         (syscall-list-variants, syscall-list-32bit-options)
72664         (syscall-list-32bit-condition, syscall-list-64bit-options)
72665         (syscall-list-64bit-condition): Define.
72666         * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
72672         Remove.
72673         (syscall-list-variants, syscall-list-32bit-options)
72674         (syscall-list-32bit-condition, syscall-list-64bit-options)
72675         (syscall-list-64bit-condition): Define.
72677 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72679         * locale/iso-639.def: Add brx entry.
72681         [BZ #13328]
72682         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72683         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72685         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72686         __feraiseexcept_renamed.
72688 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72690         [BZ #13538]
72691         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72692         EPOLLET with unsigned values.
72693         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72694         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72696         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72697         to large cancellation.
72698         * math/s_cacoshf.c: Likewise.
72699         * math/s_cacoshl.c: Likewise.
72701 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72703         [BZ #13305]
72704         [BZ #12786]
72705         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72706         * math/s_cacoshf.c: Likewise.
72707         * math/s_cacoshl.c: Likewise.
72709 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72711         [BZ #13439]
72712         * iconv/gconv.h: Define __GCONV_SWAP.
72713         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72714         * iconvdata/utf-16.c: Likewise.
72715         * iconvdata/utf-32.c: Likewise.
72717 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72719         [BZ #13524]
72720         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72721         numerator after shifting it by one limb.
72723 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72725         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72726         under [__USE_EXTERN_INLINES].
72728 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72730         [BZ #13446]
72731         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72733 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72735         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72736         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72737         optimized code.
72738         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72739         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72740         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72741         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72742         for strncasecmp/strncasecmp_l compilation.
72743         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72744         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72746 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72748         [BZ #13484]
72749         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72750         of __asm__.
72752 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72754         [BZ #13506]
72755         * time/tzfile.c (__tzfile_read): Check values from file header.
72757 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72759         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72760         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72761         * powerpc/powerpc32/dl-start.S: Likewise.
72762         * powerpc/powerpc32/elf/start.S: Likewise.
72763         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72764         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72765         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72766         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72767         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72768         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72769         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72770         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72771         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72772         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72773         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72774         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72775         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72776         * powerpc/powerpc32/memset.S: Likewise.
72777         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72778         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72779         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72780         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72781         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72782         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72783         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72784         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72785         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72786         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72787         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72788         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72789         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72791 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72793         * math/libm-test.inc: Added more nearbyint tests.
72794         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72795         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72797         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72799 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72801         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72802         FD_CLOEXEC.
72804 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72806         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72807         Add wcscpy-ssse3 wcscpy-c.
72808         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72809         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72810         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72811         * sysdeps/x86_64/wcschr.S: New file.
72812         * sysdeps/x86_64/wcsrchr.S: New file.
72813         * string/test-strcmp.c: Remove checking of wcscmp function for
72814         wrong alignments.
72815         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72816         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72817         wcsrchr-sse2 wcsrchr-c.
72818         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72819         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72820         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72821         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72822         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72823         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72824         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72825         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72826         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72827         * wcsmbc/wcschr.c (WCSCHR): New macro.
72829 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72831         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72832         * wcsmbs/test-wcsrchr.c: New file.
72833         * string/test-strrchr.c: Add wcsrchr support.
72834         (WIDE): New macro.
72835         * wcsmbs/test-wcscpy.c: New file.
72836         * string/test-strcpy.c: Add wcscpy support.
72837         (WIDE): New macro.
72839 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72841         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72842         the inner loop.
72844 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72846         [BZ #13472]
72847         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72849 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72851         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72852         Minor optimizations.
72854         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72855         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72856         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72858 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72860         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72861         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72862         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72863         for gcc to avoid warnings.
72864         * inet/Makefile (tests): Add tst-checks.
72865         * inet/tst-checks.c: New file.
72867         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72868         warning.
72870         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72871         __wmemcmp_sse2.
72873         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72874         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72876         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72878 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72880         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72881         problem.
72883         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72885 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72887         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72888         conditional on GCC version.
72889         (__arch_compare_and_exchange_val_8_acq)
72890         (__arch_compare_and_exchange_val_16_acq)
72891         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72892         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72893         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72895 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72897         * sysdeps/sh/backtrace.c: New file.
72899 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72901         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72902         parenthesis.
72904 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72906         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72907         falling back to utime.
72909 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72911         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72912         expectations for float.
72914 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72916         * locale/weight.h (findidx): Add parameter len.
72917         * locale/weightwc.h (findidx): Likewise.
72918         * posix/fnmatch_loop.c (FCT): Adjust caller.
72919         * posix/regcomp.c (build_equiv_class): Likewise.
72920         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72921         * posix/regexec.c (check_node_accept_bytes): Likewise.
72922         * string/strcoll_l.c (STRCOLL): Likewise.
72923         * string/strxfrm_l.c (STRXFRM): Likewise.
72925 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72927         * Makefile.in: Remove CVSOPT handling.
72928         * configure.in: Remove use of AC_REVISION.
72929         * iconvdata/Makefile (distribute): No need to filter out CVS.
72930         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72931         handling.
72933 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72935         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72936         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72937         [USE_AS_STRNCASECMP_L]: Likewise.
72938         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72939         NO_TLS_DIRECT_SEG_REFS.
72940         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72941         Fix argument offsets for non-PIC.
72942         [USE_AS_STRNCASECMP_L]: Likewise.
72943         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72944         NO_TLS_DIRECT_SEG_REFS.
72946 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72948         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72949         O_CLOEXEC.
72950         * locale/loadlocale.c (_nl_load_locale): Likewise.
72952 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72954         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72955         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72956         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72957         (SYSCALL_GETTIME): Set errno on error.
72959         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72960         count references to noai6ai_cached.
72962 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72964         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72966         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72967         FD_CLOEXEC for /proc/self/maps.
72969         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72970         FD_CLOEXEC for /proc/meminfo.
72972         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72973         gai.conf.
72975         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72976         FD_CLOEXEC for given file.
72978         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72980         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72981         FD_CLOEXEC for /etc/hosts.
72982         (_gethtent): Likewise.
72984         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72986         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72987         cancellation and set FD_CLOEXEC for /etc/netgroup.
72989         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72990         reading /etc/publickey.
72992         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72993         allow cancellation when reading /etc/group.
72995         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72996         cancellation.
72997         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72999         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73000         when using data file.
73002         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73004         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73005         (write_nis_obj): Use "c" and "e" in fopen.
73007         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73009         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73011         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73013         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73015         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73016         locale.alias.
73018         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73020         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73022         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73024         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73025         file parsing and set FD_CLOEXEC.
73027 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73029         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73031 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73033         * malloc/arena.c (arena_get2): Don't call reused_arena when
73034         _int_new_arena failed.
73036 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73038         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73039         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73040         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73041         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73043         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73044         to compile strcasecmp and strncasecmp.
73045         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73046         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73048         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73050 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73052         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73053         locale-defines.sym to gen-as-const-headers.
73054         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73055         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73056         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73057         to compile strcasecmp and strncasecmp.
73058         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73059         strcasecmp_l and strncasecmp_l.
73060         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73061         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73062         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73063         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73064         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73065         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73066         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73067         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73068         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73069         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73070         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73072 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73074         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73075         result of SYSDEP_GETTIME_CPU to retval.
73076         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73077         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73079         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73080         variable.
73082         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73083         mantissa words.
73084         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73086         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73087         from unused variable.
73089         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73090         DWARF definitions.
73091         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73092         for assembling.
73094         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73095         over namespaces.
73097         * sunrpc/rpc_prot.c (rejected): Fix case value.
73099         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73100         unsigned long long int to avoid warnings in shift.
73102         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73103         of use of trans.
73104         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73105         variable tmp.
73107         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73108         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73109         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73111         * nis/nis_table.c (nis_list): Use variable of correct type for
73112         result of __follow_path call.
73114 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73116         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73117         of math functions ceil, trunc, floor, round, and sqrt, when
73118         avaliable on the platform.
73119         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73120         name clash.
73121         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73122         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73123         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73125 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73127         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73128         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73130 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73132         * include/unistd.h: Fix __readlink return type.
73133         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73135 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73137         * stdlib/ucontext.h: Undo last change for makecontext.
73139 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73141         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73143         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73144         * setjmp/setjmp.h: Mark functions as non-leaf.
73145         * setjmp/bits/setjmp2.h: Likewise.
73146         * stdlib/ucontext.h: Likewise.
73148 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73150         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73151         (reused_arena): Don't check arena limit.
73152         (arena_get2): Atomically check arena limit.
73154 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73156         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73157         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73159         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73160         instructions.
73162 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73164         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73165         handler when locking.
73167         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73168         Fix size of allocated buffer.
73170 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73172         [BZ #10103]
73173         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73174         declarations for long double functions.
73175         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73177         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73179 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73181         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73182         installed.
73184         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73185         is disabled.
73187 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73189         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73191 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73193         * include/alloca.h (stackinfo_alloca_round): Define.
73194         (extend_alloca): Use it.
73195         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73196         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73197         here.
73199         * scripts/check-local-headers.sh: Ignore libaudit.h.
73201         * nscd/Makefile (extra-objs): Make recursively expanded.
73203 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73205         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73206         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73208         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73209         * posix/tst-rfc3484-2.c: Likewise.
73210         * posix/tst-rfc3484-3.c: Likewise.
73212         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73213         process_vm_writev.
73214         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73215         process_vm_writev.
73216         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73217         process_vm_writev from libc using GLIBC_2.15 version.
73219         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73221 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73223         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73224         stack usage.
73226 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73228         [BZ #13367]
73229         * nss/getent.c (initgroups_keys): Show error message in case no group
73230         names are given.
73232         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73233         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73234         __bump_nl_timestamp.
73235         * nscd/connections (nscd_init): When host database is served open
73236         netlink socket and request notification about configuration changes.
73237         (main_loop_poll): Track netlink file descriptor and bump timestamp
73238         in case data becomes available.
73239         (main_loop_epoll): Likewise.
73240         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73241         (database_pers_head): Add extra_data fileds.
73242         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73243         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73244         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73245         Adjust caller.
73246         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73247         in6ai data, call __free_in6ai.
73248         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73249         Add -DHAVE_NETLINK.
73250         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73251         interface information.  Reuse previous data if netlink timestamp
73252         is not changed.
73253         (__bump_nl_timestamp): New function.
73254         (__free_in6ai): New function.
73256 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73258         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73259         close_not_cancel_no_status here.
73260         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73262 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73264         [BZ #13276]
73265         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73266         return value.
73268         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73269         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73270         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73272 2011-07-03  Andreas Jaeger  <aj@suse.de>
73274         [BZ #10709]
73275         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73276         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73277         * math/libm-test.inc (sin_test): Add test case.
73279 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73281         [BZ #13337]
73282         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73283         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73285         * elf/chroot_canon.c (chroot_canon): Cleanups.
73287         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73289         [BZ #13335]
73290         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73291         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73293         * string/test-strchr.c: Make usable for strchrnul testing.
73294         * string/test-strchrnul.c: New file.
73295         * string/Makefile (strop-tests): Add strchrnul.
73297         * po/it.po: Update from translation team.
73298         * po/es.po: Likewise.
73300 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73302         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73303         the three constants needed as parameters.  Drop the others.
73304         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73305         __m128i_strloadu_tolower.
73306         Create and initialize variable zero and use it in all the places
73307         where _mm_setzero_si128 was used.
73309         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73310         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73311         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73312         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73313         anymore.
73314         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73315         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73316         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73317         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73318         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73319         __mpranred, __mptan.
73320         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73321         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73322         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73323         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73324         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73325         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73326         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73327         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73328         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73330 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73332         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73333         redefine if SHARED.
73334         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73337         wide char related routines to wcsmbs subdir.
73339 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73341         [BZ #13344]
73342         * misc/sys/cdefs.h (__THROWNL): Define.
73343         * posix/unistd.h: Use __THREADNL instead of __THREAD
73344         for memory synchronization functions.
73346 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73348         [BZ #13349]
73349         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73350         doesn't exist.
73351         * manual/stdio.texi (Obstack Streams): Node removed.
73353 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73355         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73356         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73357         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73359         * math/math_private.h (math_force_eval): Allow non-addressable
73360         arguments.
73361         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73363 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73365         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73366         file is not needed.
73368         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73369         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73370         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73371         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73372         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73373         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73374         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73375         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73376         Add AVX variants.
73377         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73378         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73379         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73380         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73381         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73382         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73383         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73384         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73385         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73386         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73387         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73388         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73389         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73390         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73391         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73392         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73393         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73394         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73395         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73397         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73398         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73400         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73401         place.  Use VEX encoding when compiling for AVX.
73403 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73405         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73406         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73408         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73410 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73412         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73413         useless if() expression.
73414         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73415         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73416         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73417         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73418         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73419         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73420         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73421         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73422         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73423         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73424         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73425         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73426         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73427         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73428         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73429         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73430         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73431         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73432         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73434         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73436 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73438         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73439         condition.
73440         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73442 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73444         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73445         .text section.  Avoid duplicate constants.
73446         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73447         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73448         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73450         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73452         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73453         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73454         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73455         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73456         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73457         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73458         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73459         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73460         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73461         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73462         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73463         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73464         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73465         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73466         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73467         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73468         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73469         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73470         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73471         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73472         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73473         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73474         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73475         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73476         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73477         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73478         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73479         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73480         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73481         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73482         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73483         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73484         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73485         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73486         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73487         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73488         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73489         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73490         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73492 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73494         * sysdeps/x86_64/dla.h: Move to ...
73495         * sysdeps/x86_64/fpu/dla.h: ...here.
73496         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73497         situations.  Use __builtin_fma only for gcc 4.6 and up.
73499         * config.make.in: Add have-mfma4 entry.
73500         * configure.in: Substitute libc_cv_cc_fma4.
73501         * math/Makefile (dbl-only-routines): Add sincostab.
73502         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73503         Use __sincostab not sincos.
73504         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73505         name is a macro.
73506         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73507         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73508         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73509         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73510         using __copysign.
73511         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73512         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73513         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73514         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73515         and __inv.
73516         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73517         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73518         __copysign.
73519         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73520         define aliases when function name is a macro.
73521         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73522         sysdeps/ieee754/dbl-64/sincos.tbl.
73523         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73524         fma4-enabled routines.
73525         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73526         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73527         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73528         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73529         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73530         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73531         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73532         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73533         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73534         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73535         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73536         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73537         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73538         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73539         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73540         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73541         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73542         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73543         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73544         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73545         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73546         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73547         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73548         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73549         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73550         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73551         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73552         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73553         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73554         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73556         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73557         rename.
73558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73559         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73560         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73561         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73562         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73564         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73565         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73567 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73569         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73571 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73573         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73575         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73576         prediction.
73577         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73579         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73580         Remove unused variable magic_bits.
73581         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73583         * string/strnlen.c: Define and use STRNLEN macro.
73584         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73585         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73586         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73587         * wcsmbs/wcslen.c: Define and use WCSLEN.
73588         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73589         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73590         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73591         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73592         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73593         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73594         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73596 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73599         strnlen-sse2-no-bsf.
73600         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73601         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73602         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73603         Add strnlen support.
73604         (USE_AS_STRNLEN): New macro.
73605         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73606         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73607         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73608         * sysdeps/x86_64/wcslen.S: New file.
73610 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73612         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73613         XMM-moves are used for copying on small sizes.
73615 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73617         * wcsmbs/Makefile (strop-tests): Add wcschr.
73618         * wcsmbs/test-wcschr.c: New file.
73619         * string/test-strchr.c: Update.
73620         Add wcschr support.
73621         (WIDE): New macro.
73623 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73625         * wcsmbs/Makefile (strop-tests): Add wcslen.
73626         * wcsmbs/test-wcslen.c: New file.
73627         * string/test-strlen.c: Update.
73628         Add wcslen support.
73629         (WIDE): New macro.
73631 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73633         * po/it.po: Update from translation team.
73635 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73637         * sysdeps/x86_64/wcscmp.S: Update.
73638         Fix wrong comparison semantics.
73639         wcscmp shall use signed comparison not unsigned.
73640         Don't use substraction to avoid overflow bug.
73641         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73642         * wcsmbc/wcscmp.c: Likewise.
73643         * string/test-strcmp.c: Likewise.
73644         Add new tests to check cases with negative values.
73646 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73648         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73649         * sysdeps/x86_64/dla.h: ...here.  New file.
73650         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73651         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73652         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73653         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73655         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73656         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73657         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73658         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73660 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73663         __ynl_finite aliases.
73665 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73669         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73670         define DLA_FMA.
73671         [DLA_FMA] (EMULV): Use DLA_FMA.
73672         [DLA_FMA] (MUL12): Use EMULV.
73673         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73674         that are not needed.
73675         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73676         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73677         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73678         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73679         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73680         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73681         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73683 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73685         * math/s_nan.c: Undef __nan.
73686         * math/s_nanf.c: Undef __nanf.
73687         * math/s_nanl.c: Undef __nanl.
73688         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73689         "math_private.h".
73691 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73693         * math/s_catan.c: Add branch predictions.
73694         * math/s_catanf.c: Likewise.
73695         * math/s_catanh.c: Likewise.
73696         * math/s_catanhf.c: Likewise.
73697         * math/s_catanhl.c: Likewise.
73698         * math/s_catanl.c: Likewise.
73699         * math/s_cexp.c: Likewise.
73700         * math/s_cexpf.c: Likewise.
73701         * math/s_cexpl.c: Likewise.
73702         * math/s_clog.c: Likewise.
73703         * math/s_clog10.c: Likewise.
73704         * math/s_clog10f.c: Likewise.
73705         * math/s_clog10l.c: Likewise.
73706         * math/s_clogf.c: Likewise.
73707         * math/s_clogl.c: Likewise.
73708         * math/s_csqrt.c: Likewise.
73709         * math/s_csqrtf.c: Likewise.
73710         * math/s_csqrtl.c: Likewise.
73711         * math/s_ctanf.c: Likewise.
73712         * math/s_ctanh.c: Likewise.
73713         * math/s_ctanhf.c: Likewise.
73714         * math/s_ctanhl.c: Likewise.
73715         * math/s_ctanl.c: Likewise.
73717         * math/math_private.h: Define __nan, __nanf, __nanl.
73718         * math/s_cacosh.c: Include <math_private.h>.
73719         * math/s_cacoshl.c: Likewise.
73720         * math/s_casinh.c: Likewise.
73721         * math/s_casinhf.c: Likewise.
73722         * math/s_casinhl.c: Likewise.
73723         * math/s_ccos.c: Rely entire on ccosh.
73724         * math/s_ccosf.c: Rely entire on ccoshf.
73725         * math/s_ccosl.c: Rely entirely on ccoshl.
73726         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73727         Remove tests for FE_INVALID.
73728         * math/s_ccoshf.c: Likewise.
73729         * math/s_ccoshl.c: Likewise.
73730         * math/s_csin.c: Likewise.
73731         * math/s_csinf.c: Likewise.
73732         * math/s_csinh.c Likewise.
73733         * math/s_csinhf.c: Likewise.
73734         * math/s_csinhl.c: Likewise.
73735         * math/s_csinl.c: Likewise.
73736         * math/s_ctan.c: Likewise.
73737         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73738         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73739         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73741 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73744         compilation problems.
73746         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73747         __builtin_expect.
73749 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73751         * sysdeps/i386/configure.in: Test for -mfma4 option.
73752         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73753         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73754         COMMON_CPUID_INDEX_80000001.
73755         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73756         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73757         use it if FMA3 is not supported.
73758         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73760         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73761         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73763 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73765         [BZ #12892]
73766         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73767         it would create a cycle with a link time dependency.
73769 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73771         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73772         instruction.
73773         * string/Makefile (strop-tests): Add rawmemchr.
73774         * string/test-rawmemchr.c: New file.
73776         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73777         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73778         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73779         when compiling str{,n}casecmp and when AVX is available.  Hook up
73780         new optimized code in initializers.
73782 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73784         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73785         __feraiseexcept instead of feraiseexcept.
73787 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73789         * math/math_private.h: Define defaults for libc_fetestexcept and
73790         libc_feupdateenv.
73791         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73792         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73793         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73794         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73795         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73796         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73797         libc_fetestexcept and libc_feupdateenv.
73799         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73800         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73801         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73802         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73803         libc_feholdexcept_setround.
73805         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73806         Add s_nearbyint-c and s_nearbyintf-c.
73807         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73808         nearbyintf inlines.
73809         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73810         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73811         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73812         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73814         * math/math_private.h: Define defaults for libc_fegetround,
73815         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73816         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73817         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73818         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73819         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73820         standard functions.
73821         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73822         Remove comments and hacks for old compiler versions.
73823         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73824         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73825         libc_feholdexceptl.
73827 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73829         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73830         (__feraiseexcept_renamed): Add __NTH.
73831         (feraiseexcept): Add __NTH.  Rename local variables to fix
73832         namespace violations.
73834 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73836         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73838         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73840         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73841         recently added interfaces.
73842         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73844         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73845         about macro parameter expansion.
73847         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73848         __NO_MATH_INLINES is defined.  Cleanups.
73850         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73851         and __floorf is target has SSE4.1.
73852         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73853         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73854         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73855         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73857         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73858         name.
73859         (floorf): Likewise.
73861         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73863 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73865         * misc/sys/cdefs.h: Fix last change.
73867         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73868         database lookup.
73870 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73872         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73874         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73875         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73876         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73877         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73879         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73880         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73881         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73882         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73883         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73884         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73885         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73886         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73887         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73888         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73889         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73890         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73891         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73892         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73893         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73894         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73895         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73897         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73898         ceil, ceilf, floor, floorf.
73900         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73901         Perform IRELATIVE relocations last.
73903         * elf/do-rel.h: Add another parameter nrelative, replacing the
73904         local variable with the same name.  Change name of the function
73905         to end in Rel or Rela (uppercase).
73906         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73907         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73908         elf_dynamic_do_##reloc function.
73910 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73912         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73913         is sufficient, at least on modern CPUs.
73915         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73917         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73918         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73920         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73921         __expl_finite.
73922         * math/bits/math-finite.h: Add entries for exp.
73923         * math/e_expl.c: Add __*_finite alias.
73924         * sysdeps/i386/fpu/e_exp.S: Likewise.
73925         * sysdeps/i386/fpu/e_expf.S: Likewise.
73926         * sysdeps/i386/fpu/e_expl.c: Likewise.
73927         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73928         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73929         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73930         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73931         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73932         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73933         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73935         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73936         is sufficient, at least on modern CPUs.
73938         * ctype/ctype-info.c (__ctype_init): Define.
73939         * include/ctype.h (__ctype_init): Declare.
73940         (__ctype_b_loc): The variable is always initialized.
73941         (__ctype_toupper_loc): Likewise.
73942         (__ctype_tolower_loc): Likewise.
73943         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73944         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73946 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73948         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73950         * configure.in: Also look in $cxxmachine/include for C++ system
73951         headers.
73953 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73955         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73956         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73957         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73958         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73960         (USE_AS_WMEMCMP): New macro.
73961         Fixing indents.
73962         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73963         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73964         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73965         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73966         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73967         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73968         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73969         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73970         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73971         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73972         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73973         (USE_AS_WMEMCMP): New macro.
73974         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73975         * sysdeps/string/test-memcmp.c: Update.
73976         Fix simple_wmemcmp.
73977         Add new tests.
73978         * wcsmbs/wmemcmp.c: Update.
73979         (WMEMCMP): New macro.
73980         Fix overflow bug.
73982 2011-10-12  Andreas Jaeger  <aj@suse.de>
73984         [BZ #13268]
73985         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73987 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73989         * libio/iofwide.c (do_length): Avoid warning.
73991         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73993 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73995         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73997         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73998         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73999         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74000         * sysdeps/i386/i686/fpu/e_log.S: New file.
74001         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74002         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74004         * ctype/ctype.h: Add support for inlined isXXX functions when
74005         compiling C++ code.
74007 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74009         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74011         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74013 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74015         [BZ #13291]
74016         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74018 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74020         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74021         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74022         feraiseexcept.
74024         * sysdeps/x86_64/memrchr.S: Check for zero size.
74026         * string/stratcliff.c: Add memrchr tests.
74028 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74031         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74032         rawmemchr-sse2 rawmemchr-sse2-bsf.
74033         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74034         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74035         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74036         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74037         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74038         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74039         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74040         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74041         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74042         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74043         * string/memrchr.c (MEMRCHR): New macro.
74045 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74047         Add integration with gcc's -ffinite-math-only and optimize wrapper
74048         functions in libm.
74049         * Versions.def: Define GLIBC_2.15 version for libm.
74050         * math/Makefile (headers): Add bits/math-finite.h.
74051         * math/bits/math-finite.h: New file.
74052         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74053         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74054         * math/e_acoshl.c: Add __*_finite alias.
74055         * math/e_acosl.c: Likewise.
74056         * math/e_asinl.c: Likewise.
74057         * math/e_atan2l.c: Likewise.
74058         * math/e_atanhl.c: Likewise.
74059         * math/e_coshl.c: Likewise.
74060         * math/e_exp10.c: Likewise.
74061         * math/e_exp10f.c: Likewise.
74062         * math/e_exp10l.c: Likewise.
74063         * math/e_exp2l.c: Likewise.
74064         * math/e_fmodl.c: Likewise.
74065         * math/e_gammal_r.c: Likewise.
74066         * math/e_hypotl.c: Likewise.
74067         * math/e_j0l.c: Likewise.
74068         * math/e_j1l.c: Likewise.
74069         * math/e_jnl.c: Likewise.
74070         * math/e_lgammal_r.c: Likewise.
74071         * math/e_log10l.c: Likewise.
74072         * math/e_log2l.c: Likewise.
74073         * math/e_logl.c: Likewise.
74074         * math/e_powl.c: Likewise.
74075         * math/e_sinhl.c: Likewise.
74076         * math/e_sqrtl.c: Likewise.
74077         * math/e_scalb.c: Completely rewritten and optimized.
74078         * math/e_scalbf.c: Likewise.
74079         * math/e_scalbl.c: Likewise.
74080         * math/w_acos.c: Likewise.
74081         * math/w_acosf.c: Likewise.
74082         * math/w_acosl.c: Likewise.
74083         * math/w_acosh.c: Likewise.
74084         * math/w_acoshf.c: Likewise.
74085         * math/w_acoshl.c: Likewise.
74086         * math/w_asin.c: Likewise.
74087         * math/w_asinf.c: Likewise.
74088         * math/w_asinl.c: Likewise.
74089         * math/w_atan2.c: Likewise.
74090         * math/w_atan2f.c: Likewise.
74091         * math/w_atan2l.c: Likewise.
74092         * math/w_atanh.c: Likewise.
74093         * math/w_atanhf.c: Likewise.
74094         * math/w_atanhl.c: Likewise.
74095         * math/w_exp10.c: Likewise.
74096         * math/w_exp10f.c: Likewise.
74097         * math/w_exp10l.c: Likewise.
74098         * math/w_fmod.c: Likewise.
74099         * math/w_fmodf.c: Likewise.
74100         * math/w_fmodl.c: Likewise.
74101         * math/w_j0.c: Likewise.
74102         * math/w_j0f.c: Likewise.
74103         * math/w_j0l.c: Likewise.
74104         * math/w_j1.c: Likewise.
74105         * math/w_j1f.c: Likewise.
74106         * math/w_j1l.c: Likewise.
74107         * math/w_jn.c: Likewise.
74108         * math/w_jnf.c: Likewise.
74109         * math/w_log.c: Likewise.
74110         * math/w_logf.c: Likewise.
74111         * math/w_logl.c: Likewise.
74112         * math/w_log10.c: Likewise.
74113         * math/w_log10f.c: Likewise.
74114         * math/w_log10l.c: Likewise.
74115         * math/w_log2.c: Likewise.
74116         * math/w_log2f.c: Likewise.
74117         * math/w_log2l.c: Likewise.
74118         * math/w_pow.c: Likewise.
74119         * math/w_powf.c: Likewise.
74120         * math/w_powl.c: Likewise.
74121         * math/w_remainder.c: Likewise.
74122         * math/w_remainderf.c: Likewise.
74123         * math/w_remainderl.c: Likewise.
74124         * math/w_scalb.c: Likewise.
74125         * math/w_scalbf.c: Likewise.
74126         * math/w_scalbl.c: Likewise.
74127         * math/w_sqrt.c: Likewise.
74128         * math/w_sqrtf.c: Likewise.
74129         * math/w_sqrtl.c: Likewise.
74130         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74131         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74132         used.
74133         * math/math_private.h: Declare __kernel_standard_f.
74134         * math/w_cosh.c: Remove cruft and optimize a bit.
74135         * math/w_coshf.c: Likewise.
74136         * math/w_coshl.c: Likewise.
74137         * math/w_exp2.c: Likewise.
74138         * math/w_exp2f.c: Likewise.
74139         * math/w_exp2l.c: Likewise.
74140         * math/w_hypot.c: Likewise.
74141         * math/w_hypotf.c: Likewise.
74142         * math/w_hypotl.c: Likewise.
74143         * math/w_lgamma.c: Likewise.
74144         * math/w_lgamma_r.c: Likewise.
74145         * math/w_lgammaf.c: Likewise.
74146         * math/w_lgammaf_r.c: Likewise.
74147         * math/w_lgammal.c: Likewise.
74148         * math/w_lgammal_r.c: Likewise.
74149         * math/w_sinh.c: Likewise.
74150         * math/w_sinhf.c: Likewise.
74151         * math/w_sinhl.c: Likewise.
74152         * math/w_tgamma.c: Likewise.
74153         * math/w_tgammaf.c: Likewise.
74154         * math/w_tgammal.c: Likewise.
74155         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74156         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74157         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74158         Minor optimizations.  Pretty printing.  Remove cruft.
74159         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74160         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74161         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74162         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74163         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74164         * sysdeps/i386/fpu/e_asin.S: Likewise.
74165         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74166         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74167         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74168         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74169         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74170         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74171         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74172         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74173         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74174         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74175         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74176         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74177         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74178         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74179         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74180         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74181         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74182         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74183         * sysdeps/i386/fpu/e_log.S: Likewise.
74184         * sysdeps/i386/fpu/e_log10.S: Likewise.
74185         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74186         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74187         * sysdeps/i386/fpu/e_log2.S: Likewise.
74188         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74189         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74190         * sysdeps/i386/fpu/e_logf.S: Likewise.
74191         * sysdeps/i386/fpu/e_logl.S: Likewise.
74192         * sysdeps/i386/fpu/e_pow.S: Likewise.
74193         * sysdeps/i386/fpu/e_powf.S: Likewise.
74194         * sysdeps/i386/fpu/e_powl.S: Likewise.
74195         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74196         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74197         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74198         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74199         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74200         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74201         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74202         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74203         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74204         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74205         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74207         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74208         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74209         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74210         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74211         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74212         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74213         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74214         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74215         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74217         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74218         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74220         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74221         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74222         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74223         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74224         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74225         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74226         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74227         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74228         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74229         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74230         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74231         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74232         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74233         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74234         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74235         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74236         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74237         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74238         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74239         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74240         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74241         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74242         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74243         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74244         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74245         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74246         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74247         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74248         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74249         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74250         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74251         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74252         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74253         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74254         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74255         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74256         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74257         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74258         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74259         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74260         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74261         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74262         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74263         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74264         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74265         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74268         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74269         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74270         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74272         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74273         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74274         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74275         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74278         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74279         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74280         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74281         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74282         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74283         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74284         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74285         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74286         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74287         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74288         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74289         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74290         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74291         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74292         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74293         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74294         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74295         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74296         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74297         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74298         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74299         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74300         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74301         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74302         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74303         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74304         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74305         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74306         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74307         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74308         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74309         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74310         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74311         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74312         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74313         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74314         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74315         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74316         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74317         (__isnanf): Likewise.
74318         (__isinf_ns): Likewise.
74319         (__isinf_nsf): Likewise.
74320         (__finite): Likewise.
74321         (__finitef): Likewise.
74322         (__ieee754_sqrt): Define as macro.
74323         (__ieee754_sqrtf): Define as macro.
74324         (__ieee754_sqrtl): Define as macro.
74325         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74326         inlined copy.
74327         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74328         __FINITE_MATH_ONLY__ consistent.
74329         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74331 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74333         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74334         of rawmemchr.
74336         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74338 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74340         * po/ja.po: Update from translation team.
74342 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74344         * locale/programs/locarchive.c (prepare_address_space): New function.
74345         (create_archive, enlarge_archive, open_archive): Use it.
74347         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74348         inside [SHARED], where it is used.
74350         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74352         * nss/getent.c (netgroup_keys): Remove unused variable.
74353         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74355 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74357         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74358         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74360         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74361         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74362         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74363         * math/Makefile (libm-calls): Add s_isinf_ns.
74364         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74365         * math/multc3.c: Likewise.
74366         * math/s_casin.c: Likewise.
74367         * math/s_casinf.c: Likewise.
74368         * math/s_casinl.c: Likewise.
74369         * math/s_ccos.c: Likewise.
74370         * math/s_ccosf.c: Likewise.
74371         * math/s_ccosl.c: Likewise.
74372         * math/s_ctan.c: Likewise.
74373         * math/s_ctanf.c: Likewise.
74374         * math/s_ctanh.c: Likewise.
74375         * math/s_ctanhf.c: Likewise.
74376         * math/s_ctanhl.c: Likewise.
74377         * math/s_ctanl.c: Likewise.
74378         * math/w_fmod.c: Likewise.
74379         * math/w_fmodf.c: Likewise.
74380         * math/w_fmodl.c: Likewise.
74381         * math/w_remainder.c: Likewise.
74382         * math/w_remainderf.c: Likewise.
74383         * math/w_remainderl.c: Likewise.
74384         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74385         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74386         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74388         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74389         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74390         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74391         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74393         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74394         of the number.
74395         * stdio-common/printf_fphex.c: Likewise.
74396         * stdio-common/printf_size.c: Likewise.
74398         * math/e_exp10.c: Include math_private.h using <...> not "...".
74399         * math/e_exp10f.c: Likewise.
74400         * math/e_exp10l.c: Likewise.
74401         * math/e_exp2l.c: Likewise.
74402         * math/e_j0l.c: Likewise.
74403         * math/e_j1l.c: Likewise.
74404         * math/e_jnl.c: Likewise.
74405         * math/e_lgammal_r.c: Likewise.
74406         * math/e_rem_pio2l.c: Likewise.
74407         * math/e_scalb.c: Likewise.
74408         * math/e_scalbf.c: Likewise.
74409         * math/e_scalbl.c: Likewise.
74410         * math/k_cosl.c: Likewise.
74411         * math/k_sinl.c: Likewise.
74412         * math/k_tanl.c: Likewise.
74413         * math/s_cacoshf.c: Likewise.
74414         * math/s_catan.c: Likewise.
74415         * math/s_catanf.c: Likewise.
74416         * math/s_catanh.c: Likewise.
74417         * math/s_catanhf.c: Likewise.
74418         * math/s_catanhl.c: Likewise.
74419         * math/s_catanl.c: Likewise.
74420         * math/s_ccosh.c: Likewise.
74421         * math/s_ccoshf.c: Likewise.
74422         * math/s_ccoshl.c: Likewise.
74423         * math/s_cexp.c: Likewise.
74424         * math/s_cexpf.c: Likewise.
74425         * math/s_cexpl.c: Likewise.
74426         * math/s_clog.c: Likewise.
74427         * math/s_clog10.c: Likewise.
74428         * math/s_clog10f.c: Likewise.
74429         * math/s_clog10l.c: Likewise.
74430         * math/s_clogf.c: Likewise.
74431         * math/s_clogl.c: Likewise.
74432         * math/s_csin.c: Likewise.
74433         * math/s_csinf.c: Likewise.
74434         * math/s_csinh.c: Likewise.
74435         * math/s_csinhf.c: Likewise.
74436         * math/s_csinhl.c: Likewise.
74437         * math/s_csinl.c: Likewise.
74438         * math/s_csqrt.c: Likewise.
74439         * math/s_csqrtf.c: Likewise.
74440         * math/s_csqrtl.c: Likewise.
74441         * math/s_ctan.c: Likewise.
74442         * math/s_ctanf.c: Likewise.
74443         * math/s_ctanh.c: Likewise.
74444         * math/s_ctanhf.c: Likewise.
74445         * math/s_ctanhl.c: Likewise.
74446         * math/s_ctanl.c: Likewise.
74447         * math/s_ldexp.c: Likewise.
74448         * math/s_ldexpf.c: Likewise.
74449         * math/s_ldexpl.c: Likewise.
74450         * math/s_significand.c: Likewise.
74451         * math/s_significandf.c: Likewise.
74452         * math/s_significandl.c: Likewise.
74453         * math/w_acos.c: Likewise.
74454         * math/w_acosf.c: Likewise.
74455         * math/w_acosh.c: Likewise.
74456         * math/w_acoshf.c: Likewise.
74457         * math/w_acoshl.c: Likewise.
74458         * math/w_acosl.c: Likewise.
74459         * math/w_asin.c: Likewise.
74460         * math/w_asinf.c: Likewise.
74461         * math/w_asinl.c: Likewise.
74462         * math/w_atan2.c: Likewise.
74463         * math/w_atan2f.c: Likewise.
74464         * math/w_atan2l.c: Likewise.
74465         * math/w_atanh.c: Likewise.
74466         * math/w_atanhf.c: Likewise.
74467         * math/w_atanhl.c: Likewise.
74468         * math/w_cosh.c: Likewise.
74469         * math/w_coshf.c: Likewise.
74470         * math/w_coshl.c: Likewise.
74471         * math/w_dremf.c: Likewise.
74472         * math/w_exp10.c: Likewise.
74473         * math/w_exp10f.c: Likewise.
74474         * math/w_exp10l.c: Likewise.
74475         * math/w_exp2.c: Likewise.
74476         * math/w_exp2f.c: Likewise.
74477         * math/w_fmod.c: Likewise.
74478         * math/w_fmodf.c: Likewise.
74479         * math/w_fmodl.c: Likewise.
74480         * math/w_hypot.c: Likewise.
74481         * math/w_hypotf.c: Likewise.
74482         * math/w_hypotl.c: Likewise.
74483         * math/w_j0.c: Likewise.
74484         * math/w_j0f.c: Likewise.
74485         * math/w_j0l.c: Likewise.
74486         * math/w_j1.c: Likewise.
74487         * math/w_j1f.c: Likewise.
74488         * math/w_j1l.c: Likewise.
74489         * math/w_jn.c: Likewise.
74490         * math/w_jnf.c: Likewise.
74491         * math/w_jnl.c: Likewise.
74492         * math/w_lgamma.c: Likewise.
74493         * math/w_lgamma_r.c: Likewise.
74494         * math/w_lgammaf.c: Likewise.
74495         * math/w_lgammaf_r.c: Likewise.
74496         * math/w_lgammal.c: Likewise.
74497         * math/w_lgammal_r.c: Likewise.
74498         * math/w_log.c: Likewise.
74499         * math/w_log10.c: Likewise.
74500         * math/w_log10f.c: Likewise.
74501         * math/w_log10l.c: Likewise.
74502         * math/w_log2.c: Likewise.
74503         * math/w_log2f.c: Likewise.
74504         * math/w_log2l.c: Likewise.
74505         * math/w_logf.c: Likewise.
74506         * math/w_logl.c: Likewise.
74507         * math/w_pow.c: Likewise.
74508         * math/w_powf.c: Likewise.
74509         * math/w_powl.c: Likewise.
74510         * math/w_remainder.c: Likewise.
74511         * math/w_remainderf.c: Likewise.
74512         * math/w_remainderl.c: Likewise.
74513         * math/w_scalb.c: Likewise.
74514         * math/w_scalbf.c: Likewise.
74515         * math/w_scalbl.c: Likewise.
74516         * math/w_sinh.c: Likewise.
74517         * math/w_sinhf.c: Likewise.
74518         * math/w_sinhl.c: Likewise.
74519         * math/w_sqrt.c: Likewise.
74520         * math/w_sqrtf.c: Likewise.
74521         * math/w_sqrtl.c: Likewise.
74522         * math/w_tgamma.c: Likewise.
74523         * math/w_tgammaf.c: Likewise.
74524         * math/w_tgammal.c: Likewise.
74526         * po/ja.po: Update from translation team.
74528 2011-09-29  Andreas Jaeger  <aj@suse.de>
74530         [BZ #13179]
74531         * sunrpc/netname.c (netname2host): Fix logic.
74533         [BZ #6779]
74534         [BZ #6783]
74535         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74536         correctly.
74537         * math/w_remainder.c (__remainder): Likewise.
74538         * math/w_remainderf.c (__remainderf): Likewise.
74539         * math/libm-test.inc (remainder_test): Add test cases.
74541 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74543         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74544         sdiv_qrnnd.
74546 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74548         * string/test-memcmp.c: Avoid unncessary #defines.
74549         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74551 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74553         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74554         Use new sse2 version for core i3 - i7 as it's faster
74555         than sse42 version.
74556         (bit_Prefer_PMINUB_for_stringop): New.
74557         * sysdeps/x86_64/rawmemchr.S: Update.
74558         Replace with faster SSE2 version.
74559         * sysdeps/x86_64/memrchr.S: New file.
74560         * sysdeps/x86_64/memchr.S: Update.
74561         Replace with faster SSE2 version.
74563 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74565         * elf/dl-load.c (lose): Add cast to avoid warning.
74567 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74569         * po/ca.po: Update from translation team.
74571         * inet/getnetgrent_r.c: Hook up nscd.
74572         * nscd/Makefile (routines): Add nscd_netgroup.
74573         (nscd-modules): Add netgroupcache.
74574         (CFLAGS-netgroupcache.c): Define.
74575         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74576         (cache_search): Add const to second parameter.
74577         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74578         INNETGR.
74579         (dbs): Add netgrdb entry.
74580         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74581         (verify_persistent_db): Handle netgrdb.
74582         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74583         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74584         GETFDNETGR.
74585         (netgroup_response_header): Define.
74586         (innetgroup_response_header): Define.
74587         (datahead): Add netgroup_response_header and innetgroup_response_header
74588         elements.
74589         * nscd/nscd.conf: Add entries for netgroup cache.
74590         * nscd/nscd.h (dbtype): Add netgrdb.
74591         (_PATH_NSCD_NETGROUP_DB): Define.
74592         (netgroup_iov_disabled): Declare.
74593         (xmalloc, xcalloc, xrealloc): Move declarations here.
74594         (cache_search): Adjust prototype.
74595         Add netgroup-related prototypes.
74596         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74597         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74598         (__nscd_innetgr): Declare.
74599         * nscd/selinux.c (perms): Use access_vector_t as element type and
74600         add netgroup-related initializers.
74601         * nscd/netgroupcache.c: New file.
74602         * nscd/nscd_netgroup.c: New file.
74603         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74604         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74605         For four parameters use innetgr.
74606         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74607         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74608         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74609         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74611         * nscd/connections.c (register_traced_file): Don't register file
74612         for disabled databases.
74614 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74616         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74618         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74619         from tree and freeing node.
74621 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74623         * nss/nsswitch.c (__nss_database_lookup): Handle
74624         nss_parse_service_list out of memory case.
74626 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74628         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74629         out of memory case.
74631 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74633         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74634         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74635         pass it down.
74636         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74637         elf_machine_rela, elf_machine_lazy_rel.
74638         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74639         (ELF_DYNAMIC_DO_REL): Likewise.
74640         (ELF_DYNAMIC_DO_RELA): Likewise.
74641         (ELF_DYNAMIC_RELOCATE): Likewise.
74642         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74643         to ELF_DYNAMIC_DO_REL.
74644         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74645         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74646         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74647         elf_machine_rela.
74648         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74649         skip_ifunc, don't call ifunc function if non-zero.
74650         (elf_machine_rela): Likewise.
74651         (elf_machine_lazy_rel): Likewise.
74652         (elf_machine_lazy_rela): Likewise.
74653         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74654         (elf_machine_lazy_rel): Likewise.
74655         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74656         Likewise.
74657         (elf_machine_lazy_rel): Likewise.
74658         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74659         Likewise.
74660         (elf_machine_lazy_rel): Likewise.
74661         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74662         (elf_machine_lazy_rel): Likewise.
74663         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74664         (elf_machine_lazy_rel): Likewise.
74665         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74666         (elf_machine_lazy_rel): Likewise.
74667         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74668         (elf_machine_lazy_rel): Likewise.
74669         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74670         (elf_machine_lazy_rel): Likewise.
74671         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74672         (elf_machine_lazy_rel): Likewise.
74674 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74676         * nss/nss_files/files-init.c (_nss_files_init): Use static
74677         initialization for all the *_traced_file variables.
74679 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74681         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74683 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74685         [BZ #13226]
74686         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74688 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74690         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74691         Reread the line before reparsing it.
74693 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74695         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74697 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74698             Maxim Kuvyrkov  <maxim@codesourcery.com>
74699             Joseph Myers  <joseph@codesourcery.com>
74701         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74702         if needed for __stack_chk_guard.
74704 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74706         * sysdeps/posix/spawni.c (script_execute): Always define it.
74707         It will be optimized away if unused.
74708         (maybe_script_execute): New function.
74709         (__spawni): Call it.
74711         * Makerules: Don't include tls.make.
74712         (config-tls): Always set to thread.
74713         * tls.make.c: File removed.
74715 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74717         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74718         * config.make.in (CPPFLAGS-config): New substituted variable.
74720 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74722         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74724         [BZ #13192]
74725         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74726         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74728 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74730         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74731         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74732         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74733         (CALL_FAIL): Likewise.
74734         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74735         (CALL_FAIL): Macro removed.
74736         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74738 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74740         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74741         for __FINITE_MATH_ONLY__ == 1.
74743 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74745         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74746         __ieee754_sqrt instead of sqrt.
74747         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74748         __ieee754_sqrtf instead of sqrtf.
74749         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74750         __floorf instead of floorf.
74751         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74752         __floorf, __truncf instead of floorf, truncf.
74754 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74756         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74758         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74759         __extern_always_inline.
74760         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74761         32-bit.
74763 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74765         * elf/rtld.c (dl_main): Also relocate in dependency order when
74766         doing symbol dependency testing.
74768 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74770         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74771         Always define `refsym'.
74773 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74775         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74776         (__FD_ELT): Renamed from __FDELT.
74777         * misc/bits/select2.h (__FD_ELT): Likewise.
74778         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74779         __FD_MASK instead of __FDELT, __FDMASK.
74780         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74781         Likewise.
74782         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74783         Likewise.
74785         * elf/Makefile (gen-ldd): Fix pattern.
74787         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74788         (init_tls): Likewise.
74790 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74792         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74794 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74796         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74797         `struct cmsghdr *' instead of `void *'.
74798         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74799         Likewise.
74801 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74803         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74804         if non-absolute.
74805         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74806         ldd_rewrite_script.
74808 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74810         * configure.in: Remove --with-tls option.
74811         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74812         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74813         out in case it is missing.
74814         * sysdeps/ia64/elf/configure.in: Likewise.
74815         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74816         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74817         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74818         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74819         * sysdeps/sh/elf/configure.in: Likewise.
74820         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74821         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74822         * sysdeps/x86_64/elf/configure.in: Likewise.
74823         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74824         * sysdeps/mach/hurd/tls.h: Likewise.
74826         [BZ #13067]
74827         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74829         [BZ #13090]
74830         * configure.in: Fix use of AC_INIT.
74832         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74834 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74836         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74837         __set_errno.
74838         * malloc/hooks.c: Likewise.
74840         [BZ #11929]
74841         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74842         variables statically.
74843         (narenas): Initialize.
74844         (list_lock): Initialize.
74845         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74846         initializtion of main_arena and list_lock.  Small cleanups.
74847         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74848         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74849         Add initializers to main_arena and mp_.
74850         (malloc_state): Remove pagesize member.  Change all users to use
74851         GLRO(dl_pagesize).
74853         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74854         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74855         is always initialized.
74857         * malloc/malloc.c: Removed unused configurations and dead code.
74858         * malloc/arena.c: Likewise.
74859         * malloc/hooks.c: Likewise.
74860         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74862         * include/tls.h: Removed.  USE___THREAD must always be defined.
74863         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74864         * elf/dl-libc.c: Likewise.
74865         * elf/dl-tsd.c: Likewise.
74866         * include/errno.h: Likewise.
74867         * include/netdb.h: Likewise.
74868         * include/resolv.h: Likewise.
74869         * inet/herrno-loc.c: Likewise.
74870         * inet/herrno.c: Likewise.
74871         * malloc/arena.c: Likewise.
74872         * malloc/hooks.c: Likewise.
74873         * malloc/malloc.c: Likewise.
74874         * resolv/res-state.c: Likewise.
74875         * resolv/res_libc.c: Likewise.
74876         * sysdeps/i386/dl-machine.h: Likewise.
74877         * sysdeps/ia64/dl-machine.h: Likewise.
74878         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74879         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74880         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74881         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74882         * sysdeps/sh/dl-machine.h: Likewise.
74883         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74884         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74885         * sysdeps/unix/i386/sysdep.S: Likewise.
74886         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74887         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74891         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74892         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74894         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74896         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74897         * sysdeps/x86_64/dl-machine.h: Likewise.
74898         * tls.make.c: Likewise.
74900         * configure.in: Remove --with-__thread option.  Make tests for
74901         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74902         tls_model attribute fail if no support is available.  Remove
74903         USE_IN_LIBIO.
74904         * Makeconfig: Adjust for dropped configure option.  All features are
74905         now mandatory.
74906         * Makerules: Likewise.
74907         * Versions.def: Likewise.
74908         * argp/argp-fmtstream.c: Likewise.
74909         * argp/argp-fmtstream.h: Likewise.
74910         * argp/argp-help.c: Likewise.
74911         * assert/assert.c: Likewise.
74912         * config.h.in: Likewise.
74913         * config.make.in: Likewise.
74914         * configure: Likewise.
74915         * configure.in: Likewise.
74916         * csu/Versions: Likewise.
74917         * csu/init.c: Likewise.
74918         * elf/tst-audit2.c: Likewise.
74919         * elf/tst-tls10.c: Likewise.
74920         * elf/tst-tls10.h: Likewise.
74921         * elf/tst-tls11.c: Likewise.
74922         * elf/tst-tls12.c: Likewise.
74923         * elf/tst-tls14.c: Likewise.
74924         * elf/tst-tlsmod11.c: Likewise.
74925         * elf/tst-tlsmod12.c: Likewise.
74926         * elf/tst-tlsmod13.c: Likewise.
74927         * elf/tst-tlsmod13a.c: Likewise.
74928         * elf/tst-tlsmod14a.c: Likewise.
74929         * elf/tst-tlsmod15b.c: Likewise.
74930         * elf/tst-tlsmod16a.c: Likewise.
74931         * elf/tst-tlsmod16b.c: Likewise.
74932         * elf/tst-tlsmod7.c: Likewise.
74933         * elf/tst-tlsmod8.c: Likewise.
74934         * elf/tst-tlsmod9.c: Likewise.
74935         * gmon/gmon.c: Likewise.
74936         * grp/fgetgrent_r.c: Likewise.
74937         * grp/putgrent.c: Likewise.
74938         * hurd/fopenport.c: Likewise.
74939         * include/libc-symbols.h: Likewise.
74940         * include/tls.h: Likewise.
74941         * intl/gettextP.h: Likewise.
74942         * intl/loadinfo.h: Likewise.
74943         * locale/global-locale.c: Likewise.
74944         * locale/localeinfo.h: Likewise.
74945         * mach/devstream.c: Likewise.
74946         * malloc/arena.c: Likewise.
74947         * malloc/set-freeres.c: Likewise.
74948         * misc/err.c: Likewise.
74949         * misc/getttyent.c: Likewise.
74950         * misc/mntent_r.c: Likewise.
74951         * posix/getopt.c: Likewise.
74952         * posix/wordexp.c: Likewise.
74953         * pwd/fgetpwent_r.c: Likewise.
74954         * resolv/Versions: Likewise.
74955         * resolv/res_hconf.c: Likewise.
74956         * shadow/fgetspent_r.c: Likewise.
74957         * shadow/putspent.c: Likewise.
74958         * stdio-common/printf_fphex.c: Likewise.
74959         * stdio-common/tmpfile.c: Likewise.
74960         * stdlib/abort.c: Likewise.
74961         * stdlib/fmtmsg.c: Likewise.
74962         * sunrpc/auth_unix.c: Likewise.
74963         * sunrpc/clnt_perr.c: Likewise.
74964         * sunrpc/clnt_tcp.c: Likewise.
74965         * sunrpc/clnt_udp.c: Likewise.
74966         * sunrpc/clnt_unix.c: Likewise.
74967         * sunrpc/openchild.c: Likewise.
74968         * sunrpc/svc_simple.c: Likewise.
74969         * sunrpc/svc_tcp.c: Likewise.
74970         * sunrpc/svc_udp.c: Likewise.
74971         * sunrpc/svc_unix.c: Likewise.
74972         * sunrpc/xdr.c: Likewise.
74973         * sunrpc/xdr_array.c: Likewise.
74974         * sunrpc/xdr_rec.c: Likewise.
74975         * sunrpc/xdr_ref.c: Likewise.
74976         * sunrpc/xdr_stdio.c: Likewise.
74978 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74980         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74982 2011-07-03  Andreas Jaeger  <aj@suse.de>
74984         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74985         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74986         regenerate with gen-libm-tests.pl.
74988 2010-05-12  Petr Baudis  <pasky@suse.cz>
74990         [BZ #11589]
74991         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74992         around j0() zero points by switching to j1().
74993         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74994         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74996         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74998 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75000         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75001         instead of 0.
75002         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75003         instead of 0.
75004         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75005         Patch in part by Pavel Roskin <proski@gnu.org>.
75007         [BZ #13138]
75008         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75009         realloc.
75010         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75011         Free memory block if necessary.
75013         [BZ #12847]
75014         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75015         be NULL.  Don't lock in this case.
75017 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75019         * elf/elf.h (ELFOSABI_GNU): New macro.
75020         (ELFOSABI_LINUX): Define to that.
75022 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75024         * string/strncat.c (strncat): Undef the symbol in case it has been
75025         defined in bits/string.h.
75027 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75029         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75031         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75032         link map.
75034 2011-08-17  Andreas Jaeger  <aj@suse.de>
75036         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75038 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75039             Ian Lance Taylor  <iant@google.com>
75041         * math/libm-test.inc (lround_test): New testcase.
75042         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75044 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75046         * Makefile: Remove support for automatic cvs check-ins.
75047         * Makerules: Likewise.
75048         * config.make.in: Likewise.
75049         * configure.in: Likewise.
75050         * intl/Makefile: Likewise.
75051         * locale/Makefile: Likewise.
75052         * po/Makefile: Likewise.
75053         * posix/Makefile: Likewise.
75054         * sysdeps/gnu/Makefile: Likewise.
75055         * sysdeps/mach/hurd/Makefile: Likewise.
75056         * sysdeps/sparc/sparc32/Makefile: Likewise.
75058         [BZ #13118]
75059         * posix/Makefile (bug-regex32-ENV): Define.
75060         Patch by John Stanley <jpsinthemix@verizon.net>.
75062         * misc/Makefile (headers): Add bits/select2.h.
75063         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75064         * misc/bits/select2.h: New file.
75065         * include/bits/select2.h: New file.
75066         * debug/Makefile (routines): Add fdelt_chk.
75067         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75068         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75069         FD_ISSET.
75070         * debug/fdelt_chk.c: New file.
75072         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75073         * wcsmbs/test-wmemcmp.c: Likewise.
75074         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75075         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75077 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75079         * string/Makefile (strop-tests): Add memcmp.
75080         * string/test-wmemcmp.c: New file.
75081         * string/test-memcmp.c: Add wmemcmp support.
75083 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75085         [BZ #13153]
75086         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75087         2011-07-19 change.
75089         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75090         garbage value in a __mach_port_mod_refs call in the cases of the
75091         task-self and thread-self ports.
75093 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75095         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75097 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75099         * elf/dl-load.c (lose): Check for non-null L.
75101 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75103         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75105         * elf/dl-libc.c (dlerror_run): Pass back error code from
75106         dl_catch_error.
75108         [BZ #13123]
75109         * elf/dl-load.c (lose): Free l_origin if it is valid.
75111         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75112         names.
75113         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75114         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75115         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75116         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75117         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75118         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75120 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75122         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75123         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75124         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75125         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75126         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75127         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75128         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75129         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75130         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75131         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75133 2011-08-15  Alan Modra  <amodra@gmail.com>
75135         [BZ #13092]
75136         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75137         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75138         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75139         ppc_mcount to static-only-routines.
75140         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75141         __mcount_internal.
75142         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75143         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75145 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75147         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75148         for finite and infinity parameters.
75150 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75152         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75153         and add nop instructions for throughput optimization.
75154         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75156 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75158         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75159         aligned copy for power7 with vector-scalar instructions.
75160         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75162 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75165         AVX check.
75167 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75169         [BZ #13144]
75170         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75171         last change.
75173 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75175         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75176         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75177         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75178         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75179         clock_gettime.
75181 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75183         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75184         Forgot to demangle the pointer.
75186         * sysdeps/i386/sysdep.h: Define atom_text_section.
75187         * sysdeps/x86_64/sysdep.h: Likewise.
75188         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75189         section with atom_text_section.
75190         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75191         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75192         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75193         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75194         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75196         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75197         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75198         already be defined.  Change to take two parameters and don't assign
75199         result to variable.  Adjust all users.
75200         Define INTERNAL_GETTIME if not already defined.
75201         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75202         call.
75203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75204         HAVE_CLOCK_GETTIME_VSYSCALL.
75205         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75208         gettimeofday vsyscall, just use time.
75210 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75212         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75213         <errno.h>.
75215 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75217         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75218         syscall on x86-64.
75219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75220         syscall.
75221         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75222         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75223         syscall if possible.
75225 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75227         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75228         e_ident.  Don't pass to find_mapsXX.
75229         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75231 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75234         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75235         * sysdeps/x86_64/multiarch/strchr.S: Update.
75236         Check bit_slow_BSF bit.
75237         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75238         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75239         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75241 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75243         [BZ #13134]
75244         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75245         before glibc 2.15.
75246         (tryshell): Define.
75247         (__spawni): Change last parameter to be flag.  Test
75248         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75249         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75250         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75251         * posix/spawni.c: Likewise.
75252         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75253         * posix/spawnp.c: Likewise.  Change normal version to use
75254         SPAWN_XFLAGS_USE_PATH.
75255         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75256         SPAWN_XFLAGS_TRY_SHELL.
75258         [BZ #13150]
75259         * posix/glob.h: Remove gcc 1.x support.
75261         [BZ #13068]
75262         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75264 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75267         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75268         strrchr-sse2-bsf
75269         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75270         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75271         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75272         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75273         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75274         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75276 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75278         * sysdeps/x86_64/wcscmp.S: New file.
75280         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75281         wcscmp-c wcscmp-sse2
75282         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75283         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75284         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75285         * wcsmbs/wcscmp.c: Allow renaming.
75287 2011-09-05  David S. Miller  <davem@davemloft.net>
75289         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75290         stack slot, rather than the struct return pointer slot.
75291         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75292         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75294         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75296 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75298         * po/ja.po: Update from translation team.
75300         [BZ #13144]
75301         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75302         kernel in 64-bit binaries.
75304 2011-09-01  David S. Miller  <davem@davemloft.net>
75306         * elf/elf.h (HWCAP_SPARC_*): Move to..
75307         * sysdeps/sparc/sysdep.h: this new file and add new values.
75308         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75309         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75310         _DL_HWCAP_COUNT to 24.
75311         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75312         entries.
75313         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75314         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75315         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75316         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75317         instead of magic constants.
75318         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75320 2011-08-31  David S. Miller  <davem@davemloft.net>
75322         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75324         Reimplement to do errno handling inline.
75325         (SYSCALL_ERROR_HANDLER): New macro.
75326         (__SYSCALL_STRING): Do not do errno handling in asm.
75327         (__CLONE_SYSCALL_STRING): Delete.
75328         (__INTERNAL_SYSCALL_STRING): Delete.
75329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75330         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75331         (PSEUDO): Reimplement to do errno handling inline.
75332         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75333         (SYSCALL_ERROR_HANDLER): New macro.
75334         (__SYSCALL_STRING): Do not do errno handling in asm.
75335         (__CLONE_SYSCALL_STRING): Delete.
75336         (__INTERNAL_SYSCALL_STRING): Delete.
75337         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75338         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75339         i386.
75340         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75341         (inline_syscall*): Add 'err' argument.
75342         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75343         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75344         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75345         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75347         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75348         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75350 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75352         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75354 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75356         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75357         directive.
75359 2011-08-24  David S. Miller  <davem@davemloft.net>
75361         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75363 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75365         * elf/Makefile: Add rules to build and run unload8 test.
75366         * elf/unload8.c: New file.
75367         * elf/unload8mod1.c: New file.
75368         * elf/unload8mod1x.c: New file.
75369         * elf/unload8mod2.c: New file.
75370         * elf/unload8mod3.c: New file.
75372         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75373         it wasn't used.
75375 2011-08-23  David S. Miller  <davem@davemloft.net>
75377         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75378         subtract stack bias.
75379         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75380         %sp not %fp in calculations.
75381         (_JMPBUF_UNWINDS_ADJ): Likewise.
75383         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75384         (aio_suspend): Call it to force an exception region around the
75385         AIO_MISC_WAIT() invocation.
75387 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75389         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75390         backslash.
75392 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75394         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75395         protection macro.
75396         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75397         and <dl-machine.h>.
75398         (Elf64_FuncDesc): Remove.
75400 2011-08-22  David S. Miller  <davem@davemloft.net>
75402         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75403         sigaltstack check, add missing cfi directives.
75404         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75405         missing cfi directives, and sigaltstack handling.
75407 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75409         [BZ #11724]
75410         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75411         object is seen twice.
75412         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75414         * elf/Makefile (distribute): Add tst-initorder2.c.
75415         (tests): Add tst-initorder2.
75416         (modules-names): Add tst-initorder2a tst-initorder2b
75417         tst-initorder2c tst-initorder2d.  Add rules to build them.
75418         ($(objpfx)tst-initorder2.out): New rule.
75419         * elf/tst-initorder2.c: New file.
75420         * elf/tst-initorder2.exp: New file.
75422 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75424         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75426         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75427         dependencies back to end of function.
75429         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75430         $(elfobjdir)/ld.so.
75432 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75435         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75436         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75437         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75438         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75439         of __vdso_gettimeofday.
75440         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75441         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75442         attribute_hidden.
75443         (_libc_vdso_platform_setup): Remove initialization of
75444         __vdso_gettimeofday and __vdso_time.
75446 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75448         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75449         and fgetc_unlocked.
75450         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75451         getc_unlocked.
75453         * elf/dl-open.c (add_to_global): Report additions to the global scope
75454         for LD_DEBUG=scopes.
75455         (dl_open_worker): Also print scope of newly loaded dependencies.
75456         (_dl_show_scope): Indicate if there is no scope.
75458         [BZ #13114]
75459         * stdio-common/Makefile (tests): Add bug24.
75460         * stdio-common/bug24.c: New file.
75462 2011-08-19  Andreas Jaeger  <aj@suse.de>
75464         [BZ #13114]
75465         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75466         non-existant file when using close-on-exec mode.
75468 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75471         the very first instruction.
75473         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75474         the CFI state in the end.
75475         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75476         inclusion of dl-trampoline.h.
75477         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75479 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75481         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75482         expectations for long double.
75484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75485         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75487 2011-08-14  David S. Miller  <davem@davemloft.net>
75489         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75490         artificual limit depends upon the system page size.
75492 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75494         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75495         * resolv/Makefile: Define CFLAGS-libresolv.
75497 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75499         * nss/makedb.c (compute_tables): Make variables used in nested
75500         function static.
75502 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75504         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75505         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75506         if buffer was too small.
75508         * elf/pldd.c (main): Attach to all threads in the process.
75509         Rewrite /proc handling to use *at functions.
75511 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75513         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75514         specifies first scope to show.
75515         (dl_open_worker): Update callers.  Move printing scope of new
75516         object to before the relocation.
75517         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75518         * sysdeps/generic/ldsodefs.h: Update declaration.
75520         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75521         string for the scope number.
75523 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75525         * nscd/servicescache.c (cache_addserv): Make sure written is always
75526         initialized.
75528 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75530         * sysdeps/i386/i486/bits/atomic.h
75531         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75532         statement expression, so as to suppress "set but not used" warning.
75533         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75535         * string/strncat.c (STRNCAT): Use prototype definition.
75537         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75538         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75539         -Iprograms here.
75540         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75541         (localedef-modules): Add localedef.
75542         (locale-modules): Add locale.
75544         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75545         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75546         to avoid a warning.
75548 2011-08-14  David S. Miller  <davem@davemloft.net>
75550         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75551         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75553 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75555         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75556         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75557         * elf/rtld.c (dl_main): Set l_name of vDSO.
75558         Call _dl_show_scope when DL_DEBUG_SCOPES.
75559         (process_dl_debug): Recognize scopes flag and also set it for all.
75560         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75561         Declare _dl_show_scope.
75563         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75564         (do_dlopen): Pass caller_dlopen to dl_open.
75565         (__libc_dlopen_mode): Initialize caller_dlopen.
75567         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75568         of libc.  Make tolower call locale-independent.  Optimize a bit by
75569         using isdigit instead of isalnum.
75570         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75572 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75574         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75575         was a dependency or dynamically loaded.
75577 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75579         * intl/l10nflist.c: Allow architecture-specific pop function.
75580         * sysdeps/x86_64/l10nflist.c: New file.
75582         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75583         classification.
75585 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75587         * include/dirent.h: Add libc_hidden_proto for scandirat and
75588         scandirat64.  Don't declare __scandirat64.
75589         * dirent/scandirat.c: Add libc_hidden_def.
75590         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75591         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75593 2011-08-10  David S. Miller  <davem@davemloft.net>
75595         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75596         enum.
75597         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75598         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75599         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75601 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75603         * Versions.def [libc]: Add GLIBC_2.15.
75604         * dirent/Makefile (routines): Add scandirat and scandirat64.
75605         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75606         GLIBC_2.15.
75607         * dirent/dirent.h: Declare scandirat and scandirat64.
75608         * dirent/scandirat.c: New file.
75609         * dirent/scandirat64.c: New file.
75610         * sysdeps/wordsize-64/scandirat.c: New file.
75611         * sysdeps/wordsize-64/scandirat64.c: New file.
75612         * dirent/opendir.c: Define opendirat.
75613         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75614         using scandirat.
75615         * dirent/scandir64.c: Adjust for scandir.c change.
75616         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75617         __scandirat64, and __scandir_cancel_handler.
75618         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75619         additional parameter and use openat instead of open (outside of ld.so).
75620         Add new __opendir as wrapper around __opendirat.
75621         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75622         here without requiring old scandirat implementation.
75624 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75626         * dirent/scandir.c (cancel_handler): Renamed to
75627         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75628         defined.  Adjust users.
75629         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75630         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75632 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75634         * string/test-string.h (IMPL): Use __STRING to expand name and then
75635         stringify it.
75637         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75638         of cleanups.
75640 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75642         * string/Makefile: Update.
75643         (strop-tests): Append strncat.
75644         * string/test-wcscmp.c: New file.
75645         New comprehensive test for wcscmp.
75646         * string/test-strcmp.c: Update.
75647         (WIDE): New define.
75649 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75651         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75652         line.
75654 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75657         encoding to ACE if AI_IDN.
75659 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75661         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75662         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75664 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75666         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75667         Fix overflow bug in strncat.
75668         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75670         * string/test-strncat.c: Update.
75671         Add new tests for checking overflow bugs.
75673 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75675         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75676         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75677         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75678         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75679         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75680         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75681         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75682         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75683         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75685         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75686         (USE_AS_STRCAT): Define.
75687         Add strcat and strncat support.
75688         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75690 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75692         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75693         __n bigger than INT_MAX+1.
75694         (__strncmp_g): Likewise.
75696 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75698         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75699         * libio/stido.h: Likewise.
75701         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75702         (AF_NFC): Define.
75703         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75704         (AF_NFC): Define.
75706         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75707         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75708         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75709         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75710         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75712         [BZ #13021]
75713         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75714         installed.
75716         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75717         typo.
75718         (_dl_x86_64_save_sse): Likewise.
75720 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75722         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75723         OSXSAVE.
75724         (_dl_x86_64_save_sse): Likewise.
75726         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75728         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75730 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75733         change.
75734         (_dl_x86_64_save_sse): Use correct AVX check.
75736 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75738         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75739         bug in strncpy/strncat.
75740         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75742 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75744         * string/tester.c (test_strcat): Add tests for different alignments
75745         of source and destination.
75746         (test_strncat): Likewise.
75748 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75750         [BZ #12852]
75751         * posix/glob.c (glob): Check passed in values before using them in
75752         expressions to avoid some overflows.
75753         (glob_in_dir): Likewise.
75755         [BZ #13007]
75756         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75757         check for AVX enablement so that we don't crash with old kernels and
75758         new hardware.
75759         * elf/tst-audit4.c: Add same checks here.
75760         * elf/tst-audit6.c: Likewise.
75762         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75764 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75766         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75768 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75770         * po/cs.po: Update from translation team.
75771         * po/bg.po: Likewise.
75773 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75775         * misc/sys/cdefs.h: Add support for const attribute.
75776         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75777         to gnu_dev_{major,minor,makedev} functions.
75779 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75781         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75783 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75785         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75786         strlen results.
75788 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75791         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75792         register in order to avoid conflicts with the soft frame pointer
75793         being held in r11 when necessary.
75794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75795         (INTERNAL_VSYSCALL_NCS): Likewise.
75797 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75799         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75800         * elf/dl-fini.c (_dl_fini): Adjust caller.
75801         * elf/dl-close.c (_dl_close_worker): Likewise.
75802         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75804 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75806         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75807         "aux_cache->nlibs < 0".
75809         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75810         in the reload-count case.
75812 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75815         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75816         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75817         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75818         * sysdeps/x86_64/multiarch/strcat.S: New file.
75819         * sysdeps/x86_64/multiarch/strncat.S: New file.
75820         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75821         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75822         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75823         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75824         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75825         (USE_AS_STRCAT): Define.
75826         Add strcat and strncat support.
75827         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75828         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75829         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75830         * string/strncat.c: Update.
75831         (USE_AS_STRNCAT): Define.
75832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75833         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75834         and i7.
75835         * sysdeps/x86_64/multiarch/init-arch.h
75836         (bit_Prefer_PMINUB_for_stringop): New.
75837         (index_Prefer_PMINUB_for_stringop): Likewise.
75838         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75839         bit_Prefer_PMINUB_for_stringop.
75841 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75843         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75844         buffer64.
75845         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75846         of casting of buffer.
75847         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75848         buffer32 and buffer64.
75849         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75850         writes instead of casting of buffer.
75851         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75852         buffer32.
75853         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75854         casting of buffer.
75856 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75858         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75860 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75862         * nscd/nscd.c (termination_handler): Don't do anything for a database
75863         if it has not yet been initialized.
75865 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75867         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75869 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75871         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75873 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75875         * po/nl.po: Update from translation team.
75876         * po/sv.po: Likewise.
75878 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75880         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75881         now disallowed by GCC.
75883         * configure.in (use-default-link): Default to yes if a test -shared
75884         link meets our qualifications.
75885         * configure: Regenerated.
75887         * config.make.in (output-format): New variable.
75888         * configure.in: Check for ld --print-output-format support.
75889         * configure: Regenerated.
75890         * Makerules ($(common-objpfx)format.lds)
75891         [$(output-format) != unknown]: Just use $(output-format),
75892         instead of the linker-script munging.
75894 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75896         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75897         of $(common-objpfx)shlib.lds.
75898         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75900         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75901         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75903         * configure.in (-z relro check): Adjust test code to add a large
75904         writable data section after it.
75905         * configure: Regenerated.
75907 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75909         * configure.in (-z relro check): Fix test code to make the variable
75910         truly const.
75911         * configure: Regenerated.
75913 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75915         * nscd/nscd.h (struct traced_file): Define.
75916         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75917         elements.  Add traced_files.
75918         (inotify_fd): Declare.
75919         (register_traced_file): Declare.
75920         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75921         (inotify_fd): Export.
75922         (resolv_conf_descr): Remove.
75923         (nscd_init): Move inotify descriptor creation to main.
75924         Don't register files for notification here.
75925         (register_traced_file): New function.
75926         (invalidate_cache): Don't use reset_res to determine whether to call
75927         res_init, go through the list of registered files.
75928         (main_loop_poll): The inotify descriptors are now stored in the
75929         structures for the traced files.
75930         (main_loop_epoll): Likewise.
75931         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75932         to __nss_disable_nscd.
75933         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75934         for a database anymore.  Check the records for all the registered
75935         files instead.
75936         * nss/Makefile (libnss_files-routines): Add files-init.
75937         (libnss_db-routines): Add db-init.
75938         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75939         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75940         * nss/nss_db/db-init.c: New file.
75941         * nss/nss_files/files-init.c: New file.
75942         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75943         __nss_lookup_function.
75944         (__nss_lookup_function): Call nss_load_library.
75945         (nss_load_all_libraries): New function.
75946         (__nss_disable_nscd): Take parameter with callback function for files
75947         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75948         used for the cached services.
75949         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75950         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75951         options for features to all the files in nscd.
75953         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75955 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75957         * csu/elf-init.c (__libc_csu_init): Comment typo.
75959 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75961         * po/pl.po: Update from translation team.
75962         * po/ja.po: Likewise.
75963         * po/ru.po: Likewise.
75964         * po/ko.po: Likewise.
75965         * po/fr.po: Likewise.
75967 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75969         * configure.in (.ctors/.dtors header and trailer check):
75970         Use an empirical test on a built program.
75971         * configure: Regenerated.
75973         * configure.in (-z relro check): Use an empirical test on a built DSO.
75974         Detect, but do not require, on ia64.
75975         * configure: Regenerated.
75977         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75978         Update tests that use readelf to use $READELF instead.
75979         * configure: Regenerated.
75981 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75983         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75984         if the result is not used.
75986 2011-07-05  Andreas Jaeger  <aj@suse.de>
75988         [BZ#9696]
75989         * stdlib/tst-strtod.c: Add testcase.
75991 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75993         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75994         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75995         The latter has a higher limit.  Take additional parameter to pass to
75996         the new function.
75997         (__pathconf): Pass file to __statfs_link_max.
75998         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75999         __statfs_link_max.
76000         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76001         __statfs_link_max.
76003         [BZ #12868]
76004         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76005         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76006         Handle Lustre.
76007         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76008         (__statfs_filesize_max): Likewise.
76009         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76011 2011-07-05  Andreas Jaeger  <aj@suse.de>
76013         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76015 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76017         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76018         `status' variable.
76019         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76020         Likewise.
76022 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76024         * Makefile (strop-tests): Add strncat.
76025         * string/test-strncat.c: New file.
76027 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76029         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76031 2011-06-21  Andreas Jaeger  <aj@suse.de>
76033         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76034         Copy rule from iconvdata/Makefile.
76036 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76038         [BZ #12922]
76039         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76040         but no long options are defined, just return 'W'.
76042 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76044         [BZ #9696]
76045         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76047 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76049         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76050         netgroups to read.
76051         (innetgr): Likewise.
76053 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76055         * config.make.in (install_root): Default to $(DESTDIR).
76057 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76059         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76061 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76063         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76065         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76066         containing directory rather than embedding absolute directory names.
76068         * scripts/check-local-headers.sh: Rewritten using awk.
76069         Match by word, not by line.  Print error messages for matches.
76070         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76072         * Makerules [shlib-lds-flags empty]:
76073         ($(common-objpfx)libc_pic.opts): New target.
76074         ($(common-objpfx)libc_pic.os.clean): New target.
76075         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76077         * config.make.in (OBJCOPY): New variable.
76078         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76079         * configure: Regenerated.
76081         * config.make.in (use-default-link): New variable.
76082         * configure.in (use_default_link): Grok --with-default-link to set it.
76083         * configure: Regenerated.
76084         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76085         (shlib-lds, shlib-lds-flags): Define to empty.
76087         * Makerules (shlib-lds): New variable.
76088         (shlib-lds-flags): New variable.
76089         (build-shlib, build-moduile, build-module-asneeded): Use it.
76090         ($(common-objpfx)libc.so): Use $(shlib-lds).
76091         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76092         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76094         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76095         DT_FLAGS/DT_FLAGS_1 with zero flags.
76097         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76098         linker script munging.
76100 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76102         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76103         as 128-bit value.
76104         * crypt/sha512.c (sha512_process_block): Perform total addition using
76105         128-bit if possible.
76106         (__sha512_finish_ctx): Likewise.
76107         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76108         as 64-bit value.
76109         * crypt/sha256.c (SWAP64): Define.
76110         (sha256_process_block): Perform total addition using 64-bit if
76111         possible.
76112         (__sha256_finish_ctx): Likewise.
76114 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76116         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76117         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76118         * nscd/hstcache.c (cache_addhst): Likewise.
76119         * nscd/grpcache.c (cache_addgr): Likewise.
76120         * nscd/aicache.c (addhstaiX): Likewise.
76121         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76123 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76125         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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.
76131 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76133         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76134         domain only when needed.
76136 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76139         is always restored.
76141 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76143         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76144         are re-adding the entry.
76145         * nscd/servicescache.c (cache_addserv): Likewise.
76147 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76149         * sysdeps/generic/dl-irel.h: fix protection against multiple
76150         inclusions.
76151         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76153 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76155         [BZ #12935]
76156         * malloc/memusage.sh: Fix quoting in message.
76157         * debug/xtrace.sh: Likewise.
76159         * configure.in: Remove support for --experimental-malloc option, make
76160         it the default.
76161         * config.make.in: Likewise.
76162         * malloc/Makefile: Likewise.
76164 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76166         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76167         two-byte characters.
76169 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76171         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76172         AC_CACHE_CHECK invocation.
76173         * configure: Regenerated.
76175         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76177 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76179         [BZ #12350]
76180         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76181         bit from old_res_options.
76183         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76185         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76186         value type for setfct.
76188 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76191         __gettimeofday instead of gettimeofday.
76193 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76195         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76197 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76199         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76201         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76202         info.
76204 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76207         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76208         strcpy-sse2-unaligned strncpy-sse2-unaligned
76209         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76210         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76211         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76212         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76213         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76214         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76215         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76216         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76217         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76218         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76219         (STRCPY): Support SSE2 and SSSE3 versions.
76221 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76223         [BZ #12874]
76224         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76225         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76226         kernels which artificially limit size of requests.
76228 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76230         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76231         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76232         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76233         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76234         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76235         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76236         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76237         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76238         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76239         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76240         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76241         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76242         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76243         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76244         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76246         Enable unaligned load optimization for Intel Core i3, i5 and i7
76247         processors.
76248         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76249         Define.
76250         (index_Fast_Unaligned_Load): Define.
76251         (HAS_FAST_UNALIGNED_LOAD): Define.
76253 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76255         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76257 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76259         [BZ #12907]
76260         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76261         until it is clear that the information is realy needed.
76262         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76264 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76268 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76270         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76271         /sys/devices/system/cpu/online if it is usable.
76273         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76274         reading the information from the /proc filesystem to once a second.
76276 2011-06-21  Andreas Jaeger  <aj@suse.de>
76278         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76279         NULL after inclusion of kernel headers.
76281 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76283         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76284         calls to internal_setent.
76286         [BZ #12885]
76287         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76288         addresses using gethostbyname4_r ignore IPv4 addresses.
76290         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76291         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76293         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76295 2011-06-20  David S. Miller  <davem@davemloft.net>
76297         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76298         inclusions.
76299         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76301         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76302         (elf_irel): Use it.
76303         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76304         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76305         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76306         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76307         * sysdeps/x86_64/dl-irel.h: Likewise.
76309         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76310         * elf/dl-sym.c: Likewise.
76312 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76314         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76315         need to dereference resplen2.
76317 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76319         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76321 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76323         * Makeconfig: Define vardbdir and inst_vardbdir.
76324         * nss/Makefile: Add rules to install db-Makefile.
76326         * nss/nss_db/db-XXX.c: Cleanup.
76328         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76329         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76330         GLIBC_PRIVATE.
76331         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76332         * nss/makedb.c: Implement -g option to specify that value strings
76333         are generated and should not be added to table iterated over for
76334         get*ent calls.
76335         * nss/nss_db/db-initgroups.c: New file.
76337         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76338         interface.
76340         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76341         (internal_getgrouplist): Adjust to name change.
76342         Update use_initgroups_entry if this is not the first call.
76343         * nss/databases.def: Add initgroups entry.
76345         * nss/makedb.c (compute_tables): Check result of multiple hash table
76346         sizes to minimize maximum chain length.
76348 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76350         * Versions.def: Add entry for libnss_db.
76351         * shlib-versions: Likewise.
76352         * nss/Makefile: Add rules to build libnss_db.
76353         * nss/Versions: Add libnss_db information.  Organize libnss_files
76354         entries better.
76355         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76356         makedb progra.  Some minor improvements to generate smaller files.
76357         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76358         here from...
76359         * nss/makedb.c: ...here.
76360         Improve database format to be smaller and require less memory at
76361         runtime.
76362         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76363         db anymore.
76364         * nss/nss_db/db-netgrp.c: Likewise.
76365         * nss/nss_db/db-open.c: Likewise.
76366         * nss/nss_files/flies-XXX.x: Adjust comments.
76367         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76368         * nss/nss_files/files-grp.c: Likewise.
76369         * nss/nss_files/files-hosts.c: Likewise.
76370         * nss/nss_files/files-network.c: Likewise.
76371         * nss/nss_files/files-proto.c: Likewise.
76372         * nss/nss_files/files-pwd.c: Likewise.
76373         * nss/nss_files/files-rpc.c: Likewise.
76374         * nss/nss_files/files-service.c: Likewise.
76375         * nss/nss_files/files-sgrp.c: Likewise.
76376         * nss/nss_files/files-spwd.c: Likewise.
76377         * nss/nss_db/db-alias.c: Removed.
76378         * nss/nss_db/dummy-db.h: Removed.
76380 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76382         * nss/makedb.c: Rewritten to not use database library.
76383         * nss/Makefile: Update to build new makedb program.
76385 2011-06-14  Andreas Jaeger  <aj@suse.de>
76387         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76388         memset declaration.
76390 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76392         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76393         tmpbuf.
76395 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76397         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76398         * elf/Makefile ($(objpfx)ld.so): Likewise.
76400         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76401         Don't list ld.so twice in dependencies.
76403         * posix/bug-regex31.c: Include <stdlib.h>.
76405         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76407         * nis/nss_compat/compat-spwd.c
76408         (getspent_next_nss_netgr): Remove unused variable.
76409         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76411         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76412         nonmembers" output to use the right array.
76414         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76416         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76418         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76419         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76420         * catgets/gencat.c (read_input_file): Likewise.
76421         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76423         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76424         variable definition inside #if's controlling its use.
76426         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76428         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76430         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76432         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76433         unreachable code.
76435         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76437         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76438         * configure: Regenerated.
76440         * Makerules: Revert last change.
76441         * elf/Makefile: Likewise.
76443 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76445         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76446         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76447         (reloc-link): Likewise.
76449 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76451         * elf/Makefile: Add rules to build pldd.
76452         * elf/pldd.c: New file.
76453         * elf/pldd-xx.c: New file.
76455 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76457         * version.h: Update for 2.15 development version.
76459 2011-06-07  David S. Miller  <davem@davemloft.net>
76461         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76462         ifuncs.
76463         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76464         elf_machine_lazy_rel): Likewise.
76465         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76466         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76467         elf_machine_lazy_rel): Likewise.
76468         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76469         dl_hwcap via passed in argument.
76470         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76471         Likewise.
76473 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76475         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76477 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76479         [BZ #12849]
76480         * manual/fdl-1.1.texi: New file, verbatim from:
76481         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76482         * manual/lgpl-2.1.texi: New file, verbatim from:
76483         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76484         * manual/Makefile (licenses): New variable, list those new file names.
76485         (texis): Use it.
76486         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76488         * manual/fdl.texi: File removed.
76489         * manual/lesser.texi: File removed.
76490         * manual/libc.texinfo (Copying, Documentation License):
76491         Use new @include file names, put @appendix directive before @include.
76493 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76495         [BZ #12841]
76496         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76497         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76498         (mq_open): Add __NTH.
76500 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76503         Assume Intel Core i3/i5/i7 processor if AVX is available.
76505 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76507         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76508         typo.
76510 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76512         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76513         memory.  Use alloca_account.  Fix memory leak when retrying.
76515 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76517         * version.h (RELEASE): Bump for 2.14 release.
76518         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76520         * config.make.in (RANLIB): Remove entry.
76522 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76524         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76525         (libc.pot): Work around missing support for .ksh extension in xgettext.
76527         [BZ #12684]
76528         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76529         if both request failed.
76530         (send_dg): In case of server errors clear resplen or *resplen2.
76532         [BZ #12454]
76533         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76534         when there are multiple maps.
76535         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76536         (_dl_fini): Remove test here.
76538         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76540 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76542         [BZ #12350]
76543         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76544         bit from old_res_options.
76545         (gaih_inet): Likewise.
76547         [BZ #11099]
76548         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76549         as signed.
76551         * resolv/res_init.c (res_setoptions): Make the code more compact.
76553         [BZ #11558]
76554         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76555         set RES_USEVC.
76557         [BZ #11634]
76558         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76560         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76562         [BZ #11781]
76563         * malloc/malloc.h: Declare malloc hook variables as volatile.
76565         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76566         in last patch.
76568         [BZ #11799]
76569         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76570         raise in the comment.
76571         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76572         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76573         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76575 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76577         [BZ #12811]
76578         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76579         grow the buffers more if it already has to be sufficient.
76580         (build_wcs_upper_buffer): Likewise.
76581         * posix/regexec.c (check_matching): Likewise.
76582         (clean_state_log_if_needed): Likewise.
76583         (extend_buffers): Don't enlarge buffers beyond size of the input
76584         buffer.
76585         Patches mostly by Emil Wojak <emil@wojak.eu>.
76586         * posix/bug-regex32.c: New file.
76587         * posix/Makefile (tests): Add bug-regex32.
76589         * locale/findlocale.c (_nl_find_locale): Return right away if
76590         _nl_explode_name failed.
76591         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76593         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76595         * debug/xtrace.sh: Unify messages.
76596         * malloc/memusage.sh: Likewise.
76598         [BZ #12813]
76599         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76600         time symbol from vDSO.  Substitute with vsyscall if not available.
76601         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76602         __vdso_time.
76604         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76605         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76606         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76607         Add sendmmsg and internal_sendmmsg.
76608         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76609         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76610         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76612         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76613         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76614         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76616 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76618         [BZ #12813]
76619         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76620         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76621         available.
76622         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76623         __vdso_getcpu.
76625         [BZ #12814]
76626         * iconvdata/Makefile (tests): Add bug-iconv9.
76627         * iconvdata/bug-iconv9.c: New file.
76629 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76631         [BZ #12814]
76632         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76634 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76636         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76637         (struct user_regs_struct): Change intcs field back to cs.
76639 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76641         * po/ja.po: Update from translation team.
76643 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76645         [BZ #12795]
76646         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76647         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76649 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76651         * stdlib/longlong.h: Update from GCC.
76653 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76655         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76656         parameter name.
76657         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76658         Add parameter name.
76659         (__sysconf): Pass it down.
76661 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76663         [BZ #12671]
76664         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76665         some situations.
76666         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76667         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76668         add in in __libc_use_alloca calls.  Adjust callers.
76669         (glob): Use malloc in some situations.
76671         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76672         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76673         pltexit.
76675 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76677         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76678         and CLOCK_BOOTTIME_ALARM.
76680         [BZ #12782]
76681         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76682         is returned.
76684         * string/_strerror.c (__strerror_r): Print negative errors as signed
76685         numbers.
76687         [BZ #12777]
76688         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76689         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76690         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76692         * configure.in: Fix typo in redirection and correct removal of test
76693         files in two cases.
76695         [BZ #12788]
76696         * locale/setlocale.c (new_composite_name): Fix test to check for
76697         identical name of all categories.
76699         [BZ #12792]
76700         * libio/filedoalloc.c (local_isatty): New function.
76701         (_IO_file_doallocate): Use local_isatty.
76702         * stdio-common/perror.c (perror): In case a new stream is used
76703         forward the stream error.
76704         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76705         error flag.
76707 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76709         [BZ #11884]
76710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76711         alloca.
76712         * include/alloca.h (extend_alloca_account): Define.
76714         [BZ #11857]
76715         * posix/regex.h: Fix comments with documentation of user-accessible
76716         fields after compilation and describe correct free'ing of pattern
76717         after re_compile_pattern.
76718         Patch by Reuben Thomas <rrt@sc3d.org>.
76720 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76722         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76723         and -mno-altivec to prevent the compiler from using Altivec and/or
76724         VSX instructions when the corresponding registers are not available.
76726 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76728         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76730 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76732         * libio/freopen.c (freopen): Use __dup2, not dup2.
76733         * libio/freopen64.c (freopen64): Likewise.
76735 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76737         [BZ #12775]
76738         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76739         * math/Makefile (tests): Add test-powl.
76740         (CFLAGS-test-powl.c): Define.
76741         * math/test-powl.c: New file.
76743 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76745         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76747 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76749         [BZ #11837]
76750         * iconvdata/gb18030.c: Update to GB18020-2005.
76752 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76754         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76755         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76756         Patch by Aharon Robbins <arnold@skeeve.com>.
76758         [BZ #11892]
76759         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76760         on the stack.
76762         [BZ #11895]
76763         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76764         through underflows.
76766         [BZ #12766]
76767         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76768         point to strings before performing equality test for error_one_per_line
76769         mode.
76771         [BZ #11697]
76772         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76774         [BZ #11820]
76775         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76776         (struct user_fpregs_struct): Avoid __uint*_t types.
76778         [BZ #6420]
76779         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76780         symbol info.  Use it instead of calling _dl_addr locally.
76781         (lock_and_info): New function.
76782         (tr_freehook): Call lock_and_info and pass symbol info as additional
76783         parameter to tr_where.
76784         (tr_mallochook): Likewise.
76785         (tr_reallochook): Likewise.
76786         (tr_memalignhook): Likewise.
76788         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76789         used and couldn't be at all thread-safe.
76791 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76793         * libio/freopen.c (freopen): Don't close old file descriptor
76794         before the new one is opened.  Instead dup the new file descriptor
76795         to the old one after the new stream is created.
76796         * libio/freopen64.c (freopen64): Likewise.
76797         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76798         * libio/fileops.c (_IO_new_file_close_it): Handle new
76799         _IO_FLAGS2_NOCLOSE flag.
76800         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76801         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76802         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76803         _IO_FLAGS2_NOCLOSE flag.
76804         * include/unistd.h: Add hidden_proto for dup3.
76805         Define __have_dup3.
76806         * io/dup3.c: Define hidden symbol.
76807         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76809         [BZ #7101]
76810         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76811         when an incomplete long option is used.
76812         * posix/tst-getopt_long1.c: New file.
76813         * posix/Makefile (tests): Add tst-getopt_long1.
76815         [BZ #10138]
76816         * scripts/config.guess: Update from autoconf-2.68.
76817         * scripts/config.sub: Likewise.
76819         [BZ #10157]
76820         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76821         tests into ...
76822         (has_cpuclock): ...this.  New function.
76823         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76824         macro here based on has_cpuclock code.
76826         [BZ #10149]
76827         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76828         First byte (not low byte) is now always NUL.
76829         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76831         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76832         Use non-cancelable interfaces.
76834         [BZ #9809]
76835         * locale/iso-639.def: Add entry for Sorani.
76837         [BZ #11901]
76838         * include/stdlib.h: Move include protection to the right place.
76839         Define abort_msg_s.  Declare __abort_msg with it.
76840         * stdlib/abort.c (__abort_msg): Adjust type.
76841         * assert/assert.c (__assert_fail_base): New function.  Majority
76842         of code from __assert_fail.  Allocate memory for __abort_msg with
76843         mmap.
76844         (__assert_fail): Now call __assert_fail_base.
76845         * assert/assert-perr.c: Remove bulk of implementation.  Use
76846         __assert_fail_base.
76847         * include/assert.hL Declare __assert_fail_base.
76848         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76849         mmap.
76850         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76852 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76854         [BZ #11952]
76855         [BZ #12453]
76856         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76857         until all modules are registered in the DTV.
76858         * elf/Makefile: Add rules to build and run tst-tls19.
76859         * elf/tst-tls19.c: New file.
76860         * elf/tst-tls19mod1.c: New file.
76861         * elf/tst-tls19mod2.c: New file.
76862         * elf/tst-tls19mod3.c: New file.
76863         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76865         [BZ #12083]
76866         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76867         correctly.
76869         [BZ #12601]
76870         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76871         two-byte sequence errors.
76872         * iconvdata/Makefile (tests): Add bug-iconv8.
76873         * iconvdata/bug-iconv8.c: New file.
76875         [BZ #12626]
76876         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76877         buf2 definition.
76879         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76881         [BZ #12432]
76882         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76883         (dummy_getcfa): New function.
76884         (init): Get _Unwind_GetCFA address, use dummy if not found.
76885         (backtrace_helper): In recursion check, also check whether CFA changes.
76886         (__backtrace): Completely initialize arg.
76888         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76889         storing incomplete byte sequence in state object.  Avoid testing for
76890         guaranteed too small input if we know there is enough data available.
76892 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76894         * Makeconfig (+link-pie): Indent.
76895         * Rules (binaries-pie): Define if $(have-fpie) and
76896         $(build-shared).
76897         (binaries-shared): Also filter out $(binaries-pie).
76898         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76899         * nscd/Makefile (others-pie): Add nscd.
76900         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76901         ($(objpfx)nscd): Remove command override.
76902         * login/Makefile (others-pie): Add pt_chown.
76903         ($(objpfx)pt_chown): Remove command override.
76904         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76905         remove command overrides.
76907 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76909         * libio/tst_putwc.c: Fix error messages.
76911         [BZ #12724]
76912         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76913         currently writing and seek to current position when not.
76914         * libio/Makefile (tests): Add bug-fclose1.
76915         * libio/bug-fclose1.c: New file.
76917 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76919         [BZ #12511]
76920         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76921         don't set DF_1_NODELETE here.
76922         (do_lookup_x): When entering new entry test for copy relocation
76923         and if necessary set DF_1_NODELETE flag.
76924         * elf/tst-unique4.cc: New file.
76925         * elf/tst-unique4.h: New file.
76926         * elf/tst-unique4lib.cc: New file.
76927         * elf/Makefile: Add rules to build and run tst-unique4.
76928         Patch by Piotr Bury <pbury@goahead.com>.
76930 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76932         [BZ #12052]
76933         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76935         [BZ #12625]
76936         * misc/mntent_r.c (addmntent): Flush the stream after the output
76938         [BZ #12393]
76939         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76940         (is_trusted_path_normalize): Skip initial colon.  Append slash
76941         to empty buffer.  Duplicate is_trusted_path code but allow
76942         constructed patch to be prefix.
76943         (is_dst): Allow $ORIGIN followed by /.
76944         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76945         Correct testing of result of is_trusted_path_normalize
76946         (decompose_rpath): Fix warning.
76948 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76950         [BZ #11257]
76951         * grp/initgroups.c (internal_getgrouplist): When we found the service
76952         list through the initgroups entry in nsswitch.conf do not always
76953         continue on a successful lookup.  Don't always use the
76954         __nss_group_database value if it is set.
76955         * nss/nsswitch.conf (initgroups): Change action for successful db
76956         lookup to continue for compatibility.
76958 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76960         [BZ #11532]
76961         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76962         and CP774 modules.
76963         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76964         and CP774 modules.
76965         * iconvdata/tst-tables.sh: Likewise.
76966         * iconvdata/cp770.c: New file.
76967         * iconvdata/cp771.c: New file.
76968         * iconvdata/cp772.c: New file.
76969         * iconvdata/cp773.c: New file.
76970         * iconvdata/cp774.c: New file.
76971         * iconvdata/testdata/CP770: New file.
76972         * iconvdata/testdata/CP770..UTF8: New file.
76973         * iconvdata/testdata/CP771: New file.
76974         * iconvdata/testdata/CP771..UTF8: New file.
76975         * iconvdata/testdata/CP772: New file.
76976         * iconvdata/testdata/CP772..UTF8: New file.
76977         * iconvdata/testdata/CP773: New file.
76978         * iconvdata/testdata/CP773..UTF8: New file.
76979         * iconvdata/testdata/CP774: New file.
76980         * iconvdata/testdata/CP774..UTF8: New file.
76982         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76983         END CHARMAP line.
76984         * iconvdata/gen-8bit-gap.sh: Likewise.
76985         * iconvdata/gen-8bit.sh: Likewise.
76987         * locale/iso-639.def: Add ary entry.
76989         [BZ #11258]
76990         * locale/C-translit.h.in: Add U20A1 transliteration.
76992         [BZ #12178]
76993         * locale/iso-639.def: Add wae entry.
76994         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76996         [BZ #12545]
76997         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76998         for n.
77000         [BZ #12711]
77001         * locale/C-translit.h.in: Add entry for U20B9.
77002         Patch by pravin.d.s@gmail.com.
77004 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77006         [BZ #12713]
77007         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77008         ENAMETOOLONG use generic getcwd.
77009         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77010         in rtld.  Use *stat64.
77011         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77012         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77013         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77014         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77015         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77016         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77017         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77018         __fstatat64 macros.
77019         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77020         * dirent/rewinddir.c: Add libc_hidden_def.
77021         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77022         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77024         * include/dirent.h (__alloc_dir): Add flags parameter.
77025         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77026         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77027         __alloc_dir.
77028         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77029         from fdopendir if O_CLOEXEC is already set.
77031 2011-03-15  Alan Modra  <amodra@gmail.com>
77033         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77034         l_tls_firstbyte_offset non-zero.  Save padding offset in
77035         l_tls_firstbyte_offset for later use.
77036         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77037         freeing static tls block.
77039 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77041         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77042         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77043         being defined by the kernel headers.
77045 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77047         [BZ #12734]
77048         * resolv/resolv.h: Define RES_NOTLDQUERY.
77049         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77050         no-tld-query and set RES_NOTLDQUERY.
77051         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77052         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77053         modern BIND to search name as TLD unless forbidden.
77055 2011-05-07  Petr Baudis  <pasky@suse.cz>
77056             Ulrich Drepper  <drepper@gmail.com>
77058         [BZ #12393]
77059         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77060         (is_trusted_path): ...to here.
77061         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77062         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77063         using is_trusted_path_normalize() in setuid scripts.
77065 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77067         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77068         __BEGIN/__END_DECLS.
77070 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77073         NSS_STATUS_NOTFOUND if no record was found.
77075 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77077         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77078         (headers-not-in-tirpc): Remove rpc/netdb.h
77079         * resolv/netdb.h: Revert last change.
77081 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77083         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77084         circular dependency between libgcc.a and libc.a.
77086 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77088         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77089         * nis/Makefile: Don't install rpcsvc/*.
77090         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77091         instead of <rpc/types.h>.
77092         (MAXHOSTNAMELEN): Define.
77094 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77096         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77098 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77100         [BZ #12714]
77101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77102         gethostbyname4_r when IPv6 results are possible.
77104 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77106         [BZ #12723]
77107         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77108         _PC_PIPE_BUF handling.
77110 2011-04-30  Bruno Haible  <bruno@clisp.org>
77112         [BZ #12717]
77113         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77114         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77115         to 'int'.
77116         * inet/getnameinfo.c (getnameinfo): Likewise.
77118 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77120         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77121         to groups setting in database lookup.
77122         * nss/nsswitch.conf: Add initgroups entry.
77124 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77126         [BZ #12685]
77127         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77128         mode string.
77129         Patch by Eric Blake <eblake@redhat.com>.
77131 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77133         * sunrpc/Makefile (need-export-routines): Add svc_run.
77134         (routines): Remove svc_run.
77135         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77136         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77137         * sunrpc/svc_run.c (svc_run): Likewise.
77138         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77140 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77142         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77143         problem in reallocation in last patch.
77145 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77147         * sunrpc/Makefile: Move inclusion of Rules.
77149 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77151         * nss/nss_files/files-initgroups.c: New file.
77152         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77153         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77154         _nss_files_initgroups_dyn.
77156 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77158         * elf/elf.h (R_ARM_IRELATIVE): Define.
77160 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77162         * po/ru.po: Update from translation team.
77164 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77166         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77167         dependencies.
77169 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77171         [BZ #12653]
77172         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77173         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77174         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77175         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77176         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77178 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77180         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77181         differing bytes.
77182         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77183         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77184         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77186 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77188         [BZ #12420]
77189         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77190         storing it.
77191         * stdlib/bug-getcontext.c: New file.
77192         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77194 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77196         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77197         instructions into .machine "z9-109".
77198         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77199         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77201 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77203         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77204         between environment variables and auxiliary vector.
77206 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77208         * Makefile: Add rules to build linkobj/libc.so.
77209         * include/libc-symbols.h: Define libc_hidden_nolink.
77210         * include/rpc/auth.h: Mark functions which are to be hidden.
77211         * include/rpc/auth_des.h: Likewise.
77212         * include/rpc/auth_unix.h: Likewise.
77213         * include/rpc/clnt.h: Likewise.
77214         * include/rpc/des_crypt.h: Likewise.
77215         * include/rpc/key_prot.h: Likewise.
77216         * include/rpc/pmap_clnt.h: Likewise.
77217         * include/rpc/pmap_prot.h: Likewise.
77218         * include/rpc/pmap_rmt.h: Likewise.
77219         * include/rpc/rpc_msg.h: Likewise.
77220         * include/rpc/svc.h: Likewise.
77221         * include/rpc/svc_auth.h: Likewise.
77222         * include/rpc/xdr.h: Likewise.
77223         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77224         * nss/Makefile: Likewise.
77225         * sunrpc/Makefile: Don't install headers.  Build library with normal
77226         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77227         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77228         for the compat linking library.  Remove use of INTDEF/INTUSE.
77229         * sunrpc/auth_none.c: Likewise.
77230         * sunrpc/auth_unix.c: Likewise.
77231         * sunrpc/authdes_prot.c: Likewise.
77232         * sunrpc/authuxprot.c: Likewise.
77233         * sunrpc/clnt_gen.c: Likewise.
77234         * sunrpc/clnt_perr.c: Likewise.
77235         * sunrpc/clnt_raw.c: Likewise.
77236         * sunrpc/clnt_simp.c: Likewise.
77237         * sunrpc/clnt_tcp.c: Likewise.
77238         * sunrpc/clnt_udp.c: Likewise.
77239         * sunrpc/clnt_unix.c: Likewise.
77240         * sunrpc/des_crypt.c: Likewise.
77241         * sunrpc/des_soft.c: Likewise.
77242         * sunrpc/get_myaddr.c: Likewise.
77243         * sunrpc/key_call.c: Likewise.
77244         * sunrpc/key_prot.c: Likewise.
77245         * sunrpc/netname.c: Likewise.
77246         * sunrpc/pm_getmaps.c: Likewise.
77247         * sunrpc/pm_getport.c: Likewise.
77248         * sunrpc/pmap_clnt.c: Likewise.
77249         * sunrpc/pmap_prot.c: Likewise.
77250         * sunrpc/pmap_prot2.c: Likewise.
77251         * sunrpc/pmap_rmt.c: Likewise.
77252         * sunrpc/publickey.c: Likewise.
77253         * sunrpc/rpc_cmsg.c: Likewise.
77254         * sunrpc/rpc_common.c: Likewise.
77255         * sunrpc/rpc_dtable.c: Likewise.
77256         * sunrpc/rpc_prot.c: Likewise.
77257         * sunrpc/rpc_thread.c: Likewise.
77258         * sunrpc/rtime.c: Likewise.
77259         * sunrpc/svc.c: Likewise.
77260         * sunrpc/svc_auth.c: Likewise.
77261         * sunrpc/svc_authux.c: Likewise.
77262         * sunrpc/svc_raw.c: Likewise.
77263         * sunrpc/svc_run.c: Likewise.
77264         * sunrpc/svc_simple.c: Likewise.
77265         * sunrpc/svc_tcp.c: Likewise.
77266         * sunrpc/svc_udp.c: Likewise.
77267         * sunrpc/svc_unix.c: Likewise.
77268         * sunrpc/svcauth_des.c: Likewise.
77269         * sunrpc/xcrypt.c: Likewise.
77270         * sunrpc/xdr.c: Likewise.
77271         * sunrpc/xdr_array.c: Likewise.
77272         * sunrpc/xdr_float.c: Likewise.
77273         * sunrpc/xdr_intXX_t.c: Likewise.
77274         * sunrpc/xdr_mem.c: Likewise.
77275         * sunrpc/xdr_rec.c: Likewise.
77276         * sunrpc/xdr_ref.c: Likewise.
77277         * sunrpc/xdr_sizeof.c: Likewise.
77278         * sunrpc/xdr_stdio.c: Likewise.
77280 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77282         [BZ #12650]
77283         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77284         * sysdeps/ia64/dl-tls.h: Likewise.
77285         * sysdeps/powerpc/dl-tls.h: Likewise.
77286         * sysdeps/s390/dl-tls.h: Likewise.
77287         * sysdeps/sh/dl-tls.h: Likewise.
77288         * sysdeps/sparc/dl-tls.h: Likewise.
77289         * sysdeps/x86_64/dl-tls.h: Likewise.
77290         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77292 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77294         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77295         rpath element also skip the following colon.
77296         (expand_dynamic_string_token): Add is_path parameter and pass
77297         down to DL_DST_REQUIRED and _dl_dst_substitute.
77298         (decompose_rpath): Call expand_dynamic_string_token with
77299         non-zero is_path.  Ignore empty rpaths.
77300         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77301         with zero is_path.
77303 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77306         Make cancelable.
77308 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77310         [BZ #12655]
77311         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77312         Patch by Filipe David Manana <fdmanana@apache.org>.
77314 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77316         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77317         Maintain aligned stack.
77318         (CHECK_RSP): Remove unused macro.
77320 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77322         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77323         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77325 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77327         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77329         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77331 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77333         [BZ #12518]
77334         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77335         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77336         * sysdeps/x86_64/memmove.c: New file.
77337         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77338         (memcpy): Renamed to ...
77339         (__new_memcpy): This.
77340         (memcpy): Provide GLIBC_2_14 memcpy.
77341         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77342         (memcpy): Provide GLIBC_2_2_5 memcpy.
77344 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77346         [BZ #12631]
77347         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77349 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77351         * misc/syncfs.c: New file.
77352         * misc/Makefile (routines): Add syncfs.
77353         * posix/unistd.h: Declare syncfs.
77354         * sysdeps/unix/syscalls.list: Add syncfs.
77356 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77358         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77359         open_by_handle_at.
77360         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77361         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77363         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77365         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77366         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77368 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77370         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77371         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77372         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77374         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77376         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77378         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77379         sync_file_range.c with -fexceptions.
77380         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77381         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77382         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77383         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77384         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77385         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77386         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77387         sync_file_range as cancellation point
77388         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77389         now a wrapper around __call_sync_file_range with cancellation handling.
77390         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77391         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77392         function name to __call_sync_file_range.
77393         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77394         Add call_sync_file_range.
77396 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77399         bits/timex.h.
77401 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77403         * iconv/iconv.h: Fix typo in comment.
77404         * io/fcntl.h: Likewise.
77405         * libio/stdio.h: Likewise.
77406         * posix/spawn.h: Likewise.
77407         * posix/unistd.h: Likewise.
77408         * stdlib/stdlib.h: Likewise.
77409         * time/time.h: Likewise.
77410         * wcsmbs/wchar.h: Likewise.
77412         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77413         open_by_handle): Add.
77414         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77415         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77416         Augment a few comments.
77417         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77419         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77422         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77423         open_by_handle.
77425         * io/fcntl.h (AT_EMPTY_PATH): Define.
77427 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77429         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77430         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77431         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77432         to...
77433         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77434         * Versions.def: Add GLIBC_2.14.
77435         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77436         Export.
77438 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77440         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77441         round counter.
77442         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77444 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77446         [BZ #12597]
77447         * string/test-strncmp.c (do_page_test): New function.
77448         (check2): Likewise.
77449         (test_main): Call check2.
77450         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77452 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77454         [BZ #12587]
77455         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77456         Handle cache information in CPU leaf 4.
77457         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77459 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77461         [BZ #12583]
77462         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77463         character representation.
77464         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77466 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77468         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77469         END(__isnan) to END(__isnanf) to match function entry point/label
77470         EALIGN(__isnanf,...).
77472 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77474         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77476 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77478         [BZ #12510]
77479         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77480         copy from the symbol referenced in the relocation to initialize the
77481         used variable.
77482         Patch by Piotr Bury <pbury@goahead.com>.
77483         * elf/Makefile: Add rules to build and tst-unique3.
77484         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77485         * elf/tst-unique3.cc: New file.
77486         * elf/tst-unique3.h: New file.
77487         * elf/tst-unique3lib.cc: New file.
77488         * elf/tst-unique3lib2.cc: New file.
77490         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77492 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77494         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77495         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77496         to _start.
77498 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77500         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77501         to-be-loaded object along a path to loader is ld.so.
77503 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77504             Ulrich Drepper  <drepper@gmail.com>
77506         * sysdeps/x86_64/memset.S: After aligning destination, code
77507         branches to different locations depending on the value of
77508         misalignment, when multiarch is enabled. Fix this.
77510 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77512         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77513         Set _x86_64_preferred_memory_instruction for AMD processsors.
77514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77515         Set bit_Prefer_SSE_for_memop for AMD processors.
77517 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77519         * libio/fmemopen.c (fmemopen): Optimize a bit.
77521 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77523         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77525 2011-03-03  Roland McGrath  <roland@redhat.com>
77527         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77529 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77531         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77532         __bzero_ultra1 instead of __memset_ultra1.
77534 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77535             Ulrich Drepper  <drepper@gmail.com>
77537         [BZ #12509]
77538         * include/link.h (struct link_map): Add l_orig_initfini.
77539         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77540         returning unsuccessfully.
77541         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77542         close of a file loaded at startup, restore the original l_initfini
77543         list.
77544         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77545         list, store the pointer.
77546         * elf/Makefile ($(objpfx)noload-mem): New rule.
77547         (noload-ENV): Define.
77548         (tests): Add $(objpfx)noload-mem.
77549         * elf/noload.c: Include <memcheck.h>.
77550         (main): Call mtrace.  Close all opened handles.
77552 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77554         [BZ #12454]
77555         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77556         dependencies are missing.
77558 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77560         Fix __if_freereq crash: Unlike the generic version which uses free,
77561         Hurd needs munmap.
77562         * sysdeps/mach/hurd/ifreq.h: New file.
77564 2011-01-27  Petr Baudis  <pasky@suse.cz>
77565             Ulrich Drepper  <drepper@gmail.com>
77567         [BZ 12445]#
77568         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77569         to extend_alloca().
77570         * stdio-common/bug23.c: New file.
77571         * stdio-common/Makefile (tests): Add bug23.
77573 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77574             Ulrich Drepper  <drepper@gmail.com>
77576         [BZ #12489]
77577         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77578         before performing relro protection.  At old place add assertion
77579         to make sure nothing changed.
77581 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77582             Glauber de Oliveira Costa  <glommer@gmail.com>
77584         * elf/elf.h: Add new ARM TLS relocs.
77586 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77589         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77590         cast from r3.
77591         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77592         'tests' variable.
77593         * sysdeps/wordsize-64/tst-writev.c: New file.
77595 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77597         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77598         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77599         insns in _dl_start to prevent a TOC reference before relocs are
77600         resolved.
77602 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77604         [BZ #12469]
77605         * Makeconfig: Remove RANLIB definition.
77606         * Makerules: Don't use RANLIB.
77607         * aclocal.m4: Remove ranlib test.
77608         * configure.in: No need to check for ranlib.
77609         * elf/rtld-Rules: Don't use RANLIB.
77611 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77613         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77614         protection macro.
77615         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77616         inclusion protection macro.
77618         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77619         SIGRTMIN and SIGRTMAX and print information in that case only when
77620         SIGRTMIN is defined.
77622 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77624         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77625         arginfo fn returning -1.
77627         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77628         and thousands string is zero terminated.
77630 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77633         sysdeps/unix/sysv/linux/bits/socket.h.
77635 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77637         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77638         (__CPU_COUNT): Remove old macros.
77639         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77640         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77641         (__CPU_ALLOC, __CPU_FREE): Add macros.
77642         (__sched_cpualloc, __sched_cpufree): Add declarations.
77644 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77646         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77647         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77648         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77649         (readdhstai): Return value of addhstaiX call.
77650         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77651         (addgrbyX): Return value returned by cache_addgr.
77652         (readdgrbyname): Return value returned by addgrbyX.
77653         (readdgrbygid): Likewise.
77654         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77655         (addpwbyX): Return value returned by cache_addpw.
77656         (readdpwbyname): Return value returned by addhstbyX.
77657         (readdpwbyuid): Likewise.
77658         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77659         (addservbyX): Return value returned by cache_addserv.
77660         (readdservbyname): Return value returned by addservbyX:
77661         (readdservbyport): Likewise.
77662         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77663         (addhstbyX): Return value returned by cache_addhst.
77664         (readdhstbyname): Return value returned by addhstbyX.
77665         (readdhstbyaddr): Likewise.
77666         (readdhstbynamev6): Likewise.
77667         (readdhstbyaddrv6): Likewise.
77668         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77669         (readdinitgroups): Return value returned by addinitgroupsX.
77670         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77671         (prune_cache): Keep track of timeout value of re-added entries.
77672         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77673         * nscd/nscd.h: Adjust prototypes of readd* functions.
77675 2011-02-04  Roland McGrath  <roland@redhat.com>
77677         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77678         (nis_stats): Likewise.
77679         * nis/nis_modify.c (nis_modify): Likewise.
77680         * nis/nis_remove.c (nis_remove): Likewise.
77681         * nis/nis_add.c (nis_add): Likewise.
77683         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77685         * posix/fnmatch_loop.c: Add some consts.
77687         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77689 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77691         [BZ #12460]
77692         * config.make.in (config-cflags-novzeroupper): Define.
77693         * configure.in: Substitute libc_cv_cc_novzeroupper.
77694         * elf/Makefile (AVX-CFLAGS): Define.
77695         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77696         (CFLAGS-tst-auditmod4a.c): Likewise.
77697         (CFLAGS-tst-auditmod4b.c): Likewise.
77698         (CFLAGS-tst-auditmod6b.c): Likewise.
77699         (CFLAGS-tst-auditmod6c.c): Likewise.
77700         (CFLAGS-tst-auditmod7b.c): Likewise.
77701         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77703 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77705         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77706         function to the callback.
77707         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77709 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77711         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77712         of errno.
77714 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77716         [BZ #11724]
77717         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77718         of constructors.
77719         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77720         of destructors.
77721         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77723         [BZ #11724]
77724         * elf/Makefile: Add rules to build and run new test.
77725         * elf/tst-initorder.c: New file.
77726         * elf/tst-initorder.exp: New file.
77727         * elf/tst-initordera1.c: New file.
77728         * elf/tst-initordera2.c: New file.
77729         * elf/tst-initordera3.c: New file.
77730         * elf/tst-initordera4.c: New file.
77731         * elf/tst-initorderb1.c: New file.
77732         * elf/tst-initorderb2.c: New file.
77733         * elf/tst-order-a1.c: New file.
77734         * elf/tst-order-a2.c: New file.
77735         * elf/tst-order-a3.c: New file.
77736         * elf/tst-order-a4.c: New file.
77737         * elf/tst-order-b1.c: New file.
77738         * elf/tst-order-b2.c: New file.
77739         * elf/tst-order-main.c: New file.
77740         New test case by George Gensure <werkt0@gmail.com>.
77742 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77745         decoding ACE if AI_CANONIDN.
77747 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77749         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77751 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77753         * version.h (RELEASE): Bump for 2.13 release.
77754         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77756         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77758         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77759         MADV_NOHUGEPAGE.
77760         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77761         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77763         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77765         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77767         * posix/getconf.c: Update copyright year.
77768         * catgets/gencat.c: Likewise.
77769         * csu/version.c: Likewise.
77770         * debug/catchsegv.sh: Likewise.
77771         * debug/xtrace.sh: Likewise.
77772         * elf/ldconfig.c: Likewise.
77773         * elf/ldd.bash.in: Likewise.
77774         * elf/sprof.c (print_version): Likewise.
77775         * iconv/iconv_prog.c: Likewise.
77776         * iconv/iconvconfig.c: Likewise.
77777         * locale/programs/locale.c: Likewise.
77778         * locale/programs/localedef.c: Likewise.
77779         * malloc/memusage.sh: Likewise.
77780         * malloc/mtrace.pl: Likewise.
77781         * nscd/nscd.c (print_version): Likewise.
77782         * nss/getent.c: Likewise.
77784         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77785         PF_CAIF, and PF_ALG.
77786         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77788 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77790         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77791         (modules-names): Use them.
77792         (ifunc-test-modules, ifunc-pie-tests): Define.
77793         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77794         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77795         (test-extras): Likewise.
77796         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77797         $(compile-command.c).
77798         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77799         (all-built-dso): Define.
77800         (check-textrel.out, check-execstack.out): Depend on it.
77802         * configure.in: Don't override --enable-multi-arch.
77804 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77806         [BZ #6812]
77807         * nscd/hstcache.c (tryagain): Define.
77808         (cache_addhst): Return tryagain not notfound for temporary errors.
77809         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77810         failed.
77812 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77814         [BZ #10563]
77815         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77816         to make the syscall.
77817         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77819         [BZ #12378]
77820         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77821         and fall back to matching as normal character if the string ends before
77822         the matching ']' is found.  This is what POSIX requires.
77823         * posix/testfnm.c: Adjust test result.
77824         * posix/globtest.sh: Adjust test result.  Add new test.
77825         * posix/tst-fnmatch.input: Likewise.
77826         * posix/tst-fnmatch2.c: Add new test.
77828 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77830         * elf/Makefile (check-execstack): Revert last change.  Depend on
77831         check-execstack.h.
77832         (check-execstack.h): New target.
77833         (generated): Add check-execstack.h.
77834         * elf/check-execstack.c: Include "check-execstack.h".
77835         (main): Revert last change.
77836         (handle_file): Return zero if GNU_STACK is absent and
77837         DEFAULT_STACK_PERMS doesn't include PF_X.
77839 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77841         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77842         in child fails because the descriptor is already closed.
77843         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77844         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77845         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77847         [BZ #12397]
77848         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77849         syscall.
77851         [BZ #10484]
77852         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77853         temporary buffer used to handle multi lookups locally.
77854         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77856 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77858         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77859         loader is ld.so.
77861 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77863         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77864         alignment for SSE2.
77866 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77868         [BZ #12394]
77869         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77870         characters.  When rounding increased number of integer digits recompute
77871         number of groups.
77872         * stdio-common/tst-grouping.c: New file.
77873         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77875 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77877         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77878         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77880         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77881         void.
77882         * bits/select.h: Likewise.
77884 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77886         * po/ja.po: Update from translation team.
77888 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77890         [BZ #11155]
77891         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77892         implementation just like for lxstat, fxstatat, et al.
77894 2010-12-27  Jim Meyering  <meyering@redhat.com>
77896         [BZ #12348]
77897         * posix/regexec.c (build_trtable): Return failure indication upon
77898         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77900 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77902         [BZ #12201]
77903         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77904         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77905         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77906         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77908         [BZ #12207]
77909         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77911         [BZ #12204]
77912         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77913         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77915 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77917         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77918         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77919         script has SORT_BY_INIT_PRIORITY.
77920         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77921         NO_CTORS_DTORS_SECTIONS is defined.
77922         * elf/soinit.c: Likewise.
77923         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77924         NO_CTORS_DTORS_SECTIONS is defined.
77925         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77926         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77927         * sysdeps/sh/init-first.c: Likewise.
77928         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77930 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77932         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77933         always use the slow path.
77935 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77937         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77938         similar rule which adds the sysdep directories to the header search in
77939         order to pick up the correct platform stackinfo.h.
77940         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77941         perform test if it is, otherwise return successfully without testing.
77942         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77943         DEFAULT_STACK_PERMS define in stackinfo.h.
77944         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77945         defined in stackinfo.h.
77946         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77947         DEFAULT_STACK_PERMS defined in stackinfo.h.
77948         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77949         * sysdeps/ia64/stackinfo.h: Likewise.
77950         * sysdeps/s390/stackinfo.h: Likewise.
77951         * sysdeps/sh/stackinfo.h: Likewise.
77952         * sysdeps/sparc/stackinfo.h: Likewise.
77953         * sysdeps/x86_64/stackinfo.h: Likewise.
77954         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77955         PF_X for powerpc64.  Retain PF_X for powerpc32.
77957 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77959         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77960         accurately.
77961         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77962         GETDENTS_64BIT_ALIGNED.
77964 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77966         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77968 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77970         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77971         _GNU_SOURCE.
77973         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77974         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77975         Remove __restrict.
77976         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77977         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77979 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77981         [BZ #11655]
77982         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77983         are initialized.
77985 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77987         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77989 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77991         * po/it.po: Update from translation team.
77993 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77995         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77996         unused codes.
77998 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78000         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78002 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78004         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78005         specially.
78006         (gaih_getanswer_slice): Likewise.
78008 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78010         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78012 2010-05-31  Petr Baudis  <pasky@suse.cz>
78014         [BZ #11149]
78015         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78016         silently even in the chroot mode.
78018 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78020         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78021         last patch a bit.  Pretty printing
78023 2010-05-31  Petr Baudis <pasky@suse.cz>
78025         [BZ #10085]
78026         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78027         initialization of skip_initgroups_dyn.
78029 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78031         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78034 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78036         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78038 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78040         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78041         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78042         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78043         ($(objpfx)tst-fnmatch-mem): New rule.
78044         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78045         * posix/tst-fnmatch.c (main): Call mtrace.
78047 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78050         Support Intel processor model 6 and model 0x2c.
78052 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78054         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78055           signed comparison.
78057 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78059         [BZ #12205]
78060         * string/test-strncasecmp.c (check_result): New function.
78061         (do_one_test): Use it.
78062         (check1): New function.
78063         (test_main): Use it.
78064         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78065         Support strcasecmp and strncasecmp.
78067 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78069         [BZ #12194]
78070         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78071         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78073 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78075         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78076         IFUNC support.
78077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78078         memset-x86-64.
78079         * sysdeps/x86_64/multiarch/bzero.S: New file.
78080         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78081         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78082         * sysdeps/x86_64/multiarch/memset.S: New file.
78083         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78085         Set bit_Prefer_SSE_for_memop for Intel processors.
78086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78087         Define.
78088         (index_Prefer_SSE_for_memop): Define.
78089         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78091 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78093         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78094         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78096 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78098         [BZ #12191]
78099         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78100         (__x86_64_raw_data_cache_size_half): Likewise.
78101         (__x86_64_raw_shared_cache_size): Likewise.
78102         (__x86_64_raw_shared_cache_size_half): Likewise.
78104         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78105         (__x86_64_raw_data_cache_size_half): Likewise.
78106         (__x86_64_raw_shared_cache_size): Likewise.
78107         (__x86_64_raw_shared_cache_size_half): Likewise.
78108         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78109         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78110         and __x86_64_raw_shared_cache_size_half.  Round
78111         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78112         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78113         to multiple of 256 bytes.
78115 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78117         [BZ #12167]
78118         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78119         of inacessible symlinks.  Verify result of symlink before returning it.
78120         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78121         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78123 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78125         * math/math.h (isinf): Fix typo in comment.
78127 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78129         * po/da.po: Update from translation team.
78131 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78133         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78134         is added to the list.
78136 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78137             Ulrich Drepper  <drepper@gmail.com>
78139         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78140         the global list here.  Move code to...
78141         (_dl_add_to_namespace_list): ...here.  New function.
78142         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78143         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78144         * elf/dl-load.c (lose): Don't remove the element from the list.
78145         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78146         (_dl_map_object): Likewise.
78148 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78150         [BZ #12159]
78151         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78152         into all bytes of SSE register.
78153         Patch by Richard Li <richardpku@gmail.com>.
78155 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78157         [BZ #12140]
78158         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78159         perturbing.
78161 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78163         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78164         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78165         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78166         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78168         submachine.
78169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78171 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78173         * include/dlfcn.h (__RTLD_SECURE): Define.
78174         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78175         mode & __RTLD_SECURE instead.
78176         (open_path): Rename preloaded parameter to secure.
78177         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78178         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78179         * elf/dl-deps.c (openaux): Likewise.
78180         * elf/rtld.c (struct map_args): Remove is_preloaded.
78181         (map_doit): Don't use it.
78182         (dl_main): Likewise.
78183         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78184         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78186 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78188         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78189         (sysd-rules-targets): Remove duplicates.
78190         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78191         rtld-%.$o dependency.
78193 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78195         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78196         _dl_map_object do it.
78198 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78200         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78201         fast fma builtins, define the macros in the C99 standard.
78202         (FP_FAST_FMAF): Likewise.
78203         (FP_FAST_FMAL): Likewise.
78204         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78206         * bits/mathdef.h: Update copyright year.
78207         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78209 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78211         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78212         builtins, define the macros in the C99 standard.
78213         (FP_FAST_FMAF): Likewise.
78214         (FP_FAST_FMAL): Likewise.
78215         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78216         multiply/add.
78217         (FP_FAST_FMAF): Likewise.
78219 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78221         [BZ #3268]
78222         * math/libm-test.inc (fma_test): Some new testcases.
78223         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78224         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78225         y and infinite z.  Do multiplication by C already in long double.
78226         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78228         y and infinite z.  Do bitwise or of inexact bit into u.d.
78229         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78230         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78231         * sysdeps/i386/fpu/s_fma.S: Removed.
78232         * sysdeps/i386/fpu/s_fmal.S: Removed.
78234 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78236         [BZ #3268]
78237         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78238         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78239         computation is not scheduled after fetestexcept.  Fix value
78240         of minimum denormal long double.
78242 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78244         [BZ #3268]
78245         * math/libm-test.inc (fma_test): Add some more tests.
78246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78247         correctly.
78249 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78251         * scripts/data/localplt-s390-linux-gnu.data: New file.
78252         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78254 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78256         [BZ #3268]
78257         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78258         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78259         instead of dbl-64.
78260         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78261         inlines.
78262         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78264         if one of x and y is very large and the other is subnormal.
78265         * sysdeps/s390/fpu/s_fmaf.c: New file.
78266         * sysdeps/s390/fpu/s_fma.c: New file.
78267         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78268         * sysdeps/powerpc/fpu/s_fma.S: New file.
78269         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78270         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78271         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78273 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78275         [BZ #3268]
78276         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78277         fma tests.
78278         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78279         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78280         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78281         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78282         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78283         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78284         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78286 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78288         [BZ #12078]
78289         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78290         * posix/bug-regex31.input: Add test case.
78292 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78294         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78295         * posix/bug-regex31.input: New file.
78297         [BZ #12078]
78298         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78299         (parse_sub_exp): Fix last change, use postorder.
78301         * posix/bug-regex31.c: New file.
78302         * posix/Makefile: Add rules to build and run bug-regex31.
78304         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78306         [BZ #12078]
78307         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78309         [BZ #12108]
78310         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78311         to have entries in sys_siglist.
78313         [BZ #12093]
78314         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78315         be NULL.
78317 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78319         [BZ #3268]
78320         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78321         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78322         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78323         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78324         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78325         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78326         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78327         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78328         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78329         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78330         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78331         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78332         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78333         * math/ftestexcept.c (fetestexcept): Likewise.
78334         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78335         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78336         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78337         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78338         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78339         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78340         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78342 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78344         [BZ #12107]
78345         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78346         newline.
78348 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78350         * string/bug-strstr1.c: New file.
78351         * string/Makefile: Add rules to build and run bug-strstr1.
78353 2010-10-05  Eric Blake  <eblake@redhat.com>
78355         [BZ #12092]
78356         * string/str-two-way.h (two_way_long_needle): Always clear memory
78357         when skipping input due to the shift table.
78359 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78361         [BZ #12005]
78362         * malloc/mcheck.c: Handle large requests.
78364         [BZ #12077]
78365         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78366         for strncmp and strncasecmp.
78367         * string/stratcliff.c: Add tests for strcmp and strncmp.
78368         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78370 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78372         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78373         __set_fpscr.
78375 2010-09-30  Andreas Jaeger  <aj@suse.de>
78377         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78378         (CGROUP_SUPER_MAGIC): Define.
78379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78380         Handle btrfs and cgroup file systems.
78381         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78382         Likewise.
78384 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78386         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78387         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78389 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78391         [BZ #12067]
78392         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78393         trying to locate the ELF header.
78395 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78397         [BZ #11611]
78398         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78399         Mask out sign-bit copies when constructing f_fsid.
78401 2010-09-24  Petr Baudis <pasky@suse.cz>
78403         * debug/stack_chk_fail_local.c: Add missing licence exception.
78404         * debug/warning-nop.c: Likewise.
78406 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78408         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78409         implementing getdents64 using getdents syscall, set d_type if
78410         __ASSUME_GETDENTS32_D_TYPE.
78412 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78414         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78415         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78417 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78419         [BZ #12037]
78420         * posix/unistd.h: Undo change of feature selection for ftruncate from
78421         2010-01-11.
78423 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78425         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78426         detection.
78428 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78430         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78431         fanotify_mark.
78432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78434 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78436         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78437         variables after CHECK_SP call.
78438         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78440 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78441             Ulrich Drepper  <drepper@redhat.com>
78443         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78444         re-relocationg ld.so.
78445         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78446         _dl_init_paths call.
78447         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78448         here anymore.
78450 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78452         * resolv/res_init.c (__res_vinit): Count the default server we added.
78454 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78455             Ulrich Drepper  <drepper@redhat.com>
78457         [BZ #11968]
78458         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78459         (____longjmp_chk): Use %ebx for saving value across system call.
78460         Add unwind info.
78462 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78464         * manual/Makefile: Don't mix pattern rules with normal rules.
78466 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78468         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78469         operation.
78470         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78471         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78472         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78473         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78475         Likewise.
78477 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78479         [BZ #11979]
78480         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78481         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78483 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78485         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78486         * sysdeps/x86_64/addmul_1.S: Likewise.
78487         * sysdeps/x86_64/lshift.S: Likewise.
78488         * sysdeps/x86_64/mul_1.S: Likewise.
78489         * sysdeps/x86_64/rshift.S: Likewise.
78490         * sysdeps/x86_64/sub_n.S: Likewise.
78491         * sysdeps/x86_64/submul_1.S: Likewise.
78493 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78495         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78496         Define __sched_param instead of SCHED_* and sched_param when
78497         <bits/sched.h> is included with __need_schedparam defined.
78498         * bits/sched.h [__need_schedparam]
78499         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78500         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78501         (__defined_schedparam): Define to 1.
78502         (__sched_param): New structure, identical to sched_param.
78503         (__need_schedparam): Undefine.
78505 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78507         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78508         (epoll_create1): Declare.
78510         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78512 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78514         [BZ #7066]
78515         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78516         shifting retval into place.
78518 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78520         * nis/rpcsvc/nis.h: Update copyright notice.
78521         * nis/rpcsvc/nis.x: Likewise.
78522         * nis/rpcsvc/nis_callback.h: Likewise.
78523         * nis/rpcsvc/nis_callback.x: Likewise.
78524         * nis/rpcsvc/nis_object.x: Likewise.
78525         * nis/rpcsvc/nis_tags.h: Likewise.
78526         * nis/rpcsvc/yp.h: Likewise.
78527         * nis/rpcsvc/yp.x: Likewise.
78528         * nis/rpcsvc/ypupd.h: Likewise.
78529         * nis/yp_xdr.c: Likewise.
78530         * nis/ypupdate_xdr.c: Likewise.
78532         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78533         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78534         (pmap_getport): Use __libc_rpc_getport.
78535         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78536         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78537         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78539 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78542         fanotify_mark.
78544 2010-08-27  Roland McGrath  <roland@redhat.com>
78546         * sysdeps/i386/i686/multiarch/Makefile
78547         (CFLAGS-varshift.c): New variable.
78549 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78551         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78552         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78554         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78556         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78558 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78560         * sysdeps/x86_64/strlen.S: Unroll the loop.
78561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78562         strlen-sse2 strlen-sse2-bsf.
78563         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78564         __strlen_no_bsf if bit_Slow_BSF is set.
78565         (__strlen_sse42): Removed.
78566         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78567         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78569 2010-08-25  Roland McGrath  <roland@redhat.com>
78571         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78572         * sysdeps/x86_64/multiarch/varshift.c: New file.
78573         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78574         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78575         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78576         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78578 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78581         strlen-sse2 strlen-sse2-bsf.
78582         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78583         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78584         (__strlen_sse2): Removed.
78585         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78586         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78588         bit_Slow_BSF for Atom.
78589         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78590         (index_Slow_BSF): Define.
78591         (HAS_SLOW_BSF): Define.
78593 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78595         [BZ #10851]
78596         * resolv/res_init.c (__res_vinit): When no server address at all
78597         is given default to loopback.
78599 2010-08-24  Roland McGrath  <roland@redhat.com>
78601         * configure.in: Remove config-name.h generation.
78602         * configure: Regenerated.
78603         * config-name.in: File removed.
78604         * scripts/config-uname.sh: New file.
78605         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78606         ($(objdir)config-name.h): New target.
78608         * sunrpc/rpc_parse.h: Avoid nested comment.
78610 2010-08-24  Richard Henderson  <rth@redhat.com>
78611             Ulrich Drepper  <drepper@redhat.com>
78612             H.J. Lu  <hongjiu.lu@intel.com>
78614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78616         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78617         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78618         _mm_alignr_epi8 with _mm_loadu_si128.
78619         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78620         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78621         (__m128i_shift_right): Removed.
78622         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78623         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78624         * sysdeps/x86_64/multiarch/varshift.h: New file.
78625         * sysdeps/x86_64/multiarch/varshift.S: New file.
78627 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78629         * configure.in: Move assembler checks to before sysdep dir checking.
78631 2010-08-20  Petr Baudis  <pasky@suse.cz>
78633         * LICENSES: Sync the sunrpc license.
78635 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78637         * sunrpc/auth_des.c: Update copyright notice once again.
78638         * sunrpc/auth_none.c: Likewise.
78639         * sunrpc/auth_unix.c: Likewise.
78640         * sunrpc/authdes_prot.c: Likewise.
78641         * sunrpc/authuxprot.c: Likewise.
78642         * sunrpc/bindrsvprt.c: Likewise.
78643         * sunrpc/clnt_gen.c: Likewise.
78644         * sunrpc/clnt_perr.c: Likewise.
78645         * sunrpc/clnt_raw.c: Likewise.
78646         * sunrpc/clnt_simp.c: Likewise.
78647         * sunrpc/clnt_tcp.c: Likewise.
78648         * sunrpc/clnt_udp.c: Likewise.
78649         * sunrpc/clnt_unix.c: Likewise.
78650         * sunrpc/des_crypt.c: Likewise.
78651         * sunrpc/des_soft.c: Likewise.
78652         * sunrpc/get_myaddr.c: Likewise.
78653         * sunrpc/getrpcport.c: Likewise.
78654         * sunrpc/key_call.c: Likewise.
78655         * sunrpc/key_prot.c: Likewise.
78656         * sunrpc/openchild.c: Likewise.
78657         * sunrpc/pm_getmaps.c: Likewise.
78658         * sunrpc/pm_getport.c: Likewise.
78659         * sunrpc/pmap_clnt.c: Likewise.
78660         * sunrpc/pmap_prot.c: Likewise.
78661         * sunrpc/pmap_prot2.c: Likewise.
78662         * sunrpc/pmap_rmt.c: Likewise.
78663         * sunrpc/rpc/auth.h: Likewise.
78664         * sunrpc/rpc/auth_unix.h: Likewise.
78665         * sunrpc/rpc/clnt.h: Likewise.
78666         * sunrpc/rpc/des_crypt.h: Likewise.
78667         * sunrpc/rpc/key_prot.h: Likewise.
78668         * sunrpc/rpc/netdb.h: Likewise.
78669         * sunrpc/rpc/pmap_clnt.h: Likewise.
78670         * sunrpc/rpc/pmap_prot.h: Likewise.
78671         * sunrpc/rpc/pmap_rmt.h: Likewise.
78672         * sunrpc/rpc/rpc.h: Likewise.
78673         * sunrpc/rpc/rpc_des.h: Likewise.
78674         * sunrpc/rpc/rpc_msg.h: Likewise.
78675         * sunrpc/rpc/svc.h: Likewise.
78676         * sunrpc/rpc/svc_auth.h: Likewise.
78677         * sunrpc/rpc/types.h: Likewise.
78678         * sunrpc/rpc/xdr.h: Likewise.
78679         * sunrpc/rpc_clntout.c: Likewise.
78680         * sunrpc/rpc_cmsg.c: Likewise.
78681         * sunrpc/rpc_common.c: Likewise.
78682         * sunrpc/rpc_cout.c: Likewise.
78683         * sunrpc/rpc_dtable.c: Likewise.
78684         * sunrpc/rpc_hout.c: Likewise.
78685         * sunrpc/rpc_main.c: Likewise.
78686         * sunrpc/rpc_parse.c: Likewise.
78687         * sunrpc/rpc_parse.h: Likewise.
78688         * sunrpc/rpc_prot.c: Likewise.
78689         * sunrpc/rpc_sample.c: Likewise.
78690         * sunrpc/rpc_scan.c: Likewise.
78691         * sunrpc/rpc_scan.h: Likewise.
78692         * sunrpc/rpc_svcout.c: Likewise.
78693         * sunrpc/rpc_tblout.c: Likewise.
78694         * sunrpc/rpc_util.c: Likewise.
78695         * sunrpc/rpc_util.h: Likewise.
78696         * sunrpc/rpcinfo.c: Likewise.
78697         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78698         * sunrpc/rpcsvc/key_prot.x: Likewise.
78699         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78700         * sunrpc/rpcsvc/mount.x: Likewise.
78701         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78702         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78703         * sunrpc/rpcsvc/rex.x: Likewise.
78704         * sunrpc/rpcsvc/rstat.x: Likewise.
78705         * sunrpc/rpcsvc/rusers.x: Likewise.
78706         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78707         * sunrpc/rpcsvc/spray.x: Likewise.
78708         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78709         * sunrpc/rtime.c: Likewise.
78710         * sunrpc/svc.c: Likewise.
78711         * sunrpc/svc_auth.c: Likewise.
78712         * sunrpc/svc_authux.c: Likewise.
78713         * sunrpc/svc_raw.c: Likewise.
78714         * sunrpc/svc_run.c: Likewise.
78715         * sunrpc/svc_simple.c: Likewise.
78716         * sunrpc/svc_tcp.c: Likewise.
78717         * sunrpc/svc_udp.c: Likewise.
78718         * sunrpc/svc_unix.c: Likewise.
78719         * sunrpc/svcauth_des.c: Likewise.
78720         * sunrpc/xcrypt.c: Likewise.
78721         * sunrpc/xdr.c: Likewise.
78722         * sunrpc/xdr_array.c: Likewise.
78723         * sunrpc/xdr_float.c: Likewise.
78724         * sunrpc/xdr_mem.c: Likewise.
78725         * sunrpc/xdr_rec.c: Likewise.
78726         * sunrpc/xdr_ref.c: Likewise.
78727         * sunrpc/xdr_sizeof.c: Likewise.
78728         * sunrpc/xdr_stdio.c: Likewise.
78730         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78731         handling.
78733 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78735         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78737 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78739         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78740         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78741         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78742         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78743         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78744         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78745         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78746         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78747         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78748         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78749         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78750         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78751         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78752         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78754 2010-07-26  Anton Blanchard  <anton@samba.org>
78756         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78757         * malloc/arena.c (heap_trim): Likewise.
78759 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78761         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78762         here.  Not...
78763         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78764         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78766 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78768         * sysdeps/i386/elf/Makefile: New file.
78770 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78772         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78773         from fanotify_init.
78774         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78775         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78777 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78779         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78780         of strncasecmp_l.
78781         * sysdeps/multiarch/strcmp.S: Likewise.
78783 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78785         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78786         strncase_l-nonascii.
78787         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78788         Add strncase_l-ssse3.
78789         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78790         * sysdeps/x86_64/strcmp.S: Likewise.
78791         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78792         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78793         * sysdeps/x86_64/strncase.S: New file.
78794         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78795         * sysdeps/x86_64/strncase_l.S: New file.
78796         * string/Makefile (strop-tests): Add strncasecmp.
78797         * string/test-strncasecmp.c: New file.
78799         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78800         warning.
78802         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78803         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78805 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78807         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78809 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78811         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78812         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78813         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78815 2010-05-01  Alan Modra  <amodra@gmail.com>
78817         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78818         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78819         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78820         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78821         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78822         tidying.  Don't tail-call __sigjmp_save for static lib.
78823         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78824         save location.
78825         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78826         (CALL_MCOUNT): Add eh info, and nop after bl.
78827         (TAIL_CALL_SYSCALL_ERROR): New macro.
78828         (PSEUDO_RET): Use it.
78829         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78830         Correct save location of integer regs and cr.
78831         (_dl_profile_resolve): Correct cr save location.  Delete nops
78832         after bl when SHARED.  Reduce cfi size a little by better
78833         placement of cfi directives.
78834         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78835         make a stack frame.  Instead use parm save area as a temp.
78836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78837         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78839         Don't make a stack frame for parent, use parm save area.
78840         Increase child stack frame to 112 bytes.  Don't save unused reg,
78841         and adjust reg usage.  Set up cfi on error recovery and
78842         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78844         (__makecontext): Add dummy nop after jump to exit.
78845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78846         Use correct parm save area and cr save, reduce stack frame.
78847         Correct cfi for possible PSEUDO_RET frame setup.
78848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78849         Branch to local label emitted by PSEUDO_RET rather than
78850         __syscall_error.
78852 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78854         [BZ #11904]
78855         * locale/programs/locale.c (print_assignment): New function.
78856         (show_locale_vars): Use it.
78858 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78860         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78861         field.
78862         (struct statfs64): Likewise.
78863         (_STATFS_F_FLAGS): Define.
78864         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78865         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78866         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78867         (ST_VALID): Define locally.
78868         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78869         __statvfs_getflags, use the provided value.
78870         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78871         __ASSUME_STATFS_F_FLAGS.
78873         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78875         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78876         Add sys/fanotify.h.
78877         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78878         fanotify_mask for GLIBC_2.13.
78879         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78880         fanotify_init and fanotify_mark.
78881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78882         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78884         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78885         Add prlimit.
78886         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78887         prlimit64 for GLIBC_2.13.
78888         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78889         prlimit64.
78890         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78891         syscall.
78892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78894         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78895         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78896         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78897         add prlimit alias.
78898         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78900         [BZ #11903]
78901         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78902         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78904         * nss/Makefile: Add rules to build and run tst-nss-test1.
78905         * shlib-versions: Add entry for libnss_test1.
78906         * nss/nss_test1.c: New file.
78907         * nss/tst-nss-test1.c: New file.
78909         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78910         (__nss_configure_lookup): Set appropriate entry in
78911         __nss_configure_lookup to true.
78912         * nss/nsswitch.h: Define enum with indeces of databases in
78913         databases and __nss_database_custom arrays.  Declare
78914         __nss_database_custom.
78915         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78916         to avoid using nscd when custom rules are installed.
78917         * nss/getXXbyYY_r.c: Likewise.
78918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78920         * nss/nss_files/files-parse.c: Whitespace fixes.
78922 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78924         [BZ #11883]
78925         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78926         * posix/fnmatch_loop.c: Likewise.
78928 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78930         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78931         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78932         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78933         * Versions.def [GLIBC_2.13]: Add.
78935 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78937         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78938         Also fail if tpwd after pwuid call is NULL.
78940 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78942         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78943         when converting to ms.
78945 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78947         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78948         EOPNOTSUPP errors with ENOTTY.
78949         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78950         EOPNOTSUPP errors with ENOTTY.
78952 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78954         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78955         Add strcasecmp_l-ssse3.
78956         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78957         strcasecmp.
78958         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78959         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78960         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78962 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78964         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78966         * string/Makefile (strop-tests): Add strcasecmp.
78967         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78968         strcasecmp_l-nonascii.
78969         (gen-as-const-headers): Add locale-defines.sym.
78970         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78971         * sysdeps/x86_64/strcasecmp.S: New file.
78972         * sysdeps/x86_64/strcasecmp_l.S: New file.
78973         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78974         * sysdeps/x86_64/locale-defines.sym: New file.
78975         * string/test-strcasecmp.c: New file.
78977         * string/test-strcasestr.c: Test both ends of the range of characters.
78978         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78980 2010-07-29  Roland McGrath  <roland@redhat.com>
78982         [BZ #11856]
78983         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78985 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78987         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78988         for ld.so.
78990 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78992         * manual/memory.texi (Malloc Tunable Parameters): Document
78993         M_PERTURB.
78995 2010-07-26  Roland McGrath  <roland@redhat.com>
78997         [BZ #11840]
78998         * configure.in (-fgnu89-inline check): Set and substitute
78999         gnu89_inline, not libc_cv_gnu89_inline.
79000         * configure: Regenerated.
79001         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79003 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79005         * string/test-strnlen.c: New file.
79006         * string/Makefile (strop-tests): Add strnlen.
79007         * string/tester.c (test_strnlen): Add a few more test cases.
79008         * string/tst-strlen.c: Better error reporting.
79010         * sysdeps/x86_64/strnlen.S: New file.
79012 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79014         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79015         lower-latency instructions.
79017 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79019         * string/test-strcasestr.c: New file.
79020         * string/test-strstr.c: New file.
79021         * string/Makefile (strop-tests): Add strstr and strcasestr.
79022         * string/str-two-way.h: Don't undefine MAX.
79023         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79025 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79027         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79028         strcasestr-nonascii.
79029         (CFLAGS-strcasestr-nonascii.c): Define.
79030         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79031         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79032         Remove unused attribute.
79034 2010-07-20  Roland McGrath  <roland@redhat.com>
79036         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79037         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79038         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79039         like LD_HWCAP_MASK can disable hwcaps.
79041 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79043         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79045 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79047         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79048         call in strcasestr.
79049         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79050         __strcasestr_sse42_nonascii.
79051         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79052         strcasestr-nonascii.c.
79053         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79055 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79057         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79058         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79059         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79060         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79062 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79064         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79065         fcntl.
79067 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79069         [BZ #11577]
79070         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79071         dl_signal_cerror.
79073 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79075         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79076         _PC_PIPE_BUF using F_GETPIPE_SZ.
79078 2010-07-05  Roland McGrath  <roland@redhat.com>
79080         * manual/arith.texi (Rounding Functions): Fix rint description
79081         implicit in round description.
79083 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79085         * elf/Makefile: Fix linking for a few tests to make recent linker
79086         happy.
79088 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79090         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79091         $(common-objpfx)libc_nonshared.a.
79093 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79095         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79096         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79097         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79098         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79099         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79100         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79101         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79102         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79117         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79118         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79119         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79120         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79121         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79122         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79123         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79124         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79125         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79126         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79127         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79128         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79144 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79146         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79147         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79148         * string/memmove.c (memmove): Renamed to ...
79149         (MEMMOVE): ...this.  Default to memmove.
79150         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79151         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79152         (END_CHK): Define.
79153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79154         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79155         mempcpy-ssse3-back memmove-ssse3-back.
79156         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79157         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79158         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79159         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79160         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79161         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79162         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79163         * sysdeps/x86_64/multiarch/memmove.c: New file.
79164         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79165         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79166         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79167         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79168         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79169         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79170         Define.
79171         (index_Fast_Copy_Backward): Define.
79172         (HAS_ARCH_FEATURE): Define.
79173         (HAS_FAST_REP_STRING): Define.
79174         (HAS_FAST_COPY_BACKWARD): Define.
79176 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79178         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79179         Restore proper fallback handling.
79181 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79183         [BZ #11701]
79184         * posix/group_member.c (__group_member): Correct checking loop.
79186         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79187         OOM in getpwuid_r correctly.  Return error number when the caller
79188         should return, otherwise -1.
79189         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79190         call returning > 0 value.
79191         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79193 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79195         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79196         libc_nonshared.a from targets in modules-names.
79198 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79200         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79201         requires it.
79203 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79205         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79206         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79207         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79208         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79210 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79212         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79214 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79216         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79217         and F_GETPIPE_SZ.
79218         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79219         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79220         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79222         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79223         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79225 2010-06-14  Roland McGrath  <roland@redhat.com>
79227         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79229 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79231         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79232         __REDIRECT followed by __THROW.
79233         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79234         * posix/getopt.h (getopt): Likewise.
79236 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79238         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79239         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79240         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79241         in AT_FLAGS.
79242         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79243         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79245 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79247         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79249 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79251         [BZ #11640]
79252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79253         Properly check family and model.
79255 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79257         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79259 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79261         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79263 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79265         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79266         symbol reference.
79268 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79270         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79271         symbol reference.
79273 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79275         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79276         and internal_recvmmsg.
79277         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79278         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79279         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79280         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79282         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79283         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79284         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79286 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79288         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79290 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79292         POWER7 optimizations.
79293         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79294         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79296 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79298         * version.h: Update for 2.13 development version.
79300 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79302         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79303         exceptions.  Return 0.
79305 2010-05-07  Roland McGrath  <roland@redhat.com>
79307         * elf/ldconfig.c (main): Add a const.
79309 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79311         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79312         (args_options): Add no-idn option.
79313         (ahosts_keys_int): Add idn_flags to ai_flags.
79314         (parse_option): Handle 'i' option to clear idn_flags.
79316         * malloc/malloc.c (_int_free): Possible race in the most recently
79317         added check.  Only act on the data if no current modification
79318         happened.
79320 See ChangeLog.17 for earlier changes.